llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpkv9e4vxj.c'
source_filename = "/tmp/tmpkv9e4vxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid argument number\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Number must be positive\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Zero is an invalid value\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @trigger_error(ptr noundef @.str)
br label %11
11: ; preds = %9, %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @atoll(ptr noundef %14)
store i64 %15, ptr %6, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = call i32 @trigger_error(ptr noundef @.str.1)
br label %26
20: ; preds = %11
%21 = load i64, ptr %6, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @trigger_error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %20
br label %26
26: ; preds = %25, %18
%27 = load i64, ptr %6, align 8
%28 = call i32 @gna(i64 noundef %27)
%29 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %29
}
declare i32 @trigger_error(ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @gna(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/tmpkv9e4vxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid argument number\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Number must be positive\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Zero is an invalid value\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @trigger_error(ptr noundef @.str)
br label %11
11: ; preds = %9, %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @atoll(ptr noundef %14)
store i64 %15, ptr %6, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = call i32 @trigger_error(ptr noundef @.str.1)
br label %26
20: ; preds = %11
%21 = load i64, ptr %6, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @trigger_error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %20
br label %26
26: ; preds = %25, %18
%27 = load i64, ptr %6, align 8
%28 = call i32 @gna(i64 noundef %27)
%29 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %29
}
declare i32 @trigger_error(ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @gna(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/tmpwfe3yti_.c'
source_filename = "/tmp/tmpwfe3yti_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AError : Your argument contains alphabetic \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"caracter\0AThe only available caracter \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"are number\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @error_only_number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca 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 %7
7: ; preds = %51, %1
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %54
14: ; preds = %7
br label %15
15: ; preds = %48, %14
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %51
27: ; preds = %15
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = sub nsw i32 %37, 48
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %27
%42 = load i32, ptr %6, align 4
%43 = icmp sgt i32 %42, 9
br i1 %43, label %44, label %48
44: ; preds = %41, %27
%45 = call i32 @my_putstr2(ptr noundef @.str)
%46 = call i32 @my_putstr2(ptr noundef @.str.1)
%47 = call i32 @my_putstr2(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %55
48: ; preds = %41
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %15, !llvm.loop !6
51: ; preds = %15
store i32 0, ptr %5, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
br label %7, !llvm.loop !8
54: ; preds = %7
store i32 1, ptr %2, align 4
br label %55
55: ; preds = %54, %44
%56 = load i32, ptr %2, align 4
ret i32 %56
}
declare i32 @my_putstr2(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwfe3yti_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AError : Your argument contains alphabetic \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"caracter\0AThe only available caracter \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"are number\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @error_only_number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %7, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph2, label %69
.lr.ph2: ; preds = %1
br label %13
13: ; preds = %.lr.ph2, %60
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph, label %60
.lr.ph: ; preds = %13
br label %25
25: ; preds = %.lr.ph, %46
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 48
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %25
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %40, 9
br i1 %41, label %42, label %46
42: ; preds = %39, %25
%43 = call i32 @my_putstr2(ptr noundef @.str)
%44 = call i32 @my_putstr2(ptr noundef @.str.1)
%45 = call i32 @my_putstr2(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %70
46: ; preds = %39
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br i1 %59, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %60
60: ; preds = %._crit_edge, %13
store i32 0, ptr %5, align 4
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %69
69: ; preds = %._crit_edge3, %1
store i32 1, ptr %2, align 4
br label %70
70: ; preds = %69, %42
%71 = load i32, ptr %2, align 4
ret i32 %71
}
declare i32 @my_putstr2(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp_0dnr_k1.c'
source_filename = "/tmp/tmp_0dnr_k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raise(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef -1) #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/tmp_0dnr_k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raise(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef -1) #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/tmpbmtazt6x.c'
source_filename = "/tmp/tmpbmtazt6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"foo_str: i: %ld, address: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"foo_str: j: %ld, address: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"abcdefg\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @foo_str(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5, ptr noundef %3)
%7 = load i64, ptr %4, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7, ptr noundef %4)
ret ptr @.str.2
}
declare i32 @printf(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/tmpbmtazt6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"foo_str: i: %ld, address: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"foo_str: j: %ld, address: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"abcdefg\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @foo_str(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5, ptr noundef %3)
%7 = load i64, ptr %4, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7, ptr noundef %4)
ret ptr @.str.2
}
declare i32 @printf(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/tmp8rr__oof.c'
source_filename = "/tmp/tmp8rr__oof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"--quite\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-q\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [56 x i8] c"%s: Can't open NULL_DEVICE, used in quite mode testing.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @command_test_generate(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @is_parameter_defined(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @is_parameter_defined(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1)
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %14, %2
%19 = load i32, ptr %7, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %18
%22 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 2) #3
unreachable
32: ; preds = %21
br label %37
33: ; preds = %18
%34 = load i32, ptr %4, align 4
%35 = load ptr, ptr %5, align 8
%36 = call ptr @get_output(i32 noundef %34, ptr noundef %35)
store ptr %36, ptr %6, align 8
br label %37
37: ; preds = %33, %32
%38 = load ptr, ptr %6, align 8
%39 = call i32 @test_key_generation(ptr noundef %38)
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %37
store i32 0, ptr %3, align 4
br label %46
45: ; preds = %37
store i32 1, ptr %3, align 4
br label %46
46: ; preds = %45, %44
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @is_parameter_defined(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @get_output(i32 noundef, ptr noundef) #1
declare i32 @test_key_generation(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" }
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/tmp8rr__oof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"--quite\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-q\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [56 x i8] c"%s: Can't open NULL_DEVICE, used in quite mode testing.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @command_test_generate(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @is_parameter_defined(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @is_parameter_defined(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1)
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %14, %2
%19 = load i32, ptr %7, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %18
%22 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 2) #3
unreachable
32: ; preds = %21
br label %37
33: ; preds = %18
%34 = load i32, ptr %4, align 4
%35 = load ptr, ptr %5, align 8
%36 = call ptr @get_output(i32 noundef %34, ptr noundef %35)
store ptr %36, ptr %6, align 8
br label %37
37: ; preds = %33, %32
%38 = load ptr, ptr %6, align 8
%39 = call i32 @test_key_generation(ptr noundef %38)
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %37
store i32 0, ptr %3, align 4
br label %46
45: ; preds = %37
store i32 1, ptr %3, align 4
br label %46
46: ; preds = %45, %44
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @is_parameter_defined(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @get_output(i32 noundef, ptr noundef) #1
declare i32 @test_key_generation(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" }
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/tmp_ykahsi2.c'
source_filename = "/tmp/tmp_ykahsi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ykahsi2.c"
target datalayout = "e-m:e-p270: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/tmp3qoxj5k6.c'
source_filename = "/tmp/tmp3qoxj5k6.c"
target datalayout = "e-m:e-p270: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/tmp3qoxj5k6.c"
target datalayout = "e-m:e-p270: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/tmphh9mib8g.c'
source_filename = "/tmp/tmphh9mib8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @rightcharof(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
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %8, i64 %13
%15 = load i8, ptr %14, align 1
ret i8 %15
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphh9mib8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @rightcharof(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
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %8, i64 %13
%15 = load i8, ptr %14, align 1
ret i8 %15
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv08hzth9.c'
source_filename = "/tmp/tmpv08hzth9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Input string for Caesar-encoding: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [25 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
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/tmpv08hzth9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Input string for Caesar-encoding: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [25 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
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/tmp08yaav0n.c'
source_filename = "/tmp/tmp08yaav0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Teo times %d is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myproc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 2, %4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp08yaav0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Teo times %d is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myproc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 2, %4
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
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"}
|
; ModuleID = '/tmp/tmp0hd8og9x.c'
source_filename = "/tmp/tmp0hd8og9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %23
9: ; preds = %1
br label %10
10: ; preds = %15, %9
%11 = load ptr, ptr %3, align 8
%12 = call i32 @getc(ptr noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = call i32 @putchar(i32 noundef %16)
br label %10, !llvm.loop !6
18: ; preds = %10
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fflush(i32 noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @fclose(ptr noundef %21)
br label %23
23: ; preds = %18, %1
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @fflush(i32 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/tmp0hd8og9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %26
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr @EOF, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %.lr.ph, label %21
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %4, align 4
%16 = call i32 @putchar(i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @getc(ptr noundef %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %21
21: ; preds = %._crit_edge, %9
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fflush(i32 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %21, %1
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @fflush(i32 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/tmppwnf5d1w.c'
source_filename = "/tmp/tmppwnf5d1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le8put(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 %7, ptr %9, align 4
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppwnf5d1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le8put(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 %7, ptr %9, align 4
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfni_n52f.c'
source_filename = "/tmp/tmpfni_n52f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PANDORA_TEST_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alip/pandora/refs/heads/master/tests/t001_chmod.c\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"PANDORA_TEST_EPERM\00", align 1
@errno = dso_local global i64 0, align 8
@EPERM = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 125, ptr %3, align 4
br label %36
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 i64 @chmod(ptr noundef %12, i32 noundef 0)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %31
15: ; preds = %9
%16 = call i64 @getenv(ptr noundef @.str)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %36
20: ; preds = %15
%21 = call i64 @getenv(ptr noundef @.str.2)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i64, ptr @errno, align 8
%25 = load i64, ptr @EPERM, align 8
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 0, ptr %3, align 4
br label %36
28: ; preds = %23, %20
br label %29
29: ; preds = %28
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %36
31: ; preds = %9
%32 = call i64 @getenv(ptr noundef @.str)
%33 = icmp ne i64 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 0, i32 2
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %31, %29, %27, %18, %8
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @chmod(ptr noundef, i32 noundef) #1
declare i64 @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfni_n52f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PANDORA_TEST_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alip/pandora/refs/heads/master/tests/t001_chmod.c\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"PANDORA_TEST_EPERM\00", align 1
@errno = dso_local global i64 0, align 8
@EPERM = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 125, ptr %3, align 4
br label %36
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 i64 @chmod(ptr noundef %12, i32 noundef 0)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %31
15: ; preds = %9
%16 = call i64 @getenv(ptr noundef @.str)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %36
20: ; preds = %15
%21 = call i64 @getenv(ptr noundef @.str.2)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i64, ptr @errno, align 8
%25 = load i64, ptr @EPERM, align 8
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 0, ptr %3, align 4
br label %36
28: ; preds = %23, %20
br label %29
29: ; preds = %28
%30 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %36
31: ; preds = %9
%32 = call i64 @getenv(ptr noundef @.str)
%33 = icmp ne i64 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 0, i32 2
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %31, %29, %27, %18, %8
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @chmod(ptr noundef, i32 noundef) #1
declare i64 @getenv(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp98vwgcg.c'
source_filename = "/tmp/tmpp98vwgcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LPCIntRegister(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @IntRegister(i32 noundef 124, ptr noundef %5)
%7 = call i32 @IntEnable(i32 noundef 124)
ret void
}
declare i32 @IntRegister(i32 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmpp98vwgcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LPCIntRegister(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @IntRegister(i32 noundef 124, ptr noundef %5)
%7 = call i32 @IntEnable(i32 noundef 124)
ret void
}
declare i32 @IntRegister(i32 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmp5p78_7lc.c'
source_filename = "/tmp/tmp5p78_7lc.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Usage: stat FILE\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0ATesting stat:\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"lstat\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"\0ATesting lstat:\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"\0ATesting fstat:\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 ptr, align 8
%9 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %8, align 8
%20 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%21 = load ptr, ptr %8, align 8
%22 = call i32 @stat(ptr noundef %21, ptr noundef %9)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %16
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %16
%29 = call i32 @print_struct_stat(ptr noundef @.str.2, ptr noundef %9)
%30 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%31 = load ptr, ptr %8, align 8
%32 = call i32 @lstat(ptr noundef %31, ptr noundef %9)
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %28
%36 = call i32 @perror(ptr noundef @.str.3)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %28
%39 = call i32 @print_struct_stat(ptr noundef @.str.4, ptr noundef %9)
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr @O_RDONLY, align 4
%42 = call i32 @open(ptr noundef %40, i32 noundef %41)
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %38
%46 = call i32 @perror(ptr noundef @.str.5)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %38
%49 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%50 = load i32, ptr %6, align 4
%51 = call i32 @fstat(i32 noundef %50, ptr noundef %9)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.6)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %48
%58 = call i32 @print_struct_stat(ptr noundef @.str.7, ptr noundef %9)
%59 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @print_struct_stat(ptr noundef, ptr noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5p78_7lc.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Usage: stat FILE\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0ATesting stat:\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"lstat\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"\0ATesting lstat:\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"\0ATesting fstat:\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 ptr, align 8
%9 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %8, align 8
%20 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%21 = load ptr, ptr %8, align 8
%22 = call i32 @stat(ptr noundef %21, ptr noundef %9)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %16
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %16
%29 = call i32 @print_struct_stat(ptr noundef @.str.2, ptr noundef %9)
%30 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%31 = load ptr, ptr %8, align 8
%32 = call i32 @lstat(ptr noundef %31, ptr noundef %9)
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %28
%36 = call i32 @perror(ptr noundef @.str.3)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %28
%39 = call i32 @print_struct_stat(ptr noundef @.str.4, ptr noundef %9)
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr @O_RDONLY, align 4
%42 = call i32 @open(ptr noundef %40, i32 noundef %41)
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %38
%46 = call i32 @perror(ptr noundef @.str.5)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %38
%49 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4)
%50 = load i32, ptr %6, align 4
%51 = call i32 @fstat(i32 noundef %50, ptr noundef %9)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str.6)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %48
%58 = call i32 @print_struct_stat(ptr noundef @.str.7, ptr noundef %9)
%59 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @print_struct_stat(ptr noundef, ptr noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4hy1m8qi.c'
source_filename = "/tmp/tmp4hy1m8qi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TakeSample_ISR_Stop() #0 {
%1 = call i32 (...) @TakeSample_ISR_Disable()
ret void
}
declare i32 @TakeSample_ISR_Disable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hy1m8qi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TakeSample_ISR_Stop() #0 {
%1 = call i32 (...) @TakeSample_ISR_Disable()
ret void
}
declare i32 @TakeSample_ISR_Disable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpudzuvquq.c'
source_filename = "/tmp/tmpudzuvquq.c"
target datalayout = "e-m:e-p270: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/tmpudzuvquq.c"
target datalayout = "e-m:e-p270: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/tmpodc30es_.c'
source_filename = "/tmp/tmpodc30es_.c"
target datalayout = "e-m:e-p270: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/tmpodc30es_.c"
target datalayout = "e-m:e-p270: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/tmp6_uwni93.c'
source_filename = "/tmp/tmp6_uwni93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Usage: red12 <file> <cmd> [<args>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"&1\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"&2\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Could not open \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Could not execute \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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 35)
store i32 1, ptr %3, align 4
br label %89
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %13
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %29
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %20
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %28
27: ; preds = %20
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %28
28: ; preds = %27, %26
br label %29
29: ; preds = %28, %19
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %66
32: ; preds = %29
%33 = load i32, ptr %7, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @creat(ptr noundef %38, i32 noundef 420)
br label %41
40: ; preds = %32
br label %41
41: ; preds = %40, %35
%42 = phi i32 [ %39, %35 ], [ 2, %40 ]
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %56
45: ; preds = %41
%46 = call i32 @write(i32 noundef 2, ptr noundef @.str.3, i32 noundef 15)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i32 @strlen(ptr noundef %52)
%54 = call i32 @write(i32 noundef 2, ptr noundef %49, i32 noundef %53)
%55 = call i32 @write(i32 noundef 2, ptr noundef @.str.4, i32 noundef 1)
store i32 2, ptr %3, align 4
br label %89
56: ; preds = %41
%57 = call i32 @close(i32 noundef 1)
%58 = load i32, ptr %8, align 4
%59 = call i32 @dup(i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %56
%63 = load i32, ptr %8, align 4
%64 = call i32 @close(i32 noundef %63)
br label %65
65: ; preds = %62, %56
br label %66
66: ; preds = %65, %29
%67 = load i32, ptr %7, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = call i32 @close(i32 noundef 2)
%71 = call i32 @dup(i32 noundef 1)
br label %72
72: ; preds = %69, %66
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 2
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 2
%78 = call i32 @execvp(ptr noundef %75, ptr noundef %77)
%79 = call i32 @write(i32 noundef 2, ptr noundef @.str.5, i32 noundef 18)
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 2
%82 = load ptr, ptr %81, align 8
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 2
%85 = load ptr, ptr %84, align 8
%86 = call i32 @strlen(ptr noundef %85)
%87 = call i32 @write(i32 noundef 2, ptr noundef %82, i32 noundef %86)
%88 = call i32 @write(i32 noundef 2, ptr noundef @.str.4, i32 noundef 1)
store i32 3, ptr %3, align 4
br label %89
89: ; preds = %72, %45, %11
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @execvp(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/tmp6_uwni93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Usage: red12 <file> <cmd> [<args>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"&1\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"&2\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Could not open \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Could not execute \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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 35)
store i32 1, ptr %3, align 4
br label %89
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %13
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %29
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %20
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %28
27: ; preds = %20
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %28
28: ; preds = %27, %26
br label %29
29: ; preds = %28, %19
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %66
32: ; preds = %29
%33 = load i32, ptr %7, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @creat(ptr noundef %38, i32 noundef 420)
br label %41
40: ; preds = %32
br label %41
41: ; preds = %40, %35
%42 = phi i32 [ %39, %35 ], [ 2, %40 ]
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %56
45: ; preds = %41
%46 = call i32 @write(i32 noundef 2, ptr noundef @.str.3, i32 noundef 15)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i32 @strlen(ptr noundef %52)
%54 = call i32 @write(i32 noundef 2, ptr noundef %49, i32 noundef %53)
%55 = call i32 @write(i32 noundef 2, ptr noundef @.str.4, i32 noundef 1)
store i32 2, ptr %3, align 4
br label %89
56: ; preds = %41
%57 = call i32 @close(i32 noundef 1)
%58 = load i32, ptr %8, align 4
%59 = call i32 @dup(i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %56
%63 = load i32, ptr %8, align 4
%64 = call i32 @close(i32 noundef %63)
br label %65
65: ; preds = %62, %56
br label %66
66: ; preds = %65, %29
%67 = load i32, ptr %7, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = call i32 @close(i32 noundef 2)
%71 = call i32 @dup(i32 noundef 1)
br label %72
72: ; preds = %69, %66
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 2
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 2
%78 = call i32 @execvp(ptr noundef %75, ptr noundef %77)
%79 = call i32 @write(i32 noundef 2, ptr noundef @.str.5, i32 noundef 18)
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 2
%82 = load ptr, ptr %81, align 8
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 2
%85 = load ptr, ptr %84, align 8
%86 = call i32 @strlen(ptr noundef %85)
%87 = call i32 @write(i32 noundef 2, ptr noundef %82, i32 noundef %86)
%88 = call i32 @write(i32 noundef 2, ptr noundef @.str.4, i32 noundef 1)
store i32 3, ptr %3, align 4
br label %89
89: ; preds = %72, %45, %11
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @creat(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @execvp(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/tmpyw3vu432.c'
source_filename = "/tmp/tmpyw3vu432.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_distinct(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp sgt i32 %19, 0
br label %21
21: ; preds = %14, %11
%22 = phi i1 [ false, %11 ], [ %20, %14 ]
br i1 %22, label %23, label %27
23: ; preds = %21
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %5, align 4
br label %11, !llvm.loop !6
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %33, label %68
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %68
37: ; preds = %33
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sub nsw i32 0, %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp slt i32 %43, %48
br i1 %49, label %50, label %59
50: ; preds = %37
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = sub nsw i32 0, %55
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %7, align 4
br label %67
59: ; preds = %37
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %67
67: ; preds = %59, %50
br label %96
68: ; preds = %33, %27
%69 = load i32, ptr %7, align 4
%70 = icmp sge i32 %69, 0
br i1 %70, label %71, label %80
71: ; preds = %68
%72 = load ptr, ptr %3, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = sub nsw i32 0, %76
store i32 %77, ptr %8, align 4
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, -1
store i32 %79, ptr %7, align 4
br label %95
80: ; preds = %68
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %4, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %92
84: ; preds = %80
%85 = load ptr, ptr %3, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %6, align 4
br label %94
92: ; preds = %80
%93 = call i32 @assert(i32 noundef 0)
br label %94
94: ; preds = %92, %84
br label %95
95: ; preds = %94, %71
br label %96
96: ; preds = %95, %67
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %4, align 4
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %7, align 4
%101 = load i32, ptr %8, align 4
%102 = call i32 @abs_distinct_merge(ptr noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101)
%103 = add nsw i32 %102, 1
ret i32 %103
}
declare i32 @assert(i32 noundef) #1
declare i32 @abs_distinct_merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyw3vu432.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_distinct(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp sgt i32 %19, 0
br label %21
21: ; preds = %14, %11
%22 = phi i1 [ false, %11 ], [ %20, %14 ]
br i1 %22, label %23, label %27
23: ; preds = %21
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %5, align 4
br label %11, !llvm.loop !6
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %33, label %68
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %68
37: ; preds = %33
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sub nsw i32 0, %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp slt i32 %43, %48
br i1 %49, label %50, label %59
50: ; preds = %37
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = sub nsw i32 0, %55
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %7, align 4
br label %67
59: ; preds = %37
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %67
67: ; preds = %59, %50
br label %96
68: ; preds = %33, %27
%69 = load i32, ptr %7, align 4
%70 = icmp sge i32 %69, 0
br i1 %70, label %71, label %80
71: ; preds = %68
%72 = load ptr, ptr %3, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = sub nsw i32 0, %76
store i32 %77, ptr %8, align 4
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, -1
store i32 %79, ptr %7, align 4
br label %95
80: ; preds = %68
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %4, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %92
84: ; preds = %80
%85 = load ptr, ptr %3, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %6, align 4
br label %94
92: ; preds = %80
%93 = call i32 @assert(i32 noundef 0)
br label %94
94: ; preds = %92, %84
br label %95
95: ; preds = %94, %71
br label %96
96: ; preds = %95, %67
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %4, align 4
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %7, align 4
%101 = load i32, ptr %8, align 4
%102 = call i32 @abs_distinct_merge(ptr noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101)
%103 = add nsw i32 %102, 1
ret i32 %103
}
declare i32 @assert(i32 noundef) #1
declare i32 @abs_distinct_merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpossvwouk.c'
source_filename = "/tmp/tmpossvwouk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%ld.%09ld\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [50 x %struct.timespec], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 50
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr @CLOCK_REALTIME, align 4
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %10
%12 = call i32 @clock_gettime(i32 noundef %8, ptr noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %33, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 50
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i32, ptr @stdout, align 4
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %23
%25 = getelementptr inbounds %struct.timespec, ptr %24, i32 0, i32 1
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %28
%30 = getelementptr inbounds %struct.timespec, ptr %29, i32 0, i32 0
%31 = load i32, ptr %30, align 8
%32 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %26, i32 noundef %31)
br label %33
33: ; preds = %20
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %17, !llvm.loop !8
36: ; preds = %17
%37 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %37
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpossvwouk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%ld.%09ld\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [50 x %struct.timespec], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 50
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr @CLOCK_REALTIME, align 4
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %9
%11 = call i32 @clock_gettime(i32 noundef %7, ptr noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 50
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 50
br i1 %19, label %.lr.ph2, label %38
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %33
%21 = load i32, ptr @stdout, align 4
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %23
%25 = getelementptr inbounds %struct.timespec, ptr %24, i32 0, i32 1
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [50 x %struct.timespec], ptr %3, i64 0, i64 %28
%30 = getelementptr inbounds %struct.timespec, ptr %29, i32 0, i32 0
%31 = load i32, ptr %30, align 8
%32 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %26, i32 noundef %31)
br label %33
33: ; preds = %20
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp slt i32 %36, 50
br i1 %37, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %17
%39 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %39
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqefa9qju.c'
source_filename = "/tmp/tmpqefa9qju.c"
target datalayout = "e-m:e-p270: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/tmpqefa9qju.c"
target datalayout = "e-m:e-p270: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/tmplticusdm.c'
source_filename = "/tmp/tmplticusdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca [20 x i32], align 16
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%10 = call i32 @arr_rand(ptr noundef %9)
%11 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%12 = call i32 @arr_rand(ptr noundef %11)
%13 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%14 = call i32 @arr_rand(ptr noundef %13)
%15 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%16 = call i32 @print_arr(ptr noundef %15)
%17 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%18 = call i32 @print_arr(ptr noundef %17)
%19 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%20 = call i32 @print_arr(ptr noundef %19)
%21 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%22 = call i32 @find_max(ptr noundef %21)
store i32 %22, ptr %5, align 4
%23 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%24 = call i32 @find_max(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%26 = call i32 @find_max(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %0
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %8, align 4
br label %49
36: ; preds = %30, %0
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = load i32, ptr %6, align 4
store i32 %45, ptr %8, align 4
br label %48
46: ; preds = %40, %36
%47 = load i32, ptr %7, align 4
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %46, %44
br label %49
49: ; preds = %48, %34
%50 = load i32, ptr %8, align 4
%51 = call i32 @printf(ptr noundef @.str, i32 noundef %50)
ret i32 0
}
declare i32 @arr_rand(ptr noundef) #1
declare i32 @print_arr(ptr noundef) #1
declare i32 @find_max(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplticusdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca [20 x i32], align 16
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%10 = call i32 @arr_rand(ptr noundef %9)
%11 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%12 = call i32 @arr_rand(ptr noundef %11)
%13 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%14 = call i32 @arr_rand(ptr noundef %13)
%15 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%16 = call i32 @print_arr(ptr noundef %15)
%17 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%18 = call i32 @print_arr(ptr noundef %17)
%19 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%20 = call i32 @print_arr(ptr noundef %19)
%21 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%22 = call i32 @find_max(ptr noundef %21)
store i32 %22, ptr %5, align 4
%23 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
%24 = call i32 @find_max(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%26 = call i32 @find_max(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %0
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr %5, align 4
store i32 %35, ptr %8, align 4
br label %49
36: ; preds = %30, %0
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = load i32, ptr %6, align 4
store i32 %45, ptr %8, align 4
br label %48
46: ; preds = %40, %36
%47 = load i32, ptr %7, align 4
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %46, %44
br label %49
49: ; preds = %48, %34
%50 = load i32, ptr %8, align 4
%51 = call i32 @printf(ptr noundef @.str, i32 noundef %50)
ret i32 0
}
declare i32 @arr_rand(ptr noundef) #1
declare i32 @print_arr(ptr noundef) #1
declare i32 @find_max(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_at468fk.c'
source_filename = "/tmp/tmp_at468fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BNPrintf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @BN_bn2hex(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @OPENSSL_free(ptr noundef %8)
ret void
}
declare ptr @BN_bn2hex(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @OPENSSL_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/tmp_at468fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BNPrintf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @BN_bn2hex(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @OPENSSL_free(ptr noundef %8)
ret void
}
declare ptr @BN_bn2hex(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @OPENSSL_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/tmptj7ydzxd.c'
source_filename = "/tmp/tmptj7ydzxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [4096 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 4096, i32 noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %19, %2
%26 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %39, %25
%30 = load i32, ptr %7, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %29
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %37)
br label %39
39: ; preds = %32
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %7, align 4
br label %29, !llvm.loop !6
42: ; preds = %29
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(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/tmptj7ydzxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [4096 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 4096, i32 noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %19, %2
%26 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %.lr.ph, label %43
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %38
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %36)
br label %38
38: ; preds = %31
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp sge i32 %41, 0
br i1 %42, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %25
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(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/tmpc45m70xr.c'
source_filename = "/tmp/tmpc45m70xr.c"
target datalayout = "e-m:e-p270: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/tmpc45m70xr.c"
target datalayout = "e-m:e-p270: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/tmp7zqrzl1l.c'
source_filename = "/tmp/tmp7zqrzl1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cffti1_ps.ntryh = internal constant [5 x i32] [i32 5, i32 3, i32 4, i32 2, i32 0], align 16
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cffti1_ps(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca float, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @decompose(i32 noundef %23, ptr noundef %24, ptr noundef @cffti1_ps.ntryh)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr @M_PI, align 4
%27 = mul nsw i32 2, %26
%28 = sitofp i32 %27 to float
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to float
%31 = fdiv float %28, %30
store float %31, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
store i32 1, ptr %7, align 4
br label %32
32: ; preds = %140, %3
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %36, label %143
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %14, align 4
store i32 0, ptr %15, align 4
%43 = load i32, ptr %13, align 4
%44 = load i32, ptr %14, align 4
%45 = mul nsw i32 %43, %44
store i32 %45, ptr %16, align 4
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %16, align 4
%48 = sdiv i32 %46, %47
store i32 %48, ptr %17, align 4
%49 = load i32, ptr %17, align 4
%50 = load i32, ptr %17, align 4
%51 = add nsw i32 %49, %50
%52 = add nsw i32 %51, 2
store i32 %52, ptr %18, align 4
%53 = load i32, ptr %14, align 4
%54 = sub nsw i32 %53, 1
store i32 %54, ptr %19, align 4
store i32 1, ptr %8, align 4
br label %55
55: ; preds = %135, %36
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %19, align 4
%58 = icmp sle i32 %56, %57
br i1 %58, label %59, label %138
59: ; preds = %55
%60 = load i32, ptr %12, align 4
store i32 %60, ptr %21, align 4
store i32 0, ptr %22, align 4
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %12, align 4
%63 = sub nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds float, ptr %61, i64 %64
store float 1.000000e+00, ptr %65, align 4
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %66, i64 %68
store float 0.000000e+00, ptr %69, align 4
%70 = load i32, ptr %13, align 4
%71 = load i32, ptr %15, align 4
%72 = add nsw i32 %71, %70
store i32 %72, ptr %15, align 4
%73 = load i32, ptr %15, align 4
%74 = sitofp i32 %73 to float
%75 = load float, ptr %11, align 4
%76 = fmul float %74, %75
store float %76, ptr %20, align 4
store i32 4, ptr %9, align 4
br label %77
77: ; preds = %107, %59
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %18, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %81, label %110
81: ; preds = %77
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 2
store i32 %83, ptr %12, align 4
%84 = load i32, ptr %22, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %22, align 4
%86 = load i32, ptr %22, align 4
%87 = sitofp i32 %86 to float
%88 = load float, ptr %20, align 4
%89 = fmul float %87, %88
%90 = fptosi float %89 to i32
%91 = call float @cos(i32 noundef %90)
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %12, align 4
%94 = sub nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %92, i64 %95
store float %91, ptr %96, align 4
%97 = load i32, ptr %22, align 4
%98 = sitofp i32 %97 to float
%99 = load float, ptr %20, align 4
%100 = fmul float %98, %99
%101 = fptosi float %100 to i32
%102 = call float @sin(i32 noundef %101)
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %12, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %103, i64 %105
store float %102, ptr %106, align 4
br label %107
107: ; preds = %81
%108 = load i32, ptr %9, align 4
%109 = add nsw i32 %108, 2
store i32 %109, ptr %9, align 4
br label %77, !llvm.loop !6
110: ; preds = %77
%111 = load i32, ptr %14, align 4
%112 = icmp sgt i32 %111, 5
br i1 %112, label %113, label %134
113: ; preds = %110
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %12, align 4
%116 = sub nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds float, ptr %114, i64 %117
%119 = load float, ptr %118, align 4
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %21, align 4
%122 = sub nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %120, i64 %123
store float %119, ptr %124, align 4
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %12, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds float, ptr %125, i64 %127
%129 = load float, ptr %128, align 4
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %21, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
store float %129, ptr %133, align 4
br label %134
134: ; preds = %113, %110
br label %135
135: ; preds = %134
%136 = load i32, ptr %8, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %8, align 4
br label %55, !llvm.loop !8
138: ; preds = %55
%139 = load i32, ptr %16, align 4
store i32 %139, ptr %13, align 4
br label %140
140: ; preds = %138
%141 = load i32, ptr %7, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %7, align 4
br label %32, !llvm.loop !9
143: ; preds = %32
ret void
}
declare i32 @decompose(i32 noundef, ptr noundef, ptr noundef) #1
declare float @cos(i32 noundef) #1
declare float @sin(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zqrzl1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cffti1_ps.ntryh = internal constant [5 x i32] [i32 5, i32 3, i32 4, i32 2, i32 0], align 16
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cffti1_ps(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca float, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @decompose(i32 noundef %23, ptr noundef %24, ptr noundef @cffti1_ps.ntryh)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr @M_PI, align 4
%27 = mul nsw i32 2, %26
%28 = sitofp i32 %27 to float
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to float
%31 = fdiv float %28, %30
store float %31, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
store i32 1, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %.lr.ph5, label %149
.lr.ph5: ; preds = %3
br label %35
35: ; preds = %.lr.ph5, %143
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %14, align 4
store i32 0, ptr %15, align 4
%42 = load i32, ptr %13, align 4
%43 = load i32, ptr %14, align 4
%44 = mul nsw i32 %42, %43
store i32 %44, ptr %16, align 4
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %16, align 4
%47 = sdiv i32 %45, %46
store i32 %47, ptr %17, align 4
%48 = load i32, ptr %17, align 4
%49 = load i32, ptr %17, align 4
%50 = add nsw i32 %48, %49
%51 = add nsw i32 %50, 2
store i32 %51, ptr %18, align 4
%52 = load i32, ptr %14, align 4
%53 = sub nsw i32 %52, 1
store i32 %53, ptr %19, align 4
store i32 1, ptr %8, align 4
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %19, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %.lr.ph2, label %141
.lr.ph2: ; preds = %35
br label %57
57: ; preds = %.lr.ph2, %135
%58 = load i32, ptr %12, align 4
store i32 %58, ptr %21, align 4
store i32 0, ptr %22, align 4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %12, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %59, i64 %62
store float 1.000000e+00, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %12, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds float, ptr %64, i64 %66
store float 0.000000e+00, ptr %67, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %15, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %15, align 4
%71 = load i32, ptr %15, align 4
%72 = sitofp i32 %71 to float
%73 = load float, ptr %11, align 4
%74 = fmul float %72, %73
store float %74, ptr %20, align 4
store i32 4, ptr %9, align 4
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %18, align 4
%77 = icmp sle i32 %75, %76
br i1 %77, label %.lr.ph, label %110
.lr.ph: ; preds = %57
br label %78
78: ; preds = %.lr.ph, %104
%79 = load i32, ptr %12, align 4
%80 = add nsw i32 %79, 2
store i32 %80, ptr %12, align 4
%81 = load i32, ptr %22, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %22, align 4
%83 = load i32, ptr %22, align 4
%84 = sitofp i32 %83 to float
%85 = load float, ptr %20, align 4
%86 = fmul float %84, %85
%87 = fptosi float %86 to i32
%88 = call float @cos(i32 noundef %87)
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %12, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds float, ptr %89, i64 %92
store float %88, ptr %93, align 4
%94 = load i32, ptr %22, align 4
%95 = sitofp i32 %94 to float
%96 = load float, ptr %20, align 4
%97 = fmul float %95, %96
%98 = fptosi float %97 to i32
%99 = call float @sin(i32 noundef %98)
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %12, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
store float %99, ptr %103, align 4
br label %104
104: ; preds = %78
%105 = load i32, ptr %9, align 4
%106 = add nsw i32 %105, 2
store i32 %106, ptr %9, align 4
%107 = load i32, ptr %9, align 4
%108 = load i32, ptr %18, align 4
%109 = icmp sle i32 %107, %108
br i1 %109, label %78, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %104
br label %110
110: ; preds = %._crit_edge, %57
%111 = load i32, ptr %14, align 4
%112 = icmp sgt i32 %111, 5
br i1 %112, label %113, label %134
113: ; preds = %110
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %12, align 4
%116 = sub nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds float, ptr %114, i64 %117
%119 = load float, ptr %118, align 4
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %21, align 4
%122 = sub nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %120, i64 %123
store float %119, ptr %124, align 4
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %12, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds float, ptr %125, i64 %127
%129 = load float, ptr %128, align 4
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %21, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
store float %129, ptr %133, align 4
br label %134
134: ; preds = %113, %110
br label %135
135: ; preds = %134
%136 = load i32, ptr %8, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %8, align 4
%138 = load i32, ptr %8, align 4
%139 = load i32, ptr %19, align 4
%140 = icmp sle i32 %138, %139
br i1 %140, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %135
br label %141
141: ; preds = %._crit_edge3, %35
%142 = load i32, ptr %16, align 4
store i32 %142, ptr %13, align 4
br label %143
143: ; preds = %141
%144 = load i32, ptr %7, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %7, align 4
%146 = load i32, ptr %7, align 4
%147 = load i32, ptr %10, align 4
%148 = icmp sle i32 %146, %147
br i1 %148, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %143
br label %149
149: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @decompose(i32 noundef, ptr noundef, ptr noundef) #1
declare float @cos(i32 noundef) #1
declare float @sin(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp95_6p8al.c'
source_filename = "/tmp/tmp95_6p8al.c"
target datalayout = "e-m:e-p270: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/tmp95_6p8al.c"
target datalayout = "e-m:e-p270: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/tmpf3stxlr8.c'
source_filename = "/tmp/tmpf3stxlr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_UNLCK = 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/tmpf3stxlr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_UNLCK = 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/tmpjshmn8l3.c'
source_filename = "/tmp/tmpjshmn8l3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10, %7, %0
store i32 0, ptr %1, align 4
br label %36
14: ; preds = %10
br label %15
15: ; preds = %19, %14
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %15, !llvm.loop !6
24: ; preds = %15
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %29, %30
br label %32
32: ; preds = %28, %24
%33 = phi i1 [ false, %24 ], [ %31, %28 ]
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
store i32 0, ptr %1, align 4
br label %36
36: ; preds = %32, %13
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjshmn8l3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10, %7, %0
store i32 0, ptr %1, align 4
br label %38
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %26
26: ; preds = %._crit_edge, %14
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %31, %32
br label %34
34: ; preds = %30, %26
%35 = phi i1 [ false, %26 ], [ %33, %30 ]
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
store i32 0, ptr %1, align 4
br label %38
38: ; preds = %34, %13
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwjdoeodg.c'
source_filename = "/tmp/tmpwjdoeodg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"little endian\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"big endian\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Unkown endian\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @endian_check() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 305419896, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = and i32 %3, 255
%5 = trunc i32 %4 to i8
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = icmp eq i32 %7, 120
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str)
br label %21
11: ; preds = %0
%12 = load i8, ptr %2, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 18
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 @printf(ptr noundef @.str.1)
br label %20
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
br label %20
20: ; preds = %17, %15
br label %21
21: ; preds = %20, %9
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwjdoeodg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"little endian\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"big endian\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Unkown endian\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @endian_check() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 305419896, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = and i32 %3, 255
%5 = trunc i32 %4 to i8
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = icmp eq i32 %7, 120
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str)
br label %21
11: ; preds = %0
%12 = load i8, ptr %2, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 18
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 @printf(ptr noundef @.str.1)
br label %20
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
br label %20
20: ; preds = %17, %15
br label %21
21: ; preds = %20, %9
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplnmdr13x.c'
source_filename = "/tmp/tmplnmdr13x.c"
target datalayout = "e-m:e-p270: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/tmplnmdr13x.c"
target datalayout = "e-m:e-p270: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/tmpbv996q5s.c'
source_filename = "/tmp/tmpbv996q5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zoom_pyramid() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @fill(i32 noundef 0)
%6 = call i32 @box_walls(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 7)
%7 = call i32 @delay_ms(i32 noundef 250)
%8 = call i32 @fill(i32 noundef 0)
%9 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 1)
%10 = call i32 @box_walls(i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 7, i32 noundef 1, i32 noundef 7)
%11 = call i32 @delay_ms(i32 noundef 250)
%12 = call i32 @fill(i32 noundef 0)
%13 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 1, i32 noundef 1)
%14 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 1, i32 noundef 3)
%15 = call i32 @box_walls(i32 noundef 0, i32 noundef 2, i32 noundef 0, i32 noundef 7, i32 noundef 2, i32 noundef 7)
%16 = call i32 @delay_ms(i32 noundef 250)
%17 = call i32 @fill(i32 noundef 0)
%18 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 2, i32 noundef 1)
%19 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 2, i32 noundef 3)
%20 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 2, i32 noundef 5)
%21 = call i32 @box_walls(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 7, i32 noundef 3, i32 noundef 7)
%22 = call i32 @delay_ms(i32 noundef 250)
%23 = call i32 @fill(i32 noundef 0)
%24 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 3, i32 noundef 1)
%25 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 3, i32 noundef 3)
%26 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 3, i32 noundef 5)
%27 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 3, i32 noundef 7)
%28 = call i32 @box_walls(i32 noundef 0, i32 noundef 4, i32 noundef 0, i32 noundef 7, i32 noundef 4, i32 noundef 7)
%29 = call i32 @delay_ms(i32 noundef 250)
%30 = call i32 @fill(i32 noundef 0)
%31 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 4, i32 noundef 1)
%32 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 4, i32 noundef 3)
%33 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 4, i32 noundef 5)
%34 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%35 = call i32 @box_walls(i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 7, i32 noundef 5, i32 noundef 7)
%36 = call i32 @delay_ms(i32 noundef 250)
%37 = call i32 @fill(i32 noundef 0)
%38 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 5, i32 noundef 1)
%39 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 5, i32 noundef 3)
%40 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%41 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%42 = call i32 @box_walls(i32 noundef 0, i32 noundef 6, i32 noundef 0, i32 noundef 7, i32 noundef 6, i32 noundef 7)
%43 = call i32 @delay_ms(i32 noundef 250)
%44 = call i32 @fill(i32 noundef 0)
%45 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 6, i32 noundef 1)
%46 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 6, i32 noundef 3)
%47 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%48 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%49 = call i32 @box_walls(i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 7, i32 noundef 7, i32 noundef 7)
%50 = call i32 @delay_ms(i32 noundef 250)
%51 = call i32 @fill(i32 noundef 0)
%52 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 7, i32 noundef 1)
%53 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 6, i32 noundef 3)
%54 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%55 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%56 = call i32 @delay_ms(i32 noundef 5000)
ret void
}
declare i32 @fill(i32 noundef) #1
declare i32 @box_walls(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @delay_ms(i32 noundef) #1
declare i32 @box_wireframe(i32 noundef, i32 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/tmpbv996q5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zoom_pyramid() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @fill(i32 noundef 0)
%6 = call i32 @box_walls(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 7)
%7 = call i32 @delay_ms(i32 noundef 250)
%8 = call i32 @fill(i32 noundef 0)
%9 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 1)
%10 = call i32 @box_walls(i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 7, i32 noundef 1, i32 noundef 7)
%11 = call i32 @delay_ms(i32 noundef 250)
%12 = call i32 @fill(i32 noundef 0)
%13 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 1, i32 noundef 1)
%14 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 1, i32 noundef 3)
%15 = call i32 @box_walls(i32 noundef 0, i32 noundef 2, i32 noundef 0, i32 noundef 7, i32 noundef 2, i32 noundef 7)
%16 = call i32 @delay_ms(i32 noundef 250)
%17 = call i32 @fill(i32 noundef 0)
%18 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 2, i32 noundef 1)
%19 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 2, i32 noundef 3)
%20 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 2, i32 noundef 5)
%21 = call i32 @box_walls(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 7, i32 noundef 3, i32 noundef 7)
%22 = call i32 @delay_ms(i32 noundef 250)
%23 = call i32 @fill(i32 noundef 0)
%24 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 3, i32 noundef 1)
%25 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 3, i32 noundef 3)
%26 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 3, i32 noundef 5)
%27 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 3, i32 noundef 7)
%28 = call i32 @box_walls(i32 noundef 0, i32 noundef 4, i32 noundef 0, i32 noundef 7, i32 noundef 4, i32 noundef 7)
%29 = call i32 @delay_ms(i32 noundef 250)
%30 = call i32 @fill(i32 noundef 0)
%31 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 4, i32 noundef 1)
%32 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 4, i32 noundef 3)
%33 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 4, i32 noundef 5)
%34 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%35 = call i32 @box_walls(i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 7, i32 noundef 5, i32 noundef 7)
%36 = call i32 @delay_ms(i32 noundef 250)
%37 = call i32 @fill(i32 noundef 0)
%38 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 5, i32 noundef 1)
%39 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 5, i32 noundef 3)
%40 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%41 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%42 = call i32 @box_walls(i32 noundef 0, i32 noundef 6, i32 noundef 0, i32 noundef 7, i32 noundef 6, i32 noundef 7)
%43 = call i32 @delay_ms(i32 noundef 250)
%44 = call i32 @fill(i32 noundef 0)
%45 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 6, i32 noundef 1)
%46 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 6, i32 noundef 3)
%47 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%48 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%49 = call i32 @box_walls(i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef 7, i32 noundef 7, i32 noundef 7)
%50 = call i32 @delay_ms(i32 noundef 250)
%51 = call i32 @fill(i32 noundef 0)
%52 = call i32 @box_wireframe(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 7, i32 noundef 7, i32 noundef 1)
%53 = call i32 @box_wireframe(i32 noundef 1, i32 noundef 1, i32 noundef 2, i32 noundef 6, i32 noundef 6, i32 noundef 3)
%54 = call i32 @box_wireframe(i32 noundef 2, i32 noundef 2, i32 noundef 4, i32 noundef 5, i32 noundef 5, i32 noundef 5)
%55 = call i32 @box_wireframe(i32 noundef 3, i32 noundef 3, i32 noundef 6, i32 noundef 4, i32 noundef 4, i32 noundef 7)
%56 = call i32 @delay_ms(i32 noundef 5000)
ret void
}
declare i32 @fill(i32 noundef) #1
declare i32 @box_walls(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @delay_ms(i32 noundef) #1
declare i32 @box_wireframe(i32 noundef, i32 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/tmppz5xwuly.c'
source_filename = "/tmp/tmppz5xwuly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x1c() #0 {
%1 = call i64 @ispunct(i32 noundef 28)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmppz5xwuly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x1c() #0 {
%1 = call i64 @ispunct(i32 noundef 28)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmpvspavr2r.c'
source_filename = "/tmp/tmpvspavr2r.c"
target datalayout = "e-m:e-p270: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/tmpvspavr2r.c"
target datalayout = "e-m:e-p270: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/tmpmag06j85.c'
source_filename = "/tmp/tmpmag06j85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"ERROR: You need one argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d: 'A'\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d: 'E'\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d: 'I'\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d: 'O'\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%d: 'U'\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%d: 'Y'\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 2, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %66
12: ; preds = %2
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %62, %12
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp slt i32 %14, %22
br i1 %23, label %24, label %65
24: ; preds = %13
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %7, align 1
%32 = load i8, ptr %7, align 1
%33 = sext i8 %32 to i32
switch i32 %33, label %56 [
i32 97, label %34
i32 65, label %34
i32 101, label %37
i32 69, label %37
i32 105, label %40
i32 73, label %40
i32 111, label %43
i32 79, label %43
i32 117, label %46
i32 85, label %46
i32 121, label %49
i32 89, label %49
]
34: ; preds = %24, %24
%35 = load i32, ptr %6, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
br label %61
37: ; preds = %24, %24
%38 = load i32, ptr %6, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
br label %61
40: ; preds = %24, %24
%41 = load i32, ptr %6, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41)
br label %61
43: ; preds = %24, %24
%44 = load i32, ptr %6, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44)
br label %61
46: ; preds = %24, %24
%47 = load i32, ptr %6, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47)
br label %61
49: ; preds = %24, %24
%50 = load i32, ptr %6, align 4
%51 = icmp sgt i32 %50, 2
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load i32, ptr %6, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %53)
br label %55
55: ; preds = %52, %49
br label %61
56: ; preds = %24
%57 = load i32, ptr %6, align 4
%58 = load i8, ptr %7, align 1
%59 = sext i8 %58 to i32
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %57, i32 noundef %59)
br label %61
61: ; preds = %56, %55, %46, %43, %40, %37, %34
br label %62
62: ; preds = %61
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
br label %13, !llvm.loop !6
65: ; preds = %13
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %65, %10
%67 = load i32, ptr %3, align 4
ret i32 %67
}
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/tmpmag06j85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"ERROR: You need one argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d: 'A'\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d: 'E'\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d: 'I'\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d: 'O'\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"%d: 'U'\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%d: 'Y'\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 2, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %75
12: ; preds = %2
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp slt i32 %13, %21
br i1 %22, label %.lr.ph, label %74
.lr.ph: ; preds = %12
br label %23
23: ; preds = %.lr.ph, %61
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
store i8 %30, ptr %7, align 1
%31 = load i8, ptr %7, align 1
%32 = sext i8 %31 to i32
switch i32 %32, label %55 [
i32 97, label %33
i32 65, label %33
i32 101, label %36
i32 69, label %36
i32 105, label %39
i32 73, label %39
i32 111, label %42
i32 79, label %42
i32 117, label %45
i32 85, label %45
i32 121, label %48
i32 89, label %48
]
33: ; preds = %23, %23
%34 = load i32, ptr %6, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %60
36: ; preds = %23, %23
%37 = load i32, ptr %6, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37)
br label %60
39: ; preds = %23, %23
%40 = load i32, ptr %6, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40)
br label %60
42: ; preds = %23, %23
%43 = load i32, ptr %6, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
br label %60
45: ; preds = %23, %23
%46 = load i32, ptr %6, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %46)
br label %60
48: ; preds = %23, %23
%49 = load i32, ptr %6, align 4
%50 = icmp sgt i32 %49, 2
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr %6, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %52)
br label %54
54: ; preds = %51, %48
br label %60
55: ; preds = %23
%56 = load i32, ptr %6, align 4
%57 = load i8, ptr %7, align 1
%58 = sext i8 %57 to i32
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %56, i32 noundef %58)
br label %60
60: ; preds = %55, %54, %45, %42, %39, %36, %33
br label %61
61: ; preds = %60
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
%64 = load i32, ptr %6, align 4
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
%67 = load ptr, ptr %66, align 8
%68 = load i32, ptr %6, align 4
%69 = sext 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 slt i32 %64, %72
br i1 %73, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %74
74: ; preds = %._crit_edge, %12
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %74, %10
%76 = load i32, ptr %3, align 4
ret i32 %76
}
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/tmpxjvk4mlc.c'
source_filename = "/tmp/tmpxjvk4mlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_27(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @sqrt(double noundef 1.560090e+05) #3
%7 = fneg double %6
%8 = load double, ptr %3, align 8
%9 = call double @pow(double noundef %8, double noundef 7.500000e-01) #3
%10 = fmul double %7, %9
%11 = load double, ptr %3, align 8
%12 = fneg double %11
%13 = load double, ptr %4, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = fdiv double %16, 2.000000e+00
%18 = call double @exp(double noundef %17) #3
%19 = fmul double %10, %18
%20 = load double, ptr %3, align 8
%21 = call double @pow(double noundef %20, double noundef 1.400000e+01) #3
%22 = fmul double 8.192000e+03, %21
%23 = load double, ptr %4, align 8
%24 = call double @pow(double noundef %23, double noundef 2.800000e+01) #3
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 1.300000e+01) #3
%27 = fmul double 1.658880e+06, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 2.600000e+01) #3
%30 = fmul double %27, %29
%31 = fneg double %30
%32 = call double @llvm.fmuladd.f64(double %22, double %24, double %31)
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 1.200000e+01) #3
%35 = fmul double 0x41A1238000000000, %34
%36 = load double, ptr %4, align 8
%37 = call double @pow(double noundef %36, double noundef 2.400000e+01) #3
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32)
%39 = load double, ptr %3, align 8
%40 = call double @pow(double noundef %39, double noundef 1.100000e+01) #3
%41 = fmul double 0x41FA2D3880000000, %40
%42 = load double, ptr %4, align 8
%43 = call double @pow(double noundef %42, double noundef 2.200000e+01) #3
%44 = fneg double %41
%45 = call double @llvm.fmuladd.f64(double %44, double %43, double %38)
%46 = load double, ptr %3, align 8
%47 = call double @pow(double noundef %46, double noundef 1.000000e+01) #3
%48 = fmul double 0x4249027FBF000000, %47
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, double noundef 2.000000e+01) #3
%51 = call double @llvm.fmuladd.f64(double %48, double %50, double %45)
%52 = load double, ptr %3, align 8
%53 = call double @pow(double noundef %52, double noundef 9.000000e+00) #3
%54 = fmul double 0x428F595ACAF80000, %53
%55 = load double, ptr %4, align 8
%56 = call double @pow(double noundef %55, double noundef 1.800000e+01) #3
%57 = fneg double %54
%58 = call double @llvm.fmuladd.f64(double %57, double %56, double %51)
%59 = load double, ptr %3, align 8
%60 = call double @pow(double noundef %59, double noundef 8.000000e+00) #3
%61 = fmul double 0x42CA4BCB50FD8000, %60
%62 = load double, ptr %4, align 8
%63 = call double @pow(double noundef %62, double noundef 1.600000e+01) #3
%64 = call double @llvm.fmuladd.f64(double %61, double %63, double %58)
%65 = load double, ptr %3, align 8
%66 = call double @pow(double noundef %65, double noundef 7.000000e+00) #3
%67 = fmul double 0x42FD9544BB1D3000, %66
%68 = load double, ptr %4, align 8
%69 = call double @pow(double noundef %68, double noundef 1.400000e+01) #3
%70 = fneg double %67
%71 = call double @llvm.fmuladd.f64(double %70, double %69, double %64)
%72 = load double, ptr %3, align 8
%73 = call double @pow(double noundef %72, double noundef 6.000000e+00) #3
%74 = fmul double 0x43260881DB5C67C0, %73
%75 = load double, ptr %4, align 8
%76 = call double @pow(double noundef %75, double noundef 1.200000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 5.000000e+00) #3
%80 = fmul double 0x43451D7C72388E18, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 1.000000e+01) #3
%83 = fneg double %80
%84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77)
%85 = load double, ptr %3, align 8
%86 = call double @pow(double noundef %85, double noundef 4.000000e+00) #3
%87 = fmul double 0x4358C99216C7F4B8, %86
%88 = load double, ptr %4, align 8
%89 = call double @pow(double noundef %88, double noundef 8.000000e+00) #3
%90 = call double @llvm.fmuladd.f64(double %87, double %89, double %84)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 3.000000e+00) #3
%93 = fmul double 0x43606E581CAD4619, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 6.000000e+00) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = fmul double 0x43555C3F587ADB20, %98
%100 = load double, ptr %3, align 8
%101 = fmul double %99, %100
%102 = load double, ptr %4, align 8
%103 = call double @pow(double noundef %102, double noundef 4.000000e+00) #3
%104 = call double @llvm.fmuladd.f64(double %101, double %103, double %97)
%105 = load double, ptr %3, align 8
%106 = fmul double 0x433479C0824243A9, %105
%107 = load double, ptr %4, align 8
%108 = fmul double %106, %107
%109 = load double, ptr %4, align 8
%110 = fneg double %108
%111 = call double @llvm.fmuladd.f64(double %110, double %109, double %104)
%112 = fadd double %111, 0x42E84472617DF160
%113 = fmul double %19, %112
%114 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%115 = fmul double %113, %114
%116 = fdiv double %115, 0x4359E29C23B98A00
store double %116, ptr %5, align 8
%117 = load double, ptr %5, align 8
ret double %117
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjvk4mlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_27(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @sqrt(double noundef 1.560090e+05) #3
%7 = fneg double %6
%8 = load double, ptr %3, align 8
%9 = call double @pow(double noundef %8, double noundef 7.500000e-01) #3
%10 = fmul double %7, %9
%11 = load double, ptr %3, align 8
%12 = fneg double %11
%13 = load double, ptr %4, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = fdiv double %16, 2.000000e+00
%18 = call double @exp(double noundef %17) #3
%19 = fmul double %10, %18
%20 = load double, ptr %3, align 8
%21 = call double @pow(double noundef %20, double noundef 1.400000e+01) #3
%22 = fmul double 8.192000e+03, %21
%23 = load double, ptr %4, align 8
%24 = call double @pow(double noundef %23, double noundef 2.800000e+01) #3
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 1.300000e+01) #3
%27 = fmul double 1.658880e+06, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 2.600000e+01) #3
%30 = fmul double %27, %29
%31 = fneg double %30
%32 = call double @llvm.fmuladd.f64(double %22, double %24, double %31)
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 1.200000e+01) #3
%35 = fmul double 0x41A1238000000000, %34
%36 = load double, ptr %4, align 8
%37 = call double @pow(double noundef %36, double noundef 2.400000e+01) #3
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32)
%39 = load double, ptr %3, align 8
%40 = call double @pow(double noundef %39, double noundef 1.100000e+01) #3
%41 = fmul double 0x41FA2D3880000000, %40
%42 = load double, ptr %4, align 8
%43 = call double @pow(double noundef %42, double noundef 2.200000e+01) #3
%44 = fneg double %41
%45 = call double @llvm.fmuladd.f64(double %44, double %43, double %38)
%46 = load double, ptr %3, align 8
%47 = call double @pow(double noundef %46, double noundef 1.000000e+01) #3
%48 = fmul double 0x4249027FBF000000, %47
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, double noundef 2.000000e+01) #3
%51 = call double @llvm.fmuladd.f64(double %48, double %50, double %45)
%52 = load double, ptr %3, align 8
%53 = call double @pow(double noundef %52, double noundef 9.000000e+00) #3
%54 = fmul double 0x428F595ACAF80000, %53
%55 = load double, ptr %4, align 8
%56 = call double @pow(double noundef %55, double noundef 1.800000e+01) #3
%57 = fneg double %54
%58 = call double @llvm.fmuladd.f64(double %57, double %56, double %51)
%59 = load double, ptr %3, align 8
%60 = call double @pow(double noundef %59, double noundef 8.000000e+00) #3
%61 = fmul double 0x42CA4BCB50FD8000, %60
%62 = load double, ptr %4, align 8
%63 = call double @pow(double noundef %62, double noundef 1.600000e+01) #3
%64 = call double @llvm.fmuladd.f64(double %61, double %63, double %58)
%65 = load double, ptr %3, align 8
%66 = call double @pow(double noundef %65, double noundef 7.000000e+00) #3
%67 = fmul double 0x42FD9544BB1D3000, %66
%68 = load double, ptr %4, align 8
%69 = call double @pow(double noundef %68, double noundef 1.400000e+01) #3
%70 = fneg double %67
%71 = call double @llvm.fmuladd.f64(double %70, double %69, double %64)
%72 = load double, ptr %3, align 8
%73 = call double @pow(double noundef %72, double noundef 6.000000e+00) #3
%74 = fmul double 0x43260881DB5C67C0, %73
%75 = load double, ptr %4, align 8
%76 = call double @pow(double noundef %75, double noundef 1.200000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 5.000000e+00) #3
%80 = fmul double 0x43451D7C72388E18, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 1.000000e+01) #3
%83 = fneg double %80
%84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77)
%85 = load double, ptr %3, align 8
%86 = call double @pow(double noundef %85, double noundef 4.000000e+00) #3
%87 = fmul double 0x4358C99216C7F4B8, %86
%88 = load double, ptr %4, align 8
%89 = call double @pow(double noundef %88, double noundef 8.000000e+00) #3
%90 = call double @llvm.fmuladd.f64(double %87, double %89, double %84)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 3.000000e+00) #3
%93 = fmul double 0x43606E581CAD4619, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 6.000000e+00) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = fmul double 0x43555C3F587ADB20, %98
%100 = load double, ptr %3, align 8
%101 = fmul double %99, %100
%102 = load double, ptr %4, align 8
%103 = call double @pow(double noundef %102, double noundef 4.000000e+00) #3
%104 = call double @llvm.fmuladd.f64(double %101, double %103, double %97)
%105 = load double, ptr %3, align 8
%106 = fmul double 0x433479C0824243A9, %105
%107 = load double, ptr %4, align 8
%108 = fmul double %106, %107
%109 = load double, ptr %4, align 8
%110 = fneg double %108
%111 = call double @llvm.fmuladd.f64(double %110, double %109, double %104)
%112 = fadd double %111, 0x42E84472617DF160
%113 = fmul double %19, %112
%114 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%115 = fmul double %113, %114
%116 = fdiv double %115, 0x4359E29C23B98A00
store double %116, ptr %5, align 8
%117 = load double, ptr %5, align 8
ret double %117
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpayan7zzg.c'
source_filename = "/tmp/tmpayan7zzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_print_int(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = trunc i64 %3 to i32
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpayan7zzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_print_int(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = trunc i64 %3 to i32
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfv7g3qf2.c'
source_filename = "/tmp/tmpfv7g3qf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i64 0, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfv7g3qf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i64 0, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1rg3v4d4.c'
source_filename = "/tmp/tmp1rg3v4d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @muGetNoteFromFreq(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store float 2.000000e+04, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %28, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 127
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call float @muGetFreqFromNote(i32 noundef %11)
%13 = load float, ptr %2, align 4
%14 = fsub float %12, %13
store float %14, ptr %5, align 4
%15 = load float, ptr %5, align 4
%16 = fcmp olt float %15, 0.000000e+00
br i1 %16, label %17, label %20
17: ; preds = %10
%18 = load float, ptr %5, align 4
%19 = fneg float %18
store float %19, ptr %5, align 4
br label %20
20: ; preds = %17, %10
%21 = load float, ptr %5, align 4
%22 = load float, ptr %6, align 4
%23 = fcmp olt float %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load float, ptr %5, align 4
store float %25, ptr %6, align 4
%26 = load i32, ptr %3, align 4
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %20
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %7, !llvm.loop !6
31: ; preds = %7
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare float @muGetFreqFromNote(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/tmp1rg3v4d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @muGetNoteFromFreq(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store float 2.000000e+04, ptr %6, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 127
br i1 %8, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %3, align 4
%11 = call float @muGetFreqFromNote(i32 noundef %10)
%12 = load float, ptr %2, align 4
%13 = fsub float %11, %12
store float %13, ptr %5, align 4
%14 = load float, ptr %5, align 4
%15 = fcmp olt float %14, 0.000000e+00
br i1 %15, label %16, label %19
16: ; preds = %9
%17 = load float, ptr %5, align 4
%18 = fneg float %17
store float %18, ptr %5, align 4
br label %19
19: ; preds = %16, %9
%20 = load float, ptr %5, align 4
%21 = load float, ptr %6, align 4
%22 = fcmp olt float %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load float, ptr %5, align 4
store float %24, ptr %6, align 4
%25 = load i32, ptr %3, align 4
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %19
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 127
br i1 %31, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i32, ptr %4, align 4
ret i32 %33
}
declare float @muGetFreqFromNote(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/tmph88986cl.c'
source_filename = "/tmp/tmph88986cl.c"
target datalayout = "e-m:e-p270: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/tmph88986cl.c"
target datalayout = "e-m:e-p270: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_m_p_szq.c'
source_filename = "/tmp/tmp_m_p_szq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_of(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @measured_copy(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @measured_copy(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_m_p_szq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_of(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @measured_copy(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @measured_copy(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc55r_ljf.c'
source_filename = "/tmp/tmpc55r_ljf.c"
target datalayout = "e-m:e-p270: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/tmpc55r_ljf.c"
target datalayout = "e-m:e-p270: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/tmpm1xvv9g2.c'
source_filename = "/tmp/tmpm1xvv9g2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@open.libc_open = internal global ptr null, align 8
@.str = private unnamed_addr constant [10 x i8] c"libc.so.6\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@F_GETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(ptr noundef %0, i32 noundef %1, ...) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 -1, ptr %5, align 4
%9 = load ptr, ptr @open.libc_open, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %33, label %11
11: ; preds = %2
%12 = load i32, ptr @RTLD_LAZY, align 4
%13 = call ptr @dlopen(ptr noundef @.str, i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = call ptr (...) @dlerror()
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fputs(ptr noundef %17, i32 noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %11
%22 = load ptr, ptr %6, align 8
%23 = call i64 @dlsym(ptr noundef %22, ptr noundef @.str.1)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr @open.libc_open, align 8
%25 = call ptr (...) @dlerror()
store ptr %25, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load i32, ptr @stderr, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %21
br label %33
33: ; preds = %32, %2
%34 = load ptr, ptr @open.libc_open, align 8
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %4, align 4
%37 = call i32 (ptr, i32, ...) %34(ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sge i32 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %33
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @F_GETFD, align 4
%43 = call i32 @fcntl(i32 noundef %41, i32 noundef %42, i32 noundef 0)
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp sge i32 %44, 0
br i1 %45, label %46, label %54
46: ; preds = %40
%47 = load i32, ptr @FD_CLOEXEC, align 4
%48 = load i32, ptr %8, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr @F_SETFD, align 4
%52 = load i32, ptr %8, align 4
%53 = call i32 @fcntl(i32 noundef %50, i32 noundef %51, i32 noundef %52)
br label %54
54: ; preds = %46, %40
br label %55
55: ; preds = %54, %33
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare ptr @dlerror(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @dlsym(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fcntl(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" }
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/tmpm1xvv9g2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@open.libc_open = internal global ptr null, align 8
@.str = private unnamed_addr constant [10 x i8] c"libc.so.6\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@F_GETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(ptr noundef %0, i32 noundef %1, ...) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 -1, ptr %5, align 4
%9 = load ptr, ptr @open.libc_open, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %33, label %11
11: ; preds = %2
%12 = load i32, ptr @RTLD_LAZY, align 4
%13 = call ptr @dlopen(ptr noundef @.str, i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = call ptr (...) @dlerror()
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fputs(ptr noundef %17, i32 noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %11
%22 = load ptr, ptr %6, align 8
%23 = call i64 @dlsym(ptr noundef %22, ptr noundef @.str.1)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr @open.libc_open, align 8
%25 = call ptr (...) @dlerror()
store ptr %25, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load i32, ptr @stderr, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %21
br label %33
33: ; preds = %32, %2
%34 = load ptr, ptr @open.libc_open, align 8
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %4, align 4
%37 = call i32 (ptr, i32, ...) %34(ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sge i32 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %33
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @F_GETFD, align 4
%43 = call i32 @fcntl(i32 noundef %41, i32 noundef %42, i32 noundef 0)
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp sge i32 %44, 0
br i1 %45, label %46, label %54
46: ; preds = %40
%47 = load i32, ptr @FD_CLOEXEC, align 4
%48 = load i32, ptr %8, align 4
%49 = or i32 %48, %47
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr @F_SETFD, align 4
%52 = load i32, ptr %8, align 4
%53 = call i32 @fcntl(i32 noundef %50, i32 noundef %51, i32 noundef %52)
br label %54
54: ; preds = %46, %40
br label %55
55: ; preds = %54, %33
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare ptr @dlerror(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @dlsym(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fcntl(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" }
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/tmp6hqc__4d.c'
source_filename = "/tmp/tmp6hqc__4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hqc__4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7o6d9rtg.c'
source_filename = "/tmp/tmp7o6d9rtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %.2f \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \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 @printarr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %48, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %51
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds float, ptr %12, i64 %14
%16 = load float, ptr %15, align 4
%17 = fcmp oge float %16, 0.000000e+00
br i1 %17, label %18, label %39
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = load float, ptr %22, align 4
%24 = fpext float %23 to double
%25 = fcmp oeq double %24, -0.000000e+00
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds float, ptr %27, i64 %29
store float 0.000000e+00, ptr %30, align 4
br label %31
31: ; preds = %26, %18
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %32, i64 %34
%36 = load float, ptr %35, align 4
%37 = fpext float %36 to double
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %37)
br label %47
39: ; preds = %11
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds float, ptr %40, i64 %42
%44 = load float, ptr %43, align 4
%45 = fpext float %44 to double
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %45)
br label %47
47: ; preds = %39, %31
br label %48
48: ; preds = %47
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %7, !llvm.loop !6
51: ; preds = %7
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o6d9rtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %.2f \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \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 @printarr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %53
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %47
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
%15 = load float, ptr %14, align 4
%16 = fcmp oge float %15, 0.000000e+00
br i1 %16, label %17, label %38
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %18, i64 %20
%22 = load float, ptr %21, align 4
%23 = fpext float %22 to double
%24 = fcmp oeq double %23, -0.000000e+00
br i1 %24, label %25, label %30
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %26, i64 %28
store float 0.000000e+00, ptr %29, align 4
br label %30
30: ; preds = %25, %17
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds float, ptr %31, i64 %33
%35 = load float, ptr %34, align 4
%36 = fpext float %35 to double
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %36)
br label %46
38: ; preds = %10
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load float, ptr %42, align 4
%44 = fpext float %43 to double
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %44)
br label %46
46: ; preds = %38, %30
br label %47
47: ; preds = %46
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %2
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphnzfc9u8.c'
source_filename = "/tmp/tmphnzfc9u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rightrot(i32 noundef %0, i32 noundef %1) #0 {
%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
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = lshr i32 %9, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = shl i32 -1, %13
%15 = xor i32 %14, -1
%16 = and i32 %12, %15
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @CHAR_BIT, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = sub i64 %20, %22
%24 = trunc i64 %23 to i32
%25 = shl i32 %17, %24
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = or i32 %26, %27
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphnzfc9u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rightrot(i32 noundef %0, i32 noundef %1) #0 {
%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
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = lshr i32 %9, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = shl i32 -1, %13
%15 = xor i32 %14, -1
%16 = and i32 %12, %15
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @CHAR_BIT, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = sub i64 %20, %22
%24 = trunc i64 %23 to i32
%25 = shl i32 %17, %24
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = or i32 %26, %27
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplnifknsh.c'
source_filename = "/tmp/tmplnifknsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %7, align 8
br label %17
15: ; preds = %2
%16 = call i32 @exit(i32 noundef 2) #3
unreachable
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 2
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %6, align 8
br label %26
24: ; preds = %17
%25 = call i32 @exit(i32 noundef 2) #3
unreachable
26: ; preds = %20
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @convert(ptr noundef %27, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @convert(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmplnifknsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %7, align 8
br label %17
15: ; preds = %2
%16 = call i32 @exit(i32 noundef 2) #3
unreachable
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 2
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %6, align 8
br label %26
24: ; preds = %17
%25 = call i32 @exit(i32 noundef 2) #3
unreachable
26: ; preds = %20
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @convert(ptr noundef %27, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @convert(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpe0txg5wn.c'
source_filename = "/tmp/tmpe0txg5wn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c" ZERO LENGTH\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c" NEGATIVE LENGTH\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"--MORE--\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"\08\08\08\08\08\08\08\08\08\08\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c": \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @phexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca [17 x i8], align 16
%12 = alloca [10 x i8], align 1
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @puts(ptr noundef %18)
br label %20
20: ; preds = %17, %4
%21 = call i32 @puts(ptr noundef @.str)
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = call i32 @puts(ptr noundef @.str.1)
br label %133
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @puts(ptr noundef @.str.2)
br label %133
31: ; preds = %26
store i32 0, ptr %9, align 4
br label %32
32: ; preds = %116, %31
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %119
36: ; preds = %32
%37 = load i32, ptr %9, align 4
%38 = srem i32 %37, 16
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %69
40: ; preds = %36
%41 = load i32, ptr %9, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 0
%45 = call i32 @puts(ptr noundef %44)
br label %46
46: ; preds = %43, %40
%47 = call i32 @puts(ptr noundef @.str.3)
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp eq i32 %50, 24
br i1 %51, label %52, label %59
52: ; preds = %46
%53 = call i32 @putc(i8 noundef signext 32)
%54 = call i32 @screen_set_bgfg(i32 noundef 112)
%55 = call i32 @puts(ptr noundef @.str.4)
%56 = call i32 @screen_set_bgfg(i32 noundef 7)
%57 = call i32 (...) @getc()
%58 = call i32 @puts(ptr noundef @.str.5)
store i32 0, ptr %10, align 4
br label %59
59: ; preds = %52, %46
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %60, %61
%63 = trunc i32 %62 to i8
%64 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%65 = call i32 @itoa(i8 noundef zeroext %63, ptr noundef %64, i32 noundef 16)
%66 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%67 = call i32 @puts(ptr noundef %66)
%68 = call i32 @puts(ptr noundef @.str.6)
br label %69
69: ; preds = %59, %36
%70 = load ptr, ptr %13, align 8
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%76 = call i32 @itoa(i8 noundef zeroext %74, ptr noundef %75, i32 noundef 16)
%77 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%78 = call i32 @puts(ptr noundef %77)
%79 = call i32 @puts(ptr noundef @.str.7)
%80 = load ptr, ptr %13, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = icmp slt i32 %85, 32
br i1 %86, label %95, label %87
87: ; preds = %69
%88 = load ptr, ptr %13, align 8
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = icmp sgt i32 %93, 126
br i1 %94, label %95, label %100
95: ; preds = %87, %69
%96 = load i32, ptr %9, align 4
%97 = srem i32 %96, 16
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %98
store i8 46, ptr %99, align 1
br label %110
100: ; preds = %87
%101 = load ptr, ptr %13, align 8
%102 = load i32, ptr %9, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = load i32, ptr %9, align 4
%107 = srem i32 %106, 16
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %108
store i8 %105, ptr %109, align 1
br label %110
110: ; preds = %100, %95
%111 = load i32, ptr %9, align 4
%112 = srem i32 %111, 16
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %114
store i8 0, ptr %115, align 1
br label %116
116: ; preds = %110
%117 = load i32, ptr %9, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %9, align 4
br label %32, !llvm.loop !6
119: ; preds = %32
br label %120
120: ; preds = %124, %119
%121 = load i32, ptr %9, align 4
%122 = srem i32 %121, 16
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %128
124: ; preds = %120
%125 = call i32 @puts(ptr noundef @.str.8)
%126 = load i32, ptr %9, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %9, align 4
br label %120, !llvm.loop !8
128: ; preds = %120
%129 = call i32 @puts(ptr noundef @.str.9)
%130 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 0
%131 = call i32 @puts(ptr noundef %130)
%132 = call i32 @puts(ptr noundef @.str.3)
br label %133
133: ; preds = %128, %29, %24
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @putc(i8 noundef signext) #1
declare i32 @screen_set_bgfg(i32 noundef) #1
declare i32 @getc(...) #1
declare i32 @itoa(i8 noundef zeroext, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0txg5wn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c" ZERO LENGTH\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c" NEGATIVE LENGTH\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"--MORE--\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"\08\08\08\08\08\08\08\08\08\08\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c": \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @phexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca [17 x i8], align 16
%12 = alloca [10 x i8], align 1
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @puts(ptr noundef %18)
br label %20
20: ; preds = %17, %4
%21 = call i32 @puts(ptr noundef @.str)
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = call i32 @puts(ptr noundef @.str.1)
br label %137
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @puts(ptr noundef @.str.2)
br label %137
31: ; preds = %26
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %121
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %115
%36 = load i32, ptr %9, align 4
%37 = srem i32 %36, 16
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %68
39: ; preds = %35
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 0
%44 = call i32 @puts(ptr noundef %43)
br label %45
45: ; preds = %42, %39
%46 = call i32 @puts(ptr noundef @.str.3)
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %49, 24
br i1 %50, label %51, label %58
51: ; preds = %45
%52 = call i32 @putc(i8 noundef signext 32)
%53 = call i32 @screen_set_bgfg(i32 noundef 112)
%54 = call i32 @puts(ptr noundef @.str.4)
%55 = call i32 @screen_set_bgfg(i32 noundef 7)
%56 = call i32 (...) @getc()
%57 = call i32 @puts(ptr noundef @.str.5)
store i32 0, ptr %10, align 4
br label %58
58: ; preds = %51, %45
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %59, %60
%62 = trunc i32 %61 to i8
%63 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%64 = call i32 @itoa(i8 noundef zeroext %62, ptr noundef %63, i32 noundef 16)
%65 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%66 = call i32 @puts(ptr noundef %65)
%67 = call i32 @puts(ptr noundef @.str.6)
br label %68
68: ; preds = %58, %35
%69 = load ptr, ptr %13, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%75 = call i32 @itoa(i8 noundef zeroext %73, ptr noundef %74, i32 noundef 16)
%76 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%77 = call i32 @puts(ptr noundef %76)
%78 = call i32 @puts(ptr noundef @.str.7)
%79 = load ptr, ptr %13, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = icmp slt i32 %84, 32
br i1 %85, label %94, label %86
86: ; preds = %68
%87 = load ptr, ptr %13, align 8
%88 = load i32, ptr %9, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = zext i8 %91 to i32
%93 = icmp sgt i32 %92, 126
br i1 %93, label %94, label %99
94: ; preds = %86, %68
%95 = load i32, ptr %9, align 4
%96 = srem i32 %95, 16
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %97
store i8 46, ptr %98, align 1
br label %109
99: ; preds = %86
%100 = load ptr, ptr %13, align 8
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = load i32, ptr %9, align 4
%106 = srem i32 %105, 16
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %107
store i8 %104, ptr %108, align 1
br label %109
109: ; preds = %99, %94
%110 = load i32, ptr %9, align 4
%111 = srem i32 %110, 16
%112 = add nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 %113
store i8 0, ptr %114, align 1
br label %115
115: ; preds = %109
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %7, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %115
br label %121
121: ; preds = %._crit_edge, %31
%122 = load i32, ptr %9, align 4
%123 = srem i32 %122, 16
%124 = icmp ne i32 %123, 0
br i1 %124, label %.lr.ph2, label %132
.lr.ph2: ; preds = %121
br label %125
125: ; preds = %.lr.ph2, %125
%126 = call i32 @puts(ptr noundef @.str.8)
%127 = load i32, ptr %9, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %9, align 4
%129 = load i32, ptr %9, align 4
%130 = srem i32 %129, 16
%131 = icmp ne i32 %130, 0
br i1 %131, label %125, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %125
br label %132
132: ; preds = %._crit_edge3, %121
%133 = call i32 @puts(ptr noundef @.str.9)
%134 = getelementptr inbounds [17 x i8], ptr %11, i64 0, i64 0
%135 = call i32 @puts(ptr noundef %134)
%136 = call i32 @puts(ptr noundef @.str.3)
br label %137
137: ; preds = %132, %29, %24
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @putc(i8 noundef signext) #1
declare i32 @screen_set_bgfg(i32 noundef) #1
declare i32 @getc(...) #1
declare i32 @itoa(i8 noundef zeroext, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmparymuz58.c'
source_filename = "/tmp/tmparymuz58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zwavecmd_configuration_get(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [255 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = trunc i32 %6 to i8
%8 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
store i8 %7, ptr %8, align 16
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @zwave_sendClassCommand(i32 noundef %9, i32 noundef 112, i32 noundef 5, ptr noundef %10, i32 noundef 1)
ret void
}
declare i32 @zwave_sendClassCommand(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmparymuz58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zwavecmd_configuration_get(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [255 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = trunc i32 %6 to i8
%8 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
store i8 %7, ptr %8, align 16
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @zwave_sendClassCommand(i32 noundef %9, i32 noundef 112, i32 noundef 5, ptr noundef %10, i32 noundef 1)
ret void
}
declare i32 @zwave_sendClassCommand(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpghgi0xpc.c'
source_filename = "/tmp/tmpghgi0xpc.c"
target datalayout = "e-m:e-p270: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/tmpghgi0xpc.c"
target datalayout = "e-m:e-p270: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/tmp672f4to0.c'
source_filename = "/tmp/tmp672f4to0.c"
target datalayout = "e-m:e-p270: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/tmp672f4to0.c"
target datalayout = "e-m:e-p270: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/tmpz5iitd8d.c'
source_filename = "/tmp/tmpz5iitd8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_update_signal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @req_func()
ret void
}
declare i32 @req_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5iitd8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_update_signal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @req_func()
ret void
}
declare i32 @req_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp91o8hmax.c'
source_filename = "/tmp/tmp91o8hmax.c"
target datalayout = "e-m:e-p270: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/tmp91o8hmax.c"
target datalayout = "e-m:e-p270: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/tmp08u9r4q7.c'
source_filename = "/tmp/tmp08u9r4q7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".elf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_elf() #0 {
%1 = call i32 @print_dependencies(ptr noundef @.str)
ret void
}
declare i32 @print_dependencies(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp08u9r4q7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".elf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_elf() #0 {
%1 = call i32 @print_dependencies(ptr noundef @.str)
ret void
}
declare i32 @print_dependencies(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpft0dy7f7.c'
source_filename = "/tmp/tmpft0dy7f7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @proc1()
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @e()
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @proc1(...) #1
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpft0dy7f7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @proc1()
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @e()
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @proc1(...) #1
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp96p74m1h.c'
source_filename = "/tmp/tmp96p74m1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
store i32 0, ptr %1, align 4
store i8 0, ptr %2, align 1
%3 = call i32 @f(ptr noundef %2)
ret i32 %3
}
declare i32 @f(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp96p74m1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
store i32 0, ptr %1, align 4
store i8 0, ptr %2, align 1
%3 = call i32 @f(ptr noundef %2)
ret i32 %3
}
declare i32 @f(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnipyxg0l.c'
source_filename = "/tmp/tmpnipyxg0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @limpaLCD() #0 {
%1 = call i32 @LCD(i32 noundef 0, i32 noundef 1)
ret void
}
declare i32 @LCD(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/tmpnipyxg0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @limpaLCD() #0 {
%1 = call i32 @LCD(i32 noundef 0, i32 noundef 1)
ret void
}
declare i32 @LCD(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/tmp95z809xt.c'
source_filename = "/tmp/tmp95z809xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-l\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"--list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_args(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fail(ptr noundef %9)
br label %11
11: ; preds = %8, %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str)
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17, %11
%24 = call i32 (...) @list_solved_problems()
br label %25
25: ; preds = %23, %17
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @intfromstr(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sle i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %25
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fail(ptr noundef %33)
br label %35
35: ; preds = %32, %25
ret void
}
declare i32 @fail(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @list_solved_problems(...) #1
declare i32 @intfromstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp95z809xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-l\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"--list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_args(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fail(ptr noundef %9)
br label %11
11: ; preds = %8, %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str)
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17, %11
%24 = call i32 (...) @list_solved_problems()
br label %25
25: ; preds = %23, %17
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @intfromstr(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sle i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %25
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fail(ptr noundef %33)
br label %35
35: ; preds = %32, %25
ret void
}
declare i32 @fail(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @list_solved_problems(...) #1
declare i32 @intfromstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjawh2axn.c'
source_filename = "/tmp/tmpjawh2axn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i32] [i32 82, i32 101, i32 97, i32 100, i32 32, i32 99, i32 104, i32 97, i32 114, i32 97, i32 99, i32 116, i32 101, i32 114, i32 32, i32 37, i32 100, i32 44, i32 32, i32 37, i32 67, i32 9, i32 0], align 4
@.str.1 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
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 @stdin, align 4
%8 = call i32 @fwide(i32 noundef %7, i32 noundef 1)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fwide(i32 noundef %9, i32 noundef 1)
%11 = load i32, ptr @stdin, align 4
%12 = call signext i8 @fgetwc(i32 noundef %11)
store i8 %12, ptr %6, align 1
br label %13
13: ; preds = %34, %2
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @feof(i32 noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %18, label %37
18: ; preds = %13
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %33
22: ; preds = %18
%23 = load i32, ptr @stdout, align 4
%24 = load i8, ptr %6, align 1
%25 = sext i8 %24 to i32
%26 = load i8, ptr %6, align 1
%27 = call i32 @fwprintf(i32 noundef %23, ptr noundef @.str, i32 noundef %25, i8 noundef signext %26)
%28 = load i8, ptr %6, align 1
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @fputwc(i8 noundef signext %28, i32 noundef %29)
%31 = load i32, ptr @stdout, align 4
%32 = call i32 @fputws(ptr noundef @.str.1, i32 noundef %31)
br label %33
33: ; preds = %22, %18
br label %34
34: ; preds = %33
%35 = load i32, ptr @stdin, align 4
%36 = call signext i8 @fgetwc(i32 noundef %35)
store i8 %36, ptr %6, align 1
br label %13, !llvm.loop !6
37: ; preds = %13
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @fwide(i32 noundef, i32 noundef) #1
declare signext i8 @fgetwc(i32 noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fwprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @fputwc(i8 noundef signext, i32 noundef) #1
declare i32 @fputws(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjawh2axn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i32] [i32 82, i32 101, i32 97, i32 100, i32 32, i32 99, i32 104, i32 97, i32 114, i32 97, i32 99, i32 116, i32 101, i32 114, i32 32, i32 37, i32 100, i32 44, i32 32, i32 37, i32 67, i32 9, i32 0], align 4
@.str.1 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
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 @stdin, align 4
%8 = call i32 @fwide(i32 noundef %7, i32 noundef 1)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fwide(i32 noundef %9, i32 noundef 1)
%11 = load i32, ptr @stdin, align 4
%12 = call signext i8 @fgetwc(i32 noundef %11)
store i8 %12, ptr %6, align 1
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @feof(i32 noundef %13)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br i1 %16, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %33
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 10
br i1 %20, label %21, label %32
21: ; preds = %17
%22 = load i32, ptr @stdout, align 4
%23 = load i8, ptr %6, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %6, align 1
%26 = call i32 @fwprintf(i32 noundef %22, ptr noundef @.str, i32 noundef %24, i8 noundef signext %25)
%27 = load i8, ptr %6, align 1
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @fputwc(i8 noundef signext %27, i32 noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fputws(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %21, %17
br label %33
33: ; preds = %32
%34 = load i32, ptr @stdin, align 4
%35 = call signext i8 @fgetwc(i32 noundef %34)
store i8 %35, ptr %6, align 1
%36 = load i32, ptr @stdin, align 4
%37 = call i32 @feof(i32 noundef %36)
%38 = icmp ne i32 %37, 0
%39 = xor i1 %38, true
br i1 %39, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %2
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @fwide(i32 noundef, i32 noundef) #1
declare signext i8 @fgetwc(i32 noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fwprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @fputwc(i8 noundef signext, i32 noundef) #1
declare i32 @fputws(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2gtlj1pi.c'
source_filename = "/tmp/tmp2gtlj1pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = 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/tmp2gtlj1pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = 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/tmpz_koef7v.c'
source_filename = "/tmp/tmpz_koef7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 80)
ret i32 0
}
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/tmpz_koef7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 80)
ret i32 0
}
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/tmpzpa867nq.c'
source_filename = "/tmp/tmpzpa867nq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringMatches(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strncmp(ptr noundef %7, ptr noundef %8, i32 noundef 4)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpa867nq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringMatches(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strncmp(ptr noundef %7, ptr noundef %8, i32 noundef 4)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz1557d28.c'
source_filename = "/tmp/tmpz1557d28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%4s%21s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Amount on deposit\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%4d%21.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 1.000000e+03, ptr %3, align 8
store double 5.000000e-02, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %20, %0
%8 = load i32, ptr %5, align 4
%9 = icmp sle i32 %8, 10
br i1 %9, label %10, label %23
10: ; preds = %7
%11 = load double, ptr %3, align 8
%12 = load double, ptr %4, align 8
%13 = fadd double 1.000000e+00, %12
%14 = load i32, ptr %5, align 4
%15 = call double @pow(double noundef %13, i32 noundef %14)
%16 = fmul double %11, %15
store double %16, ptr %2, align 8
%17 = load i32, ptr %5, align 4
%18 = load double, ptr %2, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17, double noundef %18)
br label %20
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1557d28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%4s%21s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Amount on deposit\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%4d%21.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 1.000000e+03, ptr %3, align 8
store double 5.000000e-02, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
store i32 1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp sle i32 %7, 10
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %19
%10 = load double, ptr %3, align 8
%11 = load double, ptr %4, align 8
%12 = fadd double 1.000000e+00, %11
%13 = load i32, ptr %5, align 4
%14 = call double @pow(double noundef %12, i32 noundef %13)
%15 = fmul double %10, %14
store double %15, ptr %2, align 8
%16 = load i32, ptr %5, align 4
%17 = load double, ptr %2, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16, double noundef %17)
br label %19
19: ; preds = %9
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp sle i32 %22, 10
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_tsrhiqi.c'
source_filename = "/tmp/tmp_tsrhiqi.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.epoll_event, align 4
store i32 0, ptr %1, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tsrhiqi.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.epoll_event, align 4
store i32 0, ptr %1, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_eyk2zs7.c'
source_filename = "/tmp/tmp_eyk2zs7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emu_rps(i32 noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sub nsw i32 %4, 8680000
%6 = call i32 @abs(i32 noundef %5) #2
%7 = icmp sle i32 %6, 90000
br i1 %7, label %8, label %9
8: ; preds = %1
store float 0x404A0AA9A0000000, ptr %2, align 4
br label %10
9: ; preds = %1
store float 6.000000e+01, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = load float, ptr %2, align 4
ret float %11
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_eyk2zs7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emu_rps(i32 noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sub nsw i32 %4, 8680000
%6 = call i32 @abs(i32 noundef %5) #2
%7 = icmp sle i32 %6, 90000
br i1 %7, label %8, label %9
8: ; preds = %1
store float 0x404A0AA9A0000000, ptr %2, align 4
br label %10
9: ; preds = %1
store float 6.000000e+01, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = load float, ptr %2, align 4
ret float %11
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcum54lfm.c'
source_filename = "/tmp/tmpcum54lfm.c"
target datalayout = "e-m:e-p270: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/tmpcum54lfm.c"
target datalayout = "e-m:e-p270: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/tmpk3hz15uk.c'
source_filename = "/tmp/tmpk3hz15uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Introduce una cadena (max %d cars.): \00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Longituid de la cadena: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [81 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef 80)
%5 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @gets(ptr noundef %5)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %14, %0
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %7
br label %7, !llvm.loop !6
15: ; preds = %7
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gets(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpk3hz15uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Introduce una cadena (max %d cars.): \00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Longituid de la cadena: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [81 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef 80)
%5 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @gets(ptr noundef %5)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %7, %0
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %7, label %14, !llvm.loop !6
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gets(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnelt4xtk.c'
source_filename = "/tmp/tmpnelt4xtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readstat_calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ugt i64 %6, 16773120
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = icmp ugt i64 %9, 16773120
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i64, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = mul i64 %12, %13
%15 = icmp ugt i64 %14, 16773120
br i1 %15, label %16, label %17
16: ; preds = %11, %8, %2
store ptr null, ptr %3, align 8
br label %28
17: ; preds = %11
%18 = load i64, ptr %4, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i64, ptr %5, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store ptr null, ptr %3, align 8
br label %28
24: ; preds = %20
%25 = load i64, ptr %4, align 8
%26 = load i64, ptr %5, align 8
%27 = call ptr @calloc(i64 noundef %25, i64 noundef %26) #2
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %24, %23, %16
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnelt4xtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readstat_calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ugt i64 %6, 16773120
br i1 %7, label %16, label %8
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = icmp ugt i64 %9, 16773120
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i64, ptr %4, align 8
%13 = load i64, ptr %5, align 8
%14 = mul i64 %12, %13
%15 = icmp ugt i64 %14, 16773120
br i1 %15, label %16, label %17
16: ; preds = %11, %8, %2
store ptr null, ptr %3, align 8
br label %28
17: ; preds = %11
%18 = load i64, ptr %4, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i64, ptr %5, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store ptr null, ptr %3, align 8
br label %28
24: ; preds = %20
%25 = load i64, ptr %4, align 8
%26 = load i64, ptr %5, align 8
%27 = call ptr @calloc(i64 noundef %25, i64 noundef %26) #2
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %24, %23, %16
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp643oqw1.c'
source_filename = "/tmp/tmpp643oqw1.c"
target datalayout = "e-m:e-p270: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/tmpp643oqw1.c"
target datalayout = "e-m:e-p270: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/tmpbrrw31x9.c'
source_filename = "/tmp/tmpbrrw31x9.c"
target datalayout = "e-m:e-p270: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/tmpbrrw31x9.c"
target datalayout = "e-m:e-p270: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/tmpfgu71akg.c'
source_filename = "/tmp/tmpfgu71akg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Press any key to continue...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @anykey(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @curs_set(i32 noundef 0)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @mvprintw(i32 noundef %6, i32 noundef %7, ptr noundef @.str)
%9 = call i32 (...) @getch()
ret void
}
declare i32 @curs_set(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfgu71akg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Press any key to continue...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @anykey(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @curs_set(i32 noundef 0)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @mvprintw(i32 noundef %6, i32 noundef %7, ptr noundef @.str)
%9 = call i32 (...) @getch()
ret void
}
declare i32 @curs_set(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeh4udpir.c'
source_filename = "/tmp/tmpeh4udpir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = 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/tmpeh4udpir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = 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/tmpokdsj395.c'
source_filename = "/tmp/tmpokdsj395.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ms_f(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 0
%12 = load double, ptr %11, align 8
store double %12, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
store double %15, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 2
%18 = load double, ptr %17, align 8
store double %18, ptr %7, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %7, align 8
%21 = fsub double %20, 1.000000e+00
%22 = load double, ptr %3, align 8
%23 = fmul double %21, %22
%24 = call double @exp(double noundef %23) #2
%25 = fmul double %19, %24
store double %25, ptr %8, align 8
%26 = load double, ptr %6, align 8
%27 = load double, ptr %3, align 8
%28 = call double @exp(double noundef %27) #2
%29 = fmul double %26, %28
store double %29, ptr %9, align 8
%30 = load double, ptr %8, align 8
%31 = load double, ptr %9, align 8
%32 = fadd double %30, %31
%33 = call double @sqrt(double noundef %32) #2
ret double %33
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokdsj395.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ms_f(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 0
%12 = load double, ptr %11, align 8
store double %12, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
store double %15, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 2
%18 = load double, ptr %17, align 8
store double %18, ptr %7, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %7, align 8
%21 = fsub double %20, 1.000000e+00
%22 = load double, ptr %3, align 8
%23 = fmul double %21, %22
%24 = call double @exp(double noundef %23) #2
%25 = fmul double %19, %24
store double %25, ptr %8, align 8
%26 = load double, ptr %6, align 8
%27 = load double, ptr %3, align 8
%28 = call double @exp(double noundef %27) #2
%29 = fmul double %26, %28
store double %29, ptr %9, align 8
%30 = load double, ptr %8, align 8
%31 = load double, ptr %9, align 8
%32 = fadd double %30, %31
%33 = call double @sqrt(double noundef %32) #2
ret double %33
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_f0v1zgt.c'
source_filename = "/tmp/tmp_f0v1zgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f0v1zgt.c"
target datalayout = "e-m:e-p270: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/tmpnnnzs3cg.c'
source_filename = "/tmp/tmpnnnzs3cg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load i32, ptr @stdin, align 4
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @ProcessFiles(i32 noundef %10, i32 noundef %11)
br label %29
13: ; preds = %2
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %25, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %28
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @ProcessFilename(ptr noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %14, !llvm.loop !6
28: ; preds = %14
br label %29
29: ; preds = %28, %9
ret i32 0
}
declare i32 @ProcessFiles(i32 noundef, i32 noundef) #1
declare i32 @ProcessFilename(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnnnzs3cg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load i32, ptr @stdin, align 4
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @ProcessFiles(i32 noundef %10, i32 noundef %11)
br label %31
13: ; preds = %2
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %30
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %24
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @ProcessFilename(ptr noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %13
br label %31
31: ; preds = %30, %9
ret i32 0
}
declare i32 @ProcessFiles(i32 noundef, i32 noundef) #1
declare i32 @ProcessFilename(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3e6e5c32.c'
source_filename = "/tmp/tmp3e6e5c32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global ptr null, align 8
@TRUE = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_CYAN = dso_local global i32 0, align 4
@LINES = dso_local global i32 0, align 4
@COLS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Use tab to browse through the windows (F1 to Exit)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x ptr], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 (...) @initscr()
%12 = call i32 (...) @start_color()
%13 = call i32 (...) @cbreak()
%14 = call i32 (...) @noecho()
%15 = load ptr, ptr @stdscr, align 8
%16 = load i32, ptr @TRUE, align 4
%17 = call i32 @keypad(ptr noundef %15, i32 noundef %16)
%18 = load i32, ptr @COLOR_RED, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef 1, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr @COLOR_GREEN, align 4
%22 = load i32, ptr @COLOR_BLACK, align 4
%23 = call i32 @init_pair(i32 noundef 2, i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr @COLOR_BLUE, align 4
%25 = load i32, ptr @COLOR_BLACK, align 4
%26 = call i32 @init_pair(i32 noundef 3, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr @COLOR_CYAN, align 4
%28 = load i32, ptr @COLOR_BLACK, align 4
%29 = call i32 @init_pair(i32 noundef 4, i32 noundef %27, i32 noundef %28)
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %47, %0
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr @LINES, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %50
34: ; preds = %30
store i32 0, ptr %10, align 4
br label %35
35: ; preds = %43, %34
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr @COLS, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %46
39: ; preds = %35
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %10, align 4
%42 = call i32 @mvaddch(i32 noundef %40, i32 noundef %41, i8 noundef signext 43)
br label %43
43: ; preds = %39
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
br label %35, !llvm.loop !6
46: ; preds = %35
br label %47
47: ; preds = %46
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
br label %30, !llvm.loop !8
50: ; preds = %30
%51 = call i32 (...) @doupdate()
%52 = load ptr, ptr @stdscr, align 8
%53 = load i32, ptr @COLS, align 4
%54 = call ptr @derwin(ptr noundef %52, i32 noundef 8, i32 noundef %53, i32 noundef 0, i32 noundef 0)
store ptr %54, ptr %4, align 8
%55 = load ptr, ptr @stdscr, align 8
%56 = load i32, ptr @LINES, align 4
%57 = sub nsw i32 %56, 8
%58 = load i32, ptr @COLS, align 4
%59 = call ptr @derwin(ptr noundef %55, i32 noundef %57, i32 noundef %58, i32 noundef 8, i32 noundef 0)
store ptr %59, ptr %5, align 8
%60 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0
%61 = call i32 @init_wins(ptr noundef %60, i32 noundef 3)
%62 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0
%63 = load ptr, ptr %62, align 16
%64 = call ptr @new_panel(ptr noundef %63)
%65 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
store ptr %64, ptr %65, align 16
%66 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1
%67 = load ptr, ptr %66, align 8
%68 = call ptr @new_panel(ptr noundef %67)
%69 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
store ptr %68, ptr %69, align 8
%70 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 2
%71 = load ptr, ptr %70, align 16
%72 = call ptr @new_panel(ptr noundef %71)
%73 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
store ptr %72, ptr %73, align 16
%74 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
%75 = load ptr, ptr %74, align 16
%76 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
%77 = load ptr, ptr %76, align 8
%78 = call i32 @set_panel_userptr(ptr noundef %75, ptr noundef %77)
%79 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%82 = load ptr, ptr %81, align 16
%83 = call i32 @set_panel_userptr(ptr noundef %80, ptr noundef %82)
%84 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%85 = load ptr, ptr %84, align 16
%86 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
%87 = load ptr, ptr %86, align 16
%88 = call i32 @set_panel_userptr(ptr noundef %85, ptr noundef %87)
%89 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1
%90 = load ptr, ptr %89, align 8
%91 = call ptr @derwin(ptr noundef %90, i32 noundef 6, i32 noundef 30, i32 noundef 3, i32 noundef 3)
store ptr %91, ptr %3, align 8
%92 = call i32 (...) @update_panels()
%93 = call i32 @COLOR_PAIR(i32 noundef 4)
%94 = call i32 @attron(i32 noundef %93)
%95 = load i32, ptr @LINES, align 4
%96 = sub nsw i32 %95, 2
%97 = call i32 @mvprintw(i32 noundef %96, i32 noundef 0, ptr noundef @.str)
%98 = call i32 @COLOR_PAIR(i32 noundef 4)
%99 = call i32 @attroff(i32 noundef %98)
%100 = call i32 (...) @doupdate()
%101 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%102 = load ptr, ptr %101, align 16
store ptr %102, ptr %7, align 8
store i32 0, ptr %9, align 4
br label %103
103: ; preds = %114, %50
%104 = call i32 (...) @getch()
store i32 %104, ptr %8, align 4
%105 = icmp ne i32 %104, 113
br i1 %105, label %106, label %136
106: ; preds = %103
%107 = load i32, ptr %8, align 4
switch i32 %107, label %114 [
i32 9, label %108
]
108: ; preds = %106
%109 = load ptr, ptr %7, align 8
%110 = call i64 @panel_userptr(ptr noundef %109)
%111 = inttoptr i64 %110 to ptr
store ptr %111, ptr %7, align 8
%112 = load ptr, ptr %7, align 8
%113 = call i32 @top_panel(ptr noundef %112)
br label %114
114: ; preds = %106, %108
%115 = load ptr, ptr %3, align 8
%116 = load i32, ptr %9, align 4
%117 = srem i32 %116, 13
%118 = add nsw i32 98, %117
%119 = call i32 @fill_win(ptr noundef %115, i32 noundef %118)
%120 = load ptr, ptr %4, align 8
%121 = load i32, ptr %9, align 4
%122 = srem i32 %121, 16
%123 = add nsw i32 65, %122
%124 = call i32 @fill_win(ptr noundef %120, i32 noundef %123)
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %9, align 4
%127 = srem i32 %126, 9
%128 = add nsw i32 81, %127
%129 = call i32 @fill_win(ptr noundef %125, i32 noundef %128)
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %9, align 4
%132 = load ptr, ptr @stdscr, align 8
%133 = call i32 @touchwin(ptr noundef %132)
%134 = call i32 (...) @update_panels()
%135 = call i32 (...) @doupdate()
br label %103, !llvm.loop !9
136: ; preds = %103
%137 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @start_color(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @doupdate(...) #1
declare ptr @derwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @init_wins(ptr noundef, i32 noundef) #1
declare ptr @new_panel(ptr noundef) #1
declare i32 @set_panel_userptr(ptr noundef, ptr noundef) #1
declare i32 @update_panels(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @panel_userptr(ptr noundef) #1
declare i32 @top_panel(ptr noundef) #1
declare i32 @fill_win(ptr noundef, i32 noundef) #1
declare i32 @touchwin(ptr noundef) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3e6e5c32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global ptr null, align 8
@TRUE = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_CYAN = dso_local global i32 0, align 4
@LINES = dso_local global i32 0, align 4
@COLS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Use tab to browse through the windows (F1 to Exit)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x ptr], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 (...) @initscr()
%12 = call i32 (...) @start_color()
%13 = call i32 (...) @cbreak()
%14 = call i32 (...) @noecho()
%15 = load ptr, ptr @stdscr, align 8
%16 = load i32, ptr @TRUE, align 4
%17 = call i32 @keypad(ptr noundef %15, i32 noundef %16)
%18 = load i32, ptr @COLOR_RED, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef 1, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr @COLOR_GREEN, align 4
%22 = load i32, ptr @COLOR_BLACK, align 4
%23 = call i32 @init_pair(i32 noundef 2, i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr @COLOR_BLUE, align 4
%25 = load i32, ptr @COLOR_BLACK, align 4
%26 = call i32 @init_pair(i32 noundef 3, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr @COLOR_CYAN, align 4
%28 = load i32, ptr @COLOR_BLACK, align 4
%29 = call i32 @init_pair(i32 noundef 4, i32 noundef %27, i32 noundef %28)
store i32 0, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr @LINES, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %54
.lr.ph2: ; preds = %0
br label %33
33: ; preds = %.lr.ph2, %48
store i32 0, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr @COLS, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph, label %47
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %41
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = call i32 @mvaddch(i32 noundef %38, i32 noundef %39, i8 noundef signext 43)
br label %41
41: ; preds = %37
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr @COLS, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %33
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr @LINES, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %54
54: ; preds = %._crit_edge3, %0
%55 = call i32 (...) @doupdate()
%56 = load ptr, ptr @stdscr, align 8
%57 = load i32, ptr @COLS, align 4
%58 = call ptr @derwin(ptr noundef %56, i32 noundef 8, i32 noundef %57, i32 noundef 0, i32 noundef 0)
store ptr %58, ptr %4, align 8
%59 = load ptr, ptr @stdscr, align 8
%60 = load i32, ptr @LINES, align 4
%61 = sub nsw i32 %60, 8
%62 = load i32, ptr @COLS, align 4
%63 = call ptr @derwin(ptr noundef %59, i32 noundef %61, i32 noundef %62, i32 noundef 8, i32 noundef 0)
store ptr %63, ptr %5, align 8
%64 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0
%65 = call i32 @init_wins(ptr noundef %64, i32 noundef 3)
%66 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0
%67 = load ptr, ptr %66, align 16
%68 = call ptr @new_panel(ptr noundef %67)
%69 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
store ptr %68, ptr %69, align 16
%70 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1
%71 = load ptr, ptr %70, align 8
%72 = call ptr @new_panel(ptr noundef %71)
%73 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
store ptr %72, ptr %73, align 8
%74 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 2
%75 = load ptr, ptr %74, align 16
%76 = call ptr @new_panel(ptr noundef %75)
%77 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
store ptr %76, ptr %77, align 16
%78 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
%79 = load ptr, ptr %78, align 16
%80 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
%81 = load ptr, ptr %80, align 8
%82 = call i32 @set_panel_userptr(ptr noundef %79, ptr noundef %81)
%83 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%86 = load ptr, ptr %85, align 16
%87 = call i32 @set_panel_userptr(ptr noundef %84, ptr noundef %86)
%88 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%89 = load ptr, ptr %88, align 16
%90 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
%91 = load ptr, ptr %90, align 16
%92 = call i32 @set_panel_userptr(ptr noundef %89, ptr noundef %91)
%93 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1
%94 = load ptr, ptr %93, align 8
%95 = call ptr @derwin(ptr noundef %94, i32 noundef 6, i32 noundef 30, i32 noundef 3, i32 noundef 3)
store ptr %95, ptr %3, align 8
%96 = call i32 (...) @update_panels()
%97 = call i32 @COLOR_PAIR(i32 noundef 4)
%98 = call i32 @attron(i32 noundef %97)
%99 = load i32, ptr @LINES, align 4
%100 = sub nsw i32 %99, 2
%101 = call i32 @mvprintw(i32 noundef %100, i32 noundef 0, ptr noundef @.str)
%102 = call i32 @COLOR_PAIR(i32 noundef 4)
%103 = call i32 @attroff(i32 noundef %102)
%104 = call i32 (...) @doupdate()
%105 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
%106 = load ptr, ptr %105, align 16
store ptr %106, ptr %7, align 8
store i32 0, ptr %9, align 4
%107 = call i32 (...) @getch()
store i32 %107, ptr %8, align 4
%108 = icmp ne i32 %107, 113
br i1 %108, label %.lr.ph5, label %141
.lr.ph5: ; preds = %54
br label %109
109: ; preds = %.lr.ph5, %117
%110 = load i32, ptr %8, align 4
switch i32 %110, label %117 [
i32 9, label %111
]
111: ; preds = %109
%112 = load ptr, ptr %7, align 8
%113 = call i64 @panel_userptr(ptr noundef %112)
%114 = inttoptr i64 %113 to ptr
store ptr %114, ptr %7, align 8
%115 = load ptr, ptr %7, align 8
%116 = call i32 @top_panel(ptr noundef %115)
br label %117
117: ; preds = %111, %109
%118 = load ptr, ptr %3, align 8
%119 = load i32, ptr %9, align 4
%120 = srem i32 %119, 13
%121 = add nsw i32 98, %120
%122 = call i32 @fill_win(ptr noundef %118, i32 noundef %121)
%123 = load ptr, ptr %4, align 8
%124 = load i32, ptr %9, align 4
%125 = srem i32 %124, 16
%126 = add nsw i32 65, %125
%127 = call i32 @fill_win(ptr noundef %123, i32 noundef %126)
%128 = load ptr, ptr %5, align 8
%129 = load i32, ptr %9, align 4
%130 = srem i32 %129, 9
%131 = add nsw i32 81, %130
%132 = call i32 @fill_win(ptr noundef %128, i32 noundef %131)
%133 = load i32, ptr %9, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %9, align 4
%135 = load ptr, ptr @stdscr, align 8
%136 = call i32 @touchwin(ptr noundef %135)
%137 = call i32 (...) @update_panels()
%138 = call i32 (...) @doupdate()
%139 = call i32 (...) @getch()
store i32 %139, ptr %8, align 4
%140 = icmp ne i32 %139, 113
br i1 %140, label %109, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %117
br label %141
141: ; preds = %._crit_edge6, %54
%142 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @start_color(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @doupdate(...) #1
declare ptr @derwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @init_wins(ptr noundef, i32 noundef) #1
declare ptr @new_panel(ptr noundef) #1
declare i32 @set_panel_userptr(ptr noundef, ptr noundef) #1
declare i32 @update_panels(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @panel_userptr(ptr noundef) #1
declare i32 @top_panel(ptr noundef) #1
declare i32 @fill_win(ptr noundef, i32 noundef) #1
declare i32 @touchwin(ptr noundef) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp818xsgw9.c'
source_filename = "/tmp/tmp818xsgw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"The sum square difference of the first 100 numbers is %d.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @p006() #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 %3, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %17, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 100
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, %9
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = mul nsw i32 %21, %22
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %1, align 4
%26 = load i32, ptr %1, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp818xsgw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"The sum square difference of the first 100 numbers is %d.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @p006() #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 %3, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 100
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, %8
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %11, %12
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %4, align 4
br label %16
16: ; preds = %7
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %19, 100
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %1, align 4
%27 = load i32, ptr %1, align 4
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %27)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp939ghmjq.c'
source_filename = "/tmp/tmp939ghmjq.c"
target datalayout = "e-m:e-p270: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.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@RUSAGE_CHILDREN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"getrusage\00", align 1
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"ru_utime = %ld.%06ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"ru_stime = %ld.%06ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"ru_maxrss = %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"ru_ixrss = %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"ru_idrss = %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"ru_isrss = %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"ru_minflt = %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"ru_majflt = %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"ru_nswap = %ld\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"ru_inblock = %ld\0A\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"ru_oublock = %ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"ru_msgsnd = %ld\0A\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"ru_msgrcv = %ld\0A\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"ru_nsignals= %ld\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"ru_nvcsw = %ld\0A\00", align 1
@.str.16 = private unnamed_addr constant [18 x i8] c"ru_nivcsw = %ld\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.17 = private unnamed_addr constant [54 x i8] c"ru_utime ru_stime ru_minflt ru_nccsw ru_nivcsw\0A\00", align 1
@.str.18 = private unnamed_addr constant [49 x i8] c"%ld.%06ld %ld.%06ld %5ld %5ld %5ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.rusage, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %20
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 i32 @system(ptr noundef %12)
%14 = load i32, ptr @RUSAGE_CHILDREN, align 4
%15 = call i64 @getrusage(i32 noundef %14, ptr noundef %6)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %88
19: ; preds = %9
br label %27
20: ; preds = %2
%21 = load i32, ptr @RUSAGE_SELF, align 4
%22 = call i64 @getrusage(i32 noundef %21, ptr noundef %6)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %88
26: ; preds = %20
br label %27
27: ; preds = %26, %19
%28 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %30, i32 noundef %33)
%35 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 14
%36 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i32 0, i32 1
%37 = load i32, ptr %36, align 4
%38 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 14
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %40)
%42 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 13
%43 = load i32, ptr %42, align 4
%44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %43)
%45 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 12
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %46)
%48 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 11
%49 = load i32, ptr %48, align 4
%50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %49)
%51 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 10
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %52)
%54 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 9
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %55)
%57 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 8
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %58)
%60 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 7
%61 = load i32, ptr %60, align 4
%62 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %61)
%63 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 6
%64 = load i32, ptr %63, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %64)
%66 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 5
%67 = load i32, ptr %66, align 4
%68 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %67)
%69 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 4
%70 = load i32, ptr %69, align 4
%71 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %70)
%72 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 3
%73 = load i32, ptr %72, align 4
%74 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.13, i32 noundef %73)
%75 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 2
%76 = load i32, ptr %75, align 4
%77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef %76)
%78 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 1
%79 = load i32, ptr %78, align 4
%80 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.15, i32 noundef %79)
%81 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%82 = load i32, ptr %81, align 4
%83 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.16, i32 noundef %82)
%84 = load i32, ptr @stderr, align 4
%85 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.17)
%86 = load i32, ptr @stderr, align 4
%87 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.18)
store i32 0, ptr %3, align 4
br label %88
88: ; preds = %27, %24, %17
%89 = load i32, ptr %3, align 4
ret i32 %89
}
declare i32 @system(ptr noundef) #1
declare i64 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp939ghmjq.c"
target datalayout = "e-m:e-p270: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.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@RUSAGE_CHILDREN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"getrusage\00", align 1
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"ru_utime = %ld.%06ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"ru_stime = %ld.%06ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"ru_maxrss = %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"ru_ixrss = %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"ru_idrss = %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"ru_isrss = %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"ru_minflt = %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"ru_majflt = %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"ru_nswap = %ld\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"ru_inblock = %ld\0A\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"ru_oublock = %ld\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"ru_msgsnd = %ld\0A\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"ru_msgrcv = %ld\0A\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"ru_nsignals= %ld\0A\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"ru_nvcsw = %ld\0A\00", align 1
@.str.16 = private unnamed_addr constant [18 x i8] c"ru_nivcsw = %ld\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.17 = private unnamed_addr constant [54 x i8] c"ru_utime ru_stime ru_minflt ru_nccsw ru_nivcsw\0A\00", align 1
@.str.18 = private unnamed_addr constant [49 x i8] c"%ld.%06ld %ld.%06ld %5ld %5ld %5ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.rusage, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %20
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 i32 @system(ptr noundef %12)
%14 = load i32, ptr @RUSAGE_CHILDREN, align 4
%15 = call i64 @getrusage(i32 noundef %14, ptr noundef %6)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %88
19: ; preds = %9
br label %27
20: ; preds = %2
%21 = load i32, ptr @RUSAGE_SELF, align 4
%22 = call i64 @getrusage(i32 noundef %21, ptr noundef %6)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %88
26: ; preds = %20
br label %27
27: ; preds = %26, %19
%28 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %30, i32 noundef %33)
%35 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 14
%36 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i32 0, i32 1
%37 = load i32, ptr %36, align 4
%38 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 14
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %40)
%42 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 13
%43 = load i32, ptr %42, align 4
%44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %43)
%45 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 12
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %46)
%48 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 11
%49 = load i32, ptr %48, align 4
%50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %49)
%51 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 10
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %52)
%54 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 9
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %55)
%57 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 8
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %58)
%60 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 7
%61 = load i32, ptr %60, align 4
%62 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %61)
%63 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 6
%64 = load i32, ptr %63, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %64)
%66 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 5
%67 = load i32, ptr %66, align 4
%68 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %67)
%69 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 4
%70 = load i32, ptr %69, align 4
%71 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %70)
%72 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 3
%73 = load i32, ptr %72, align 4
%74 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.13, i32 noundef %73)
%75 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 2
%76 = load i32, ptr %75, align 4
%77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef %76)
%78 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 1
%79 = load i32, ptr %78, align 4
%80 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.15, i32 noundef %79)
%81 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%82 = load i32, ptr %81, align 4
%83 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.16, i32 noundef %82)
%84 = load i32, ptr @stderr, align 4
%85 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.17)
%86 = load i32, ptr @stderr, align 4
%87 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.18)
store i32 0, ptr %3, align 4
br label %88
88: ; preds = %27, %24, %17
%89 = load i32, ptr %3, align 4
ret i32 %89
}
declare i32 @system(ptr noundef) #1
declare i64 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsksu1nb1.c'
source_filename = "/tmp/tmpsksu1nb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONREAD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"./Ej2\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Ej2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleProcess2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i8 0, ptr %4, align 1
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = call i32 @close(i32 noundef %8)
br label %10
10: ; preds = %49, %1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
%14 = call i32 @read(i32 noundef %13, ptr noundef %4, i32 noundef 1)
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %50
16: ; preds = %10
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr @FIONREAD, align 4
%21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %5)
%22 = icmp ne i32 %21, -1
br i1 %22, label %23, label %49
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %3, align 8
%27 = load i8, ptr %4, align 1
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
store i8 %27, ptr %29, align 1
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 0
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i32, ptr %5, align 4
%36 = call i32 @read(i32 noundef %32, ptr noundef %34, i32 noundef %35)
%37 = load i32, ptr %5, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %23
%40 = load ptr, ptr %3, align 8
%41 = call i64 @writeMessageInFifo(ptr noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load ptr, ptr %3, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
br label %47
47: ; preds = %43, %39
br label %48
48: ; preds = %47, %23
br label %49
49: ; preds = %48, %16
br label %10, !llvm.loop !6
50: ; preds = %10
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @writeMessageInFifo(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsksu1nb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONREAD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"./Ej2\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Ej2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleProcess2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i8 0, ptr %4, align 1
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = call i32 @close(i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %10, align 4
%12 = call i32 @read(i32 noundef %11, ptr noundef %4, i32 noundef 1)
%13 = icmp eq i32 %12, 1
br i1 %13, label %.lr.ph, label %53
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %47
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr @FIONREAD, align 4
%19 = call i32 @ioctl(i32 noundef %17, i32 noundef %18, ptr noundef %5)
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %47
21: ; preds = %14
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %3, align 8
%25 = load i8, ptr %4, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
store i8 %25, ptr %27, align 1
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 0
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i32, ptr %5, align 4
%34 = call i32 @read(i32 noundef %30, ptr noundef %32, i32 noundef %33)
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %46
37: ; preds = %21
%38 = load ptr, ptr %3, align 8
%39 = call i64 @writeMessageInFifo(ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load ptr, ptr %3, align 8
%43 = call i32 @free(ptr noundef %42)
%44 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
br label %45
45: ; preds = %41, %37
br label %46
46: ; preds = %45, %21
br label %47
47: ; preds = %46, %14
%48 = load ptr, ptr %2, align 8
%49 = getelementptr inbounds i32, ptr %48, i64 0
%50 = load i32, ptr %49, align 4
%51 = call i32 @read(i32 noundef %50, ptr noundef %4, i32 noundef 1)
%52 = icmp eq i32 %51, 1
br i1 %52, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @writeMessageInFifo(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj0dqd8vv.c'
source_filename = "/tmp/tmpj0dqd8vv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers seperated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%d is the smallest\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %70
22: ; preds = %15, %11, %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %69
37: ; preds = %30, %26, %22
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %41
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %4, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
br label %68
52: ; preds = %45, %41, %37
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %67
56: ; preds = %52
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %67
60: ; preds = %56
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %67
64: ; preds = %60
%65 = load i32, ptr %5, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65)
br label %67
67: ; preds = %64, %60, %56, %52
br label %68
68: ; preds = %67, %49
br label %69
69: ; preds = %68, %34
br label %70
70: ; preds = %69, %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpj0dqd8vv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers seperated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%d is the smallest\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %70
22: ; preds = %15, %11, %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %69
37: ; preds = %30, %26, %22
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %41
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr %4, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
br label %68
52: ; preds = %45, %41, %37
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %67
56: ; preds = %52
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %67
60: ; preds = %56
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %67
64: ; preds = %60
%65 = load i32, ptr %5, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65)
br label %67
67: ; preds = %64, %60, %56, %52
br label %68
68: ; preds = %67, %49
br label %69
69: ; preds = %68, %34
br label %70
70: ; preds = %69, %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp5hlmn93a.c'
source_filename = "/tmp/tmp5hlmn93a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ustrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @umalloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @umalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5hlmn93a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ustrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @umalloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @umalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqzc111dh.c'
source_filename = "/tmp/tmpqzc111dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 404 Not Found\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"<HTML><HEAD><TITLE>HTTP ERROR 404</TITLE></HEAD><BODY>\00", align 1
@.str.2 = private unnamed_addr constant [59 x i8] c"404 Not Found. Your request could not be completed due to\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" encountering HTTP error number 404.</BODY></HTML>\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"writing 404 to client\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @client_404(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @safe_malloc(i32 noundef 256)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcat(ptr noundef %7, ptr noundef @.str.1)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcat(ptr noundef %9, ptr noundef @.str.2)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.3)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr %2, align 4
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = call i64 @write(i32 noundef %15, ptr noundef %16, i32 noundef %18)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %1
%22 = load ptr, ptr %3, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = load i32, ptr %2, align 4
%25 = call i32 @server_error(i32 noundef %24, ptr noundef @.str.5)
br label %26
26: ; preds = %21, %1
%27 = load ptr, ptr %3, align 8
%28 = call i32 @free(ptr noundef %27)
ret void
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @server_error(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqzc111dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HTTP/1.1 404 Not Found\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"<HTML><HEAD><TITLE>HTTP ERROR 404</TITLE></HEAD><BODY>\00", align 1
@.str.2 = private unnamed_addr constant [59 x i8] c"404 Not Found. Your request could not be completed due to\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" encountering HTTP error number 404.</BODY></HTML>\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"writing 404 to client\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @client_404(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @safe_malloc(i32 noundef 256)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcat(ptr noundef %7, ptr noundef @.str.1)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcat(ptr noundef %9, ptr noundef @.str.2)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.3)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr %2, align 4
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = call i64 @write(i32 noundef %15, ptr noundef %16, i32 noundef %18)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %1
%22 = load ptr, ptr %3, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = load i32, ptr %2, align 4
%25 = call i32 @server_error(i32 noundef %24, ptr noundef @.str.5)
br label %26
26: ; preds = %21, %1
%27 = load ptr, ptr %3, align 8
%28 = call i32 @free(ptr noundef %27)
ret void
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @server_error(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5t21xz76.c'
source_filename = "/tmp/tmp5t21xz76.c"
target datalayout = "e-m:e-p270: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.main.a = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16
@__const.main.b = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 10], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 40, i1 false)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @multiply(ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 10)
br label %10
10: ; preds = %0
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %20, %10
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %23
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %14
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
25: ; preds = %23
ret i32 0
}
; 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 i32 @multiply(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5t21xz76.c"
target datalayout = "e-m:e-p270: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.main.a = private unnamed_addr constant [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10], align 16
@__const.main.b = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 10], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 40, i1 false)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @multiply(ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 10)
br label %10
10: ; preds = %0
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %19
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24
ret i32 0
}
; 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 i32 @multiply(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmz1pj0wn.c'
source_filename = "/tmp/tmpmz1pj0wn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"ERROR calloc in encodeLetter\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c". - - - -_\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c". . - - -_\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c". . . - -_\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c". . . . -_\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c". . . . ._\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"- . . . ._\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"- - . . ._\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"- - - . ._\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"- - - - ._\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"- - - - -_\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c". . ._\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"-_\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c". . -_\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c". . . -_\00", align 1
@.str.16 = private unnamed_addr constant [7 x i8] c". - -_\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"- . . -_\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"- . - -_\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"- - . ._\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c". -_\00", align 1
@.str.21 = private unnamed_addr constant [9 x i8] c"- . . ._\00", align 1
@.str.22 = private unnamed_addr constant [9 x i8] c"- . - ._\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"- . ._\00", align 1
@.str.24 = private unnamed_addr constant [3 x i8] c"._\00", align 1
@.str.25 = private unnamed_addr constant [9 x i8] c". . - ._\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"- - ._\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c". . . ._\00", align 1
@.str.28 = private unnamed_addr constant [5 x i8] c". ._\00", align 1
@.str.29 = private unnamed_addr constant [9 x i8] c". - - -_\00", align 1
@.str.30 = private unnamed_addr constant [7 x i8] c"- . -_\00", align 1
@.str.31 = private unnamed_addr constant [9 x i8] c". - . ._\00", align 1
@.str.32 = private unnamed_addr constant [5 x i8] c"- -_\00", align 1
@.str.33 = private unnamed_addr constant [5 x i8] c"- ._\00", align 1
@.str.34 = private unnamed_addr constant [7 x i8] c"- - -_\00", align 1
@.str.35 = private unnamed_addr constant [9 x i8] c". - - ._\00", align 1
@.str.36 = private unnamed_addr constant [9 x i8] c"- - . -_\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c". - ._\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.38 = private unnamed_addr constant [37 x i8] c"encodeLetter: unsupported letter %c\0A\00", align 1
@.str.39 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @encodeLetter(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%4 = call i64 @calloc(i32 noundef 16, i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %1
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %24, label %16
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 10
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 9
br i1 %23, label %24, label %27
24: ; preds = %20, %16, %12
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strncpy(ptr noundef %25, ptr noundef @.str.1, i32 noundef 16)
br label %393
27: ; preds = %20
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 49
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strncpy(ptr noundef %32, ptr noundef @.str.2, i32 noundef 16)
br label %392
34: ; preds = %27
%35 = load i8, ptr %2, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 50
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load ptr, ptr %3, align 8
%40 = call i32 @strncpy(ptr noundef %39, ptr noundef @.str.3, i32 noundef 16)
br label %391
41: ; preds = %34
%42 = load i8, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 51
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strncpy(ptr noundef %46, ptr noundef @.str.4, i32 noundef 16)
br label %390
48: ; preds = %41
%49 = load i8, ptr %2, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 52
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load ptr, ptr %3, align 8
%54 = call i32 @strncpy(ptr noundef %53, ptr noundef @.str.5, i32 noundef 16)
br label %389
55: ; preds = %48
%56 = load i8, ptr %2, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 53
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load ptr, ptr %3, align 8
%61 = call i32 @strncpy(ptr noundef %60, ptr noundef @.str.6, i32 noundef 16)
br label %388
62: ; preds = %55
%63 = load i8, ptr %2, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 54
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load ptr, ptr %3, align 8
%68 = call i32 @strncpy(ptr noundef %67, ptr noundef @.str.7, i32 noundef 16)
br label %387
69: ; preds = %62
%70 = load i8, ptr %2, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 55
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load ptr, ptr %3, align 8
%75 = call i32 @strncpy(ptr noundef %74, ptr noundef @.str.8, i32 noundef 16)
br label %386
76: ; preds = %69
%77 = load i8, ptr %2, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 56
br i1 %79, label %80, label %83
80: ; preds = %76
%81 = load ptr, ptr %3, align 8
%82 = call i32 @strncpy(ptr noundef %81, ptr noundef @.str.9, i32 noundef 16)
br label %385
83: ; preds = %76
%84 = load i8, ptr %2, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 57
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = load ptr, ptr %3, align 8
%89 = call i32 @strncpy(ptr noundef %88, ptr noundef @.str.10, i32 noundef 16)
br label %384
90: ; preds = %83
%91 = load i8, ptr %2, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 48
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load ptr, ptr %3, align 8
%96 = call i32 @strncpy(ptr noundef %95, ptr noundef @.str.11, i32 noundef 16)
br label %383
97: ; preds = %90
%98 = load i8, ptr %2, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 115
br i1 %100, label %101, label %104
101: ; preds = %97
%102 = load ptr, ptr %3, align 8
%103 = call i32 @strncpy(ptr noundef %102, ptr noundef @.str.12, i32 noundef 16)
br label %382
104: ; preds = %97
%105 = load i8, ptr %2, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 116
br i1 %107, label %108, label %111
108: ; preds = %104
%109 = load ptr, ptr %3, align 8
%110 = call i32 @strncpy(ptr noundef %109, ptr noundef @.str.13, i32 noundef 16)
br label %381
111: ; preds = %104
%112 = load i8, ptr %2, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 117
br i1 %114, label %115, label %118
115: ; preds = %111
%116 = load ptr, ptr %3, align 8
%117 = call i32 @strncpy(ptr noundef %116, ptr noundef @.str.14, i32 noundef 16)
br label %380
118: ; preds = %111
%119 = load i8, ptr %2, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 118
br i1 %121, label %122, label %125
122: ; preds = %118
%123 = load ptr, ptr %3, align 8
%124 = call i32 @strncpy(ptr noundef %123, ptr noundef @.str.15, i32 noundef 16)
br label %379
125: ; preds = %118
%126 = load i8, ptr %2, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 119
br i1 %128, label %129, label %132
129: ; preds = %125
%130 = load ptr, ptr %3, align 8
%131 = call i32 @strncpy(ptr noundef %130, ptr noundef @.str.16, i32 noundef 16)
br label %378
132: ; preds = %125
%133 = load i8, ptr %2, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 120
br i1 %135, label %136, label %139
136: ; preds = %132
%137 = load ptr, ptr %3, align 8
%138 = call i32 @strncpy(ptr noundef %137, ptr noundef @.str.17, i32 noundef 16)
br label %377
139: ; preds = %132
%140 = load i8, ptr %2, align 1
%141 = sext i8 %140 to i32
%142 = icmp eq i32 %141, 121
br i1 %142, label %143, label %146
143: ; preds = %139
%144 = load ptr, ptr %3, align 8
%145 = call i32 @strncpy(ptr noundef %144, ptr noundef @.str.18, i32 noundef 16)
br label %376
146: ; preds = %139
%147 = load i8, ptr %2, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 122
br i1 %149, label %150, label %153
150: ; preds = %146
%151 = load ptr, ptr %3, align 8
%152 = call i32 @strncpy(ptr noundef %151, ptr noundef @.str.19, i32 noundef 16)
br label %375
153: ; preds = %146
%154 = load i8, ptr %2, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 97
br i1 %156, label %161, label %157
157: ; preds = %153
%158 = load i8, ptr %2, align 1
%159 = sext i8 %158 to i32
%160 = icmp eq i32 %159, 65
br i1 %160, label %161, label %164
161: ; preds = %157, %153
%162 = load ptr, ptr %3, align 8
%163 = call i32 @strncpy(ptr noundef %162, ptr noundef @.str.20, i32 noundef 16)
br label %374
164: ; preds = %157
%165 = load i8, ptr %2, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 98
br i1 %167, label %172, label %168
168: ; preds = %164
%169 = load i8, ptr %2, align 1
%170 = sext i8 %169 to i32
%171 = icmp eq i32 %170, 66
br i1 %171, label %172, label %175
172: ; preds = %168, %164
%173 = load ptr, ptr %3, align 8
%174 = call i32 @strncpy(ptr noundef %173, ptr noundef @.str.21, i32 noundef 16)
br label %373
175: ; preds = %168
%176 = load i8, ptr %2, align 1
%177 = sext i8 %176 to i32
%178 = icmp eq i32 %177, 99
br i1 %178, label %183, label %179
179: ; preds = %175
%180 = load i8, ptr %2, align 1
%181 = sext i8 %180 to i32
%182 = icmp eq i32 %181, 67
br i1 %182, label %183, label %186
183: ; preds = %179, %175
%184 = load ptr, ptr %3, align 8
%185 = call i32 @strncpy(ptr noundef %184, ptr noundef @.str.22, i32 noundef 16)
br label %372
186: ; preds = %179
%187 = load i8, ptr %2, align 1
%188 = sext i8 %187 to i32
%189 = icmp eq i32 %188, 100
br i1 %189, label %194, label %190
190: ; preds = %186
%191 = load i8, ptr %2, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 68
br i1 %193, label %194, label %197
194: ; preds = %190, %186
%195 = load ptr, ptr %3, align 8
%196 = call i32 @strncpy(ptr noundef %195, ptr noundef @.str.23, i32 noundef 16)
br label %371
197: ; preds = %190
%198 = load i8, ptr %2, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 101
br i1 %200, label %205, label %201
201: ; preds = %197
%202 = load i8, ptr %2, align 1
%203 = sext i8 %202 to i32
%204 = icmp eq i32 %203, 69
br i1 %204, label %205, label %208
205: ; preds = %201, %197
%206 = load ptr, ptr %3, align 8
%207 = call i32 @strncpy(ptr noundef %206, ptr noundef @.str.24, i32 noundef 16)
br label %370
208: ; preds = %201
%209 = load i8, ptr %2, align 1
%210 = sext i8 %209 to i32
%211 = icmp eq i32 %210, 102
br i1 %211, label %216, label %212
212: ; preds = %208
%213 = load i8, ptr %2, align 1
%214 = sext i8 %213 to i32
%215 = icmp eq i32 %214, 70
br i1 %215, label %216, label %219
216: ; preds = %212, %208
%217 = load ptr, ptr %3, align 8
%218 = call i32 @strncpy(ptr noundef %217, ptr noundef @.str.25, i32 noundef 16)
br label %369
219: ; preds = %212
%220 = load i8, ptr %2, align 1
%221 = sext i8 %220 to i32
%222 = icmp eq i32 %221, 103
br i1 %222, label %227, label %223
223: ; preds = %219
%224 = load i8, ptr %2, align 1
%225 = sext i8 %224 to i32
%226 = icmp eq i32 %225, 71
br i1 %226, label %227, label %230
227: ; preds = %223, %219
%228 = load ptr, ptr %3, align 8
%229 = call i32 @strncpy(ptr noundef %228, ptr noundef @.str.26, i32 noundef 16)
br label %368
230: ; preds = %223
%231 = load i8, ptr %2, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 104
br i1 %233, label %238, label %234
234: ; preds = %230
%235 = load i8, ptr %2, align 1
%236 = sext i8 %235 to i32
%237 = icmp eq i32 %236, 72
br i1 %237, label %238, label %241
238: ; preds = %234, %230
%239 = load ptr, ptr %3, align 8
%240 = call i32 @strncpy(ptr noundef %239, ptr noundef @.str.27, i32 noundef 16)
br label %367
241: ; preds = %234
%242 = load i8, ptr %2, align 1
%243 = sext i8 %242 to i32
%244 = icmp eq i32 %243, 105
br i1 %244, label %249, label %245
245: ; preds = %241
%246 = load i8, ptr %2, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 73
br i1 %248, label %249, label %252
249: ; preds = %245, %241
%250 = load ptr, ptr %3, align 8
%251 = call i32 @strncpy(ptr noundef %250, ptr noundef @.str.28, i32 noundef 16)
br label %366
252: ; preds = %245
%253 = load i8, ptr %2, align 1
%254 = sext i8 %253 to i32
%255 = icmp eq i32 %254, 106
br i1 %255, label %260, label %256
256: ; preds = %252
%257 = load i8, ptr %2, align 1
%258 = sext i8 %257 to i32
%259 = icmp eq i32 %258, 74
br i1 %259, label %260, label %263
260: ; preds = %256, %252
%261 = load ptr, ptr %3, align 8
%262 = call i32 @strncpy(ptr noundef %261, ptr noundef @.str.29, i32 noundef 16)
br label %365
263: ; preds = %256
%264 = load i8, ptr %2, align 1
%265 = sext i8 %264 to i32
%266 = icmp eq i32 %265, 107
br i1 %266, label %271, label %267
267: ; preds = %263
%268 = load i8, ptr %2, align 1
%269 = sext i8 %268 to i32
%270 = icmp eq i32 %269, 75
br i1 %270, label %271, label %274
271: ; preds = %267, %263
%272 = load ptr, ptr %3, align 8
%273 = call i32 @strncpy(ptr noundef %272, ptr noundef @.str.30, i32 noundef 16)
br label %364
274: ; preds = %267
%275 = load i8, ptr %2, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 108
br i1 %277, label %282, label %278
278: ; preds = %274
%279 = load i8, ptr %2, align 1
%280 = sext i8 %279 to i32
%281 = icmp eq i32 %280, 76
br i1 %281, label %282, label %285
282: ; preds = %278, %274
%283 = load ptr, ptr %3, align 8
%284 = call i32 @strncpy(ptr noundef %283, ptr noundef @.str.31, i32 noundef 16)
br label %363
285: ; preds = %278
%286 = load i8, ptr %2, align 1
%287 = sext i8 %286 to i32
%288 = icmp eq i32 %287, 109
br i1 %288, label %293, label %289
289: ; preds = %285
%290 = load i8, ptr %2, align 1
%291 = sext i8 %290 to i32
%292 = icmp eq i32 %291, 77
br i1 %292, label %293, label %296
293: ; preds = %289, %285
%294 = load ptr, ptr %3, align 8
%295 = call i32 @strncpy(ptr noundef %294, ptr noundef @.str.32, i32 noundef 16)
br label %362
296: ; preds = %289
%297 = load i8, ptr %2, align 1
%298 = sext i8 %297 to i32
%299 = icmp eq i32 %298, 110
br i1 %299, label %304, label %300
300: ; preds = %296
%301 = load i8, ptr %2, align 1
%302 = sext i8 %301 to i32
%303 = icmp eq i32 %302, 78
br i1 %303, label %304, label %307
304: ; preds = %300, %296
%305 = load ptr, ptr %3, align 8
%306 = call i32 @strncpy(ptr noundef %305, ptr noundef @.str.33, i32 noundef 16)
br label %361
307: ; preds = %300
%308 = load i8, ptr %2, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 111
br i1 %310, label %315, label %311
311: ; preds = %307
%312 = load i8, ptr %2, align 1
%313 = sext i8 %312 to i32
%314 = icmp eq i32 %313, 79
br i1 %314, label %315, label %318
315: ; preds = %311, %307
%316 = load ptr, ptr %3, align 8
%317 = call i32 @strncpy(ptr noundef %316, ptr noundef @.str.34, i32 noundef 16)
br label %360
318: ; preds = %311
%319 = load i8, ptr %2, align 1
%320 = sext i8 %319 to i32
%321 = icmp eq i32 %320, 112
br i1 %321, label %326, label %322
322: ; preds = %318
%323 = load i8, ptr %2, align 1
%324 = sext i8 %323 to i32
%325 = icmp eq i32 %324, 80
br i1 %325, label %326, label %329
326: ; preds = %322, %318
%327 = load ptr, ptr %3, align 8
%328 = call i32 @strncpy(ptr noundef %327, ptr noundef @.str.35, i32 noundef 16)
br label %359
329: ; preds = %322
%330 = load i8, ptr %2, align 1
%331 = sext i8 %330 to i32
%332 = icmp eq i32 %331, 113
br i1 %332, label %337, label %333
333: ; preds = %329
%334 = load i8, ptr %2, align 1
%335 = sext i8 %334 to i32
%336 = icmp eq i32 %335, 81
br i1 %336, label %337, label %340
337: ; preds = %333, %329
%338 = load ptr, ptr %3, align 8
%339 = call i32 @strncpy(ptr noundef %338, ptr noundef @.str.36, i32 noundef 16)
br label %358
340: ; preds = %333
%341 = load i8, ptr %2, align 1
%342 = sext i8 %341 to i32
%343 = icmp eq i32 %342, 114
br i1 %343, label %348, label %344
344: ; preds = %340
%345 = load i8, ptr %2, align 1
%346 = sext i8 %345 to i32
%347 = icmp eq i32 %346, 82
br i1 %347, label %348, label %351
348: ; preds = %344, %340
%349 = load ptr, ptr %3, align 8
%350 = call i32 @strncpy(ptr noundef %349, ptr noundef @.str.37, i32 noundef 16)
br label %357
351: ; preds = %344
%352 = load i32, ptr @stderr, align 4
%353 = load i8, ptr %2, align 1
%354 = call i32 @fprintf(i32 noundef %352, ptr noundef @.str.38, i8 noundef signext %353)
%355 = load ptr, ptr %3, align 8
%356 = call i32 @strncpy(ptr noundef %355, ptr noundef @.str.39, i32 noundef 16)
br label %357
357: ; preds = %351, %348
br label %358
358: ; preds = %357, %337
br label %359
359: ; preds = %358, %326
br label %360
360: ; preds = %359, %315
br label %361
361: ; preds = %360, %304
br label %362
362: ; preds = %361, %293
br label %363
363: ; preds = %362, %282
br label %364
364: ; preds = %363, %271
br label %365
365: ; preds = %364, %260
br label %366
366: ; preds = %365, %249
br label %367
367: ; preds = %366, %238
br label %368
368: ; preds = %367, %227
br label %369
369: ; preds = %368, %216
br label %370
370: ; preds = %369, %205
br label %371
371: ; preds = %370, %194
br label %372
372: ; preds = %371, %183
br label %373
373: ; preds = %372, %172
br label %374
374: ; preds = %373, %161
br label %375
375: ; preds = %374, %150
br label %376
376: ; preds = %375, %143
br label %377
377: ; preds = %376, %136
br label %378
378: ; preds = %377, %129
br label %379
379: ; preds = %378, %122
br label %380
380: ; preds = %379, %115
br label %381
381: ; preds = %380, %108
br label %382
382: ; preds = %381, %101
br label %383
383: ; preds = %382, %94
br label %384
384: ; preds = %383, %87
br label %385
385: ; preds = %384, %80
br label %386
386: ; preds = %385, %73
br label %387
387: ; preds = %386, %66
br label %388
388: ; preds = %387, %59
br label %389
389: ; preds = %388, %52
br label %390
390: ; preds = %389, %45
br label %391
391: ; preds = %390, %38
br label %392
392: ; preds = %391, %31
br label %393
393: ; preds = %392, %24
%394 = load ptr, ptr %3, align 8
ret ptr %394
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpmz1pj0wn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"ERROR calloc in encodeLetter\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c". - - - -_\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c". . - - -_\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c". . . - -_\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c". . . . -_\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c". . . . ._\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"- . . . ._\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"- - . . ._\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c"- - - . ._\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"- - - - ._\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"- - - - -_\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c". . ._\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"-_\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c". . -_\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c". . . -_\00", align 1
@.str.16 = private unnamed_addr constant [7 x i8] c". - -_\00", align 1
@.str.17 = private unnamed_addr constant [9 x i8] c"- . . -_\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"- . - -_\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"- - . ._\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c". -_\00", align 1
@.str.21 = private unnamed_addr constant [9 x i8] c"- . . ._\00", align 1
@.str.22 = private unnamed_addr constant [9 x i8] c"- . - ._\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"- . ._\00", align 1
@.str.24 = private unnamed_addr constant [3 x i8] c"._\00", align 1
@.str.25 = private unnamed_addr constant [9 x i8] c". . - ._\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"- - ._\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c". . . ._\00", align 1
@.str.28 = private unnamed_addr constant [5 x i8] c". ._\00", align 1
@.str.29 = private unnamed_addr constant [9 x i8] c". - - -_\00", align 1
@.str.30 = private unnamed_addr constant [7 x i8] c"- . -_\00", align 1
@.str.31 = private unnamed_addr constant [9 x i8] c". - . ._\00", align 1
@.str.32 = private unnamed_addr constant [5 x i8] c"- -_\00", align 1
@.str.33 = private unnamed_addr constant [5 x i8] c"- ._\00", align 1
@.str.34 = private unnamed_addr constant [7 x i8] c"- - -_\00", align 1
@.str.35 = private unnamed_addr constant [9 x i8] c". - - ._\00", align 1
@.str.36 = private unnamed_addr constant [9 x i8] c"- - . -_\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c". - ._\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.38 = private unnamed_addr constant [37 x i8] c"encodeLetter: unsupported letter %c\0A\00", align 1
@.str.39 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @encodeLetter(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%4 = call i64 @calloc(i32 noundef 16, i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %1
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %24, label %16
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 10
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 9
br i1 %23, label %24, label %27
24: ; preds = %20, %16, %12
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strncpy(ptr noundef %25, ptr noundef @.str.1, i32 noundef 16)
br label %393
27: ; preds = %20
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 49
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strncpy(ptr noundef %32, ptr noundef @.str.2, i32 noundef 16)
br label %392
34: ; preds = %27
%35 = load i8, ptr %2, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 50
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load ptr, ptr %3, align 8
%40 = call i32 @strncpy(ptr noundef %39, ptr noundef @.str.3, i32 noundef 16)
br label %391
41: ; preds = %34
%42 = load i8, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 51
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strncpy(ptr noundef %46, ptr noundef @.str.4, i32 noundef 16)
br label %390
48: ; preds = %41
%49 = load i8, ptr %2, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 52
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load ptr, ptr %3, align 8
%54 = call i32 @strncpy(ptr noundef %53, ptr noundef @.str.5, i32 noundef 16)
br label %389
55: ; preds = %48
%56 = load i8, ptr %2, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 53
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load ptr, ptr %3, align 8
%61 = call i32 @strncpy(ptr noundef %60, ptr noundef @.str.6, i32 noundef 16)
br label %388
62: ; preds = %55
%63 = load i8, ptr %2, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 54
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load ptr, ptr %3, align 8
%68 = call i32 @strncpy(ptr noundef %67, ptr noundef @.str.7, i32 noundef 16)
br label %387
69: ; preds = %62
%70 = load i8, ptr %2, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 55
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load ptr, ptr %3, align 8
%75 = call i32 @strncpy(ptr noundef %74, ptr noundef @.str.8, i32 noundef 16)
br label %386
76: ; preds = %69
%77 = load i8, ptr %2, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 56
br i1 %79, label %80, label %83
80: ; preds = %76
%81 = load ptr, ptr %3, align 8
%82 = call i32 @strncpy(ptr noundef %81, ptr noundef @.str.9, i32 noundef 16)
br label %385
83: ; preds = %76
%84 = load i8, ptr %2, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 57
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = load ptr, ptr %3, align 8
%89 = call i32 @strncpy(ptr noundef %88, ptr noundef @.str.10, i32 noundef 16)
br label %384
90: ; preds = %83
%91 = load i8, ptr %2, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 48
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load ptr, ptr %3, align 8
%96 = call i32 @strncpy(ptr noundef %95, ptr noundef @.str.11, i32 noundef 16)
br label %383
97: ; preds = %90
%98 = load i8, ptr %2, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 115
br i1 %100, label %101, label %104
101: ; preds = %97
%102 = load ptr, ptr %3, align 8
%103 = call i32 @strncpy(ptr noundef %102, ptr noundef @.str.12, i32 noundef 16)
br label %382
104: ; preds = %97
%105 = load i8, ptr %2, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 116
br i1 %107, label %108, label %111
108: ; preds = %104
%109 = load ptr, ptr %3, align 8
%110 = call i32 @strncpy(ptr noundef %109, ptr noundef @.str.13, i32 noundef 16)
br label %381
111: ; preds = %104
%112 = load i8, ptr %2, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 117
br i1 %114, label %115, label %118
115: ; preds = %111
%116 = load ptr, ptr %3, align 8
%117 = call i32 @strncpy(ptr noundef %116, ptr noundef @.str.14, i32 noundef 16)
br label %380
118: ; preds = %111
%119 = load i8, ptr %2, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 118
br i1 %121, label %122, label %125
122: ; preds = %118
%123 = load ptr, ptr %3, align 8
%124 = call i32 @strncpy(ptr noundef %123, ptr noundef @.str.15, i32 noundef 16)
br label %379
125: ; preds = %118
%126 = load i8, ptr %2, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 119
br i1 %128, label %129, label %132
129: ; preds = %125
%130 = load ptr, ptr %3, align 8
%131 = call i32 @strncpy(ptr noundef %130, ptr noundef @.str.16, i32 noundef 16)
br label %378
132: ; preds = %125
%133 = load i8, ptr %2, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 120
br i1 %135, label %136, label %139
136: ; preds = %132
%137 = load ptr, ptr %3, align 8
%138 = call i32 @strncpy(ptr noundef %137, ptr noundef @.str.17, i32 noundef 16)
br label %377
139: ; preds = %132
%140 = load i8, ptr %2, align 1
%141 = sext i8 %140 to i32
%142 = icmp eq i32 %141, 121
br i1 %142, label %143, label %146
143: ; preds = %139
%144 = load ptr, ptr %3, align 8
%145 = call i32 @strncpy(ptr noundef %144, ptr noundef @.str.18, i32 noundef 16)
br label %376
146: ; preds = %139
%147 = load i8, ptr %2, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 122
br i1 %149, label %150, label %153
150: ; preds = %146
%151 = load ptr, ptr %3, align 8
%152 = call i32 @strncpy(ptr noundef %151, ptr noundef @.str.19, i32 noundef 16)
br label %375
153: ; preds = %146
%154 = load i8, ptr %2, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 97
br i1 %156, label %161, label %157
157: ; preds = %153
%158 = load i8, ptr %2, align 1
%159 = sext i8 %158 to i32
%160 = icmp eq i32 %159, 65
br i1 %160, label %161, label %164
161: ; preds = %157, %153
%162 = load ptr, ptr %3, align 8
%163 = call i32 @strncpy(ptr noundef %162, ptr noundef @.str.20, i32 noundef 16)
br label %374
164: ; preds = %157
%165 = load i8, ptr %2, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 98
br i1 %167, label %172, label %168
168: ; preds = %164
%169 = load i8, ptr %2, align 1
%170 = sext i8 %169 to i32
%171 = icmp eq i32 %170, 66
br i1 %171, label %172, label %175
172: ; preds = %168, %164
%173 = load ptr, ptr %3, align 8
%174 = call i32 @strncpy(ptr noundef %173, ptr noundef @.str.21, i32 noundef 16)
br label %373
175: ; preds = %168
%176 = load i8, ptr %2, align 1
%177 = sext i8 %176 to i32
%178 = icmp eq i32 %177, 99
br i1 %178, label %183, label %179
179: ; preds = %175
%180 = load i8, ptr %2, align 1
%181 = sext i8 %180 to i32
%182 = icmp eq i32 %181, 67
br i1 %182, label %183, label %186
183: ; preds = %179, %175
%184 = load ptr, ptr %3, align 8
%185 = call i32 @strncpy(ptr noundef %184, ptr noundef @.str.22, i32 noundef 16)
br label %372
186: ; preds = %179
%187 = load i8, ptr %2, align 1
%188 = sext i8 %187 to i32
%189 = icmp eq i32 %188, 100
br i1 %189, label %194, label %190
190: ; preds = %186
%191 = load i8, ptr %2, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 68
br i1 %193, label %194, label %197
194: ; preds = %190, %186
%195 = load ptr, ptr %3, align 8
%196 = call i32 @strncpy(ptr noundef %195, ptr noundef @.str.23, i32 noundef 16)
br label %371
197: ; preds = %190
%198 = load i8, ptr %2, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 101
br i1 %200, label %205, label %201
201: ; preds = %197
%202 = load i8, ptr %2, align 1
%203 = sext i8 %202 to i32
%204 = icmp eq i32 %203, 69
br i1 %204, label %205, label %208
205: ; preds = %201, %197
%206 = load ptr, ptr %3, align 8
%207 = call i32 @strncpy(ptr noundef %206, ptr noundef @.str.24, i32 noundef 16)
br label %370
208: ; preds = %201
%209 = load i8, ptr %2, align 1
%210 = sext i8 %209 to i32
%211 = icmp eq i32 %210, 102
br i1 %211, label %216, label %212
212: ; preds = %208
%213 = load i8, ptr %2, align 1
%214 = sext i8 %213 to i32
%215 = icmp eq i32 %214, 70
br i1 %215, label %216, label %219
216: ; preds = %212, %208
%217 = load ptr, ptr %3, align 8
%218 = call i32 @strncpy(ptr noundef %217, ptr noundef @.str.25, i32 noundef 16)
br label %369
219: ; preds = %212
%220 = load i8, ptr %2, align 1
%221 = sext i8 %220 to i32
%222 = icmp eq i32 %221, 103
br i1 %222, label %227, label %223
223: ; preds = %219
%224 = load i8, ptr %2, align 1
%225 = sext i8 %224 to i32
%226 = icmp eq i32 %225, 71
br i1 %226, label %227, label %230
227: ; preds = %223, %219
%228 = load ptr, ptr %3, align 8
%229 = call i32 @strncpy(ptr noundef %228, ptr noundef @.str.26, i32 noundef 16)
br label %368
230: ; preds = %223
%231 = load i8, ptr %2, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 104
br i1 %233, label %238, label %234
234: ; preds = %230
%235 = load i8, ptr %2, align 1
%236 = sext i8 %235 to i32
%237 = icmp eq i32 %236, 72
br i1 %237, label %238, label %241
238: ; preds = %234, %230
%239 = load ptr, ptr %3, align 8
%240 = call i32 @strncpy(ptr noundef %239, ptr noundef @.str.27, i32 noundef 16)
br label %367
241: ; preds = %234
%242 = load i8, ptr %2, align 1
%243 = sext i8 %242 to i32
%244 = icmp eq i32 %243, 105
br i1 %244, label %249, label %245
245: ; preds = %241
%246 = load i8, ptr %2, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 73
br i1 %248, label %249, label %252
249: ; preds = %245, %241
%250 = load ptr, ptr %3, align 8
%251 = call i32 @strncpy(ptr noundef %250, ptr noundef @.str.28, i32 noundef 16)
br label %366
252: ; preds = %245
%253 = load i8, ptr %2, align 1
%254 = sext i8 %253 to i32
%255 = icmp eq i32 %254, 106
br i1 %255, label %260, label %256
256: ; preds = %252
%257 = load i8, ptr %2, align 1
%258 = sext i8 %257 to i32
%259 = icmp eq i32 %258, 74
br i1 %259, label %260, label %263
260: ; preds = %256, %252
%261 = load ptr, ptr %3, align 8
%262 = call i32 @strncpy(ptr noundef %261, ptr noundef @.str.29, i32 noundef 16)
br label %365
263: ; preds = %256
%264 = load i8, ptr %2, align 1
%265 = sext i8 %264 to i32
%266 = icmp eq i32 %265, 107
br i1 %266, label %271, label %267
267: ; preds = %263
%268 = load i8, ptr %2, align 1
%269 = sext i8 %268 to i32
%270 = icmp eq i32 %269, 75
br i1 %270, label %271, label %274
271: ; preds = %267, %263
%272 = load ptr, ptr %3, align 8
%273 = call i32 @strncpy(ptr noundef %272, ptr noundef @.str.30, i32 noundef 16)
br label %364
274: ; preds = %267
%275 = load i8, ptr %2, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 108
br i1 %277, label %282, label %278
278: ; preds = %274
%279 = load i8, ptr %2, align 1
%280 = sext i8 %279 to i32
%281 = icmp eq i32 %280, 76
br i1 %281, label %282, label %285
282: ; preds = %278, %274
%283 = load ptr, ptr %3, align 8
%284 = call i32 @strncpy(ptr noundef %283, ptr noundef @.str.31, i32 noundef 16)
br label %363
285: ; preds = %278
%286 = load i8, ptr %2, align 1
%287 = sext i8 %286 to i32
%288 = icmp eq i32 %287, 109
br i1 %288, label %293, label %289
289: ; preds = %285
%290 = load i8, ptr %2, align 1
%291 = sext i8 %290 to i32
%292 = icmp eq i32 %291, 77
br i1 %292, label %293, label %296
293: ; preds = %289, %285
%294 = load ptr, ptr %3, align 8
%295 = call i32 @strncpy(ptr noundef %294, ptr noundef @.str.32, i32 noundef 16)
br label %362
296: ; preds = %289
%297 = load i8, ptr %2, align 1
%298 = sext i8 %297 to i32
%299 = icmp eq i32 %298, 110
br i1 %299, label %304, label %300
300: ; preds = %296
%301 = load i8, ptr %2, align 1
%302 = sext i8 %301 to i32
%303 = icmp eq i32 %302, 78
br i1 %303, label %304, label %307
304: ; preds = %300, %296
%305 = load ptr, ptr %3, align 8
%306 = call i32 @strncpy(ptr noundef %305, ptr noundef @.str.33, i32 noundef 16)
br label %361
307: ; preds = %300
%308 = load i8, ptr %2, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 111
br i1 %310, label %315, label %311
311: ; preds = %307
%312 = load i8, ptr %2, align 1
%313 = sext i8 %312 to i32
%314 = icmp eq i32 %313, 79
br i1 %314, label %315, label %318
315: ; preds = %311, %307
%316 = load ptr, ptr %3, align 8
%317 = call i32 @strncpy(ptr noundef %316, ptr noundef @.str.34, i32 noundef 16)
br label %360
318: ; preds = %311
%319 = load i8, ptr %2, align 1
%320 = sext i8 %319 to i32
%321 = icmp eq i32 %320, 112
br i1 %321, label %326, label %322
322: ; preds = %318
%323 = load i8, ptr %2, align 1
%324 = sext i8 %323 to i32
%325 = icmp eq i32 %324, 80
br i1 %325, label %326, label %329
326: ; preds = %322, %318
%327 = load ptr, ptr %3, align 8
%328 = call i32 @strncpy(ptr noundef %327, ptr noundef @.str.35, i32 noundef 16)
br label %359
329: ; preds = %322
%330 = load i8, ptr %2, align 1
%331 = sext i8 %330 to i32
%332 = icmp eq i32 %331, 113
br i1 %332, label %337, label %333
333: ; preds = %329
%334 = load i8, ptr %2, align 1
%335 = sext i8 %334 to i32
%336 = icmp eq i32 %335, 81
br i1 %336, label %337, label %340
337: ; preds = %333, %329
%338 = load ptr, ptr %3, align 8
%339 = call i32 @strncpy(ptr noundef %338, ptr noundef @.str.36, i32 noundef 16)
br label %358
340: ; preds = %333
%341 = load i8, ptr %2, align 1
%342 = sext i8 %341 to i32
%343 = icmp eq i32 %342, 114
br i1 %343, label %348, label %344
344: ; preds = %340
%345 = load i8, ptr %2, align 1
%346 = sext i8 %345 to i32
%347 = icmp eq i32 %346, 82
br i1 %347, label %348, label %351
348: ; preds = %344, %340
%349 = load ptr, ptr %3, align 8
%350 = call i32 @strncpy(ptr noundef %349, ptr noundef @.str.37, i32 noundef 16)
br label %357
351: ; preds = %344
%352 = load i32, ptr @stderr, align 4
%353 = load i8, ptr %2, align 1
%354 = call i32 @fprintf(i32 noundef %352, ptr noundef @.str.38, i8 noundef signext %353)
%355 = load ptr, ptr %3, align 8
%356 = call i32 @strncpy(ptr noundef %355, ptr noundef @.str.39, i32 noundef 16)
br label %357
357: ; preds = %351, %348
br label %358
358: ; preds = %357, %337
br label %359
359: ; preds = %358, %326
br label %360
360: ; preds = %359, %315
br label %361
361: ; preds = %360, %304
br label %362
362: ; preds = %361, %293
br label %363
363: ; preds = %362, %282
br label %364
364: ; preds = %363, %271
br label %365
365: ; preds = %364, %260
br label %366
366: ; preds = %365, %249
br label %367
367: ; preds = %366, %238
br label %368
368: ; preds = %367, %227
br label %369
369: ; preds = %368, %216
br label %370
370: ; preds = %369, %205
br label %371
371: ; preds = %370, %194
br label %372
372: ; preds = %371, %183
br label %373
373: ; preds = %372, %172
br label %374
374: ; preds = %373, %161
br label %375
375: ; preds = %374, %150
br label %376
376: ; preds = %375, %143
br label %377
377: ; preds = %376, %136
br label %378
378: ; preds = %377, %129
br label %379
379: ; preds = %378, %122
br label %380
380: ; preds = %379, %115
br label %381
381: ; preds = %380, %108
br label %382
382: ; preds = %381, %101
br label %383
383: ; preds = %382, %94
br label %384
384: ; preds = %383, %87
br label %385
385: ; preds = %384, %80
br label %386
386: ; preds = %385, %73
br label %387
387: ; preds = %386, %66
br label %388
388: ; preds = %387, %59
br label %389
389: ; preds = %388, %52
br label %390
390: ; preds = %389, %45
br label %391
391: ; preds = %390, %38
br label %392
392: ; preds = %391, %31
br label %393
393: ; preds = %392, %24
%394 = load ptr, ptr %3, align 8
ret ptr %394
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpxyq27ftm.c'
source_filename = "/tmp/tmpxyq27ftm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @store_exposed_node_avltree(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = call ptr @create_node_avltree(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store ptr null, ptr %4, align 8
br label %25
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i64 @add_node_avltree(ptr noundef %16, ptr noundef %17)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %8, align 8
%22 = call i32 @free_node_complex_avltree(ptr noundef %21, ptr noundef null, ptr noundef null)
store ptr null, ptr %4, align 8
br label %25
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %23, %20, %14
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare ptr @create_node_avltree(ptr noundef, ptr noundef) #1
declare i64 @add_node_avltree(ptr noundef, ptr noundef) #1
declare i32 @free_node_complex_avltree(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/tmpxyq27ftm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @store_exposed_node_avltree(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = call ptr @create_node_avltree(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store ptr null, ptr %4, align 8
br label %25
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i64 @add_node_avltree(ptr noundef %16, ptr noundef %17)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %8, align 8
%22 = call i32 @free_node_complex_avltree(ptr noundef %21, ptr noundef null, ptr noundef null)
store ptr null, ptr %4, align 8
br label %25
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %23, %20, %14
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare ptr @create_node_avltree(ptr noundef, ptr noundef) #1
declare i64 @add_node_avltree(ptr noundef, ptr noundef) #1
declare i32 @free_node_complex_avltree(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/tmpcvizmhkp.c'
source_filename = "/tmp/tmpcvizmhkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Need to provide the file's name.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"fopen fail.\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The name of the file is %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"The file has %d lines.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [81 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %43
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %3, align 4
br label %43
24: ; preds = %14
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27)
br label %29
29: ; preds = %34, %24
%30 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%31 = load ptr, ptr %6, align 8
%32 = call ptr @fgets(ptr noundef %30, i32 noundef 81, ptr noundef %31)
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %29, !llvm.loop !6
37: ; preds = %29
%38 = load ptr, ptr %6, align 8
%39 = call i32 @fclose(ptr noundef %38)
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40)
%42 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %37, %21, %11
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @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/tmpcvizmhkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Need to provide the file's name.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"fopen fail.\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The name of the file is %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"The file has %d lines.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [81 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %45
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %3, align 4
br label %45
24: ; preds = %14
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27)
%29 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%30 = load ptr, ptr %6, align 8
%31 = call ptr @fgets(ptr noundef %29, i32 noundef 81, ptr noundef %30)
%32 = icmp ne ptr %31, null
br i1 %32, label %.lr.ph, label %39
.lr.ph: ; preds = %24
br label %33
33: ; preds = %.lr.ph, %33
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %6, align 8
%37 = call ptr @fgets(ptr noundef %29, i32 noundef 81, ptr noundef %36)
%38 = icmp ne ptr %37, null
br i1 %38, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %24
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fclose(ptr noundef %40)
%42 = load i32, ptr %7, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
%44 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %39, %21, %11
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @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/tmpbq6q8_jp.c'
source_filename = "/tmp/tmpbq6q8_jp.c"
target datalayout = "e-m:e-p270: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/tmpbq6q8_jp.c"
target datalayout = "e-m:e-p270: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/tmpkuxtt4li.c'
source_filename = "/tmp/tmpkuxtt4li.c"
target datalayout = "e-m:e-p270: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/tmpkuxtt4li.c"
target datalayout = "e-m:e-p270: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/tmpk8pdqy70.c'
source_filename = "/tmp/tmpk8pdqy70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"-r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i64 @strcmp(ptr noundef @.str, ptr noundef %8)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
%15 = zext i1 %14 to i32
store i32 %15, ptr %4, align 4
br label %27
16: ; preds = %3
%17 = load ptr, ptr %7, align 8
%18 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %21, %22
%24 = zext i1 %23 to i32
store i32 %24, ptr %4, align 4
br label %27
25: ; preds = %16
br label %26
26: ; preds = %25
store i32 0, ptr %4, align 4
br label %27
27: ; preds = %26, %20, %11
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare i64 @strcmp(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/tmpk8pdqy70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"-r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i64 @strcmp(ptr noundef @.str, ptr noundef %8)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
%15 = zext i1 %14 to i32
store i32 %15, ptr %4, align 4
br label %27
16: ; preds = %3
%17 = load ptr, ptr %7, align 8
%18 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %21, %22
%24 = zext i1 %23 to i32
store i32 %24, ptr %4, align 4
br label %27
25: ; preds = %16
br label %26
26: ; preds = %25
store i32 0, ptr %4, align 4
br label %27
27: ; preds = %26, %20, %11
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare i64 @strcmp(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/tmpepzcjk96.c'
source_filename = "/tmp/tmpepzcjk96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @statlibfunc()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @statlibfunc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpepzcjk96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @statlibfunc()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @statlibfunc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw8v10nrv.c'
source_filename = "/tmp/tmpw8v10nrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 30, ptr %4, align 4
br label %5
5: ; preds = %24, %1
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgetc(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %5
br label %27
12: ; preds = %5
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
br label %27
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %2, align 8
store i8 %19, ptr %20, align 1
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %24
23: ; preds = %17
br label %27
24: ; preds = %17
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %2, align 8
br label %5
27: ; preds = %23, %16, %11
%28 = load ptr, ptr %2, align 8
store i8 0, ptr %28, align 1
ret void
}
declare i32 @fgetc(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/tmpw8v10nrv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 30, ptr %4, align 4
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgetc(i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %.lr.ph
.lr.ph: ; preds = %1
br label %11
._crit_edge: ; preds = %23
br label %10
10: ; preds = %._crit_edge, %1
br label %31
11: ; preds = %.lr.ph, %23
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
br label %31
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = trunc i32 %17 to i8
%19 = load ptr, ptr %2, align 8
store i8 %18, ptr %19, align 1
%20 = load i32, ptr %3, align 4
%21 = icmp eq i32 %20, 10
br i1 %21, label %22, label %23
22: ; preds = %16
br label %31
23: ; preds = %16
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %2, align 8
%26 = load i32, ptr @stdin, align 4
%27 = call i32 @fgetc(i32 noundef %26)
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr @EOF, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %._crit_edge, label %11
31: ; preds = %22, %15, %10
%32 = load ptr, ptr %2, align 8
store i8 0, ptr %32, align 1
ret void
}
declare i32 @fgetc(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/tmp45rckxy4.c'
source_filename = "/tmp/tmp45rckxy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_insert(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
store i32 %10, ptr %14, align 4
br label %15
15: ; preds = %34, %3
%16 = load i32, ptr %7, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %25, 1
%27 = sdiv i32 %26, 2
store i32 %27, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %24, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %23, %30
br label %32
32: ; preds = %18, %15
%33 = phi i1 [ false, %15 ], [ %31, %18 ]
br i1 %33, label %34, label %40
34: ; preds = %32
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = call i32 @swp(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %8, align 4
store i32 %39, ptr %7, align 4
br label %15, !llvm.loop !6
40: ; preds = %32
ret void
}
declare i32 @swp(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/tmp45rckxy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_insert(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
store i32 %10, ptr %14, align 4
br label %15
15: ; preds = %34, %3
%16 = load i32, ptr %7, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %25, 1
%27 = sdiv i32 %26, 2
store i32 %27, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %24, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %23, %30
br label %32
32: ; preds = %18, %15
%33 = phi i1 [ false, %15 ], [ %31, %18 ]
br i1 %33, label %34, label %40
34: ; preds = %32
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = call i32 @swp(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %8, align 4
store i32 %39, ptr %7, align 4
br label %15, !llvm.loop !6
40: ; preds = %32
ret void
}
declare i32 @swp(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/tmpqiwpdgoa.c'
source_filename = "/tmp/tmpqiwpdgoa.c"
target datalayout = "e-m:e-p270: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/tmpqiwpdgoa.c"
target datalayout = "e-m:e-p270: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/tmpersgti1a.c'
source_filename = "/tmp/tmpersgti1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sdiv i32 %3, 16
%5 = call i32 @digittoascii(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = srem i32 %6, 16
%8 = call i32 @digittoascii(i32 noundef %7)
%9 = mul nsw i32 256, %8
%10 = add nsw i32 %5, %9
ret i32 %10
}
declare i32 @digittoascii(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/tmpersgti1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sdiv i32 %3, 16
%5 = call i32 @digittoascii(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = srem i32 %6, 16
%8 = call i32 @digittoascii(i32 noundef %7)
%9 = mul nsw i32 256, %8
%10 = add nsw i32 %5, %9
ret i32 %10
}
declare i32 @digittoascii(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/tmp47rxlj1g.c'
source_filename = "/tmp/tmp47rxlj1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flush() #0 {
br label %1
1: ; preds = %5, %0
%2 = call signext i8 (...) @getchar()
%3 = sext i8 %2 to i32
%4 = icmp ne i32 %3, 10
br i1 %4, label %5, label %6
5: ; preds = %1
br label %1, !llvm.loop !6
6: ; preds = %1
ret void
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp47rxlj1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flush() #0 {
br label %1
1: ; preds = %1, %0
%2 = call signext i8 (...) @getchar()
%3 = sext i8 %2 to i32
%4 = icmp ne i32 %3, 10
br i1 %4, label %1, label %5, !llvm.loop !6
5: ; preds = %1
ret void
}
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsnsr98oo.c'
source_filename = "/tmp/tmpsnsr98oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumeric(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %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/tmpsnsr98oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumeric(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %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/tmp8nuwg45w.c'
source_filename = "/tmp/tmp8nuwg45w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iStrNumAdd(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i8 noundef zeroext %5) #0 {
%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 i32, align 4
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [128 x i8], align 16
%17 = alloca [128 x i8], align 16
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i8 %5, ptr %13, align 1
%18 = load ptr, ptr %10, align 8
%19 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%20 = load i32, ptr %12, align 4
%21 = call i32 @iEncode(ptr noundef %18, ptr noundef %19, i32 noundef 128, i32 noundef %20, ptr noundef null)
store i32 %21, ptr %14, align 4
%22 = load i32, ptr %14, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = load i32, ptr %14, align 4
store i32 %25, ptr %7, align 4
br label %60
26: ; preds = %6
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds [128 x i8], ptr %17, i64 0, i64 0
%29 = load i32, ptr %12, align 4
%30 = call i32 @iEncode(ptr noundef %27, ptr noundef %28, i32 noundef 128, i32 noundef %29, ptr noundef null)
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %14, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = load i32, ptr %14, align 4
store i32 %34, ptr %7, align 4
br label %60
35: ; preds = %26
%36 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%37 = getelementptr inbounds [128 x i8], ptr %17, i64 0, i64 0
%38 = load i32, ptr %12, align 4
%39 = call i32 @iAdd(ptr noundef %36, ptr noundef %37, i32 noundef 128, i32 noundef %38)
store i32 %39, ptr %15, align 4
%40 = load i32, ptr %15, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = load i32, ptr %15, align 4
store i32 %43, ptr %7, align 4
br label %60
44: ; preds = %35
%45 = load i32, ptr %15, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %44
store i32 -2, ptr %7, align 4
br label %60
48: ; preds = %44
%49 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %12, align 4
%53 = load i8, ptr %13, align 1
%54 = call i32 @iDecode(ptr noundef %49, i32 noundef 128, ptr noundef %50, i32 noundef %51, i32 noundef %52, i8 noundef zeroext %53)
store i32 %54, ptr %14, align 4
%55 = load i32, ptr %14, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %48
%58 = load i32, ptr %14, align 4
store i32 %58, ptr %7, align 4
br label %60
59: ; preds = %48
store i32 0, ptr %7, align 4
br label %60
60: ; preds = %59, %57, %47, %42, %33, %24
%61 = load i32, ptr %7, align 4
ret i32 %61
}
declare i32 @iEncode(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @iAdd(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @iDecode(ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8nuwg45w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iStrNumAdd(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i8 noundef zeroext %5) #0 {
%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 i32, align 4
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [128 x i8], align 16
%17 = alloca [128 x i8], align 16
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i8 %5, ptr %13, align 1
%18 = load ptr, ptr %10, align 8
%19 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%20 = load i32, ptr %12, align 4
%21 = call i32 @iEncode(ptr noundef %18, ptr noundef %19, i32 noundef 128, i32 noundef %20, ptr noundef null)
store i32 %21, ptr %14, align 4
%22 = load i32, ptr %14, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = load i32, ptr %14, align 4
store i32 %25, ptr %7, align 4
br label %60
26: ; preds = %6
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds [128 x i8], ptr %17, i64 0, i64 0
%29 = load i32, ptr %12, align 4
%30 = call i32 @iEncode(ptr noundef %27, ptr noundef %28, i32 noundef 128, i32 noundef %29, ptr noundef null)
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %14, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = load i32, ptr %14, align 4
store i32 %34, ptr %7, align 4
br label %60
35: ; preds = %26
%36 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%37 = getelementptr inbounds [128 x i8], ptr %17, i64 0, i64 0
%38 = load i32, ptr %12, align 4
%39 = call i32 @iAdd(ptr noundef %36, ptr noundef %37, i32 noundef 128, i32 noundef %38)
store i32 %39, ptr %15, align 4
%40 = load i32, ptr %15, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = load i32, ptr %15, align 4
store i32 %43, ptr %7, align 4
br label %60
44: ; preds = %35
%45 = load i32, ptr %15, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %44
store i32 -2, ptr %7, align 4
br label %60
48: ; preds = %44
%49 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %12, align 4
%53 = load i8, ptr %13, align 1
%54 = call i32 @iDecode(ptr noundef %49, i32 noundef 128, ptr noundef %50, i32 noundef %51, i32 noundef %52, i8 noundef zeroext %53)
store i32 %54, ptr %14, align 4
%55 = load i32, ptr %14, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %48
%58 = load i32, ptr %14, align 4
store i32 %58, ptr %7, align 4
br label %60
59: ; preds = %48
store i32 0, ptr %7, align 4
br label %60
60: ; preds = %59, %57, %47, %42, %33, %24
%61 = load i32, ptr %7, align 4
ret i32 %61
}
declare i32 @iEncode(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @iAdd(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @iDecode(ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmp3nmqvdgz.c'
source_filename = "/tmp/tmp3nmqvdgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"copierXEArray_test() : \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"OK !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i64 (...) @copierXEArray_test()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str.1)
br label %7
7: ; preds = %5, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @copierXEArray_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nmqvdgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"copierXEArray_test() : \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"OK !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i64 (...) @copierXEArray_test()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str.1)
br label %7
7: ; preds = %5, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @copierXEArray_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjq0srtbc.c'
source_filename = "/tmp/tmpjq0srtbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%i Parameter erwartet %i erhalten.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Konnte eine oder beide Dateien nicht \C3\B6ffnen\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 4
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 3, i32 noundef %13)
store i32 2, ptr %3, align 4
br label %49
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 3
%26 = load ptr, ptr %25, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.2)
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %36, label %30
30: ; preds = %15
%31 = load ptr, ptr %7, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load ptr, ptr %8, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %33, %30, %15
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %49
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %8, align 8
%42 = call i32 @fxor(ptr noundef %39, ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = call i32 @fclose(ptr noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = call i32 @fclose(ptr noundef %47)
br label %49
49: ; preds = %38, %36, %11
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fxor(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjq0srtbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%i Parameter erwartet %i erhalten.\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Konnte eine oder beide Dateien nicht \C3\B6ffnen\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 4
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 3, i32 noundef %13)
store i32 2, ptr %3, align 4
br label %49
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 3
%26 = load ptr, ptr %25, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.2)
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %36, label %30
30: ; preds = %15
%31 = load ptr, ptr %7, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load ptr, ptr %8, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %33, %30, %15
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %49
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %8, align 8
%42 = call i32 @fxor(ptr noundef %39, ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = call i32 @fclose(ptr noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = call i32 @fclose(ptr noundef %47)
br label %49
49: ; preds = %38, %36, %11
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fxor(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.