llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpfq21ql63.c'
source_filename = "/tmp/tmpfq21ql63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso_text_to_sev(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @libiso_msgs__text_to_sev(ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
store i32 1879048192, ptr %12, align 4
br label %13
13: ; preds = %11, %2
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @libiso_msgs__text_to_sev(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/tmpfq21ql63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso_text_to_sev(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @libiso_msgs__text_to_sev(ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
store i32 1879048192, ptr %12, align 4
br label %13
13: ; preds = %11, %2
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @libiso_msgs__text_to_sev(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/tmp8pulbb6i.c'
source_filename = "/tmp/tmp8pulbb6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fclose(ptr noundef %9)
store i32 1, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %11, %8
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare ptr @fopen(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/tmp8pulbb6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fclose(ptr noundef %9)
store i32 1, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %11, %8
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxf16h37e.c'
source_filename = "/tmp/tmpxf16h37e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dag_set_stream_erf_types(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
store i32 %7, ptr @errno, 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/tmpxf16h37e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dag_set_stream_erf_types(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
store i32 %7, ptr @errno, 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/tmpcmyushcp.c'
source_filename = "/tmp/tmpcmyushcp.c"
target datalayout = "e-m:e-p270: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/tmpcmyushcp.c"
target datalayout = "e-m:e-p270: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/tmpemzowubr.c'
source_filename = "/tmp/tmpemzowubr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Usage: StrPixLen(<string>)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GScr_StrPixLen() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = call i32 (...) @Scr_GetNumParam()
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @Scr_Error(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = call ptr @Scr_GetString(i32 noundef 0)
store ptr %9, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %60, %8
%11 = load ptr, ptr %1, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %63
14: ; preds = %10
%15 = load ptr, ptr %1, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
switch i32 %17, label %57 [
i32 39, label %18
i32 105, label %21
i32 106, label %21
i32 108, label %21
i32 46, label %21
i32 44, label %21
i32 58, label %21
i32 59, label %21
i32 95, label %21
i32 37, label %21
i32 102, label %24
i32 73, label %24
i32 45, label %24
i32 124, label %24
i32 116, label %27
i32 114, label %27
i32 33, label %27
i32 47, label %27
i32 92, label %27
i32 34, label %27
i32 40, label %30
i32 41, label %30
i32 91, label %30
i32 93, label %30
i32 84, label %33
i32 123, label %33
i32 125, label %33
i32 42, label %33
i32 97, label %36
i32 99, label %36
i32 103, label %36
i32 107, label %36
i32 115, label %36
i32 118, label %36
i32 120, label %36
i32 122, label %36
i32 70, label %36
i32 74, label %36
i32 76, label %36
i32 89, label %36
i32 90, label %36
i32 32, label %39
i32 100, label %39
i32 104, label %39
i32 110, label %39
i32 65, label %39
i32 80, label %39
i32 83, label %39
i32 86, label %39
i32 88, label %39
i32 63, label %39
i32 66, label %42
i32 68, label %42
i32 71, label %42
i32 75, label %42
i32 79, label %42
i32 81, label %42
i32 82, label %42
i32 85, label %42
i32 48, label %42
i32 49, label %42
i32 50, label %42
i32 51, label %42
i32 52, label %42
i32 53, label %42
i32 54, label %42
i32 55, label %42
i32 56, label %42
i32 57, label %42
i32 36, label %42
i32 60, label %42
i32 62, label %42
i32 61, label %42
i32 43, label %42
i32 94, label %42
i32 126, label %42
i32 72, label %45
i32 78, label %45
i32 35, label %45
i32 119, label %48
i32 38, label %48
i32 87, label %51
i32 77, label %51
i32 64, label %51
i32 109, label %54
]
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 2
store i32 %20, ptr %2, align 4
br label %60
21: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 4
store i32 %23, ptr %2, align 4
br label %60
24: ; preds = %14, %14, %14, %14
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 5
store i32 %26, ptr %2, align 4
br label %60
27: ; preds = %14, %14, %14, %14, %14, %14
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 6
store i32 %29, ptr %2, align 4
br label %60
30: ; preds = %14, %14, %14, %14
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 7
store i32 %32, ptr %2, align 4
br label %60
33: ; preds = %14, %14, %14, %14
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 8
store i32 %35, ptr %2, align 4
br label %60
36: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 9
store i32 %38, ptr %2, align 4
br label %60
39: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14, %14
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 10
store i32 %41, ptr %2, align 4
br label %60
42: ; preds = %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14, %14
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 11
store i32 %44, ptr %2, align 4
br label %60
45: ; preds = %14, %14, %14
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 12
store i32 %47, ptr %2, align 4
br label %60
48: ; preds = %14, %14
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 13
store i32 %50, ptr %2, align 4
br label %60
51: ; preds = %14, %14, %14
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 14
store i32 %53, ptr %2, align 4
br label %60
54: ; preds = %14
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 15
store i32 %56, ptr %2, align 4
br label %57
57: ; preds = %14, %54
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 12
store i32 %59, ptr %2, align 4
br label %60
60: ; preds = %57, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18
%61 = load ptr, ptr %1, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %1, align 8
br label %10, !llvm.loop !6
63: ; preds = %10
%64 = load i32, ptr %2, align 4
%65 = sitofp i32 %64 to float
%66 = fpext float %65 to double
%67 = fdiv double %66, 2.000000e+00
%68 = fptrunc double %67 to float
store float %68, ptr %3, align 4
%69 = load float, ptr %3, align 4
%70 = call i32 @Scr_AddFloat(float noundef %69)
ret void
}
declare i32 @Scr_GetNumParam(...) #1
declare i32 @Scr_Error(ptr noundef) #1
declare ptr @Scr_GetString(i32 noundef) #1
declare i32 @Scr_AddFloat(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemzowubr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Usage: StrPixLen(<string>)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GScr_StrPixLen() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = call i32 (...) @Scr_GetNumParam()
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @Scr_Error(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = call ptr @Scr_GetString(i32 noundef 0)
store ptr %9, ptr %1, align 8
store i32 0, ptr %2, align 4
%10 = load ptr, ptr %1, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %65
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %59
%14 = load ptr, ptr %1, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %56 [
i32 39, label %17
i32 105, label %20
i32 106, label %20
i32 108, label %20
i32 46, label %20
i32 44, label %20
i32 58, label %20
i32 59, label %20
i32 95, label %20
i32 37, label %20
i32 102, label %23
i32 73, label %23
i32 45, label %23
i32 124, label %23
i32 116, label %26
i32 114, label %26
i32 33, label %26
i32 47, label %26
i32 92, label %26
i32 34, label %26
i32 40, label %29
i32 41, label %29
i32 91, label %29
i32 93, label %29
i32 84, label %32
i32 123, label %32
i32 125, label %32
i32 42, label %32
i32 97, label %35
i32 99, label %35
i32 103, label %35
i32 107, label %35
i32 115, label %35
i32 118, label %35
i32 120, label %35
i32 122, label %35
i32 70, label %35
i32 74, label %35
i32 76, label %35
i32 89, label %35
i32 90, label %35
i32 32, label %38
i32 100, label %38
i32 104, label %38
i32 110, label %38
i32 65, label %38
i32 80, label %38
i32 83, label %38
i32 86, label %38
i32 88, label %38
i32 63, label %38
i32 66, label %41
i32 68, label %41
i32 71, label %41
i32 75, label %41
i32 79, label %41
i32 81, label %41
i32 82, label %41
i32 85, label %41
i32 48, label %41
i32 49, label %41
i32 50, label %41
i32 51, label %41
i32 52, label %41
i32 53, label %41
i32 54, label %41
i32 55, label %41
i32 56, label %41
i32 57, label %41
i32 36, label %41
i32 60, label %41
i32 62, label %41
i32 61, label %41
i32 43, label %41
i32 94, label %41
i32 126, label %41
i32 72, label %44
i32 78, label %44
i32 35, label %44
i32 119, label %47
i32 38, label %47
i32 87, label %50
i32 77, label %50
i32 64, label %50
i32 109, label %53
]
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 2
store i32 %19, ptr %2, align 4
br label %59
20: ; preds = %13, %13, %13, %13, %13, %13, %13, %13, %13
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 4
store i32 %22, ptr %2, align 4
br label %59
23: ; preds = %13, %13, %13, %13
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 5
store i32 %25, ptr %2, align 4
br label %59
26: ; preds = %13, %13, %13, %13, %13, %13
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 6
store i32 %28, ptr %2, align 4
br label %59
29: ; preds = %13, %13, %13, %13
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 7
store i32 %31, ptr %2, align 4
br label %59
32: ; preds = %13, %13, %13, %13
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 8
store i32 %34, ptr %2, align 4
br label %59
35: ; preds = %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 9
store i32 %37, ptr %2, align 4
br label %59
38: ; preds = %13, %13, %13, %13, %13, %13, %13, %13, %13, %13
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, 10
store i32 %40, ptr %2, align 4
br label %59
41: ; preds = %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13, %13
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 11
store i32 %43, ptr %2, align 4
br label %59
44: ; preds = %13, %13, %13
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 12
store i32 %46, ptr %2, align 4
br label %59
47: ; preds = %13, %13
%48 = load i32, ptr %2, align 4
%49 = add nsw i32 %48, 13
store i32 %49, ptr %2, align 4
br label %59
50: ; preds = %13, %13, %13
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 14
store i32 %52, ptr %2, align 4
br label %59
53: ; preds = %13
%54 = load i32, ptr %2, align 4
%55 = add nsw i32 %54, 15
store i32 %55, ptr %2, align 4
br label %56
56: ; preds = %53, %13
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 12
store i32 %58, ptr %2, align 4
br label %59
59: ; preds = %56, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23, %20, %17
%60 = load ptr, ptr %1, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %1, align 8
%62 = load ptr, ptr %1, align 8
%63 = load i8, ptr %62, align 1
%64 = icmp ne i8 %63, 0
br i1 %64, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %8
%66 = load i32, ptr %2, align 4
%67 = sitofp i32 %66 to float
%68 = fpext float %67 to double
%69 = fdiv double %68, 2.000000e+00
%70 = fptrunc double %69 to float
store float %70, ptr %3, align 4
%71 = load float, ptr %3, align 4
%72 = call i32 @Scr_AddFloat(float noundef %71)
ret void
}
declare i32 @Scr_GetNumParam(...) #1
declare i32 @Scr_Error(ptr noundef) #1
declare ptr @Scr_GetString(i32 noundef) #1
declare i32 @Scr_AddFloat(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0dmzc3fg.c'
source_filename = "/tmp/tmp0dmzc3fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_string(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 @new_token(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 @new_token(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/tmp0dmzc3fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_string(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 @new_token(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 @new_token(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/tmpzij76wcb.c'
source_filename = "/tmp/tmpzij76wcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 11
%7 = zext i1 %6 to i64
%8 = select i1 %6, i32 1, i32 0
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 10
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 20, i32 -20
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %19, 10
br i1 %20, label %21, label %22
21: ; preds = %0
br label %29
22: ; preds = %0
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
%27 = zext i1 %26 to i64
%28 = select i1 %26, i32 123, i32 321
br label %29
29: ; preds = %22, %21
%30 = phi i32 [ 20, %21 ], [ %28, %22 ]
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
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/tmpzij76wcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 11
%7 = zext i1 %6 to i64
%8 = select i1 %6, i32 1, i32 0
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 10
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 20, i32 -20
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %19, 10
br i1 %20, label %21, label %22
21: ; preds = %0
br label %29
22: ; preds = %0
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
%27 = zext i1 %26 to i64
%28 = select i1 %26, i32 123, i32 321
br label %29
29: ; preds = %22, %21
%30 = phi i32 [ 20, %21 ], [ %28, %22 ]
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
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/tmpg2k1855q.c'
source_filename = "/tmp/tmpg2k1855q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_blank_with_tab(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %3
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %21, %14
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = call i32 @putchar(i8 noundef signext 32)
br label %21
21: ; preds = %19
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
br label %15, !llvm.loop !6
24: ; preds = %15
br label %59
25: ; preds = %3
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %26, %27
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = call i32 @get_blank_length(i32 noundef %29, i32 noundef 8)
store i32 %30, ptr %10, align 4
%31 = call i32 @putchar(i8 noundef signext 9)
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %9, align 4
br label %35
35: ; preds = %41, %25
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %36, %37
%39 = load i32, ptr %6, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %45
41: ; preds = %35
%42 = call i32 @putchar(i8 noundef signext 9)
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 8
store i32 %44, ptr %9, align 4
br label %35, !llvm.loop !8
45: ; preds = %35
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %9, align 4
%48 = sub nsw i32 %46, %47
store i32 %48, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %49
49: ; preds = %55, %45
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %58
53: ; preds = %49
%54 = call i32 @putchar(i8 noundef signext 32)
br label %55
55: ; preds = %53
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
br label %49, !llvm.loop !9
58: ; preds = %49
br label %59
59: ; preds = %58, %24
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @get_blank_length(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg2k1855q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_blank_with_tab(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %27
14: ; preds = %3
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph5, label %26
.lr.ph5: ; preds = %14
br label %18
18: ; preds = %.lr.ph5, %20
%19 = call i32 @putchar(i8 noundef signext 32)
br label %20
20: ; preds = %18
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %18, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %20
br label %26
26: ; preds = %._crit_edge6, %14
br label %67
27: ; preds = %3
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %28, %29
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = call i32 @get_blank_length(i32 noundef %31, i32 noundef 8)
store i32 %32, ptr %10, align 4
%33 = call i32 @putchar(i8 noundef signext 9)
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %34, %35
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %9, align 4
%39 = sub nsw i32 %37, %38
%40 = load i32, ptr %6, align 4
%41 = icmp sge i32 %39, %40
br i1 %41, label %.lr.ph, label %51
.lr.ph: ; preds = %27
br label %42
42: ; preds = %.lr.ph, %42
%43 = call i32 @putchar(i8 noundef signext 9)
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 8
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %9, align 4
%48 = sub nsw i32 %46, %47
%49 = load i32, ptr %6, align 4
%50 = icmp sge i32 %48, %49
br i1 %50, label %42, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %42
br label %51
51: ; preds = %._crit_edge, %27
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %9, align 4
%54 = sub nsw i32 %52, %53
store i32 %54, ptr %7, align 4
store i32 0, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph2, label %66
.lr.ph2: ; preds = %51
br label %58
58: ; preds = %.lr.ph2, %60
%59 = call i32 @putchar(i8 noundef signext 32)
br label %60
60: ; preds = %58
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %58, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %51
br label %67
67: ; preds = %66, %26
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @get_blank_length(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7fvo1v9p.c'
source_filename = "/tmp/tmp7fvo1v9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Object_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret i32 1
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fvo1v9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Object_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret i32 1
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpveybp5yh.c'
source_filename = "/tmp/tmpveybp5yh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@initialize_hw.inited = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialize_hw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%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 ptr %0, ptr %2, align 8
%9 = load i32, ptr @initialize_hw.inited, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %1
store i32 1, ptr @initialize_hw.inited, align 4
%12 = call i32 @cpuid(i32 noundef 1, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %5, align 4
%14 = and i32 %13, 33554432
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
call void %17(i32 noundef %18, i32 noundef %19)
br label %20
20: ; preds = %11, %1
ret void
}
declare i32 @cpuid(i32 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/tmpveybp5yh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@initialize_hw.inited = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialize_hw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%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 ptr %0, ptr %2, align 8
%9 = load i32, ptr @initialize_hw.inited, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %1
store i32 1, ptr @initialize_hw.inited, align 4
%12 = call i32 @cpuid(i32 noundef 1, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %5, align 4
%14 = and i32 %13, 33554432
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
call void %17(i32 noundef %18, i32 noundef %19)
br label %20
20: ; preds = %11, %1
ret void
}
declare i32 @cpuid(i32 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/tmpd5xy4i_0.c'
source_filename = "/tmp/tmpd5xy4i_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xfc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xfc() #0 {
%1 = call i64 @isdigit(i32 noundef 252)
%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 1265, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpd5xy4i_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xfc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xfc() #0 {
%1 = call i64 @isdigit(i32 noundef 252)
%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 1265, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmp9xp4ieb8.c'
source_filename = "/tmp/tmp9xp4ieb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Menu (my CPU)\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"-------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"1. Reset CPU\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"2. Clear Memory\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"3. Dump the CPU\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"4. Dump the Memory\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"5. Dump the Heap\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"6. Dump the Stack\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"7. Run the CPU\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"8. Load program from file\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"X. Exit the CPU\0A\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c" Your choice===>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @displayMenu() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 (...) @getchar()
store i32 %14, ptr %1, align 4
%15 = call i32 (...) @getchar()
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9xp4ieb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Menu (my CPU)\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"-------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"1. Reset CPU\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"2. Clear Memory\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"3. Dump the CPU\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"4. Dump the Memory\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"5. Dump the Heap\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"6. Dump the Stack\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"7. Run the CPU\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"8. Load program from file\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"X. Exit the CPU\0A\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c" Your choice===>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @displayMenu() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 (...) @getchar()
store i32 %14, ptr %1, align 4
%15 = call i32 (...) @getchar()
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzq2dlo7t.c'
source_filename = "/tmp/tmpzq2dlo7t.c"
target datalayout = "e-m:e-p270: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/tmpzq2dlo7t.c"
target datalayout = "e-m:e-p270: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/tmpj8n1_2ui.c'
source_filename = "/tmp/tmpj8n1_2ui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isdir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @isalpha(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = call i64 @isdigit(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 32
br i1 %13, label %14, label %15
14: ; preds = %11, %7, %1
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %11
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @isalpha(i32 noundef) #1
declare i64 @isdigit(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/tmpj8n1_2ui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isdir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @isalpha(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %14, label %7
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = call i64 @isdigit(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 32
br i1 %13, label %14, label %15
14: ; preds = %11, %7, %1
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %11
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @isalpha(i32 noundef) #1
declare i64 @isdigit(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/tmpzuagf32x.c'
source_filename = "/tmp/tmpzuagf32x.c"
target datalayout = "e-m:e-p270: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/tmpzuagf32x.c"
target datalayout = "e-m:e-p270: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/tmpswp90wlj.c'
source_filename = "/tmp/tmpswp90wlj.c"
target datalayout = "e-m:e-p270: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/tmpswp90wlj.c"
target datalayout = "e-m:e-p270: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/tmpg9m47bmb.c'
source_filename = "/tmp/tmpg9m47bmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringappend(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
store i32 0, ptr %10, align 4
br label %12
12: ; preds = %17, %3
%13 = load ptr, ptr %8, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %8, align 8
%15 = load i8, ptr %13, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %10, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %10, align 4
br label %12, !llvm.loop !6
20: ; preds = %12
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %21, %22
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 1
%27 = trunc i64 %26 to i32
%28 = call i64 @mallocate(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %32
32: ; preds = %42, %20
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %9, align 8
%39 = load i8, ptr %37, align 1
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %8, align 8
store i8 %39, ptr %40, align 1
br label %42
42: ; preds = %36
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
br label %32, !llvm.loop !8
45: ; preds = %32
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %9, align 8
br label %47
47: ; preds = %54, %45
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %9, align 8
%50 = load i8, ptr %48, align 1
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %8, align 8
store i8 %50, ptr %51, align 1
%53 = icmp ne i8 %50, 0
br i1 %53, label %54, label %55
54: ; preds = %47
br label %47, !llvm.loop !9
55: ; preds = %47
%56 = load ptr, ptr %7, align 8
ret ptr %56
}
declare i64 @mallocate(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/tmpg9m47bmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringappend(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %8, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %8, align 8
%14 = load i8, ptr %12, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %10, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %10, align 4
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %8, align 8
%21 = load i8, ptr %19, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %3
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %24, %25
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 1
%30 = trunc i64 %29 to i32
%31 = call i64 @mallocate(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %4, align 8
store ptr %34, ptr %9, align 8
store i32 0, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph2, label %50
.lr.ph2: ; preds = %23
br label %38
38: ; preds = %.lr.ph2, %44
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %9, align 8
%41 = load i8, ptr %39, align 1
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %8, align 8
store i8 %41, ptr %42, align 1
br label %44
44: ; preds = %38
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %23
%51 = load ptr, ptr %6, align 8
store ptr %51, ptr %9, align 8
br label %52
52: ; preds = %52, %50
%53 = load ptr, ptr %9, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %9, align 8
%55 = load i8, ptr %53, align 1
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %8, align 8
store i8 %55, ptr %56, align 1
%58 = icmp ne i8 %55, 0
br i1 %58, label %52, label %59, !llvm.loop !9
59: ; preds = %52
%60 = load ptr, ptr %7, align 8
ret ptr %60
}
declare i64 @mallocate(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/tmpr5ek4jp4.c'
source_filename = "/tmp/tmpr5ek4jp4.c"
target datalayout = "e-m:e-p270: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/tmpr5ek4jp4.c"
target datalayout = "e-m:e-p270: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/tmp74ietxb0.c'
source_filename = "/tmp/tmp74ietxb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"exec failed for command: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shell_execve(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 47
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @execv(ptr noundef %12, ptr noundef %13)
br label %19
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @execvp(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %21)
ret i32 1
}
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp74ietxb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"exec failed for command: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shell_execve(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 47
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @execv(ptr noundef %12, ptr noundef %13)
br label %19
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @execvp(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %4, align 8
%22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %21)
ret i32 1
}
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4ye9ijsj.c'
source_filename = "/tmp/tmp4ye9ijsj.c"
target datalayout = "e-m:e-p270: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 }
@__const.group.tname = private unnamed_addr constant [21 x i8] c"/tmp/netshare_XXXXXX\00", align 16
@EXIT_FAILURE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Error %d creating temporary file %s\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Error %d writing headers to grouped file\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Error %d sendfile-ing payload to grouped file\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i8] c"Error %d closing payload fd\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Error %d readahead of grouped file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @group(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [21 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca %struct.stat, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.group.tname, i64 21, i1 false)
%12 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @mkstemp(ptr noundef %12)
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %4
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = load i32, ptr @errno, align 4
%19 = load i32, ptr @errno, align 4
%20 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0
%21 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %17, i32 noundef %18, ptr noundef @.str, i32 noundef %19, ptr noundef %20)
br label %22
22: ; preds = %16, %4
%23 = load i32, ptr %10, align 4
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strlen(ptr noundef %25)
%27 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef %26)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = load i32, ptr @errno, align 4
%32 = load i32, ptr @errno, align 4
%33 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %30, i32 noundef %31, ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %29, %22
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = call i32 @sendfile(i32 noundef %35, i32 noundef %36, ptr noundef null, i32 noundef %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %45
40: ; preds = %34
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = load i32, ptr @errno, align 4
%43 = load i32, ptr @errno, align 4
%44 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %41, i32 noundef %42, ptr noundef @.str.2, i32 noundef %43)
br label %45
45: ; preds = %40, %34
%46 = load i32, ptr %10, align 4
%47 = call i32 @fsync(i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr @SEEK_SET, align 4
%50 = call i32 @lseek(i32 noundef %48, i32 noundef 0, i32 noundef %49)
%51 = load i32, ptr %6, align 4
%52 = call i32 @close(i32 noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %59
54: ; preds = %45
%55 = load i32, ptr @EXIT_FAILURE, align 4
%56 = load i32, ptr @errno, align 4
%57 = load i32, ptr @errno, align 4
%58 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %55, i32 noundef %56, ptr noundef @.str.3, i32 noundef %57)
br label %59
59: ; preds = %54, %45
%60 = load i32, ptr %10, align 4
%61 = call i32 @fstat(i32 noundef %60, ptr noundef %11)
%62 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %8, align 8
store i32 %63, ptr %64, align 4
%65 = load i32, ptr %10, align 4
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %66, align 4
%68 = call i32 @readahead(i32 noundef %65, i32 noundef 0, i32 noundef %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %75
70: ; preds = %59
%71 = load i32, ptr @EXIT_FAILURE, align 4
%72 = load i32, ptr @errno, align 4
%73 = load i32, ptr @errno, align 4
%74 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %71, i32 noundef %72, ptr noundef @.str.4, i32 noundef %73)
br label %75
75: ; preds = %70, %59
%76 = load i32, ptr %10, align 4
ret i32 %76
}
; 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 @mkstemp(ptr noundef) #2
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @fsync(i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #2
declare i32 @readahead(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ye9ijsj.c"
target datalayout = "e-m:e-p270: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 }
@__const.group.tname = private unnamed_addr constant [21 x i8] c"/tmp/netshare_XXXXXX\00", align 16
@EXIT_FAILURE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Error %d creating temporary file %s\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Error %d writing headers to grouped file\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Error %d sendfile-ing payload to grouped file\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [28 x i8] c"Error %d closing payload fd\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Error %d readahead of grouped file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @group(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [21 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca %struct.stat, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.group.tname, i64 21, i1 false)
%12 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @mkstemp(ptr noundef %12)
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %22
16: ; preds = %4
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = load i32, ptr @errno, align 4
%19 = load i32, ptr @errno, align 4
%20 = getelementptr inbounds [21 x i8], ptr %9, i64 0, i64 0
%21 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %17, i32 noundef %18, ptr noundef @.str, i32 noundef %19, ptr noundef %20)
br label %22
22: ; preds = %16, %4
%23 = load i32, ptr %10, align 4
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strlen(ptr noundef %25)
%27 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef %26)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = load i32, ptr @errno, align 4
%32 = load i32, ptr @errno, align 4
%33 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %30, i32 noundef %31, ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %29, %22
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = call i32 @sendfile(i32 noundef %35, i32 noundef %36, ptr noundef null, i32 noundef %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %45
40: ; preds = %34
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = load i32, ptr @errno, align 4
%43 = load i32, ptr @errno, align 4
%44 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %41, i32 noundef %42, ptr noundef @.str.2, i32 noundef %43)
br label %45
45: ; preds = %40, %34
%46 = load i32, ptr %10, align 4
%47 = call i32 @fsync(i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr @SEEK_SET, align 4
%50 = call i32 @lseek(i32 noundef %48, i32 noundef 0, i32 noundef %49)
%51 = load i32, ptr %6, align 4
%52 = call i32 @close(i32 noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %59
54: ; preds = %45
%55 = load i32, ptr @EXIT_FAILURE, align 4
%56 = load i32, ptr @errno, align 4
%57 = load i32, ptr @errno, align 4
%58 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %55, i32 noundef %56, ptr noundef @.str.3, i32 noundef %57)
br label %59
59: ; preds = %54, %45
%60 = load i32, ptr %10, align 4
%61 = call i32 @fstat(i32 noundef %60, ptr noundef %11)
%62 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %8, align 8
store i32 %63, ptr %64, align 4
%65 = load i32, ptr %10, align 4
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %66, align 4
%68 = call i32 @readahead(i32 noundef %65, i32 noundef 0, i32 noundef %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %75
70: ; preds = %59
%71 = load i32, ptr @EXIT_FAILURE, align 4
%72 = load i32, ptr @errno, align 4
%73 = load i32, ptr @errno, align 4
%74 = call i32 (i32, i32, ptr, i32, ...) @error(i32 noundef %71, i32 noundef %72, ptr noundef @.str.4, i32 noundef %73)
br label %75
75: ; preds = %70, %59
%76 = load i32, ptr %10, align 4
ret i32 %76
}
; 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 @mkstemp(ptr noundef) #2
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @fsync(i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #2
declare i32 @readahead(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdvb_tvh2.c'
source_filename = "/tmp/tmpdvb_tvh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_before() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @lnend()
%3 = call i32 @insertch(i8 noundef signext 10)
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 (...) @append_mode()
store i32 %6, ptr %1, align 4
br label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %8
8: ; preds = %7, %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @lnend(...) #1
declare i32 @insertch(i8 noundef signext) #1
declare i32 @append_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdvb_tvh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_before() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @lnend()
%3 = call i32 @insertch(i8 noundef signext 10)
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 (...) @append_mode()
store i32 %6, ptr %1, align 4
br label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %8
8: ; preds = %7, %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @lnend(...) #1
declare i32 @insertch(i8 noundef signext) #1
declare i32 @append_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ew09ppx.c'
source_filename = "/tmp/tmp5ew09ppx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAILED: !(%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 0\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"cba_set(ba, i) < 0\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 1\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_cba_set() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr null, ptr %2, align 8
%4 = call ptr @cba_alloc(i32 noundef 100)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %54, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %8, label %57
8: ; preds = %5
br label %9
9: ; preds = %8
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = call i32 @cba_get(ptr noundef %10, i32 noundef %11)
%13 = icmp eq i32 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %9
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%16 = load ptr, ptr %2, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = call i32 @cba_free(ptr noundef %19)
br label %21
21: ; preds = %18, %14
store i32 0, ptr %1, align 4
br label %65
22: ; preds = %9
br label %23
23: ; preds = %22
br label %24
24: ; preds = %23
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = call i64 @cba_set(ptr noundef %25, i32 noundef %26)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3)
%31 = load ptr, ptr %2, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load ptr, ptr %2, align 8
%35 = call i32 @cba_free(ptr noundef %34)
br label %36
36: ; preds = %33, %29
store i32 0, ptr %1, align 4
br label %65
37: ; preds = %24
br label %38
38: ; preds = %37
br label %39
39: ; preds = %38
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %3, align 4
%42 = call i32 @cba_get(ptr noundef %40, i32 noundef %41)
%43 = icmp eq i32 %42, 1
br i1 %43, label %52, label %44
44: ; preds = %39
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%46 = load ptr, ptr %2, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load ptr, ptr %2, align 8
%50 = call i32 @cba_free(ptr noundef %49)
br label %51
51: ; preds = %48, %44
store i32 0, ptr %1, align 4
br label %65
52: ; preds = %39
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
br label %5, !llvm.loop !6
57: ; preds = %5
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%59 = load ptr, ptr %2, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = load ptr, ptr %2, align 8
%63 = call i32 @cba_free(ptr noundef %62)
br label %64
64: ; preds = %61, %57
store i32 1, ptr %1, align 4
br label %65
65: ; preds = %64, %51, %36, %21
%66 = load i32, ptr %1, align 4
ret i32 %66
}
declare ptr @cba_alloc(i32 noundef) #1
declare i32 @cba_get(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @cba_free(ptr noundef) #1
declare i64 @cba_set(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/tmp5ew09ppx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAILED: !(%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 0\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"FAILED: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"cba_set(ba, i) < 0\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"cba_get(ba, i) == 1\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"PASSED\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_cba_set() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr null, ptr %2, align 8
%4 = call ptr @cba_alloc(i32 noundef 100)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 100
br i1 %6, label %.lr.ph, label %58
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %53
br label %8
8: ; preds = %7
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @cba_get(ptr noundef %9, i32 noundef %10)
%12 = icmp eq i32 %11, 0
br i1 %12, label %21, label %13
13: ; preds = %8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%15 = load ptr, ptr %2, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = call i32 @cba_free(ptr noundef %18)
br label %20
20: ; preds = %17, %13
store i32 0, ptr %1, align 4
br label %66
21: ; preds = %8
br label %22
22: ; preds = %21
br label %23
23: ; preds = %22
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = call i64 @cba_set(ptr noundef %24, i32 noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3)
%30 = load ptr, ptr %2, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load ptr, ptr %2, align 8
%34 = call i32 @cba_free(ptr noundef %33)
br label %35
35: ; preds = %32, %28
store i32 0, ptr %1, align 4
br label %66
36: ; preds = %23
br label %37
37: ; preds = %36
br label %38
38: ; preds = %37
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %3, align 4
%41 = call i32 @cba_get(ptr noundef %39, i32 noundef %40)
%42 = icmp eq i32 %41, 1
br i1 %42, label %51, label %43
43: ; preds = %38
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%45 = load ptr, ptr %2, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load ptr, ptr %2, align 8
%49 = call i32 @cba_free(ptr noundef %48)
br label %50
50: ; preds = %47, %43
store i32 0, ptr %1, align 4
br label %66
51: ; preds = %38
br label %52
52: ; preds = %51
br label %53
53: ; preds = %52
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp slt i32 %56, 100
br i1 %57, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %0
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%60 = load ptr, ptr %2, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = load ptr, ptr %2, align 8
%64 = call i32 @cba_free(ptr noundef %63)
br label %65
65: ; preds = %62, %58
store i32 1, ptr %1, align 4
br label %66
66: ; preds = %65, %50, %35, %20
%67 = load i32, ptr %1, align 4
ret i32 %67
}
declare ptr @cba_alloc(i32 noundef) #1
declare i32 @cba_get(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @cba_free(ptr noundef) #1
declare i64 @cba_set(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/tmpas3c7_e2.c'
source_filename = "/tmp/tmpas3c7_e2.c"
target datalayout = "e-m:e-p270: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/tmpas3c7_e2.c"
target datalayout = "e-m:e-p270: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/tmpw813cqid.c'
source_filename = "/tmp/tmpw813cqid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @ft_strlen(ptr noundef %5)
%7 = add nsw i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
br label %11
11: ; preds = %16, %1
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %11
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
%19 = load i8, ptr %17, align 1
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
store i8 %19, ptr %20, align 1
br label %11, !llvm.loop !6
22: ; preds = %11
%23 = load ptr, ptr %4, align 8
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %3, align 8
ret ptr %24
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ft_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw813cqid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @ft_strlen(ptr noundef %5)
%7 = add nsw i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
%18 = load i8, ptr %16, align 1
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
store i8 %18, ptr %19, align 1
%21 = load ptr, ptr %2, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %25
25: ; preds = %._crit_edge, %1
%26 = load ptr, ptr %4, align 8
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ft_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx_h6014o.c'
source_filename = "/tmp/tmpx_h6014o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 {
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i32, align 4
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
store ptr %0, ptr %18, align 8
store ptr %1, ptr %19, align 8
store ptr %2, ptr %20, align 8
store ptr %3, ptr %21, align 8
store i32 %4, ptr %22, align 4
store i32 %5, ptr %23, align 4
store i32 %6, ptr %24, align 4
store ptr %7, ptr %25, align 8
store ptr %8, ptr %26, align 8
store ptr %9, ptr %27, align 8
store ptr %10, ptr %28, align 8
store ptr %11, ptr %29, align 8
store ptr %12, ptr %30, align 8
store i32 %13, ptr %31, align 4
store ptr %14, ptr %32, align 8
store ptr %15, ptr %33, align 8
store ptr %16, ptr %34, align 8
%38 = load i32, ptr %22, align 4
%39 = call ptr @m_new(i32 noundef %38, i32 noundef 1)
store ptr %39, ptr %37, align 8
%40 = load i32, ptr %22, align 4
%41 = load i32, ptr %22, align 4
%42 = call ptr @m_new(i32 noundef %40, i32 noundef %41)
store ptr %42, ptr %36, align 8
%43 = load ptr, ptr %37, align 8
%44 = load ptr, ptr %27, align 8
%45 = load i32, ptr %22, align 4
%46 = call i32 @m_copy(ptr noundef %43, ptr noundef %44, i32 noundef %45, i32 noundef 1)
%47 = load ptr, ptr %36, align 8
%48 = load ptr, ptr %28, align 8
%49 = load i32, ptr %22, align 4
%50 = load i32, ptr %22, align 4
%51 = call i32 @m_copy(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50)
store i32 0, ptr %35, align 4
br label %52
52: ; preds = %122, %17
%53 = load i32, ptr %35, align 4
%54 = load i32, ptr %31, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %125
56: ; preds = %52
%57 = load ptr, ptr %18, align 8
%58 = load ptr, ptr %19, align 8
%59 = load ptr, ptr %20, align 8
%60 = load ptr, ptr %21, align 8
%61 = load i32, ptr %22, align 4
%62 = load i32, ptr %23, align 4
%63 = load i32, ptr %24, align 4
%64 = load ptr, ptr %25, align 8
%65 = load i32, ptr %35, align 4
%66 = load i32, ptr %24, align 4
%67 = mul nsw i32 %65, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
%70 = load ptr, ptr %26, align 8
%71 = load i32, ptr %35, align 4
%72 = load i32, ptr %23, align 4
%73 = mul nsw i32 %71, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %70, i64 %74
%76 = load ptr, ptr %37, align 8
%77 = load ptr, ptr %36, align 8
%78 = load ptr, ptr %29, align 8
%79 = load ptr, ptr %30, align 8
%80 = load ptr, ptr %32, align 8
%81 = load i32, ptr %35, align 4
%82 = load i32, ptr %22, align 4
%83 = mul nsw i32 %81, %82
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %80, i64 %84
%86 = load ptr, ptr %33, align 8
%87 = load i32, ptr %35, align 4
%88 = load i32, ptr %24, align 4
%89 = mul nsw i32 %87, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %86, i64 %90
%92 = load ptr, ptr %34, align 8
%93 = load i32, ptr %35, align 4
%94 = load i32, ptr %22, align 4
%95 = mul nsw i32 %93, %94
%96 = load i32, ptr %22, align 4
%97 = mul nsw i32 %95, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %92, i64 %98
%100 = call i32 @tick(ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63, ptr noundef %69, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %85, ptr noundef %91, ptr noundef %99)
%101 = load ptr, ptr %37, align 8
%102 = load ptr, ptr %32, align 8
%103 = load i32, ptr %35, align 4
%104 = load i32, ptr %22, align 4
%105 = mul nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %102, i64 %106
%108 = load i32, ptr %22, align 4
%109 = call i32 @m_copy(ptr noundef %101, ptr noundef %107, i32 noundef %108, i32 noundef 1)
%110 = load ptr, ptr %36, align 8
%111 = load ptr, ptr %34, align 8
%112 = load i32, ptr %35, align 4
%113 = load i32, ptr %22, align 4
%114 = mul nsw i32 %112, %113
%115 = load i32, ptr %22, align 4
%116 = mul nsw i32 %114, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %111, i64 %117
%119 = load i32, ptr %22, align 4
%120 = load i32, ptr %22, align 4
%121 = call i32 @m_copy(ptr noundef %110, ptr noundef %118, i32 noundef %119, i32 noundef %120)
br label %122
122: ; preds = %56
%123 = load i32, ptr %35, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %35, align 4
br label %52, !llvm.loop !6
125: ; preds = %52
ret void
}
declare ptr @m_new(i32 noundef, i32 noundef) #1
declare i32 @m_copy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tick(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_h6014o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 {
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i32, align 4
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
store ptr %0, ptr %18, align 8
store ptr %1, ptr %19, align 8
store ptr %2, ptr %20, align 8
store ptr %3, ptr %21, align 8
store i32 %4, ptr %22, align 4
store i32 %5, ptr %23, align 4
store i32 %6, ptr %24, align 4
store ptr %7, ptr %25, align 8
store ptr %8, ptr %26, align 8
store ptr %9, ptr %27, align 8
store ptr %10, ptr %28, align 8
store ptr %11, ptr %29, align 8
store ptr %12, ptr %30, align 8
store i32 %13, ptr %31, align 4
store ptr %14, ptr %32, align 8
store ptr %15, ptr %33, align 8
store ptr %16, ptr %34, align 8
%38 = load i32, ptr %22, align 4
%39 = call ptr @m_new(i32 noundef %38, i32 noundef 1)
store ptr %39, ptr %37, align 8
%40 = load i32, ptr %22, align 4
%41 = load i32, ptr %22, align 4
%42 = call ptr @m_new(i32 noundef %40, i32 noundef %41)
store ptr %42, ptr %36, align 8
%43 = load ptr, ptr %37, align 8
%44 = load ptr, ptr %27, align 8
%45 = load i32, ptr %22, align 4
%46 = call i32 @m_copy(ptr noundef %43, ptr noundef %44, i32 noundef %45, i32 noundef 1)
%47 = load ptr, ptr %36, align 8
%48 = load ptr, ptr %28, align 8
%49 = load i32, ptr %22, align 4
%50 = load i32, ptr %22, align 4
%51 = call i32 @m_copy(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50)
store i32 0, ptr %35, align 4
%52 = load i32, ptr %35, align 4
%53 = load i32, ptr %31, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph, label %127
.lr.ph: ; preds = %17
br label %55
55: ; preds = %.lr.ph, %121
%56 = load ptr, ptr %18, align 8
%57 = load ptr, ptr %19, align 8
%58 = load ptr, ptr %20, align 8
%59 = load ptr, ptr %21, align 8
%60 = load i32, ptr %22, align 4
%61 = load i32, ptr %23, align 4
%62 = load i32, ptr %24, align 4
%63 = load ptr, ptr %25, align 8
%64 = load i32, ptr %35, align 4
%65 = load i32, ptr %24, align 4
%66 = mul nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %63, i64 %67
%69 = load ptr, ptr %26, align 8
%70 = load i32, ptr %35, align 4
%71 = load i32, ptr %23, align 4
%72 = mul nsw i32 %70, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %69, i64 %73
%75 = load ptr, ptr %37, align 8
%76 = load ptr, ptr %36, align 8
%77 = load ptr, ptr %29, align 8
%78 = load ptr, ptr %30, align 8
%79 = load ptr, ptr %32, align 8
%80 = load i32, ptr %35, align 4
%81 = load i32, ptr %22, align 4
%82 = mul nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %79, i64 %83
%85 = load ptr, ptr %33, align 8
%86 = load i32, ptr %35, align 4
%87 = load i32, ptr %24, align 4
%88 = mul nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %85, i64 %89
%91 = load ptr, ptr %34, align 8
%92 = load i32, ptr %35, align 4
%93 = load i32, ptr %22, align 4
%94 = mul nsw i32 %92, %93
%95 = load i32, ptr %22, align 4
%96 = mul nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %91, i64 %97
%99 = call i32 @tick(ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62, ptr noundef %68, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %84, ptr noundef %90, ptr noundef %98)
%100 = load ptr, ptr %37, align 8
%101 = load ptr, ptr %32, align 8
%102 = load i32, ptr %35, align 4
%103 = load i32, ptr %22, align 4
%104 = mul nsw i32 %102, %103
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %101, i64 %105
%107 = load i32, ptr %22, align 4
%108 = call i32 @m_copy(ptr noundef %100, ptr noundef %106, i32 noundef %107, i32 noundef 1)
%109 = load ptr, ptr %36, align 8
%110 = load ptr, ptr %34, align 8
%111 = load i32, ptr %35, align 4
%112 = load i32, ptr %22, align 4
%113 = mul nsw i32 %111, %112
%114 = load i32, ptr %22, align 4
%115 = mul nsw i32 %113, %114
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %110, i64 %116
%118 = load i32, ptr %22, align 4
%119 = load i32, ptr %22, align 4
%120 = call i32 @m_copy(ptr noundef %109, ptr noundef %117, i32 noundef %118, i32 noundef %119)
br label %121
121: ; preds = %55
%122 = load i32, ptr %35, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %35, align 4
%124 = load i32, ptr %35, align 4
%125 = load i32, ptr %31, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %121
br label %127
127: ; preds = %._crit_edge, %17
ret void
}
declare ptr @m_new(i32 noundef, i32 noundef) #1
declare i32 @m_copy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tick(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfojfy_1b.c'
source_filename = "/tmp/tmpfojfy_1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_ISGID = dso_local global i16 0, align 2
@S_ISUID = dso_local global i16 0, align 2
@S_ISVTX = dso_local global i16 0, align 2
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfojfy_1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_ISGID = dso_local global i16 0, align 2
@S_ISUID = dso_local global i16 0, align 2
@S_ISVTX = dso_local global i16 0, align 2
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpio20j85w.c'
source_filename = "/tmp/tmpio20j85w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ms2tv(i32 noundef %0) #0 {
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sdiv i32 %4, 1000
%6 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
store i32 %5, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = srem i32 %7, 1000
%9 = mul nsw i32 %8, 1000
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load i64, ptr %2, align 4
ret i64 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpio20j85w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ms2tv(i32 noundef %0) #0 {
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sdiv i32 %4, 1000
%6 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
store i32 %5, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = srem i32 %7, 1000
%9 = mul nsw i32 %8, 1000
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load i64, ptr %2, align 4
ret i64 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfvejpva0.c'
source_filename = "/tmp/tmpfvejpva0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"name must be unique within context: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uniqueName(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @lookupLocal(ptr noundef %5, ptr noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @yyserror(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %9, %2
ret void
}
declare i64 @lookupLocal(ptr noundef, ptr noundef) #1
declare i32 @yyserror(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/tmpfvejpva0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"name must be unique within context: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uniqueName(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @lookupLocal(ptr noundef %5, ptr noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @yyserror(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %9, %2
ret void
}
declare i64 @lookupLocal(ptr noundef, ptr noundef) #1
declare i32 @yyserror(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/tmp28sud6p4.c'
source_filename = "/tmp/tmp28sud6p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Assertion failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @log2_ceil(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 1
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str)
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %4
br label %12
12: ; preds = %11
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %20, %12
%14 = load i32, ptr %3, align 4
%15 = shl i32 1, %14
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %15, %16
br i1 %17, label %18, label %19
18: ; preds = %13
br label %23
19: ; preds = %13
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %13
23: ; preds = %18
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp28sud6p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Assertion failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @log2_ceil(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 1
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str)
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %4
br label %12
12: ; preds = %11
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = shl i32 1, %13
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %17, label %.lr.ph
.lr.ph: ; preds = %12
br label %18
._crit_edge: ; preds = %19
br label %17
17: ; preds = %._crit_edge, %12
br label %26
18: ; preds = %.lr.ph, %19
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = shl i32 1, %22
%24 = load i32, ptr %2, align 4
%25 = icmp sge i32 %23, %24
br i1 %25, label %._crit_edge, label %18
26: ; preds = %17
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpga4w4otb.c'
source_filename = "/tmp/tmpga4w4otb.c"
target datalayout = "e-m:e-p270: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/tmpga4w4otb.c"
target datalayout = "e-m:e-p270: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/tmps0hdn_uo.c'
source_filename = "/tmp/tmps0hdn_uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myinit() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%2 = load i32, ptr @GL_FLAT, align 4
%3 = call i32 @glShadeModel(i32 noundef %2)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glShadeModel(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/tmps0hdn_uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myinit() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%2 = load i32, ptr @GL_FLAT, align 4
%3 = call i32 @glShadeModel(i32 noundef %2)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glShadeModel(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/tmpdol1tio5.c'
source_filename = "/tmp/tmpdol1tio5.c"
target datalayout = "e-m:e-p270: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/tmpdol1tio5.c"
target datalayout = "e-m:e-p270: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/tmpqvr3ebsb.c'
source_filename = "/tmp/tmpqvr3ebsb.c"
target datalayout = "e-m:e-p270: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/tmpqvr3ebsb.c"
target datalayout = "e-m:e-p270: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/tmp6xrw_rn2.c'
source_filename = "/tmp/tmp6xrw_rn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @domsearch(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %52
13: ; preds = %3
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %7, align 8
store ptr %14, ptr %8, align 8
br label %15
15: ; preds = %51, %13
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 @mysearch(ptr noundef %16, i64 noundef %17, ptr noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %15
store i32 1, ptr %4, align 4
br label %52
22: ; preds = %15
br label %23
23: ; preds = %46, %22
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %23
%29 = load i32, ptr %9, align 4
%30 = icmp sge i32 %29, 10000
br i1 %30, label %31, label %32
31: ; preds = %28, %23
store i32 0, ptr %4, align 4
br label %52
32: ; preds = %28
%33 = load ptr, ptr %8, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 46
br i1 %36, label %37, label %46
37: ; preds = %32
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
%40 = icmp slt i32 %39, 10000
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %8, align 8
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
br label %51
46: ; preds = %37, %32
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %8, align 8
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
br label %23
51: ; preds = %41
br label %15
52: ; preds = %31, %21, %12
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @mysearch(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/tmp6xrw_rn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @domsearch(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %59
13: ; preds = %3
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %7, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @mysearch(ptr noundef %15, i64 noundef %16, ptr noundef %17)
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %.lr.ph4
.lr.ph4: ; preds = %13
br label %21
._crit_edge5: ; preds = %53
br label %20
20: ; preds = %._crit_edge5, %13
store i32 1, ptr %4, align 4
br label %59
21: ; preds = %.lr.ph4, %53
%22 = load ptr, ptr %8, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %._crit_edge, label %.lr.ph
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %44
%27 = load i32, ptr %9, align 4
%28 = icmp sge i32 %27, 10000
br i1 %28, label %._crit_edge1, label %30
._crit_edge: ; preds = %21
br label %29
._crit_edge1: ; preds = %26
br label %29
._crit_edge2: ; preds = %44
br label %29
29: ; preds = %._crit_edge2, %._crit_edge1, %._crit_edge
store i32 0, ptr %4, align 4
br label %59
30: ; preds = %26
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 46
br i1 %34, label %35, label %44
35: ; preds = %30
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
%38 = icmp slt i32 %37, 10000
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
br label %53
44: ; preds = %35, %30
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %8, align 8
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 0
br i1 %52, label %._crit_edge2, label %26
53: ; preds = %39
%54 = load ptr, ptr %5, align 8
%55 = load i64, ptr %6, align 8
%56 = load ptr, ptr %8, align 8
%57 = call i32 @mysearch(ptr noundef %54, i64 noundef %55, ptr noundef %56)
%58 = icmp eq i32 %57, 1
br i1 %58, label %._crit_edge5, label %21
59: ; preds = %29, %20, %12
%60 = load i32, ptr %4, align 4
ret i32 %60
}
declare i32 @mysearch(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/tmpadyhgyt3.c'
source_filename = "/tmp/tmpadyhgyt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = alloca [4000 x i8], align 16
%2 = getelementptr inbounds [4000 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @bar(ptr noundef %2)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadyhgyt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = alloca [4000 x i8], align 16
%2 = getelementptr inbounds [4000 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @bar(ptr noundef %2)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_dupefrt.c'
source_filename = "/tmp/tmp_dupefrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"f 0: a = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"f 1: a = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
ret i32 %7
}
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/tmp_dupefrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"f 0: a = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"f 1: a = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
ret i32 %7
}
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/tmp9vmshod_.c'
source_filename = "/tmp/tmp9vmshod_.c"
target datalayout = "e-m:e-p270: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/tmp9vmshod_.c"
target datalayout = "e-m:e-p270: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/tmp9sv93q33.c'
source_filename = "/tmp/tmp9sv93q33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [78 x i8] c"|==========================================================================|\0A\00", align 1
@.str.2 = private unnamed_addr constant [78 x i8] c"|Pin# | NAME (Raspberry Pi GPIO Header A+,B+,Zero, Pi2) NAME | Pin#|\0A\00", align 1
@.str.3 = private unnamed_addr constant [78 x i8] c"|--------------------------------------------------------------------------|\0A\00", align 1
@.str.4 = private unnamed_addr constant [96 x i8] c"| 01 3.3v DC Power [\1B[31m\E2\96\A1|\1B[31m\E2\8A\99\1B[0m] DC Power 5v 02 |\0A\00", align 1
@.str.5 = private unnamed_addr constant [100 x i8] c"| 03 GPIO02 (SDA1,I2C) [\1B[34m\E2\8A\99\1B[0m|\1B[31m\E2\8A\99\1B[0m] DC Power 5v 04 |\0A\00", align 1
@.str.6 = private unnamed_addr constant [91 x i8] c"| 05 GPIO03 (SCL1,I2C) [\1B[34m\E2\8A\99\1B[0m|\E2\8A\99] Ground 06 |\0A\00", align 1
@.str.7 = private unnamed_addr constant [100 x i8] c"| 07 GPIO04 (GPIO_GCLK) [\1B[32m\E2\8A\99\1B[0m|\1B[33m\E2\8A\99\1B[0m] (TXD0) GPIO14 08 |\0A\00", align 1
@.str.8 = private unnamed_addr constant [91 x i8] c"| 09 Ground [\E2\8A\99|\1B[33m\E2\8A\99\1B[0m] (RXD0) GPIO15 10 |\0A\00", align 1
@.str.9 = private unnamed_addr constant [100 x i8] c"| 11 GPIO17 (GPIO_GEN0) [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN1) GPIO18 12 |\0A\00", align 1
@.str.10 = private unnamed_addr constant [91 x i8] c"| 13 GPIO27 (GPIO_GEN2) [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 14 |\0A\00", align 1
@.str.11 = private unnamed_addr constant [100 x i8] c"| 15 GPIO22 (GPIO_GEN3) [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN4) GPIO23 16 |\0A\00", align 1
@.str.12 = private unnamed_addr constant [100 x i8] c"| 17 3.3v DC Power [\1B[31m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN5) GPIO24 18 |\0A\00", align 1
@.str.13 = private unnamed_addr constant [91 x i8] c"| 19 GPIO10 (SPI_MOSI) [\1B[35m\E2\8A\99\1B[0m|\E2\8A\99] Ground 20 |\0A\00", align 1
@.str.14 = private unnamed_addr constant [100 x i8] c"| 21 GPIO09 (SPI_MISO) [\1B[35m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN6) GPIO25 22 |\0A\00", align 1
@.str.15 = private unnamed_addr constant [100 x i8] c"| 23 GPIO11 (SPI_CLK) [\1B[35m\E2\8A\99\1B[0m|\1B[35m\E2\8A\99\1B[0m] (SPI_CE0_N) GPIO08 24 |\0A\00", align 1
@.str.16 = private unnamed_addr constant [91 x i8] c"| 25 Ground [\E2\8A\99|\1B[35m\E2\8A\99\1B[0m] (SPI_CE1_N) GPIO07 26 |\0A\00", align 1
@.str.17 = private unnamed_addr constant [100 x i8] c"| 27 ID_SD (I2C ID EEPROM) [\1B[33m\E2\8A\99\1B[0m|\1B[33m\E2\8A\99\1B[0m] (I2C ID EEPROM) ID_SC 28 |\0A\00", align 1
@.str.18 = private unnamed_addr constant [91 x i8] c"| 29 GPIO05 [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 30 |\0A\00", align 1
@.str.19 = private unnamed_addr constant [100 x i8] c"| 31 GPIO06 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO12 32 |\0A\00", align 1
@.str.20 = private unnamed_addr constant [91 x i8] c"| 33 GPIO13 [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 34 |\0A\00", align 1
@.str.21 = private unnamed_addr constant [100 x i8] c"| 35 GPIO19 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO16 36 |\0A\00", align 1
@.str.22 = private unnamed_addr constant [100 x i8] c"| 37 GPIO26 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO20 38 |\0A\00", align 1
@.str.23 = private unnamed_addr constant [91 x i8] c"| 39 Ground [\E2\8A\99|\1B[32m\E2\8A\99\1B[0m] GPIO21 40 |\0A\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @append(ptr noundef %3, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @append(ptr noundef %5, ptr noundef @.str.2)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @append(ptr noundef %7, ptr noundef @.str.3)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @append(ptr noundef %9, ptr noundef @.str.4)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @append(ptr noundef %11, ptr noundef @.str.5)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @append(ptr noundef %13, ptr noundef @.str.6)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = call ptr @append(ptr noundef %15, ptr noundef @.str.7)
store ptr %16, ptr %2, align 8
%17 = load ptr, ptr %2, align 8
%18 = call ptr @append(ptr noundef %17, ptr noundef @.str.8)
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = call ptr @append(ptr noundef %19, ptr noundef @.str.9)
store ptr %20, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = call ptr @append(ptr noundef %21, ptr noundef @.str.10)
store ptr %22, ptr %2, align 8
%23 = load ptr, ptr %2, align 8
%24 = call ptr @append(ptr noundef %23, ptr noundef @.str.11)
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, align 8
%26 = call ptr @append(ptr noundef %25, ptr noundef @.str.12)
store ptr %26, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = call ptr @append(ptr noundef %27, ptr noundef @.str.13)
store ptr %28, ptr %2, align 8
%29 = load ptr, ptr %2, align 8
%30 = call ptr @append(ptr noundef %29, ptr noundef @.str.14)
store ptr %30, ptr %2, align 8
%31 = load ptr, ptr %2, align 8
%32 = call ptr @append(ptr noundef %31, ptr noundef @.str.15)
store ptr %32, ptr %2, align 8
%33 = load ptr, ptr %2, align 8
%34 = call ptr @append(ptr noundef %33, ptr noundef @.str.16)
store ptr %34, ptr %2, align 8
%35 = load ptr, ptr %2, align 8
%36 = call ptr @append(ptr noundef %35, ptr noundef @.str.17)
store ptr %36, ptr %2, align 8
%37 = load ptr, ptr %2, align 8
%38 = call ptr @append(ptr noundef %37, ptr noundef @.str.18)
store ptr %38, ptr %2, align 8
%39 = load ptr, ptr %2, align 8
%40 = call ptr @append(ptr noundef %39, ptr noundef @.str.19)
store ptr %40, ptr %2, align 8
%41 = load ptr, ptr %2, align 8
%42 = call ptr @append(ptr noundef %41, ptr noundef @.str.20)
store ptr %42, ptr %2, align 8
%43 = load ptr, ptr %2, align 8
%44 = call ptr @append(ptr noundef %43, ptr noundef @.str.21)
store ptr %44, ptr %2, align 8
%45 = load ptr, ptr %2, align 8
%46 = call ptr @append(ptr noundef %45, ptr noundef @.str.22)
store ptr %46, ptr %2, align 8
%47 = load ptr, ptr %2, align 8
%48 = call ptr @append(ptr noundef %47, ptr noundef @.str.23)
store ptr %48, ptr %2, align 8
%49 = load ptr, ptr %2, align 8
%50 = call ptr @append(ptr noundef %49, ptr noundef @.str.1)
store ptr %50, ptr %2, align 8
%51 = load ptr, ptr %2, align 8
%52 = call i32 @printf(ptr noundef @.str.24, ptr noundef %51)
ret i32 0
}
declare ptr @append(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9sv93q33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [78 x i8] c"|==========================================================================|\0A\00", align 1
@.str.2 = private unnamed_addr constant [78 x i8] c"|Pin# | NAME (Raspberry Pi GPIO Header A+,B+,Zero, Pi2) NAME | Pin#|\0A\00", align 1
@.str.3 = private unnamed_addr constant [78 x i8] c"|--------------------------------------------------------------------------|\0A\00", align 1
@.str.4 = private unnamed_addr constant [96 x i8] c"| 01 3.3v DC Power [\1B[31m\E2\96\A1|\1B[31m\E2\8A\99\1B[0m] DC Power 5v 02 |\0A\00", align 1
@.str.5 = private unnamed_addr constant [100 x i8] c"| 03 GPIO02 (SDA1,I2C) [\1B[34m\E2\8A\99\1B[0m|\1B[31m\E2\8A\99\1B[0m] DC Power 5v 04 |\0A\00", align 1
@.str.6 = private unnamed_addr constant [91 x i8] c"| 05 GPIO03 (SCL1,I2C) [\1B[34m\E2\8A\99\1B[0m|\E2\8A\99] Ground 06 |\0A\00", align 1
@.str.7 = private unnamed_addr constant [100 x i8] c"| 07 GPIO04 (GPIO_GCLK) [\1B[32m\E2\8A\99\1B[0m|\1B[33m\E2\8A\99\1B[0m] (TXD0) GPIO14 08 |\0A\00", align 1
@.str.8 = private unnamed_addr constant [91 x i8] c"| 09 Ground [\E2\8A\99|\1B[33m\E2\8A\99\1B[0m] (RXD0) GPIO15 10 |\0A\00", align 1
@.str.9 = private unnamed_addr constant [100 x i8] c"| 11 GPIO17 (GPIO_GEN0) [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN1) GPIO18 12 |\0A\00", align 1
@.str.10 = private unnamed_addr constant [91 x i8] c"| 13 GPIO27 (GPIO_GEN2) [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 14 |\0A\00", align 1
@.str.11 = private unnamed_addr constant [100 x i8] c"| 15 GPIO22 (GPIO_GEN3) [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN4) GPIO23 16 |\0A\00", align 1
@.str.12 = private unnamed_addr constant [100 x i8] c"| 17 3.3v DC Power [\1B[31m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN5) GPIO24 18 |\0A\00", align 1
@.str.13 = private unnamed_addr constant [91 x i8] c"| 19 GPIO10 (SPI_MOSI) [\1B[35m\E2\8A\99\1B[0m|\E2\8A\99] Ground 20 |\0A\00", align 1
@.str.14 = private unnamed_addr constant [100 x i8] c"| 21 GPIO09 (SPI_MISO) [\1B[35m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] (GPIO_GEN6) GPIO25 22 |\0A\00", align 1
@.str.15 = private unnamed_addr constant [100 x i8] c"| 23 GPIO11 (SPI_CLK) [\1B[35m\E2\8A\99\1B[0m|\1B[35m\E2\8A\99\1B[0m] (SPI_CE0_N) GPIO08 24 |\0A\00", align 1
@.str.16 = private unnamed_addr constant [91 x i8] c"| 25 Ground [\E2\8A\99|\1B[35m\E2\8A\99\1B[0m] (SPI_CE1_N) GPIO07 26 |\0A\00", align 1
@.str.17 = private unnamed_addr constant [100 x i8] c"| 27 ID_SD (I2C ID EEPROM) [\1B[33m\E2\8A\99\1B[0m|\1B[33m\E2\8A\99\1B[0m] (I2C ID EEPROM) ID_SC 28 |\0A\00", align 1
@.str.18 = private unnamed_addr constant [91 x i8] c"| 29 GPIO05 [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 30 |\0A\00", align 1
@.str.19 = private unnamed_addr constant [100 x i8] c"| 31 GPIO06 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO12 32 |\0A\00", align 1
@.str.20 = private unnamed_addr constant [91 x i8] c"| 33 GPIO13 [\1B[32m\E2\8A\99\1B[0m|\E2\8A\99] Ground 34 |\0A\00", align 1
@.str.21 = private unnamed_addr constant [100 x i8] c"| 35 GPIO19 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO16 36 |\0A\00", align 1
@.str.22 = private unnamed_addr constant [100 x i8] c"| 37 GPIO26 [\1B[32m\E2\8A\99\1B[0m|\1B[32m\E2\8A\99\1B[0m] GPIO20 38 |\0A\00", align 1
@.str.23 = private unnamed_addr constant [91 x i8] c"| 39 Ground [\E2\8A\99|\1B[32m\E2\8A\99\1B[0m] GPIO21 40 |\0A\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @append(ptr noundef %3, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @append(ptr noundef %5, ptr noundef @.str.2)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @append(ptr noundef %7, ptr noundef @.str.3)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @append(ptr noundef %9, ptr noundef @.str.4)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call ptr @append(ptr noundef %11, ptr noundef @.str.5)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @append(ptr noundef %13, ptr noundef @.str.6)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = call ptr @append(ptr noundef %15, ptr noundef @.str.7)
store ptr %16, ptr %2, align 8
%17 = load ptr, ptr %2, align 8
%18 = call ptr @append(ptr noundef %17, ptr noundef @.str.8)
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = call ptr @append(ptr noundef %19, ptr noundef @.str.9)
store ptr %20, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = call ptr @append(ptr noundef %21, ptr noundef @.str.10)
store ptr %22, ptr %2, align 8
%23 = load ptr, ptr %2, align 8
%24 = call ptr @append(ptr noundef %23, ptr noundef @.str.11)
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, align 8
%26 = call ptr @append(ptr noundef %25, ptr noundef @.str.12)
store ptr %26, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = call ptr @append(ptr noundef %27, ptr noundef @.str.13)
store ptr %28, ptr %2, align 8
%29 = load ptr, ptr %2, align 8
%30 = call ptr @append(ptr noundef %29, ptr noundef @.str.14)
store ptr %30, ptr %2, align 8
%31 = load ptr, ptr %2, align 8
%32 = call ptr @append(ptr noundef %31, ptr noundef @.str.15)
store ptr %32, ptr %2, align 8
%33 = load ptr, ptr %2, align 8
%34 = call ptr @append(ptr noundef %33, ptr noundef @.str.16)
store ptr %34, ptr %2, align 8
%35 = load ptr, ptr %2, align 8
%36 = call ptr @append(ptr noundef %35, ptr noundef @.str.17)
store ptr %36, ptr %2, align 8
%37 = load ptr, ptr %2, align 8
%38 = call ptr @append(ptr noundef %37, ptr noundef @.str.18)
store ptr %38, ptr %2, align 8
%39 = load ptr, ptr %2, align 8
%40 = call ptr @append(ptr noundef %39, ptr noundef @.str.19)
store ptr %40, ptr %2, align 8
%41 = load ptr, ptr %2, align 8
%42 = call ptr @append(ptr noundef %41, ptr noundef @.str.20)
store ptr %42, ptr %2, align 8
%43 = load ptr, ptr %2, align 8
%44 = call ptr @append(ptr noundef %43, ptr noundef @.str.21)
store ptr %44, ptr %2, align 8
%45 = load ptr, ptr %2, align 8
%46 = call ptr @append(ptr noundef %45, ptr noundef @.str.22)
store ptr %46, ptr %2, align 8
%47 = load ptr, ptr %2, align 8
%48 = call ptr @append(ptr noundef %47, ptr noundef @.str.23)
store ptr %48, ptr %2, align 8
%49 = load ptr, ptr %2, align 8
%50 = call ptr @append(ptr noundef %49, ptr noundef @.str.1)
store ptr %50, ptr %2, align 8
%51 = load ptr, ptr %2, align 8
%52 = call i32 @printf(ptr noundef @.str.24, ptr noundef %51)
ret i32 0
}
declare ptr @append(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk40nma9e.c'
source_filename = "/tmp/tmpk40nma9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ia_rnd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @i_rnd(i32 noundef %5)
ret i32 %6
}
declare i32 @i_rnd(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/tmpk40nma9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ia_rnd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @i_rnd(i32 noundef %5)
ret i32 %6
}
declare i32 @i_rnd(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/tmpyklea3t0.c'
source_filename = "/tmp/tmpyklea3t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyklea3t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp71n_x61y.c'
source_filename = "/tmp/tmp71n_x61y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dimensions:%i\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"layer %i size:%lld\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"count %lld, starting values:\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%.10f \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"count %lld, ending values:\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [32 x double], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
br label %12
12: ; preds = %93, %2
%13 = load i32, ptr %7, align 4
%14 = icmp sle i32 %13, 32
br i1 %14, label %15, label %96
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
store i32 0, ptr %8, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = call i32 @sumCurrentAndPriorLayers(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = sub nsw i32 %21, 0
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %78, %15
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = icmp sle i64 %25, 4294967296
br i1 %26, label %27, label %91
27: ; preds = %23
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %32, %33
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %9, align 4
%39 = sub nsw i32 %37, %38
%40 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 0
%41 = call i32 @generateValues(i32 noundef %36, i32 noundef %39, ptr noundef %40)
store i32 0, ptr %6, align 4
br label %42
42: ; preds = %52, %27
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 %48
%50 = load double, ptr %49, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %50)
br label %52
52: ; preds = %46
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
br label %42, !llvm.loop !6
55: ; preds = %42
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%57 = load i32, ptr %10, align 4
%58 = sub nsw i32 %57, 1
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %10, align 4
%62 = sub nsw i32 %61, 1
%63 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 0
%64 = call i32 @generateValues(i32 noundef %60, i32 noundef %62, ptr noundef %63)
store i32 0, ptr %6, align 4
br label %65
65: ; preds = %75, %55
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 %71
%73 = load double, ptr %72, align 8
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %73)
br label %75
75: ; preds = %69
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %65, !llvm.loop !8
78: ; preds = %65
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %8, align 4
%84 = call i32 @sumCurrentAndPriorLayers(i32 noundef %82, i32 noundef %83)
store i32 %84, ptr %10, align 4
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %8, align 4
%88 = sub nsw i32 %87, 1
%89 = call i32 @sumCurrentAndPriorLayers(i32 noundef %86, i32 noundef %88)
%90 = sub nsw i32 %85, %89
store i32 %90, ptr %9, align 4
br label %23, !llvm.loop !9
91: ; preds = %23
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %93
93: ; preds = %91
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %7, align 4
br label %12, !llvm.loop !10
96: ; preds = %12
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sumCurrentAndPriorLayers(i32 noundef, i32 noundef) #1
declare i32 @generateValues(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp71n_x61y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dimensions:%i\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"layer %i size:%lld\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"count %lld, starting values:\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%.10f \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"count %lld, ending values:\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [32 x double], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp sle i32 %12, 32
br i1 %13, label %.lr.ph5, label %102
.lr.ph5: ; preds = %2
br label %14
14: ; preds = %.lr.ph5, %97
%15 = load i32, ptr %7, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
store i32 0, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = call i32 @sumCurrentAndPriorLayers(i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %20, 0
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
br label %24
24: ; preds = %14, %79
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %34, %35
%37 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 0
%38 = call i32 @generateValues(i32 noundef %33, i32 noundef %36, ptr noundef %37)
store i32 0, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %54
.lr.ph: ; preds = %24
br label %42
42: ; preds = %.lr.ph, %48
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 %44
%46 = load double, ptr %45, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %46)
br label %48
48: ; preds = %42
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %24
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%56 = load i32, ptr %10, align 4
%57 = sub nsw i32 %56, 1
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %57)
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %60, 1
%62 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 0
%63 = call i32 @generateValues(i32 noundef %59, i32 noundef %61, ptr noundef %62)
store i32 0, ptr %6, align 4
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph2, label %79
.lr.ph2: ; preds = %54
br label %67
67: ; preds = %.lr.ph2, %73
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [32 x double], ptr %11, i64 0, i64 %69
%71 = load double, ptr %70, align 8
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %71)
br label %73
73: ; preds = %67
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %7, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %79
79: ; preds = %._crit_edge3, %54
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %8, align 4
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %8, align 4
%85 = call i32 @sumCurrentAndPriorLayers(i32 noundef %83, i32 noundef %84)
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = load i32, ptr %7, align 4
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %88, 1
%90 = call i32 @sumCurrentAndPriorLayers(i32 noundef %87, i32 noundef %89)
%91 = sub nsw i32 %86, %90
store i32 %91, ptr %9, align 4
%92 = load i32, ptr %10, align 4
%93 = sext i32 %92 to i64
%94 = icmp sle i64 %93, 4294967296
br i1 %94, label %24, label %95, !llvm.loop !9
95: ; preds = %79
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %97
97: ; preds = %95
%98 = load i32, ptr %7, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %7, align 4
%100 = load i32, ptr %7, align 4
%101 = icmp sle i32 %100, 32
br i1 %101, label %14, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %97
br label %102
102: ; preds = %._crit_edge6, %2
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sumCurrentAndPriorLayers(i32 noundef, i32 noundef) #1
declare i32 @generateValues(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpqsy7d6ne.c'
source_filename = "/tmp/tmpqsy7d6ne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"bad args in zrhqr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zrhqr(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = call ptr @matrix(i32 noundef 1, i32 noundef 50, i32 noundef 1, i32 noundef 50)
store ptr %14, ptr %11, align 8
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 50
br i1 %16, label %25, label %17
17: ; preds = %4
%18 = load ptr, ptr %5, 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 %27
25: ; preds = %17, %4
%26 = call i32 @nrerror(ptr noundef @.str)
br label %27
27: ; preds = %25, %17
store i32 1, ptr %10, align 4
br label %28
28: ; preds = %84, %27
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %87
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %10, align 4
%36 = sub nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %33, i64 %37
%39 = load float, ptr %38, align 4
%40 = fneg float %39
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
%45 = load float, ptr %44, align 4
%46 = fdiv float %40, %45
%47 = load ptr, ptr %11, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %49, i64 %51
store float %46, ptr %52, align 4
store i32 2, ptr %9, align 4
br label %53
53: ; preds = %66, %32
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %57, label %69
57: ; preds = %53
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = load i32, ptr %10, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds float, ptr %62, i64 %64
store float 0.000000e+00, ptr %65, align 4
br label %66
66: ; preds = %57
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %9, align 4
br label %53, !llvm.loop !6
69: ; preds = %53
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp ne i32 %70, %71
br i1 %72, label %73, label %83
73: ; preds = %69
%74 = load ptr, ptr %11, align 8
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %74, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %10, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds float, ptr %79, i64 %81
store float 1.000000e+00, ptr %82, align 4
br label %83
83: ; preds = %73, %69
br label %84
84: ; preds = %83
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %10, align 4
br label %28, !llvm.loop !8
87: ; preds = %28
%88 = load ptr, ptr %11, align 8
%89 = load i32, ptr %6, align 4
call void @balanc(ptr noundef %88, i32 noundef %89)
%90 = load ptr, ptr %11, align 8
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %7, align 8
%93 = load ptr, ptr %8, align 8
call void @hqr(ptr noundef %90, i32 noundef %91, ptr noundef %92, ptr noundef %93)
store i32 2, ptr %9, align 4
br label %94
94: ; preds = %160, %87
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %6, align 4
%97 = icmp sle i32 %95, %96
br i1 %97, label %98, label %163
98: ; preds = %94
%99 = load ptr, ptr %7, align 8
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds float, ptr %99, i64 %101
%103 = load float, ptr %102, align 4
store float %103, ptr %12, align 4
%104 = load ptr, ptr %8, align 8
%105 = load i32, ptr %9, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds float, ptr %104, i64 %106
%108 = load float, ptr %107, align 4
store float %108, ptr %13, align 4
%109 = load i32, ptr %9, align 4
%110 = sub nsw i32 %109, 1
store i32 %110, ptr %10, align 4
br label %111
111: ; preds = %144, %98
%112 = load i32, ptr %10, align 4
%113 = icmp sge i32 %112, 1
br i1 %113, label %114, label %147
114: ; preds = %111
%115 = load ptr, ptr %7, align 8
%116 = load i32, ptr %10, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds float, ptr %115, i64 %117
%119 = load float, ptr %118, align 4
%120 = load float, ptr %12, align 4
%121 = fcmp ole float %119, %120
br i1 %121, label %122, label %123
122: ; preds = %114
br label %147
123: ; preds = %114
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %10, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds float, ptr %124, i64 %126
%128 = load float, ptr %127, align 4
%129 = load ptr, ptr %7, align 8
%130 = load i32, ptr %10, align 4
%131 = add nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %129, i64 %132
store float %128, ptr %133, align 4
%134 = load ptr, ptr %8, align 8
%135 = load i32, ptr %10, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, ptr %134, i64 %136
%138 = load float, ptr %137, align 4
%139 = load ptr, ptr %8, align 8
%140 = load i32, ptr %10, align 4
%141 = add nsw i32 %140, 1
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, ptr %139, i64 %142
store float %138, ptr %143, align 4
br label %144
144: ; preds = %123
%145 = load i32, ptr %10, align 4
%146 = add nsw i32 %145, -1
store i32 %146, ptr %10, align 4
br label %111, !llvm.loop !9
147: ; preds = %122, %111
%148 = load float, ptr %12, align 4
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %10, align 4
%151 = add nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds float, ptr %149, i64 %152
store float %148, ptr %153, align 4
%154 = load float, ptr %13, align 4
%155 = load ptr, ptr %8, align 8
%156 = load i32, ptr %10, align 4
%157 = add nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %155, i64 %158
store float %154, ptr %159, align 4
br label %160
160: ; preds = %147
%161 = load i32, ptr %9, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %9, align 4
br label %94, !llvm.loop !10
163: ; preds = %94
%164 = load ptr, ptr %11, align 8
%165 = call i32 @free_matrix(ptr noundef %164, i32 noundef 1, i32 noundef 50, i32 noundef 1, i32 noundef 50)
ret void
}
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare void @balanc(ptr noundef, i32 noundef) #1
declare void @hqr(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free_matrix(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqsy7d6ne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"bad args in zrhqr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zrhqr(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = call ptr @matrix(i32 noundef 1, i32 noundef 50, i32 noundef 1, i32 noundef 50)
store ptr %14, ptr %11, align 8
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 50
br i1 %16, label %25, label %17
17: ; preds = %4
%18 = load ptr, ptr %5, 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 %27
25: ; preds = %17, %4
%26 = call i32 @nrerror(ptr noundef @.str)
br label %27
27: ; preds = %25, %17
store i32 1, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph2, label %91
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %85
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, ptr %32, i64 %36
%38 = load float, ptr %37, align 4
%39 = fneg float %38
%40 = load ptr, ptr %5, 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 = fdiv float %39, %44
%46 = load ptr, ptr %11, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds float, ptr %48, i64 %50
store float %45, ptr %51, align 4
store i32 2, ptr %9, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %.lr.ph, label %70
.lr.ph: ; preds = %31
br label %55
55: ; preds = %.lr.ph, %64
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
store float 0.000000e+00, ptr %63, align 4
br label %64
64: ; preds = %55
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %31
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp ne i32 %71, %72
br i1 %73, label %74, label %84
74: ; preds = %70
%75 = load ptr, ptr %11, align 8
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %75, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds float, ptr %80, i64 %82
store float 1.000000e+00, ptr %83, align 4
br label %84
84: ; preds = %74, %70
br label %85
85: ; preds = %84
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %10, align 4
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %6, align 4
%90 = icmp sle i32 %88, %89
br i1 %90, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %91
91: ; preds = %._crit_edge3, %27
%92 = load ptr, ptr %11, align 8
%93 = load i32, ptr %6, align 4
call void @balanc(ptr noundef %92, i32 noundef %93)
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %6, align 4
%96 = load ptr, ptr %7, align 8
%97 = load ptr, ptr %8, align 8
call void @hqr(ptr noundef %94, i32 noundef %95, ptr noundef %96, ptr noundef %97)
store i32 2, ptr %9, align 4
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %6, align 4
%100 = icmp sle i32 %98, %99
br i1 %100, label %.lr.ph7, label %170
.lr.ph7: ; preds = %91
br label %101
101: ; preds = %.lr.ph7, %164
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
%106 = load float, ptr %105, align 4
store float %106, ptr %12, align 4
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %9, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds float, ptr %107, i64 %109
%111 = load float, ptr %110, align 4
store float %111, ptr %13, align 4
%112 = load i32, ptr %9, align 4
%113 = sub nsw i32 %112, 1
store i32 %113, ptr %10, align 4
%114 = load i32, ptr %10, align 4
%115 = icmp sge i32 %114, 1
br i1 %115, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %101
br label %116
116: ; preds = %.lr.ph5, %146
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr %10, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, ptr %117, i64 %119
%121 = load float, ptr %120, align 4
%122 = load float, ptr %12, align 4
%123 = fcmp ole float %121, %122
br i1 %123, label %124, label %125
124: ; preds = %116
br label %151
125: ; preds = %116
%126 = load ptr, ptr %7, align 8
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds float, ptr %126, i64 %128
%130 = load float, ptr %129, align 4
%131 = load ptr, ptr %7, align 8
%132 = load i32, ptr %10, align 4
%133 = add nsw i32 %132, 1
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds float, ptr %131, i64 %134
store float %130, ptr %135, align 4
%136 = load ptr, ptr %8, align 8
%137 = load i32, ptr %10, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %136, i64 %138
%140 = load float, ptr %139, align 4
%141 = load ptr, ptr %8, align 8
%142 = load i32, ptr %10, align 4
%143 = add nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds float, ptr %141, i64 %144
store float %140, ptr %145, align 4
br label %146
146: ; preds = %125
%147 = load i32, ptr %10, align 4
%148 = add nsw i32 %147, -1
store i32 %148, ptr %10, align 4
%149 = load i32, ptr %10, align 4
%150 = icmp sge i32 %149, 1
br i1 %150, label %116, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %146
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %101
br label %151
151: ; preds = %.loopexit, %124
%152 = load float, ptr %12, align 4
%153 = load ptr, ptr %7, align 8
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds float, ptr %153, i64 %156
store float %152, ptr %157, align 4
%158 = load float, ptr %13, align 4
%159 = load ptr, ptr %8, align 8
%160 = load i32, ptr %10, align 4
%161 = add nsw i32 %160, 1
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds float, ptr %159, i64 %162
store float %158, ptr %163, align 4
br label %164
164: ; preds = %151
%165 = load i32, ptr %9, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %9, align 4
%167 = load i32, ptr %9, align 4
%168 = load i32, ptr %6, align 4
%169 = icmp sle i32 %167, %168
br i1 %169, label %101, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %164
br label %170
170: ; preds = %._crit_edge8, %91
%171 = load ptr, ptr %11, align 8
%172 = call i32 @free_matrix(ptr noundef %171, i32 noundef 1, i32 noundef 50, i32 noundef 1, i32 noundef 50)
ret void
}
declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare void @balanc(ptr noundef, i32 noundef) #1
declare void @hqr(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free_matrix(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp5978usbd.c'
source_filename = "/tmp/tmp5978usbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @File_Delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5978usbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @File_Delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpccl0ahsz.c'
source_filename = "/tmp/tmpccl0ahsz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simulated_file_read(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = mul nsw i64 %3, 1000
%5 = call i32 @usleep(i64 noundef %4)
ret void
}
declare i32 @usleep(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/tmpccl0ahsz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simulated_file_read(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = mul nsw i64 %3, 1000
%5 = call i32 @usleep(i64 noundef %4)
ret void
}
declare i32 @usleep(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/tmp6etlezp7.c'
source_filename = "/tmp/tmp6etlezp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"I have been requested to read zero bytes\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Can't read more than %u bytes with sock_recv\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [9 x i8] c"recv(): \00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"The other host terminated the connection.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_recv(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%17 = load ptr, ptr %9, align 8
store ptr %17, ptr %14, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %6
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef @.str.1)
%23 = call i32 @assert(i32 noundef 1)
store i32 0, ptr %7, align 4
br label %81
24: ; preds = %6
%25 = load i64, ptr %10, align 8
%26 = icmp ugt i64 %25, 2147483647
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load ptr, ptr %12, align 8
%29 = load i32, ptr %13, align 4
%30 = call i32 (ptr, i32, ptr, ...) @pcap_snprintf(ptr noundef %28, i32 noundef %29, ptr noundef @.str.2, i32 noundef 2147483647)
store i32 -1, ptr %7, align 4
br label %81
31: ; preds = %24
%32 = load ptr, ptr %9, align 8
store ptr %32, ptr %14, align 8
%33 = load i64, ptr %10, align 8
%34 = trunc i64 %33 to i32
store i32 %34, ptr %15, align 4
br label %35
35: ; preds = %80, %31
%36 = load i32, ptr %8, align 4
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr %15, align 4
%39 = call i32 @recv(i32 noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef 0)
store i32 %39, ptr %16, align 4
%40 = load i32, ptr %16, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %51
42: ; preds = %35
%43 = load i64, ptr @errno, align 8
%44 = load i64, ptr @EINTR, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 -3, ptr %7, align 4
br label %81
47: ; preds = %42
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %13, align 4
%50 = call i32 @sock_geterror(ptr noundef @.str.3, ptr noundef %48, i32 noundef %49)
store i32 -1, ptr %7, align 4
br label %81
51: ; preds = %35
%52 = load i32, ptr %16, align 4
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %51
%55 = load ptr, ptr %12, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %61
57: ; preds = %54
%58 = load ptr, ptr %12, align 8
%59 = load i32, ptr %13, align 4
%60 = call i32 (ptr, i32, ptr, ...) @pcap_snprintf(ptr noundef %58, i32 noundef %59, ptr noundef @.str.4)
br label %61
61: ; preds = %57, %54
store i32 -1, ptr %7, align 4
br label %81
62: ; preds = %51
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %62
%66 = load i32, ptr %16, align 4
store i32 %66, ptr %7, align 4
br label %81
67: ; preds = %62
%68 = load i32, ptr %16, align 4
%69 = load ptr, ptr %14, align 8
%70 = sext i32 %68 to i64
%71 = getelementptr inbounds i8, ptr %69, i64 %70
store ptr %71, ptr %14, align 8
%72 = load i32, ptr %16, align 4
%73 = load i32, ptr %15, align 4
%74 = sub nsw i32 %73, %72
store i32 %74, ptr %15, align 4
%75 = load i32, ptr %15, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %67
%78 = load i64, ptr %10, align 8
%79 = trunc i64 %78 to i32
store i32 %79, ptr %7, align 4
br label %81
80: ; preds = %67
br label %35
81: ; preds = %77, %65, %61, %47, %46, %27, %20
%82 = load i32, ptr %7, align 4
ret i32 %82
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @pcap_snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sock_geterror(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/tmp6etlezp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"I have been requested to read zero bytes\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Can't read more than %u bytes with sock_recv\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [9 x i8] c"recv(): \00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"The other host terminated the connection.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_recv(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%17 = load ptr, ptr %9, align 8
store ptr %17, ptr %14, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %6
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef @.str.1)
%23 = call i32 @assert(i32 noundef 1)
store i32 0, ptr %7, align 4
br label %86
24: ; preds = %6
%25 = load i64, ptr %10, align 8
%26 = icmp ugt i64 %25, 2147483647
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load ptr, ptr %12, align 8
%29 = load i32, ptr %13, align 4
%30 = call i32 (ptr, i32, ptr, ...) @pcap_snprintf(ptr noundef %28, i32 noundef %29, ptr noundef @.str.2, i32 noundef 2147483647)
store i32 -1, ptr %7, align 4
br label %86
31: ; preds = %24
%32 = load ptr, ptr %9, align 8
store ptr %32, ptr %14, align 8
%33 = load i64, ptr %10, align 8
%34 = trunc i64 %33 to i32
store i32 %34, ptr %15, align 4
%35 = load i32, ptr %8, align 4
%36 = load ptr, ptr %14, align 8
%37 = load i32, ptr %15, align 4
%38 = call i32 @recv(i32 noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef 0)
store i32 %38, ptr %16, align 4
%39 = load i32, ptr %16, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %48, label %.lr.ph
.lr.ph: ; preds = %31
br label %57
41: ; preds = %73
%42 = load i32, ptr %8, align 4
%43 = load ptr, ptr %14, align 8
%44 = load i32, ptr %15, align 4
%45 = call i32 @recv(i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef 0)
store i32 %45, ptr %16, align 4
%46 = load i32, ptr %16, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %._crit_edge, label %57
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %31
%49 = load i64, ptr @errno, align 8
%50 = load i64, ptr @EINTR, align 8
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 -3, ptr %7, align 4
br label %86
53: ; preds = %48
%54 = load ptr, ptr %12, align 8
%55 = load i32, ptr %13, align 4
%56 = call i32 @sock_geterror(ptr noundef @.str.3, ptr noundef %54, i32 noundef %55)
store i32 -1, ptr %7, align 4
br label %86
57: ; preds = %.lr.ph, %41
%58 = load i32, ptr %16, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %68
60: ; preds = %57
%61 = load ptr, ptr %12, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %13, align 4
%66 = call i32 (ptr, i32, ptr, ...) @pcap_snprintf(ptr noundef %64, i32 noundef %65, ptr noundef @.str.4)
br label %67
67: ; preds = %63, %60
store i32 -1, ptr %7, align 4
br label %86
68: ; preds = %57
%69 = load i32, ptr %11, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %68
%72 = load i32, ptr %16, align 4
store i32 %72, ptr %7, align 4
br label %86
73: ; preds = %68
%74 = load i32, ptr %16, align 4
%75 = load ptr, ptr %14, align 8
%76 = sext i32 %74 to i64
%77 = getelementptr inbounds i8, ptr %75, i64 %76
store ptr %77, ptr %14, align 8
%78 = load i32, ptr %16, align 4
%79 = load i32, ptr %15, align 4
%80 = sub nsw i32 %79, %78
store i32 %80, ptr %15, align 4
%81 = load i32, ptr %15, align 4
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %41
83: ; preds = %73
%84 = load i64, ptr %10, align 8
%85 = trunc i64 %84 to i32
store i32 %85, ptr %7, align 4
br label %86
86: ; preds = %83, %71, %67, %53, %52, %27, %20
%87 = load i32, ptr %7, align 4
ret i32 %87
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @pcap_snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sock_geterror(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/tmpp0w7gzac.c'
source_filename = "/tmp/tmpp0w7gzac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Nothing interesting here.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @explore() #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/tmpp0w7gzac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Nothing interesting here.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @explore() #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/tmp5xutchh6.c'
source_filename = "/tmp/tmp5xutchh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 5, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5)
store i32 5, ptr %2, align 4
store i32 7, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
store i32 7, ptr %2, align 4
store i32 11, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11)
store i32 11, ptr %2, align 4
store i32 13, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14)
store i32 13, ptr %2, align 4
store i32 17, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17)
store i32 17, ptr %2, align 4
store i32 19, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20)
store i32 19, ptr %2, align 4
store i32 23, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23)
store i32 23, ptr %2, align 4
store i32 29, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26)
store i32 29, ptr %2, align 4
store i32 31, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %29)
store i32 31, ptr %2, align 4
store i32 37, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32)
ret i32 0
}
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/tmp5xutchh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 5, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5)
store i32 5, ptr %2, align 4
store i32 7, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
store i32 7, ptr %2, align 4
store i32 11, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11)
store i32 11, ptr %2, align 4
store i32 13, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14)
store i32 13, ptr %2, align 4
store i32 17, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17)
store i32 17, ptr %2, align 4
store i32 19, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20)
store i32 19, ptr %2, align 4
store i32 23, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23)
store i32 23, ptr %2, align 4
store i32 29, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26)
store i32 29, ptr %2, align 4
store i32 31, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %29)
store i32 31, ptr %2, align 4
store i32 37, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32)
ret i32 0
}
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/tmpp5t4pnla.c'
source_filename = "/tmp/tmpp5t4pnla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_shift_s64(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp eq i32 0, %7
br i1 %8, label %9, label %10
9: ; preds = %3
br label %14
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = urem i32 %11, %12
br label %14
14: ; preds = %10, %9
%15 = phi i32 [ 0, %9 ], [ %13, %10 ]
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 0, %16
br i1 %17, label %18, label %19
18: ; preds = %14
br label %36
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = sub i32 %22, 1
%24 = call i32 @array_reverse_s64(ptr noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = sub i32 %27, 1
%29 = call i32 @array_reverse_s64(ptr noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %5, align 4
%34 = sub i32 %33, 1
%35 = call i32 @array_reverse_s64(ptr noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %34)
br label %36
36: ; preds = %19, %18
ret void
}
declare i32 @array_reverse_s64(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5t4pnla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_shift_s64(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp eq i32 0, %7
br i1 %8, label %9, label %10
9: ; preds = %3
br label %14
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = urem i32 %11, %12
br label %14
14: ; preds = %10, %9
%15 = phi i32 [ 0, %9 ], [ %13, %10 ]
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 0, %16
br i1 %17, label %18, label %19
18: ; preds = %14
br label %36
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = sub i32 %22, 1
%24 = call i32 @array_reverse_s64(ptr noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = sub i32 %27, 1
%29 = call i32 @array_reverse_s64(ptr noundef %25, i32 noundef %26, i32 noundef 0, i32 noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %5, align 4
%34 = sub i32 %33, 1
%35 = call i32 @array_reverse_s64(ptr noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %34)
br label %36
36: ; preds = %19, %18
ret void
}
declare i32 @array_reverse_s64(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9kl5lahy.c'
source_filename = "/tmp/tmp9kl5lahy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gt0(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 1, ptr %2, align 8
br label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load i64, ptr %2, align 8
ret i64 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9kl5lahy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gt0(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 1, ptr %2, align 8
br label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load i64, ptr %2, align 8
ret i64 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabburfmz.c'
source_filename = "/tmp/tmpabburfmz.c"
target datalayout = "e-m:e-p270: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/tmpabburfmz.c"
target datalayout = "e-m:e-p270: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/tmpnmst7c40.c'
source_filename = "/tmp/tmpnmst7c40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Some number limits on this system:\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Max int: %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"Min int: %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"Smallest long long: %lld\0A\00", align 1
@LLONG_MIN = dso_local global double 0.000000e+00, align 8
@.str.4 = private unnamed_addr constant [36 x i8] c"One byte = %d bits on this system.\0A\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"Largest double: %e\0A\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.6 = private unnamed_addr constant [27 x i8] c"Smallest normal float: %e\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@.str.7 = private unnamed_addr constant [30 x i8] c"Float significant digits: %d\0A\00", align 1
@FLT_DIG = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [25 x i8] c"Float mantissa bits: %d\0A\00", align 1
@FLT_MANT_DIG = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [19 x i8] c"Float epsilon: %e\0A\00", align 1
@FLT_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @INT_MAX, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @INT_MIN, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = load double, ptr @LLONG_MIN, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
%9 = load i32, ptr @CHAR_BIT, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load double, ptr @DBL_MAX, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %11)
%13 = load double, ptr @FLT_MIN, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %13)
%15 = load i32, ptr @FLT_DIG, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %15)
%17 = load i32, ptr @FLT_MANT_DIG, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %17)
%19 = load double, ptr @FLT_EPSILON, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmst7c40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Some number limits on this system:\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Max int: %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"Min int: %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"Smallest long long: %lld\0A\00", align 1
@LLONG_MIN = dso_local global double 0.000000e+00, align 8
@.str.4 = private unnamed_addr constant [36 x i8] c"One byte = %d bits on this system.\0A\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"Largest double: %e\0A\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.6 = private unnamed_addr constant [27 x i8] c"Smallest normal float: %e\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@.str.7 = private unnamed_addr constant [30 x i8] c"Float significant digits: %d\0A\00", align 1
@FLT_DIG = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [25 x i8] c"Float mantissa bits: %d\0A\00", align 1
@FLT_MANT_DIG = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [19 x i8] c"Float epsilon: %e\0A\00", align 1
@FLT_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @INT_MAX, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @INT_MIN, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = load double, ptr @LLONG_MIN, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
%9 = load i32, ptr @CHAR_BIT, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load double, ptr @DBL_MAX, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %11)
%13 = load double, ptr @FLT_MIN, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %13)
%15 = load i32, ptr @FLT_DIG, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %15)
%17 = load i32, ptr @FLT_MANT_DIG, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %17)
%19 = load double, ptr @FLT_EPSILON, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx9w_tyf8.c'
source_filename = "/tmp/tmpx9w_tyf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Act_Log() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 (...) @ArgText()
%5 = call ptr @TextOf(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = call i32 (...) @ArgText()
%7 = call ptr @TextOf(i32 noundef %6)
store ptr %7, ptr %2, align 8
%8 = call i32 (...) @ArgText()
%9 = call ptr @TextOf(i32 noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %1, align 8
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @Log(ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare ptr @TextOf(i32 noundef) #1
declare i32 @ArgText(...) #1
declare i32 @Log(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/tmpx9w_tyf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Act_Log() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 (...) @ArgText()
%5 = call ptr @TextOf(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = call i32 (...) @ArgText()
%7 = call ptr @TextOf(i32 noundef %6)
store ptr %7, ptr %2, align 8
%8 = call i32 (...) @ArgText()
%9 = call ptr @TextOf(i32 noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %1, align 8
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @Log(ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare ptr @TextOf(i32 noundef) #1
declare i32 @ArgText(...) #1
declare i32 @Log(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/tmpgv3lfgog.c'
source_filename = "/tmp/tmpgv3lfgog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"That 's all this program does.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %11, %2
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = icmp slt i32 %8, 3
br i1 %10, label %11, label %12
11: ; preds = %7
br label %7, !llvm.loop !6
12: ; preds = %7
%13 = load i32, ptr %6, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgv3lfgog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"That 's all this program does.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %7, %2
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = icmp slt i32 %8, 3
br i1 %10, label %7, label %11, !llvm.loop !6
11: ; preds = %7
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2qynu46s.c'
source_filename = "/tmp/tmp2qynu46s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"struct\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmain() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 (...) @t1()
%3 = call i32 (...) @t2()
%4 = call i32 (...) @t3()
%5 = call i32 (...) @t4()
%6 = call i32 (...) @t5()
%7 = call i32 (...) @t6()
%8 = call i32 (...) @t7()
%9 = call i32 (...) @t8()
%10 = call i32 (...) @t9()
%11 = call i32 (...) @t10()
%12 = call i32 (...) @t11()
%13 = call i32 (...) @t12()
%14 = call i32 (...) @t13()
%15 = call i32 (...) @t14()
%16 = call i32 (...) @unnamed()
%17 = call i32 (...) @assign()
%18 = call i32 (...) @arrow()
%19 = call i32 (...) @incomplete()
%20 = call i32 (...) @bitfield_basic()
%21 = call i32 (...) @bitfield_mix()
%22 = call i32 (...) @bitfield_union()
%23 = call i32 (...) @bitfield_unnamed()
%24 = call i32 (...) @bitfield_initializer()
%25 = call i32 (...) @test_offsetof()
%26 = call i32 (...) @flexible_member()
%27 = call i32 (...) @empty_struct()
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @t1(...) #1
declare i32 @t2(...) #1
declare i32 @t3(...) #1
declare i32 @t4(...) #1
declare i32 @t5(...) #1
declare i32 @t6(...) #1
declare i32 @t7(...) #1
declare i32 @t8(...) #1
declare i32 @t9(...) #1
declare i32 @t10(...) #1
declare i32 @t11(...) #1
declare i32 @t12(...) #1
declare i32 @t13(...) #1
declare i32 @t14(...) #1
declare i32 @unnamed(...) #1
declare i32 @assign(...) #1
declare i32 @arrow(...) #1
declare i32 @incomplete(...) #1
declare i32 @bitfield_basic(...) #1
declare i32 @bitfield_mix(...) #1
declare i32 @bitfield_union(...) #1
declare i32 @bitfield_unnamed(...) #1
declare i32 @bitfield_initializer(...) #1
declare i32 @test_offsetof(...) #1
declare i32 @flexible_member(...) #1
declare i32 @empty_struct(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2qynu46s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"struct\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmain() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 (...) @t1()
%3 = call i32 (...) @t2()
%4 = call i32 (...) @t3()
%5 = call i32 (...) @t4()
%6 = call i32 (...) @t5()
%7 = call i32 (...) @t6()
%8 = call i32 (...) @t7()
%9 = call i32 (...) @t8()
%10 = call i32 (...) @t9()
%11 = call i32 (...) @t10()
%12 = call i32 (...) @t11()
%13 = call i32 (...) @t12()
%14 = call i32 (...) @t13()
%15 = call i32 (...) @t14()
%16 = call i32 (...) @unnamed()
%17 = call i32 (...) @assign()
%18 = call i32 (...) @arrow()
%19 = call i32 (...) @incomplete()
%20 = call i32 (...) @bitfield_basic()
%21 = call i32 (...) @bitfield_mix()
%22 = call i32 (...) @bitfield_union()
%23 = call i32 (...) @bitfield_unnamed()
%24 = call i32 (...) @bitfield_initializer()
%25 = call i32 (...) @test_offsetof()
%26 = call i32 (...) @flexible_member()
%27 = call i32 (...) @empty_struct()
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @t1(...) #1
declare i32 @t2(...) #1
declare i32 @t3(...) #1
declare i32 @t4(...) #1
declare i32 @t5(...) #1
declare i32 @t6(...) #1
declare i32 @t7(...) #1
declare i32 @t8(...) #1
declare i32 @t9(...) #1
declare i32 @t10(...) #1
declare i32 @t11(...) #1
declare i32 @t12(...) #1
declare i32 @t13(...) #1
declare i32 @t14(...) #1
declare i32 @unnamed(...) #1
declare i32 @assign(...) #1
declare i32 @arrow(...) #1
declare i32 @incomplete(...) #1
declare i32 @bitfield_basic(...) #1
declare i32 @bitfield_mix(...) #1
declare i32 @bitfield_union(...) #1
declare i32 @bitfield_unnamed(...) #1
declare i32 @bitfield_initializer(...) #1
declare i32 @test_offsetof(...) #1
declare i32 @flexible_member(...) #1
declare i32 @empty_struct(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu7tor9r.c'
source_filename = "/tmp/tmpeu7tor9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pkey_write_allow(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @pkey_disable_clear(i32 noundef %3, i32 noundef 2)
ret void
}
declare i32 @pkey_disable_clear(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/tmpeu7tor9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pkey_write_allow(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @pkey_disable_clear(i32 noundef %3, i32 noundef 2)
ret void
}
declare i32 @pkey_disable_clear(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/tmpn8bo48pe.c'
source_filename = "/tmp/tmpn8bo48pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SMS_setTile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @SMS_word_to_VDP_data(i32 noundef %3)
ret void
}
declare i32 @SMS_word_to_VDP_data(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/tmpn8bo48pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SMS_setTile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @SMS_word_to_VDP_data(i32 noundef %3)
ret void
}
declare i32 @SMS_word_to_VDP_data(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/tmpka3hc4rk.c'
source_filename = "/tmp/tmpka3hc4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Humidity ratio is negative\00", align 1
@.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/psychrometrics/psychrolib/refs/heads/master/src/c/psychrolib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetVaporPressureDeficit(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp oge double %8, 0.000000e+00
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = call i32 @Assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 823)
br label %12
12: ; preds = %10, %3
%13 = load double, ptr %4, align 8
%14 = load double, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double @GetRelHumFromHumRatio(double noundef %13, double noundef %14, double noundef %15)
store double %16, ptr %7, align 8
%17 = load double, ptr %4, align 8
%18 = call i32 @GetSatVapPres(double noundef %17)
%19 = sitofp i32 %18 to double
%20 = load double, ptr %7, align 8
%21 = fsub double 1.000000e+00, %20
%22 = fmul double %19, %21
ret double %22
}
declare i32 @Assert(ptr noundef, ptr noundef, i32 noundef) #1
declare double @GetRelHumFromHumRatio(double noundef, double noundef, double noundef) #1
declare i32 @GetSatVapPres(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpka3hc4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Humidity ratio is negative\00", align 1
@.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/psychrometrics/psychrolib/refs/heads/master/src/c/psychrolib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetVaporPressureDeficit(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp oge double %8, 0.000000e+00
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = call i32 @Assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 823)
br label %12
12: ; preds = %10, %3
%13 = load double, ptr %4, align 8
%14 = load double, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double @GetRelHumFromHumRatio(double noundef %13, double noundef %14, double noundef %15)
store double %16, ptr %7, align 8
%17 = load double, ptr %4, align 8
%18 = call i32 @GetSatVapPres(double noundef %17)
%19 = sitofp i32 %18 to double
%20 = load double, ptr %7, align 8
%21 = fsub double 1.000000e+00, %20
%22 = fmul double %19, %21
ret double %22
}
declare i32 @Assert(ptr noundef, ptr noundef, i32 noundef) #1
declare double @GetRelHumFromHumRatio(double noundef, double noundef, double noundef) #1
declare i32 @GetSatVapPres(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpykp1xknb.c'
source_filename = "/tmp/tmpykp1xknb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"login amministratore del database.\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"username:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0Apassword:\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"\0Adump sql da inserire: \00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0A%s, %s, %s, %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca [30 x i8], align 16
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %8, align 16
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%14 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%17 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %17)
br label %19
19: ; preds = %26, %0
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %6, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 46
br i1 %25, label %26, label %33
26: ; preds = %19
%27 = load i8, ptr %6, align 1
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %29
store i8 %27, ptr %30, align 1
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %35
store i8 0, ptr %36, align 1
%37 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%38 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%39 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%40 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40)
%42 = load i32, ptr %1, align 4
ret i32 %42
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykp1xknb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"login amministratore del database.\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"username:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0Apassword:\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"\0Adump sql da inserire: \00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0A%s, %s, %s, %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca [30 x i8], align 16
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %8, align 16
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%14 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%17 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %17)
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %6, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 46
br i1 %24, label %.lr.ph, label %38
.lr.ph: ; preds = %0
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i8, ptr %6, align 1
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %28
store i8 %26, ptr %29, align 1
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
store i8 %35, ptr %6, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 46
br i1 %37, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %38
38: ; preds = %._crit_edge, %0
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %40
store i8 0, ptr %41, align 1
%42 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%43 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%44 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%45 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45)
%47 = load i32, ptr %1, align 4
ret i32 %47
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkpslz6h7.c'
source_filename = "/tmp/tmpkpslz6h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Out of memory allocating %zu*%zu bytes!\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Out of memory allocating %zu bytes!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sat_oom(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 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 (i32, ptr, i64, ...) @fprintf(i32 noundef %8, ptr noundef @.str, i64 noundef %9, i64 noundef %10)
br label %16
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load i64, ptr %4, align 8
%15 = call i32 (i32, ptr, i64, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1, i64 noundef %14)
br label %16
16: ; preds = %12, %7
%17 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkpslz6h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Out of memory allocating %zu*%zu bytes!\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Out of memory allocating %zu bytes!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sat_oom(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 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 (i32, ptr, i64, ...) @fprintf(i32 noundef %8, ptr noundef @.str, i64 noundef %9, i64 noundef %10)
br label %16
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load i64, ptr %4, align 8
%15 = call i32 (i32, ptr, i64, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1, i64 noundef %14)
br label %16
16: ; preds = %12, %7
%17 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqxb7yati.c'
source_filename = "/tmp/tmpqxb7yati.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1073741824
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1073745920
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ true, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @ASSERT(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 4
br label %19
19: ; preds = %16, %10
%20 = phi i1 [ true, %10 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
%22 = call i32 @ASSERT(i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 8
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = load volatile i32, ptr %26, align 4
%28 = and i32 %27, -5
%29 = load i32, ptr %4, align 4
%30 = or i32 %28, %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 8
%33 = sext i32 %32 to i64
%34 = inttoptr i64 %33 to ptr
store volatile i32 %30, ptr %34, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqxb7yati.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1073741824
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1073745920
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ true, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @ASSERT(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 4
br label %19
19: ; preds = %16, %10
%20 = phi i1 [ true, %10 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
%22 = call i32 @ASSERT(i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 8
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = load volatile i32, ptr %26, align 4
%28 = and i32 %27, -5
%29 = load i32, ptr %4, align 4
%30 = or i32 %28, %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 8
%33 = sext i32 %32 to i64
%34 = inttoptr i64 %33 to ptr
store volatile i32 %30, ptr %34, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqzeyqw0n.c'
source_filename = "/tmp/tmpqzeyqw0n.c"
target datalayout = "e-m:e-p270: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/tmpqzeyqw0n.c"
target datalayout = "e-m:e-p270: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/tmp2ws5kfst.c'
source_filename = "/tmp/tmp2ws5kfst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixel_avg_8x8(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @pixel_avg_wxh(ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef 8, i32 noundef 8)
ret void
}
declare i32 @pixel_avg_wxh(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ws5kfst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixel_avg_8x8(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @pixel_avg_wxh(ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef 8, i32 noundef 8)
ret void
}
declare i32 @pixel_avg_wxh(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsox2b0h7.c'
source_filename = "/tmp/tmpsox2b0h7.c"
target datalayout = "e-m:e-p270: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/tmpsox2b0h7.c"
target datalayout = "e-m:e-p270: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_jrg4oh.c'
source_filename = "/tmp/tmp6_jrg4oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %32, %3
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 256
br i1 %10, label %11, label %35
11: ; preds = %8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds float, ptr %12, i64 %14
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load float, ptr %20, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = fmul float %21, %26
%28 = fcmp une float %16, %27
br i1 %28, label %29, label %31
29: ; preds = %11
%30 = call i32 (...) @abort() #2
unreachable
31: ; preds = %11
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %8, !llvm.loop !6
35: ; preds = %8
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_jrg4oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 256
br i1 %9, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %31
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
%15 = load float, ptr %14, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load float, ptr %24, align 4
%26 = fmul float %20, %25
%27 = fcmp une float %15, %26
br i1 %27, label %28, label %30
28: ; preds = %10
%29 = call i32 (...) @abort() #2
unreachable
30: ; preds = %10
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %34, 256
br i1 %35, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %3
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc8534ucm.c'
source_filename = "/tmp/tmpc8534ucm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%2 = call i32 @f(i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 0)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @f(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8534ucm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%2 = call i32 @f(i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 0)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @f(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpscuzwfhf.c'
source_filename = "/tmp/tmpscuzwfhf.c"
target datalayout = "e-m:e-p270: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/tmpscuzwfhf.c"
target datalayout = "e-m:e-p270: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/tmpnxierazw.c'
source_filename = "/tmp/tmpnxierazw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VisualDepthMask = 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/tmpnxierazw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VisualDepthMask = 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/tmpu544dwzh.c'
source_filename = "/tmp/tmpu544dwzh.c"
target datalayout = "e-m:e-p270: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/tmpu544dwzh.c"
target datalayout = "e-m:e-p270: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/tmpxe9awlhr.c'
source_filename = "/tmp/tmpxe9awlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_log_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 20
br i1 %6, label %7, label %128
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 47
br i1 %12, label %13, label %128
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 118
br i1 %18, label %19, label %128
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 97
br i1 %24, label %25, label %128
25: ; preds = %19
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 3
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 114
br i1 %30, label %31, label %128
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 4
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 47
br i1 %36, label %37, label %128
37: ; preds = %31
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 5
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 108
br i1 %42, label %43, label %128
43: ; preds = %37
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 6
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 111
br i1 %48, label %49, label %128
49: ; preds = %43
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 7
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 103
br i1 %54, label %55, label %128
55: ; preds = %49
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 47
br i1 %60, label %61, label %128
61: ; preds = %55
%62 = load ptr, ptr %3, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 9
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 112
br i1 %66, label %67, label %128
67: ; preds = %61
%68 = load ptr, ptr %3, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 10
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 114
br i1 %72, label %73, label %128
73: ; preds = %67
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 11
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 111
br i1 %78, label %79, label %128
79: ; preds = %73
%80 = load ptr, ptr %3, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 12
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 103
br i1 %84, label %85, label %128
85: ; preds = %79
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 13
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 103
br i1 %90, label %91, label %128
91: ; preds = %85
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 14
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 101
br i1 %96, label %97, label %128
97: ; preds = %91
%98 = load ptr, ptr %3, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 15
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 114
br i1 %102, label %103, label %128
103: ; preds = %97
%104 = load ptr, ptr %3, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 16
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 46
br i1 %108, label %109, label %128
109: ; preds = %103
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 17
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 108
br i1 %114, label %115, label %128
115: ; preds = %109
%116 = load ptr, ptr %3, align 8
%117 = getelementptr inbounds i8, ptr %116, i64 18
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 111
br i1 %120, label %121, label %128
121: ; preds = %115
%122 = load ptr, ptr %3, align 8
%123 = getelementptr inbounds i8, ptr %122, i64 19
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 103
br i1 %126, label %127, label %128
127: ; preds = %121
store i32 1, ptr %2, align 4
br label %129
128: ; preds = %121, %115, %109, %103, %97, %91, %85, %79, %73, %67, %61, %55, %49, %43, %37, %31, %25, %19, %13, %7, %1
store i32 0, ptr %2, align 4
br label %129
129: ; preds = %128, %127
%130 = load i32, ptr %2, align 4
ret i32 %130
}
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/tmpxe9awlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_log_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 20
br i1 %6, label %7, label %128
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 47
br i1 %12, label %13, label %128
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 118
br i1 %18, label %19, label %128
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 2
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 97
br i1 %24, label %25, label %128
25: ; preds = %19
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 3
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 114
br i1 %30, label %31, label %128
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 4
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 47
br i1 %36, label %37, label %128
37: ; preds = %31
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 5
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 108
br i1 %42, label %43, label %128
43: ; preds = %37
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 6
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 111
br i1 %48, label %49, label %128
49: ; preds = %43
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 7
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 103
br i1 %54, label %55, label %128
55: ; preds = %49
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 47
br i1 %60, label %61, label %128
61: ; preds = %55
%62 = load ptr, ptr %3, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 9
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 112
br i1 %66, label %67, label %128
67: ; preds = %61
%68 = load ptr, ptr %3, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 10
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 114
br i1 %72, label %73, label %128
73: ; preds = %67
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 11
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 111
br i1 %78, label %79, label %128
79: ; preds = %73
%80 = load ptr, ptr %3, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 12
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 103
br i1 %84, label %85, label %128
85: ; preds = %79
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 13
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 103
br i1 %90, label %91, label %128
91: ; preds = %85
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 14
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 101
br i1 %96, label %97, label %128
97: ; preds = %91
%98 = load ptr, ptr %3, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 15
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 114
br i1 %102, label %103, label %128
103: ; preds = %97
%104 = load ptr, ptr %3, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 16
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 46
br i1 %108, label %109, label %128
109: ; preds = %103
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 17
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 108
br i1 %114, label %115, label %128
115: ; preds = %109
%116 = load ptr, ptr %3, align 8
%117 = getelementptr inbounds i8, ptr %116, i64 18
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 111
br i1 %120, label %121, label %128
121: ; preds = %115
%122 = load ptr, ptr %3, align 8
%123 = getelementptr inbounds i8, ptr %122, i64 19
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 103
br i1 %126, label %127, label %128
127: ; preds = %121
store i32 1, ptr %2, align 4
br label %129
128: ; preds = %121, %115, %109, %103, %97, %91, %85, %79, %73, %67, %61, %55, %49, %43, %37, %31, %25, %19, %13, %7, %1
store i32 0, ptr %2, align 4
br label %129
129: ; preds = %128, %127
%130 = load i32, ptr %2, align 4
ret i32 %130
}
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/tmpqsw57pmu.c'
source_filename = "/tmp/tmpqsw57pmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_storeu_epi32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
call void @_mm_storeu_epi32(ptr noundef %5, i32 noundef %6)
ret void
}
declare void @_mm_storeu_epi32(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/tmpqsw57pmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_storeu_epi32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
call void @_mm_storeu_epi32(ptr noundef %5, i32 noundef %6)
ret void
}
declare void @_mm_storeu_epi32(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/tmp4u1gfm66.c'
source_filename = "/tmp/tmp4u1gfm66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_add(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %22, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %4, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds double, ptr %13, i64 %14
%16 = load double, ptr %15, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds double, ptr %17, i64 %18
%20 = load double, ptr %19, align 8
%21 = fadd double %20, %16
store double %21, ptr %19, align 8
br label %22
22: ; preds = %12
%23 = load i64, ptr %7, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %7, align 8
br label %8, !llvm.loop !6
25: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4u1gfm66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_add(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %21
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds double, ptr %12, i64 %13
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %7, align 8
%18 = getelementptr inbounds double, ptr %16, i64 %17
%19 = load double, ptr %18, align 8
%20 = fadd double %19, %15
store double %20, ptr %18, align 8
br label %21
21: ; preds = %11
%22 = load i64, ptr %7, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %7, align 8
%24 = load i64, ptr %7, align 8
%25 = load i64, ptr %4, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8rsnpyox.c'
source_filename = "/tmp/tmp8rsnpyox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%2 = call i32 @glClear(i32 noundef %1)
%3 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%4 = call i32 @glutWireTeapot(i32 noundef 3)
%5 = call i32 (...) @glFlush()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glutWireTeapot(i32 noundef) #1
declare i32 @glFlush(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8rsnpyox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%2 = call i32 @glClear(i32 noundef %1)
%3 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%4 = call i32 @glutWireTeapot(i32 noundef 3)
%5 = call i32 (...) @glFlush()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glutWireTeapot(i32 noundef) #1
declare i32 @glFlush(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50us_40q.c'
source_filename = "/tmp/tmp50us_40q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reset_vocabs() #0 {
%1 = call i32 (...) @reset_normal_vocabs()
%2 = call i32 (...) @reset_tokz_esc()
ret void
}
declare i32 @reset_normal_vocabs(...) #1
declare i32 @reset_tokz_esc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50us_40q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reset_vocabs() #0 {
%1 = call i32 (...) @reset_normal_vocabs()
%2 = call i32 (...) @reset_tokz_esc()
ret void
}
declare i32 @reset_normal_vocabs(...) #1
declare i32 @reset_tokz_esc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpejlu1mja.c'
source_filename = "/tmp/tmpejlu1mja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @last_part(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 47)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %29
16: ; preds = %2
br label %17
17: ; preds = %20, %16
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = call ptr @strchr(ptr noundef %23, i8 noundef signext 47)
store ptr %24, ptr %6, align 8
br label %17, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %25, %12
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpejlu1mja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @last_part(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 47)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %30
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = call ptr @strchr(ptr noundef %22, i8 noundef signext 47)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %16
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28)
br label %30
30: ; preds = %26, %12
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph2700jnd.c'
source_filename = "/tmp/tmph2700jnd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"site=%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c":site_id#=%u\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c":site_lon=%lf:site_lat=%lf:site_elev=%.1lfm\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c":mag_dec=%.2fdeg\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c":freq=%ukHz\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c":pol=%d:opn_mode=%d:reflec=%d\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c":qc=%d:cluster_filter=%d\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c":angle_elev_constant=%.2f\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c":Ntheta=%d\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c":bin_size=%dm\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c":d_theta=%.1lfdeg\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c":ele(1)=%.2fdeg\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c":ele(%d)=%.2fdeg\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"\0A:elevation angle(1..Ntheta)=\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.15 = private unnamed_addr constant [34 x i8] c"\0A:pulse repetion freq(1..Ntheta)=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_JMA(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %6
store i32 0, ptr %7, align 4
br label %411
21: ; preds = %6
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 5
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = shl i32 %27, 8
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 6
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = add nsw i32 %28, %34
store i32 %35, ptr %17, align 4
%36 = load i32, ptr %17, align 4
%37 = icmp ne i32 %36, 34
br i1 %37, label %38, label %42
38: ; preds = %21
%39 = load i32, ptr %17, align 4
%40 = icmp ne i32 %39, 35
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 0, ptr %7, align 4
br label %411
42: ; preds = %38, %21
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 4
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 7
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = shl i32 %48, 8
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 4
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 8
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = add nsw i32 %49, %55
store i32 %56, ptr %14, align 4
%57 = load i32, ptr %14, align 4
%58 = icmp slt i32 %57, 50000
br i1 %58, label %59, label %60
59: ; preds = %42
store i32 0, ptr %7, align 4
br label %411
60: ; preds = %42
%61 = load i32, ptr %14, align 4
%62 = icmp eq i32 %61, 51022
br i1 %62, label %63, label %410
63: ; preds = %60
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %9, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 4
%67 = load ptr, ptr %66, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 24
%69 = load i8, ptr %68, align 1
%70 = zext i8 %69 to i32
%71 = load ptr, ptr %9, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 4
%73 = load ptr, ptr %72, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 25
%75 = load i8, ptr %74, align 1
%76 = zext i8 %75 to i32
%77 = load ptr, ptr %9, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 4
%79 = load ptr, ptr %78, align 8
%80 = getelementptr inbounds i8, ptr %79, i64 26
%81 = load i8, ptr %80, align 1
%82 = zext i8 %81 to i32
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 4
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i8, ptr %85, i64 27
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %64, ptr noundef @.str, i32 noundef %70, i32 noundef %76, i32 noundef %82, i32 noundef %88)
%90 = load ptr, ptr %12, align 8
%91 = call i32 @strlen(ptr noundef %90)
%92 = load ptr, ptr %12, align 8
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds i8, ptr %92, i64 %93
store ptr %94, ptr %12, align 8
%95 = load i32, ptr %8, align 4
%96 = icmp sge i32 %95, 1
br i1 %96, label %97, label %219
97: ; preds = %63
%98 = load ptr, ptr %12, align 8
%99 = load ptr, ptr %9, align 8
%100 = getelementptr inbounds ptr, ptr %99, i64 4
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 28
%103 = call i32 @uint2(ptr noundef %102)
%104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %98, ptr noundef @.str.1, i32 noundef %103)
%105 = load ptr, ptr %12, align 8
%106 = call i32 @strlen(ptr noundef %105)
%107 = load ptr, ptr %12, align 8
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store ptr %109, ptr %12, align 8
%110 = load ptr, ptr %12, align 8
%111 = load ptr, ptr %9, align 8
%112 = getelementptr inbounds ptr, ptr %111, i64 4
%113 = load ptr, ptr %112, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 18
%115 = call i32 @int4(ptr noundef %114)
%116 = sitofp i32 %115 to double
%117 = fmul double %116, 0x3EB0C6F7A0B5ED8D
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds ptr, ptr %118, i64 4
%120 = load ptr, ptr %119, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 14
%122 = call i32 @int4(ptr noundef %121)
%123 = sitofp i32 %122 to double
%124 = fmul double %123, 0x3EB0C6F7A0B5ED8D
%125 = load ptr, ptr %9, align 8
%126 = getelementptr inbounds ptr, ptr %125, i64 4
%127 = load ptr, ptr %126, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 22
%129 = call double @int2(ptr noundef %128)
%130 = fmul double %129, 1.000000e-01
%131 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %110, ptr noundef @.str.2, double noundef %117, double noundef %124, double noundef %130)
%132 = load ptr, ptr %12, align 8
%133 = call i32 @strlen(ptr noundef %132)
%134 = load ptr, ptr %12, align 8
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i8, ptr %134, i64 %135
store ptr %136, ptr %12, align 8
%137 = load ptr, ptr %12, align 8
%138 = load ptr, ptr %9, align 8
%139 = getelementptr inbounds ptr, ptr %138, i64 4
%140 = load ptr, ptr %139, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 30
%142 = call double @int2(ptr noundef %141)
%143 = fmul double %142, 1.000000e-03
%144 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %137, ptr noundef @.str.3, double noundef %143)
%145 = load ptr, ptr %12, align 8
%146 = call i32 @strlen(ptr noundef %145)
%147 = load ptr, ptr %12, align 8
%148 = sext i32 %146 to i64
%149 = getelementptr inbounds i8, ptr %147, i64 %148
store ptr %149, ptr %12, align 8
%150 = load ptr, ptr %12, align 8
%151 = load ptr, ptr %9, align 8
%152 = getelementptr inbounds ptr, ptr %151, i64 4
%153 = load ptr, ptr %152, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 32
%155 = call i32 @uint4(ptr noundef %154)
%156 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef @.str.4, i32 noundef %155)
%157 = load ptr, ptr %12, align 8
%158 = call i32 @strlen(ptr noundef %157)
%159 = load ptr, ptr %12, align 8
%160 = sext i32 %158 to i64
%161 = getelementptr inbounds i8, ptr %159, i64 %160
store ptr %161, ptr %12, align 8
%162 = load ptr, ptr %12, align 8
%163 = load ptr, ptr %9, align 8
%164 = getelementptr inbounds ptr, ptr %163, i64 4
%165 = load ptr, ptr %164, align 8
%166 = getelementptr inbounds i8, ptr %165, i64 36
%167 = load i8, ptr %166, align 1
%168 = zext i8 %167 to i32
%169 = load ptr, ptr %9, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 4
%171 = load ptr, ptr %170, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 37
%173 = load i8, ptr %172, align 1
%174 = zext i8 %173 to i32
%175 = load ptr, ptr %9, align 8
%176 = getelementptr inbounds ptr, ptr %175, i64 4
%177 = load ptr, ptr %176, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 38
%179 = load i8, ptr %178, align 1
%180 = zext i8 %179 to i32
%181 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %162, ptr noundef @.str.5, i32 noundef %168, i32 noundef %174, i32 noundef %180)
%182 = load ptr, ptr %12, align 8
%183 = call i32 @strlen(ptr noundef %182)
%184 = load ptr, ptr %12, align 8
%185 = sext i32 %183 to i64
%186 = getelementptr inbounds i8, ptr %184, i64 %185
store ptr %186, ptr %12, align 8
%187 = load ptr, ptr %12, align 8
%188 = load ptr, ptr %9, align 8
%189 = getelementptr inbounds ptr, ptr %188, i64 4
%190 = load ptr, ptr %189, align 8
%191 = getelementptr inbounds i8, ptr %190, i64 39
%192 = load i8, ptr %191, align 1
%193 = zext i8 %192 to i32
%194 = load ptr, ptr %9, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 4
%196 = load ptr, ptr %195, align 8
%197 = getelementptr inbounds i8, ptr %196, i64 40
%198 = load i8, ptr %197, align 1
%199 = zext i8 %198 to i32
%200 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %187, ptr noundef @.str.6, i32 noundef %193, i32 noundef %199)
%201 = load ptr, ptr %12, align 8
%202 = call i32 @strlen(ptr noundef %201)
%203 = load ptr, ptr %12, align 8
%204 = sext i32 %202 to i64
%205 = getelementptr inbounds i8, ptr %203, i64 %204
store ptr %205, ptr %12, align 8
%206 = load ptr, ptr %12, align 8
%207 = load ptr, ptr %9, align 8
%208 = getelementptr inbounds ptr, ptr %207, i64 4
%209 = load ptr, ptr %208, align 8
%210 = getelementptr inbounds i8, ptr %209, i64 41
%211 = call double @int2(ptr noundef %210)
%212 = fmul double %211, 1.000000e-02
%213 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %206, ptr noundef @.str.7, double noundef %212)
%214 = load ptr, ptr %12, align 8
%215 = call i32 @strlen(ptr noundef %214)
%216 = load ptr, ptr %12, align 8
%217 = sext i32 %215 to i64
%218 = getelementptr inbounds i8, ptr %216, i64 %217
store ptr %218, ptr %12, align 8
br label %219
219: ; preds = %97, %63
%220 = load ptr, ptr %9, align 8
%221 = getelementptr inbounds ptr, ptr %220, i64 4
%222 = load ptr, ptr %221, align 8
%223 = icmp ne ptr %222, null
br i1 %223, label %224, label %230
224: ; preds = %219
%225 = load ptr, ptr %9, align 8
%226 = getelementptr inbounds ptr, ptr %225, i64 4
%227 = load ptr, ptr %226, align 8
%228 = getelementptr inbounds i8, ptr %227, i64 0
%229 = call i32 @uint4(ptr noundef %228)
br label %231
230: ; preds = %219
br label %231
231: ; preds = %230, %224
%232 = phi i32 [ %229, %224 ], [ 0, %230 ]
store i32 %232, ptr %16, align 4
%233 = load i32, ptr %16, align 4
%234 = srem i32 %233, 4
%235 = icmp ne i32 %234, 0
br i1 %235, label %236, label %237
236: ; preds = %231
br label %241
237: ; preds = %231
%238 = load i32, ptr %16, align 4
%239 = sub nsw i32 %238, 60
%240 = sdiv i32 %239, 4
br label %241
241: ; preds = %237, %236
%242 = phi i32 [ -1, %236 ], [ %240, %237 ]
store i32 %242, ptr %16, align 4
%243 = load i32, ptr %8, align 4
%244 = icmp sge i32 %243, 1
br i1 %244, label %245, label %301
245: ; preds = %241
%246 = load ptr, ptr %12, align 8
%247 = load i32, ptr %16, align 4
%248 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %246, ptr noundef @.str.8, i32 noundef %247)
%249 = load ptr, ptr %12, align 8
%250 = call i32 @strlen(ptr noundef %249)
%251 = load ptr, ptr %12, align 8
%252 = sext i32 %250 to i64
%253 = getelementptr inbounds i8, ptr %251, i64 %252
store ptr %253, ptr %12, align 8
%254 = load ptr, ptr %9, align 8
%255 = getelementptr inbounds ptr, ptr %254, i64 4
%256 = load ptr, ptr %255, align 8
%257 = getelementptr inbounds i8, ptr %256, i64 55
%258 = call i32 @uint_n(ptr noundef %257, i32 noundef 3)
store i32 %258, ptr %15, align 4
%259 = load i32, ptr %15, align 4
%260 = icmp ne i32 %259, 16777215
br i1 %260, label %261, label %270
261: ; preds = %245
%262 = load ptr, ptr %12, align 8
%263 = load i32, ptr %15, align 4
%264 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %262, ptr noundef @.str.9, i32 noundef %263)
%265 = load ptr, ptr %12, align 8
%266 = call i32 @strlen(ptr noundef %265)
%267 = load ptr, ptr %12, align 8
%268 = sext i32 %266 to i64
%269 = getelementptr inbounds i8, ptr %267, i64 %268
store ptr %269, ptr %12, align 8
br label %270
270: ; preds = %261, %245
%271 = load ptr, ptr %9, align 8
%272 = getelementptr inbounds ptr, ptr %271, i64 4
%273 = load ptr, ptr %272, align 8
%274 = getelementptr inbounds i8, ptr %273, i64 58
%275 = load i8, ptr %274, align 1
%276 = zext i8 %275 to i32
%277 = icmp ne i32 %276, 255
br i1 %277, label %286, label %278
278: ; preds = %270
%279 = load ptr, ptr %9, align 8
%280 = getelementptr inbounds ptr, ptr %279, i64 4
%281 = load ptr, ptr %280, align 8
%282 = getelementptr inbounds i8, ptr %281, i64 59
%283 = load i8, ptr %282, align 1
%284 = zext i8 %283 to i32
%285 = icmp ne i32 %284, 255
br i1 %285, label %286, label %300
286: ; preds = %278, %270
%287 = load ptr, ptr %12, align 8
%288 = load ptr, ptr %9, align 8
%289 = getelementptr inbounds ptr, ptr %288, i64 4
%290 = load ptr, ptr %289, align 8
%291 = getelementptr inbounds i8, ptr %290, i64 58
%292 = call double @int2(ptr noundef %291)
%293 = fmul double %292, 1.000000e-01
%294 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %287, ptr noundef @.str.10, double noundef %293)
%295 = load ptr, ptr %12, align 8
%296 = call i32 @strlen(ptr noundef %295)
%297 = load ptr, ptr %12, align 8
%298 = sext i32 %296 to i64
%299 = getelementptr inbounds i8, ptr %297, i64 %298
store ptr %299, ptr %12, align 8
br label %300
300: ; preds = %286, %278
br label %301
301: ; preds = %300, %241
%302 = load i32, ptr %8, align 4
%303 = icmp slt i32 %302, 2
br i1 %303, label %304, label %339
304: ; preds = %301
%305 = load ptr, ptr %12, align 8
%306 = load ptr, ptr %9, align 8
%307 = getelementptr inbounds ptr, ptr %306, i64 4
%308 = load ptr, ptr %307, align 8
%309 = getelementptr inbounds i8, ptr %308, i64 60
%310 = call double @int2(ptr noundef %309)
%311 = fmul double %310, 1.000000e-02
%312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %305, ptr noundef @.str.11, double noundef %311)
%313 = load ptr, ptr %12, align 8
%314 = call i32 @strlen(ptr noundef %313)
%315 = load ptr, ptr %12, align 8
%316 = sext i32 %314 to i64
%317 = getelementptr inbounds i8, ptr %315, i64 %316
store ptr %317, ptr %12, align 8
%318 = load ptr, ptr %12, align 8
%319 = load i32, ptr %16, align 4
%320 = sdiv i32 %319, 2
%321 = load ptr, ptr %9, align 8
%322 = getelementptr inbounds ptr, ptr %321, i64 4
%323 = load ptr, ptr %322, align 8
%324 = getelementptr inbounds i8, ptr %323, i64 60
%325 = load i32, ptr %16, align 4
%326 = sub nsw i32 %325, 1
%327 = sdiv i32 %326, 2
%328 = mul nsw i32 %327, 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds i8, ptr %324, i64 %329
%331 = call double @int2(ptr noundef %330)
%332 = fmul double %331, 1.000000e-02
%333 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %318, ptr noundef @.str.12, i32 noundef %320, double noundef %332)
%334 = load ptr, ptr %12, align 8
%335 = call i32 @strlen(ptr noundef %334)
%336 = load ptr, ptr %12, align 8
%337 = sext i32 %335 to i64
%338 = getelementptr inbounds i8, ptr %336, i64 %337
store ptr %338, ptr %12, align 8
br label %339
339: ; preds = %304, %301
%340 = load i32, ptr %8, align 4
%341 = icmp sge i32 %340, 2
br i1 %341, label %342, label %409
342: ; preds = %339
%343 = load ptr, ptr %12, align 8
%344 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %343, ptr noundef @.str.13)
%345 = load ptr, ptr %12, align 8
%346 = call i32 @strlen(ptr noundef %345)
%347 = load ptr, ptr %12, align 8
%348 = sext i32 %346 to i64
%349 = getelementptr inbounds i8, ptr %347, i64 %348
store ptr %349, ptr %12, align 8
store i32 0, ptr %15, align 4
br label %350
350: ; preds = %372, %342
%351 = load i32, ptr %15, align 4
%352 = load i32, ptr %16, align 4
%353 = icmp slt i32 %351, %352
br i1 %353, label %354, label %375
354: ; preds = %350
%355 = load ptr, ptr %12, align 8
%356 = load ptr, ptr %9, align 8
%357 = getelementptr inbounds ptr, ptr %356, i64 4
%358 = load ptr, ptr %357, align 8
%359 = getelementptr inbounds i8, ptr %358, i64 60
%360 = load i32, ptr %15, align 4
%361 = mul nsw i32 %360, 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds i8, ptr %359, i64 %362
%364 = call double @int2(ptr noundef %363)
%365 = fmul double %364, 1.000000e-02
%366 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %355, ptr noundef @.str.14, double noundef %365)
%367 = load ptr, ptr %12, align 8
%368 = call i32 @strlen(ptr noundef %367)
%369 = load ptr, ptr %12, align 8
%370 = sext i32 %368 to i64
%371 = getelementptr inbounds i8, ptr %369, i64 %370
store ptr %371, ptr %12, align 8
br label %372
372: ; preds = %354
%373 = load i32, ptr %15, align 4
%374 = add nsw i32 %373, 1
store i32 %374, ptr %15, align 4
br label %350, !llvm.loop !6
375: ; preds = %350
%376 = load ptr, ptr %12, align 8
%377 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %376, ptr noundef @.str.15)
%378 = load ptr, ptr %12, align 8
%379 = call i32 @strlen(ptr noundef %378)
%380 = load ptr, ptr %12, align 8
%381 = sext i32 %379 to i64
%382 = getelementptr inbounds i8, ptr %380, i64 %381
store ptr %382, ptr %12, align 8
store i32 0, ptr %15, align 4
br label %383
383: ; preds = %405, %375
%384 = load i32, ptr %15, align 4
%385 = load i32, ptr %16, align 4
%386 = icmp slt i32 %384, %385
br i1 %386, label %387, label %408
387: ; preds = %383
%388 = load ptr, ptr %12, align 8
%389 = load ptr, ptr %9, align 8
%390 = getelementptr inbounds ptr, ptr %389, i64 4
%391 = load ptr, ptr %390, align 8
%392 = getelementptr inbounds i8, ptr %391, i64 62
%393 = load i32, ptr %15, align 4
%394 = mul nsw i32 %393, 4
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds i8, ptr %392, i64 %395
%397 = call double @int2(ptr noundef %396)
%398 = fmul double %397, 1.000000e-02
%399 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %388, ptr noundef @.str.14, double noundef %398)
%400 = load ptr, ptr %12, align 8
%401 = call i32 @strlen(ptr noundef %400)
%402 = load ptr, ptr %12, align 8
%403 = sext i32 %401 to i64
%404 = getelementptr inbounds i8, ptr %402, i64 %403
store ptr %404, ptr %12, align 8
br label %405
405: ; preds = %387
%406 = load i32, ptr %15, align 4
%407 = add nsw i32 %406, 1
store i32 %407, ptr %15, align 4
br label %383, !llvm.loop !8
408: ; preds = %383
br label %409
409: ; preds = %408, %339
br label %410
410: ; preds = %409, %60
store i32 0, ptr %7, align 4
br label %411
411: ; preds = %410, %59, %41, %20
%412 = load i32, ptr %7, align 4
ret i32 %412
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @uint2(ptr noundef) #1
declare i32 @int4(ptr noundef) #1
declare double @int2(ptr noundef) #1
declare i32 @uint4(ptr noundef) #1
declare i32 @uint_n(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/tmph2700jnd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"site=%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c":site_id#=%u\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c":site_lon=%lf:site_lat=%lf:site_elev=%.1lfm\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c":mag_dec=%.2fdeg\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c":freq=%ukHz\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c":pol=%d:opn_mode=%d:reflec=%d\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c":qc=%d:cluster_filter=%d\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c":angle_elev_constant=%.2f\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c":Ntheta=%d\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c":bin_size=%dm\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c":d_theta=%.1lfdeg\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c":ele(1)=%.2fdeg\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c":ele(%d)=%.2fdeg\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"\0A:elevation angle(1..Ntheta)=\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.15 = private unnamed_addr constant [34 x i8] c"\0A:pulse repetion freq(1..Ntheta)=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_JMA(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %6
store i32 0, ptr %7, align 4
br label %415
21: ; preds = %6
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 5
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = shl i32 %27, 8
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 6
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = add nsw i32 %28, %34
store i32 %35, ptr %17, align 4
%36 = load i32, ptr %17, align 4
%37 = icmp ne i32 %36, 34
br i1 %37, label %38, label %42
38: ; preds = %21
%39 = load i32, ptr %17, align 4
%40 = icmp ne i32 %39, 35
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 0, ptr %7, align 4
br label %415
42: ; preds = %38, %21
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 4
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 7
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = shl i32 %48, 8
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 4
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 8
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = add nsw i32 %49, %55
store i32 %56, ptr %14, align 4
%57 = load i32, ptr %14, align 4
%58 = icmp slt i32 %57, 50000
br i1 %58, label %59, label %60
59: ; preds = %42
store i32 0, ptr %7, align 4
br label %415
60: ; preds = %42
%61 = load i32, ptr %14, align 4
%62 = icmp eq i32 %61, 51022
br i1 %62, label %63, label %414
63: ; preds = %60
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %9, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 4
%67 = load ptr, ptr %66, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 24
%69 = load i8, ptr %68, align 1
%70 = zext i8 %69 to i32
%71 = load ptr, ptr %9, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 4
%73 = load ptr, ptr %72, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 25
%75 = load i8, ptr %74, align 1
%76 = zext i8 %75 to i32
%77 = load ptr, ptr %9, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 4
%79 = load ptr, ptr %78, align 8
%80 = getelementptr inbounds i8, ptr %79, i64 26
%81 = load i8, ptr %80, align 1
%82 = zext i8 %81 to i32
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 4
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i8, ptr %85, i64 27
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %64, ptr noundef @.str, i32 noundef %70, i32 noundef %76, i32 noundef %82, i32 noundef %88)
%90 = load ptr, ptr %12, align 8
%91 = call i32 @strlen(ptr noundef %90)
%92 = load ptr, ptr %12, align 8
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds i8, ptr %92, i64 %93
store ptr %94, ptr %12, align 8
%95 = load i32, ptr %8, align 4
%96 = icmp sge i32 %95, 1
br i1 %96, label %97, label %219
97: ; preds = %63
%98 = load ptr, ptr %12, align 8
%99 = load ptr, ptr %9, align 8
%100 = getelementptr inbounds ptr, ptr %99, i64 4
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 28
%103 = call i32 @uint2(ptr noundef %102)
%104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %98, ptr noundef @.str.1, i32 noundef %103)
%105 = load ptr, ptr %12, align 8
%106 = call i32 @strlen(ptr noundef %105)
%107 = load ptr, ptr %12, align 8
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store ptr %109, ptr %12, align 8
%110 = load ptr, ptr %12, align 8
%111 = load ptr, ptr %9, align 8
%112 = getelementptr inbounds ptr, ptr %111, i64 4
%113 = load ptr, ptr %112, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 18
%115 = call i32 @int4(ptr noundef %114)
%116 = sitofp i32 %115 to double
%117 = fmul double %116, 0x3EB0C6F7A0B5ED8D
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds ptr, ptr %118, i64 4
%120 = load ptr, ptr %119, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 14
%122 = call i32 @int4(ptr noundef %121)
%123 = sitofp i32 %122 to double
%124 = fmul double %123, 0x3EB0C6F7A0B5ED8D
%125 = load ptr, ptr %9, align 8
%126 = getelementptr inbounds ptr, ptr %125, i64 4
%127 = load ptr, ptr %126, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 22
%129 = call double @int2(ptr noundef %128)
%130 = fmul double %129, 1.000000e-01
%131 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %110, ptr noundef @.str.2, double noundef %117, double noundef %124, double noundef %130)
%132 = load ptr, ptr %12, align 8
%133 = call i32 @strlen(ptr noundef %132)
%134 = load ptr, ptr %12, align 8
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i8, ptr %134, i64 %135
store ptr %136, ptr %12, align 8
%137 = load ptr, ptr %12, align 8
%138 = load ptr, ptr %9, align 8
%139 = getelementptr inbounds ptr, ptr %138, i64 4
%140 = load ptr, ptr %139, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 30
%142 = call double @int2(ptr noundef %141)
%143 = fmul double %142, 1.000000e-03
%144 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %137, ptr noundef @.str.3, double noundef %143)
%145 = load ptr, ptr %12, align 8
%146 = call i32 @strlen(ptr noundef %145)
%147 = load ptr, ptr %12, align 8
%148 = sext i32 %146 to i64
%149 = getelementptr inbounds i8, ptr %147, i64 %148
store ptr %149, ptr %12, align 8
%150 = load ptr, ptr %12, align 8
%151 = load ptr, ptr %9, align 8
%152 = getelementptr inbounds ptr, ptr %151, i64 4
%153 = load ptr, ptr %152, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 32
%155 = call i32 @uint4(ptr noundef %154)
%156 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef @.str.4, i32 noundef %155)
%157 = load ptr, ptr %12, align 8
%158 = call i32 @strlen(ptr noundef %157)
%159 = load ptr, ptr %12, align 8
%160 = sext i32 %158 to i64
%161 = getelementptr inbounds i8, ptr %159, i64 %160
store ptr %161, ptr %12, align 8
%162 = load ptr, ptr %12, align 8
%163 = load ptr, ptr %9, align 8
%164 = getelementptr inbounds ptr, ptr %163, i64 4
%165 = load ptr, ptr %164, align 8
%166 = getelementptr inbounds i8, ptr %165, i64 36
%167 = load i8, ptr %166, align 1
%168 = zext i8 %167 to i32
%169 = load ptr, ptr %9, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 4
%171 = load ptr, ptr %170, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 37
%173 = load i8, ptr %172, align 1
%174 = zext i8 %173 to i32
%175 = load ptr, ptr %9, align 8
%176 = getelementptr inbounds ptr, ptr %175, i64 4
%177 = load ptr, ptr %176, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 38
%179 = load i8, ptr %178, align 1
%180 = zext i8 %179 to i32
%181 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %162, ptr noundef @.str.5, i32 noundef %168, i32 noundef %174, i32 noundef %180)
%182 = load ptr, ptr %12, align 8
%183 = call i32 @strlen(ptr noundef %182)
%184 = load ptr, ptr %12, align 8
%185 = sext i32 %183 to i64
%186 = getelementptr inbounds i8, ptr %184, i64 %185
store ptr %186, ptr %12, align 8
%187 = load ptr, ptr %12, align 8
%188 = load ptr, ptr %9, align 8
%189 = getelementptr inbounds ptr, ptr %188, i64 4
%190 = load ptr, ptr %189, align 8
%191 = getelementptr inbounds i8, ptr %190, i64 39
%192 = load i8, ptr %191, align 1
%193 = zext i8 %192 to i32
%194 = load ptr, ptr %9, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 4
%196 = load ptr, ptr %195, align 8
%197 = getelementptr inbounds i8, ptr %196, i64 40
%198 = load i8, ptr %197, align 1
%199 = zext i8 %198 to i32
%200 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %187, ptr noundef @.str.6, i32 noundef %193, i32 noundef %199)
%201 = load ptr, ptr %12, align 8
%202 = call i32 @strlen(ptr noundef %201)
%203 = load ptr, ptr %12, align 8
%204 = sext i32 %202 to i64
%205 = getelementptr inbounds i8, ptr %203, i64 %204
store ptr %205, ptr %12, align 8
%206 = load ptr, ptr %12, align 8
%207 = load ptr, ptr %9, align 8
%208 = getelementptr inbounds ptr, ptr %207, i64 4
%209 = load ptr, ptr %208, align 8
%210 = getelementptr inbounds i8, ptr %209, i64 41
%211 = call double @int2(ptr noundef %210)
%212 = fmul double %211, 1.000000e-02
%213 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %206, ptr noundef @.str.7, double noundef %212)
%214 = load ptr, ptr %12, align 8
%215 = call i32 @strlen(ptr noundef %214)
%216 = load ptr, ptr %12, align 8
%217 = sext i32 %215 to i64
%218 = getelementptr inbounds i8, ptr %216, i64 %217
store ptr %218, ptr %12, align 8
br label %219
219: ; preds = %97, %63
%220 = load ptr, ptr %9, align 8
%221 = getelementptr inbounds ptr, ptr %220, i64 4
%222 = load ptr, ptr %221, align 8
%223 = icmp ne ptr %222, null
br i1 %223, label %224, label %230
224: ; preds = %219
%225 = load ptr, ptr %9, align 8
%226 = getelementptr inbounds ptr, ptr %225, i64 4
%227 = load ptr, ptr %226, align 8
%228 = getelementptr inbounds i8, ptr %227, i64 0
%229 = call i32 @uint4(ptr noundef %228)
br label %231
230: ; preds = %219
br label %231
231: ; preds = %230, %224
%232 = phi i32 [ %229, %224 ], [ 0, %230 ]
store i32 %232, ptr %16, align 4
%233 = load i32, ptr %16, align 4
%234 = srem i32 %233, 4
%235 = icmp ne i32 %234, 0
br i1 %235, label %236, label %237
236: ; preds = %231
br label %241
237: ; preds = %231
%238 = load i32, ptr %16, align 4
%239 = sub nsw i32 %238, 60
%240 = sdiv i32 %239, 4
br label %241
241: ; preds = %237, %236
%242 = phi i32 [ -1, %236 ], [ %240, %237 ]
store i32 %242, ptr %16, align 4
%243 = load i32, ptr %8, align 4
%244 = icmp sge i32 %243, 1
br i1 %244, label %245, label %301
245: ; preds = %241
%246 = load ptr, ptr %12, align 8
%247 = load i32, ptr %16, align 4
%248 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %246, ptr noundef @.str.8, i32 noundef %247)
%249 = load ptr, ptr %12, align 8
%250 = call i32 @strlen(ptr noundef %249)
%251 = load ptr, ptr %12, align 8
%252 = sext i32 %250 to i64
%253 = getelementptr inbounds i8, ptr %251, i64 %252
store ptr %253, ptr %12, align 8
%254 = load ptr, ptr %9, align 8
%255 = getelementptr inbounds ptr, ptr %254, i64 4
%256 = load ptr, ptr %255, align 8
%257 = getelementptr inbounds i8, ptr %256, i64 55
%258 = call i32 @uint_n(ptr noundef %257, i32 noundef 3)
store i32 %258, ptr %15, align 4
%259 = load i32, ptr %15, align 4
%260 = icmp ne i32 %259, 16777215
br i1 %260, label %261, label %270
261: ; preds = %245
%262 = load ptr, ptr %12, align 8
%263 = load i32, ptr %15, align 4
%264 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %262, ptr noundef @.str.9, i32 noundef %263)
%265 = load ptr, ptr %12, align 8
%266 = call i32 @strlen(ptr noundef %265)
%267 = load ptr, ptr %12, align 8
%268 = sext i32 %266 to i64
%269 = getelementptr inbounds i8, ptr %267, i64 %268
store ptr %269, ptr %12, align 8
br label %270
270: ; preds = %261, %245
%271 = load ptr, ptr %9, align 8
%272 = getelementptr inbounds ptr, ptr %271, i64 4
%273 = load ptr, ptr %272, align 8
%274 = getelementptr inbounds i8, ptr %273, i64 58
%275 = load i8, ptr %274, align 1
%276 = zext i8 %275 to i32
%277 = icmp ne i32 %276, 255
br i1 %277, label %286, label %278
278: ; preds = %270
%279 = load ptr, ptr %9, align 8
%280 = getelementptr inbounds ptr, ptr %279, i64 4
%281 = load ptr, ptr %280, align 8
%282 = getelementptr inbounds i8, ptr %281, i64 59
%283 = load i8, ptr %282, align 1
%284 = zext i8 %283 to i32
%285 = icmp ne i32 %284, 255
br i1 %285, label %286, label %300
286: ; preds = %278, %270
%287 = load ptr, ptr %12, align 8
%288 = load ptr, ptr %9, align 8
%289 = getelementptr inbounds ptr, ptr %288, i64 4
%290 = load ptr, ptr %289, align 8
%291 = getelementptr inbounds i8, ptr %290, i64 58
%292 = call double @int2(ptr noundef %291)
%293 = fmul double %292, 1.000000e-01
%294 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %287, ptr noundef @.str.10, double noundef %293)
%295 = load ptr, ptr %12, align 8
%296 = call i32 @strlen(ptr noundef %295)
%297 = load ptr, ptr %12, align 8
%298 = sext i32 %296 to i64
%299 = getelementptr inbounds i8, ptr %297, i64 %298
store ptr %299, ptr %12, align 8
br label %300
300: ; preds = %286, %278
br label %301
301: ; preds = %300, %241
%302 = load i32, ptr %8, align 4
%303 = icmp slt i32 %302, 2
br i1 %303, label %304, label %339
304: ; preds = %301
%305 = load ptr, ptr %12, align 8
%306 = load ptr, ptr %9, align 8
%307 = getelementptr inbounds ptr, ptr %306, i64 4
%308 = load ptr, ptr %307, align 8
%309 = getelementptr inbounds i8, ptr %308, i64 60
%310 = call double @int2(ptr noundef %309)
%311 = fmul double %310, 1.000000e-02
%312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %305, ptr noundef @.str.11, double noundef %311)
%313 = load ptr, ptr %12, align 8
%314 = call i32 @strlen(ptr noundef %313)
%315 = load ptr, ptr %12, align 8
%316 = sext i32 %314 to i64
%317 = getelementptr inbounds i8, ptr %315, i64 %316
store ptr %317, ptr %12, align 8
%318 = load ptr, ptr %12, align 8
%319 = load i32, ptr %16, align 4
%320 = sdiv i32 %319, 2
%321 = load ptr, ptr %9, align 8
%322 = getelementptr inbounds ptr, ptr %321, i64 4
%323 = load ptr, ptr %322, align 8
%324 = getelementptr inbounds i8, ptr %323, i64 60
%325 = load i32, ptr %16, align 4
%326 = sub nsw i32 %325, 1
%327 = sdiv i32 %326, 2
%328 = mul nsw i32 %327, 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds i8, ptr %324, i64 %329
%331 = call double @int2(ptr noundef %330)
%332 = fmul double %331, 1.000000e-02
%333 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %318, ptr noundef @.str.12, i32 noundef %320, double noundef %332)
%334 = load ptr, ptr %12, align 8
%335 = call i32 @strlen(ptr noundef %334)
%336 = load ptr, ptr %12, align 8
%337 = sext i32 %335 to i64
%338 = getelementptr inbounds i8, ptr %336, i64 %337
store ptr %338, ptr %12, align 8
br label %339
339: ; preds = %304, %301
%340 = load i32, ptr %8, align 4
%341 = icmp sge i32 %340, 2
br i1 %341, label %342, label %413
342: ; preds = %339
%343 = load ptr, ptr %12, align 8
%344 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %343, ptr noundef @.str.13)
%345 = load ptr, ptr %12, align 8
%346 = call i32 @strlen(ptr noundef %345)
%347 = load ptr, ptr %12, align 8
%348 = sext i32 %346 to i64
%349 = getelementptr inbounds i8, ptr %347, i64 %348
store ptr %349, ptr %12, align 8
store i32 0, ptr %15, align 4
%350 = load i32, ptr %15, align 4
%351 = load i32, ptr %16, align 4
%352 = icmp slt i32 %350, %351
br i1 %352, label %.lr.ph, label %377
.lr.ph: ; preds = %342
br label %353
353: ; preds = %.lr.ph, %371
%354 = load ptr, ptr %12, align 8
%355 = load ptr, ptr %9, align 8
%356 = getelementptr inbounds ptr, ptr %355, i64 4
%357 = load ptr, ptr %356, align 8
%358 = getelementptr inbounds i8, ptr %357, i64 60
%359 = load i32, ptr %15, align 4
%360 = mul nsw i32 %359, 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds i8, ptr %358, i64 %361
%363 = call double @int2(ptr noundef %362)
%364 = fmul double %363, 1.000000e-02
%365 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %354, ptr noundef @.str.14, double noundef %364)
%366 = load ptr, ptr %12, align 8
%367 = call i32 @strlen(ptr noundef %366)
%368 = load ptr, ptr %12, align 8
%369 = sext i32 %367 to i64
%370 = getelementptr inbounds i8, ptr %368, i64 %369
store ptr %370, ptr %12, align 8
br label %371
371: ; preds = %353
%372 = load i32, ptr %15, align 4
%373 = add nsw i32 %372, 1
store i32 %373, ptr %15, align 4
%374 = load i32, ptr %15, align 4
%375 = load i32, ptr %16, align 4
%376 = icmp slt i32 %374, %375
br i1 %376, label %353, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %371
br label %377
377: ; preds = %._crit_edge, %342
%378 = load ptr, ptr %12, align 8
%379 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %378, ptr noundef @.str.15)
%380 = load ptr, ptr %12, align 8
%381 = call i32 @strlen(ptr noundef %380)
%382 = load ptr, ptr %12, align 8
%383 = sext i32 %381 to i64
%384 = getelementptr inbounds i8, ptr %382, i64 %383
store ptr %384, ptr %12, align 8
store i32 0, ptr %15, align 4
%385 = load i32, ptr %15, align 4
%386 = load i32, ptr %16, align 4
%387 = icmp slt i32 %385, %386
br i1 %387, label %.lr.ph2, label %412
.lr.ph2: ; preds = %377
br label %388
388: ; preds = %.lr.ph2, %406
%389 = load ptr, ptr %12, align 8
%390 = load ptr, ptr %9, align 8
%391 = getelementptr inbounds ptr, ptr %390, i64 4
%392 = load ptr, ptr %391, align 8
%393 = getelementptr inbounds i8, ptr %392, i64 62
%394 = load i32, ptr %15, align 4
%395 = mul nsw i32 %394, 4
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds i8, ptr %393, i64 %396
%398 = call double @int2(ptr noundef %397)
%399 = fmul double %398, 1.000000e-02
%400 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %389, ptr noundef @.str.14, double noundef %399)
%401 = load ptr, ptr %12, align 8
%402 = call i32 @strlen(ptr noundef %401)
%403 = load ptr, ptr %12, align 8
%404 = sext i32 %402 to i64
%405 = getelementptr inbounds i8, ptr %403, i64 %404
store ptr %405, ptr %12, align 8
br label %406
406: ; preds = %388
%407 = load i32, ptr %15, align 4
%408 = add nsw i32 %407, 1
store i32 %408, ptr %15, align 4
%409 = load i32, ptr %15, align 4
%410 = load i32, ptr %16, align 4
%411 = icmp slt i32 %409, %410
br i1 %411, label %388, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %406
br label %412
412: ; preds = %._crit_edge3, %377
br label %413
413: ; preds = %412, %339
br label %414
414: ; preds = %413, %60
store i32 0, ptr %7, align 4
br label %415
415: ; preds = %414, %59, %41, %20
%416 = load i32, ptr %7, align 4
ret i32 %416
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @uint2(ptr noundef) #1
declare i32 @int4(ptr noundef) #1
declare double @int2(ptr noundef) #1
declare i32 @uint4(ptr noundef) #1
declare i32 @uint_n(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/tmpyxmwy91h.c'
source_filename = "/tmp/tmpyxmwy91h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter radius (meters): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Sphere volume: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = fmul float %6, %7
%9 = load float, ptr %2, align 4
%10 = fmul float %8, %9
%11 = fmul float 0x4010BF25A0000000, %10
store float %11, ptr %3, align 4
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyxmwy91h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter radius (meters): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Sphere volume: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = fmul float %6, %7
%9 = load float, ptr %2, align 4
%10 = fmul float %8, %9
%11 = fmul float 0x4010BF25A0000000, %10
store float %11, ptr %3, align 4
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe2zhd_l0.c'
source_filename = "/tmp/tmpe2zhd_l0.c"
target datalayout = "e-m:e-p270: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/tmpe2zhd_l0.c"
target datalayout = "e-m:e-p270: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/tmp4nx3lzi0.c'
source_filename = "/tmp/tmp4nx3lzi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"B\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"KiB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"MiB\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"GiB\00", align 1
@__const.calculate_size.byte_totals = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [9 x i8] c"%.2Lf %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calculate_size(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x ptr], align 16
%6 = alloca x86_fp80, align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.calculate_size.byte_totals, i64 32, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strtoll(ptr noundef %8, ptr noundef null, i32 noundef 10)
%10 = sitofp i64 %9 to x86_fp80
store x86_fp80 %10, ptr %6, align 16
br label %11
11: ; preds = %22, %2
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load x86_fp80, ptr %6, align 16
%16 = fcmp ogt x86_fp80 %15, 0xK40098000000000000000
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %25
19: ; preds = %17
%20 = load x86_fp80, ptr %6, align 16
%21 = fdiv x86_fp80 %20, 0xK40098000000000000000
store x86_fp80 %21, ptr %6, align 16
br label %22
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %11, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = call i32 @free(ptr noundef %26)
%28 = call ptr @malloc(i32 noundef 16)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = load x86_fp80, ptr %6, align 16
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x ptr], ptr %5, i64 0, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @snprintf(ptr noundef %29, i32 noundef 15, ptr noundef @.str.4, x86_fp80 noundef %30, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
ret ptr %36
}
; 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 i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, x86_fp80 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4nx3lzi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"B\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"KiB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"MiB\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"GiB\00", align 1
@__const.calculate_size.byte_totals = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [9 x i8] c"%.2Lf %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calculate_size(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x ptr], align 16
%6 = alloca x86_fp80, align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.calculate_size.byte_totals, i64 32, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strtoll(ptr noundef %8, ptr noundef null, i32 noundef 10)
%10 = sitofp i64 %9 to x86_fp80
store x86_fp80 %10, ptr %6, align 16
br label %11
11: ; preds = %22, %2
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load x86_fp80, ptr %6, align 16
%16 = fcmp ogt x86_fp80 %15, 0xK40098000000000000000
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %25
19: ; preds = %17
%20 = load x86_fp80, ptr %6, align 16
%21 = fdiv x86_fp80 %20, 0xK40098000000000000000
store x86_fp80 %21, ptr %6, align 16
br label %22
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %11, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = call i32 @free(ptr noundef %26)
%28 = call ptr @malloc(i32 noundef 16)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = load x86_fp80, ptr %6, align 16
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x ptr], ptr %5, i64 0, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @snprintf(ptr noundef %29, i32 noundef 15, ptr noundef @.str.4, x86_fp80 noundef %30, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
ret ptr %36
}
; 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 i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, x86_fp80 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcic2pjra.c'
source_filename = "/tmp/tmpcic2pjra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmStep3fs(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %23, %3
%9 = load i64, ptr %7, align 8
%10 = icmp ult i64 %9, 3
br i1 %10, label %11, label %26
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds float, ptr %12, i64 %13
%15 = load float, ptr %14, align 4
%16 = load float, ptr %6, align 4
%17 = fcmp oge float %15, %16
%18 = zext i1 %17 to i32
%19 = sitofp i32 %18 to float
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds float, ptr %20, i64 %21
store float %19, ptr %22, align 4
br label %23
23: ; preds = %11
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %7, align 8
br label %8, !llvm.loop !6
26: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcic2pjra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmStep3fs(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ult i64 %8, 3
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %22
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds float, ptr %11, i64 %12
%14 = load float, ptr %13, align 4
%15 = load float, ptr %6, align 4
%16 = fcmp oge float %14, %15
%17 = zext i1 %16 to i32
%18 = sitofp i32 %17 to float
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds float, ptr %19, i64 %20
store float %18, ptr %21, align 4
br label %22
22: ; preds = %10
%23 = load i64, ptr %7, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %7, align 8
%26 = icmp ult i64 %25, 3
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp0wlawnj.c'
source_filename = "/tmp/tmpp0wlawnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGHUP = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGILL = dso_local global i32 0, align 4
@SIGTRAP = dso_local global i32 0, align 4
@SIGABRT = dso_local global i32 0, align 4
@SIGFPE = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
@SIGBUS = dso_local global i32 0, align 4
@SIGSEGV = dso_local global i32 0, align 4
@SIGSYS = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIGALRM = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIGURG = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGCONT = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
@SIGIO = dso_local global i32 0, align 4
@SIGXCPU = dso_local global i32 0, align 4
@SIGXFSZ = dso_local global i32 0, align 4
@SIGVTALRM = dso_local global i32 0, align 4
@SIGPROF = dso_local global i32 0, align 4
@SIGWINCH = dso_local global i32 0, align 4
@SIGUSR1 = dso_local global i32 0, align 4
@SIGUSR2 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @signum_linux_to_bsd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %63 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
i32 6, label %15
i32 8, label %17
i32 9, label %19
i32 7, label %21
i32 11, label %23
i32 31, label %25
i32 13, label %27
i32 14, label %29
i32 15, label %31
i32 23, label %33
i32 19, label %35
i32 20, label %37
i32 18, label %39
i32 17, label %41
i32 21, label %43
i32 22, label %45
i32 29, label %47
i32 24, label %49
i32 25, label %51
i32 26, label %53
i32 27, label %55
i32 28, label %57
i32 10, label %59
i32 12, label %61
]
5: ; preds = %1
%6 = load i32, ptr @SIGHUP, align 4
store i32 %6, ptr %2, align 4
br label %64
7: ; preds = %1
%8 = load i32, ptr @SIGINT, align 4
store i32 %8, ptr %2, align 4
br label %64
9: ; preds = %1
%10 = load i32, ptr @SIGQUIT, align 4
store i32 %10, ptr %2, align 4
br label %64
11: ; preds = %1
%12 = load i32, ptr @SIGILL, align 4
store i32 %12, ptr %2, align 4
br label %64
13: ; preds = %1
%14 = load i32, ptr @SIGTRAP, align 4
store i32 %14, ptr %2, align 4
br label %64
15: ; preds = %1
%16 = load i32, ptr @SIGABRT, align 4
store i32 %16, ptr %2, align 4
br label %64
17: ; preds = %1
%18 = load i32, ptr @SIGFPE, align 4
store i32 %18, ptr %2, align 4
br label %64
19: ; preds = %1
%20 = load i32, ptr @SIGKILL, align 4
store i32 %20, ptr %2, align 4
br label %64
21: ; preds = %1
%22 = load i32, ptr @SIGBUS, align 4
store i32 %22, ptr %2, align 4
br label %64
23: ; preds = %1
%24 = load i32, ptr @SIGSEGV, align 4
store i32 %24, ptr %2, align 4
br label %64
25: ; preds = %1
%26 = load i32, ptr @SIGSYS, align 4
store i32 %26, ptr %2, align 4
br label %64
27: ; preds = %1
%28 = load i32, ptr @SIGPIPE, align 4
store i32 %28, ptr %2, align 4
br label %64
29: ; preds = %1
%30 = load i32, ptr @SIGALRM, align 4
store i32 %30, ptr %2, align 4
br label %64
31: ; preds = %1
%32 = load i32, ptr @SIGTERM, align 4
store i32 %32, ptr %2, align 4
br label %64
33: ; preds = %1
%34 = load i32, ptr @SIGURG, align 4
store i32 %34, ptr %2, align 4
br label %64
35: ; preds = %1
%36 = load i32, ptr @SIGSTOP, align 4
store i32 %36, ptr %2, align 4
br label %64
37: ; preds = %1
%38 = load i32, ptr @SIGTSTP, align 4
store i32 %38, ptr %2, align 4
br label %64
39: ; preds = %1
%40 = load i32, ptr @SIGCONT, align 4
store i32 %40, ptr %2, align 4
br label %64
41: ; preds = %1
%42 = load i32, ptr @SIGCHLD, align 4
store i32 %42, ptr %2, align 4
br label %64
43: ; preds = %1
%44 = load i32, ptr @SIGTTIN, align 4
store i32 %44, ptr %2, align 4
br label %64
45: ; preds = %1
%46 = load i32, ptr @SIGTTOU, align 4
store i32 %46, ptr %2, align 4
br label %64
47: ; preds = %1
%48 = load i32, ptr @SIGIO, align 4
store i32 %48, ptr %2, align 4
br label %64
49: ; preds = %1
%50 = load i32, ptr @SIGXCPU, align 4
store i32 %50, ptr %2, align 4
br label %64
51: ; preds = %1
%52 = load i32, ptr @SIGXFSZ, align 4
store i32 %52, ptr %2, align 4
br label %64
53: ; preds = %1
%54 = load i32, ptr @SIGVTALRM, align 4
store i32 %54, ptr %2, align 4
br label %64
55: ; preds = %1
%56 = load i32, ptr @SIGPROF, align 4
store i32 %56, ptr %2, align 4
br label %64
57: ; preds = %1
%58 = load i32, ptr @SIGWINCH, align 4
store i32 %58, ptr %2, align 4
br label %64
59: ; preds = %1
%60 = load i32, ptr @SIGUSR1, align 4
store i32 %60, ptr %2, align 4
br label %64
61: ; preds = %1
%62 = load i32, ptr @SIGUSR2, align 4
store i32 %62, ptr %2, align 4
br label %64
63: ; preds = %1
store i32 0, ptr %2, align 4
br label %64
64: ; preds = %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
%65 = load i32, ptr %2, align 4
ret i32 %65
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp0wlawnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGHUP = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGILL = dso_local global i32 0, align 4
@SIGTRAP = dso_local global i32 0, align 4
@SIGABRT = dso_local global i32 0, align 4
@SIGFPE = dso_local global i32 0, align 4
@SIGKILL = dso_local global i32 0, align 4
@SIGBUS = dso_local global i32 0, align 4
@SIGSEGV = dso_local global i32 0, align 4
@SIGSYS = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIGALRM = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIGURG = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIGCONT = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGTTIN = dso_local global i32 0, align 4
@SIGTTOU = dso_local global i32 0, align 4
@SIGIO = dso_local global i32 0, align 4
@SIGXCPU = dso_local global i32 0, align 4
@SIGXFSZ = dso_local global i32 0, align 4
@SIGVTALRM = dso_local global i32 0, align 4
@SIGPROF = dso_local global i32 0, align 4
@SIGWINCH = dso_local global i32 0, align 4
@SIGUSR1 = dso_local global i32 0, align 4
@SIGUSR2 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @signum_linux_to_bsd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %63 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
i32 6, label %15
i32 8, label %17
i32 9, label %19
i32 7, label %21
i32 11, label %23
i32 31, label %25
i32 13, label %27
i32 14, label %29
i32 15, label %31
i32 23, label %33
i32 19, label %35
i32 20, label %37
i32 18, label %39
i32 17, label %41
i32 21, label %43
i32 22, label %45
i32 29, label %47
i32 24, label %49
i32 25, label %51
i32 26, label %53
i32 27, label %55
i32 28, label %57
i32 10, label %59
i32 12, label %61
]
5: ; preds = %1
%6 = load i32, ptr @SIGHUP, align 4
store i32 %6, ptr %2, align 4
br label %64
7: ; preds = %1
%8 = load i32, ptr @SIGINT, align 4
store i32 %8, ptr %2, align 4
br label %64
9: ; preds = %1
%10 = load i32, ptr @SIGQUIT, align 4
store i32 %10, ptr %2, align 4
br label %64
11: ; preds = %1
%12 = load i32, ptr @SIGILL, align 4
store i32 %12, ptr %2, align 4
br label %64
13: ; preds = %1
%14 = load i32, ptr @SIGTRAP, align 4
store i32 %14, ptr %2, align 4
br label %64
15: ; preds = %1
%16 = load i32, ptr @SIGABRT, align 4
store i32 %16, ptr %2, align 4
br label %64
17: ; preds = %1
%18 = load i32, ptr @SIGFPE, align 4
store i32 %18, ptr %2, align 4
br label %64
19: ; preds = %1
%20 = load i32, ptr @SIGKILL, align 4
store i32 %20, ptr %2, align 4
br label %64
21: ; preds = %1
%22 = load i32, ptr @SIGBUS, align 4
store i32 %22, ptr %2, align 4
br label %64
23: ; preds = %1
%24 = load i32, ptr @SIGSEGV, align 4
store i32 %24, ptr %2, align 4
br label %64
25: ; preds = %1
%26 = load i32, ptr @SIGSYS, align 4
store i32 %26, ptr %2, align 4
br label %64
27: ; preds = %1
%28 = load i32, ptr @SIGPIPE, align 4
store i32 %28, ptr %2, align 4
br label %64
29: ; preds = %1
%30 = load i32, ptr @SIGALRM, align 4
store i32 %30, ptr %2, align 4
br label %64
31: ; preds = %1
%32 = load i32, ptr @SIGTERM, align 4
store i32 %32, ptr %2, align 4
br label %64
33: ; preds = %1
%34 = load i32, ptr @SIGURG, align 4
store i32 %34, ptr %2, align 4
br label %64
35: ; preds = %1
%36 = load i32, ptr @SIGSTOP, align 4
store i32 %36, ptr %2, align 4
br label %64
37: ; preds = %1
%38 = load i32, ptr @SIGTSTP, align 4
store i32 %38, ptr %2, align 4
br label %64
39: ; preds = %1
%40 = load i32, ptr @SIGCONT, align 4
store i32 %40, ptr %2, align 4
br label %64
41: ; preds = %1
%42 = load i32, ptr @SIGCHLD, align 4
store i32 %42, ptr %2, align 4
br label %64
43: ; preds = %1
%44 = load i32, ptr @SIGTTIN, align 4
store i32 %44, ptr %2, align 4
br label %64
45: ; preds = %1
%46 = load i32, ptr @SIGTTOU, align 4
store i32 %46, ptr %2, align 4
br label %64
47: ; preds = %1
%48 = load i32, ptr @SIGIO, align 4
store i32 %48, ptr %2, align 4
br label %64
49: ; preds = %1
%50 = load i32, ptr @SIGXCPU, align 4
store i32 %50, ptr %2, align 4
br label %64
51: ; preds = %1
%52 = load i32, ptr @SIGXFSZ, align 4
store i32 %52, ptr %2, align 4
br label %64
53: ; preds = %1
%54 = load i32, ptr @SIGVTALRM, align 4
store i32 %54, ptr %2, align 4
br label %64
55: ; preds = %1
%56 = load i32, ptr @SIGPROF, align 4
store i32 %56, ptr %2, align 4
br label %64
57: ; preds = %1
%58 = load i32, ptr @SIGWINCH, align 4
store i32 %58, ptr %2, align 4
br label %64
59: ; preds = %1
%60 = load i32, ptr @SIGUSR1, align 4
store i32 %60, ptr %2, align 4
br label %64
61: ; preds = %1
%62 = load i32, ptr @SIGUSR2, align 4
store i32 %62, ptr %2, align 4
br label %64
63: ; preds = %1
store i32 0, ptr %2, align 4
br label %64
64: ; preds = %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
%65 = load i32, ptr %2, align 4
ret i32 %65
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdm493mu4.c'
source_filename = "/tmp/tmpdm493mu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Non converging eigenvalues! Exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_eigen(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = trunc i64 %14 to i32
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 8, %17
%19 = load i32, ptr %13, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %18, %20
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %7, align 8
%25 = call i32 @check_alloc(ptr noundef %24)
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 8, %27
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = mul i64 %28, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @malloc(i32 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %9, align 8
%35 = call i32 @check_alloc(ptr noundef %34)
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 8, %37
%39 = trunc i64 %38 to i32
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %8, align 8
%42 = call i32 @check_alloc(ptr noundef %41)
store i32 0, ptr %11, align 4
br label %43
43: ; preds = %74, %3
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %13, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %77
47: ; preds = %43
store i32 0, ptr %12, align 4
br label %48
48: ; preds = %70, %47
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %13, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %73
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %12, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
%61 = load double, ptr %60, align 8
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %12, align 4
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 %64, %65
%67 = add nsw i32 %63, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %62, i64 %68
store double %61, ptr %69, align 8
br label %70
70: ; preds = %52
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %12, align 4
br label %48, !llvm.loop !6
73: ; preds = %48
br label %74
74: ; preds = %73
%75 = load i32, ptr %11, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %11, align 4
br label %43, !llvm.loop !8
77: ; preds = %43
%78 = load ptr, ptr %9, align 8
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %8, align 8
%81 = load ptr, ptr %7, align 8
%82 = call i32 @tred2(ptr noundef %13, ptr noundef %13, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81)
%83 = load ptr, ptr %6, align 8
%84 = load ptr, ptr %8, align 8
%85 = load ptr, ptr %7, align 8
%86 = call i32 @tql2(ptr noundef %13, ptr noundef %13, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %10)
%87 = load i32, ptr %10, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %77
%90 = load i32, ptr @stderr, align 4
%91 = call i32 @fprintf(i32 noundef %90, ptr noundef @.str)
%92 = call i32 @exit(i32 noundef 23) #3
unreachable
93: ; preds = %77
store i32 0, ptr %11, align 4
br label %94
94: ; preds = %125, %93
%95 = load i32, ptr %11, align 4
%96 = load i32, ptr %13, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %128
98: ; preds = %94
store i32 0, ptr %12, align 4
br label %99
99: ; preds = %121, %98
%100 = load i32, ptr %12, align 4
%101 = load i32, ptr %13, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %124
103: ; preds = %99
%104 = load ptr, ptr %7, align 8
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %12, align 4
%108 = mul nsw i32 %106, %107
%109 = add nsw i32 %105, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %104, i64 %110
%112 = load double, ptr %111, align 8
%113 = load ptr, ptr %4, align 8
%114 = load i32, ptr %11, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %113, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = load i32, ptr %12, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
store double %112, ptr %120, align 8
br label %121
121: ; preds = %103
%122 = load i32, ptr %12, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %12, align 4
br label %99, !llvm.loop !9
124: ; preds = %99
br label %125
125: ; preds = %124
%126 = load i32, ptr %11, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %11, align 4
br label %94, !llvm.loop !10
128: ; preds = %94
%129 = load ptr, ptr %7, align 8
%130 = call i32 @free(ptr noundef %129)
%131 = load ptr, ptr %9, align 8
%132 = call i32 @free(ptr noundef %131)
%133 = load ptr, ptr %8, align 8
%134 = call i32 @free(ptr noundef %133)
ret void
}
declare i32 @check_alloc(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @tred2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @tql2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdm493mu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Non converging eigenvalues! Exiting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_eigen(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = trunc i64 %14 to i32
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 8, %17
%19 = load i32, ptr %13, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %18, %20
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %7, align 8
%25 = call i32 @check_alloc(ptr noundef %24)
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 8, %27
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = mul i64 %28, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @malloc(i32 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %9, align 8
%35 = call i32 @check_alloc(ptr noundef %34)
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 8, %37
%39 = trunc i64 %38 to i32
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %8, align 8
%42 = call i32 @check_alloc(ptr noundef %41)
store i32 0, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph2, label %81
.lr.ph2: ; preds = %3
br label %46
46: ; preds = %.lr.ph2, %75
store i32 0, ptr %12, align 4
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %74
.lr.ph: ; preds = %46
br label %50
50: ; preds = %.lr.ph, %68
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %12, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %11, align 4
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %13, align 4
%64 = mul nsw i32 %62, %63
%65 = add nsw i32 %61, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %60, i64 %66
store double %59, ptr %67, align 8
br label %68
68: ; preds = %50
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %13, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %46
br label %75
75: ; preds = %74
%76 = load i32, ptr %11, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %13, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %81
81: ; preds = %._crit_edge3, %3
%82 = load ptr, ptr %9, align 8
%83 = load ptr, ptr %6, align 8
%84 = load ptr, ptr %8, align 8
%85 = load ptr, ptr %7, align 8
%86 = call i32 @tred2(ptr noundef %13, ptr noundef %13, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85)
%87 = load ptr, ptr %6, align 8
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %7, align 8
%90 = call i32 @tql2(ptr noundef %13, ptr noundef %13, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %10)
%91 = load i32, ptr %10, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %97
93: ; preds = %81
%94 = load i32, ptr @stderr, align 4
%95 = call i32 @fprintf(i32 noundef %94, ptr noundef @.str)
%96 = call i32 @exit(i32 noundef 23) #3
unreachable
97: ; preds = %81
store i32 0, ptr %11, align 4
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %13, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph8, label %136
.lr.ph8: ; preds = %97
br label %101
101: ; preds = %.lr.ph8, %130
store i32 0, ptr %12, align 4
%102 = load i32, ptr %12, align 4
%103 = load i32, ptr %13, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph5, label %129
.lr.ph5: ; preds = %101
br label %105
105: ; preds = %.lr.ph5, %123
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %11, align 4
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %12, align 4
%110 = mul nsw i32 %108, %109
%111 = add nsw i32 %107, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %106, i64 %112
%114 = load double, ptr %113, align 8
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %11, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %115, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = load i32, ptr %12, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
store double %114, ptr %122, align 8
br label %123
123: ; preds = %105
%124 = load i32, ptr %12, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %12, align 4
%126 = load i32, ptr %12, align 4
%127 = load i32, ptr %13, align 4
%128 = icmp slt i32 %126, %127
br i1 %128, label %105, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %123
br label %129
129: ; preds = %._crit_edge6, %101
br label %130
130: ; preds = %129
%131 = load i32, ptr %11, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %11, align 4
%133 = load i32, ptr %11, align 4
%134 = load i32, ptr %13, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %101, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %130
br label %136
136: ; preds = %._crit_edge9, %97
%137 = load ptr, ptr %7, align 8
%138 = call i32 @free(ptr noundef %137)
%139 = load ptr, ptr %9, align 8
%140 = call i32 @free(ptr noundef %139)
%141 = load ptr, ptr %8, align 8
%142 = call i32 @free(ptr noundef %141)
ret void
}
declare i32 @check_alloc(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @tred2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @tql2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp1el5qac0.c'
source_filename = "/tmp/tmp1el5qac0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"kaa_configuration.bin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ext_configuration_delete(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i32 @cc32xx_binary_file_delete(ptr noundef @.str)
ret void
}
declare i32 @cc32xx_binary_file_delete(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1el5qac0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"kaa_configuration.bin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ext_configuration_delete(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i32 @cc32xx_binary_file_delete(ptr noundef @.str)
ret void
}
declare i32 @cc32xx_binary_file_delete(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7kbconht.c'
source_filename = "/tmp/tmp7kbconht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test20(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_mul_su32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_mul_su32(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/tmp7kbconht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test20(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_mul_su32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_mul_su32(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/tmp1phv_1en.c'
source_filename = "/tmp/tmp1phv_1en.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_FPOW_(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr %5, align 8
%10 = load double, ptr %5, align 8
%11 = fcmp une double %9, %10
br i1 %11, label %16, label %12
12: ; preds = %4
%13 = load double, ptr %7, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp une double %13, %14
br i1 %15, label %16, label %26
16: ; preds = %12, %4
%17 = load double, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = fcmp une double %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load double, ptr %7, align 8
%22 = load double, ptr %7, align 8
%23 = fcmp une double %21, %22
br i1 %23, label %24, label %25
24: ; preds = %20
br i1 true, label %60, label %34
25: ; preds = %20, %16
br i1 false, label %60, label %34
26: ; preds = %12
%27 = load double, ptr %5, align 8
%28 = load double, ptr %7, align 8
%29 = fcmp olt double %27, %28
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load double, ptr %7, align 8
%32 = load double, ptr %5, align 8
%33 = fcmp olt double %31, %32
br i1 %33, label %34, label %60
34: ; preds = %30, %26, %25, %24
%35 = load double, ptr %6, align 8
%36 = load double, ptr %6, align 8
%37 = fcmp une double %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load double, ptr %8, align 8
%40 = load double, ptr %8, align 8
%41 = fcmp une double %39, %40
br i1 %41, label %42, label %52
42: ; preds = %38, %34
%43 = load double, ptr %6, align 8
%44 = load double, ptr %6, align 8
%45 = fcmp une double %43, %44
br i1 %45, label %46, label %51
46: ; preds = %42
%47 = load double, ptr %8, align 8
%48 = load double, ptr %8, align 8
%49 = fcmp une double %47, %48
br i1 %49, label %50, label %51
50: ; preds = %46
br i1 true, label %60, label %62
51: ; preds = %46, %42
br i1 false, label %60, label %62
52: ; preds = %38
%53 = load double, ptr %6, align 8
%54 = load double, ptr %8, align 8
%55 = fcmp olt double %53, %54
br i1 %55, label %62, label %56
56: ; preds = %52
%57 = load double, ptr %8, align 8
%58 = load double, ptr %6, align 8
%59 = fcmp olt double %57, %58
br i1 %59, label %62, label %60
60: ; preds = %56, %51, %50, %30, %25, %24
%61 = load double, ptr %7, align 8
br label %66
62: ; preds = %56, %52, %51, %50
%63 = load double, ptr %5, align 8
%64 = load double, ptr %6, align 8
%65 = call double @pow(double noundef %63, double noundef %64) #2
br label %66
66: ; preds = %62, %60
%67 = phi double [ %61, %60 ], [ %65, %62 ]
ret double %67
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmp1phv_1en.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_FPOW_(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr %5, align 8
%10 = load double, ptr %5, align 8
%11 = fcmp une double %9, %10
br i1 %11, label %16, label %12
12: ; preds = %4
%13 = load double, ptr %7, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp une double %13, %14
br i1 %15, label %16, label %26
16: ; preds = %12, %4
%17 = load double, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = fcmp une double %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load double, ptr %7, align 8
%22 = load double, ptr %7, align 8
%23 = fcmp une double %21, %22
br i1 %23, label %24, label %25
24: ; preds = %20
br i1 true, label %60, label %34
25: ; preds = %20, %16
br i1 false, label %60, label %34
26: ; preds = %12
%27 = load double, ptr %5, align 8
%28 = load double, ptr %7, align 8
%29 = fcmp olt double %27, %28
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load double, ptr %7, align 8
%32 = load double, ptr %5, align 8
%33 = fcmp olt double %31, %32
br i1 %33, label %34, label %60
34: ; preds = %30, %26, %25, %24
%35 = load double, ptr %6, align 8
%36 = load double, ptr %6, align 8
%37 = fcmp une double %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load double, ptr %8, align 8
%40 = load double, ptr %8, align 8
%41 = fcmp une double %39, %40
br i1 %41, label %42, label %52
42: ; preds = %38, %34
%43 = load double, ptr %6, align 8
%44 = load double, ptr %6, align 8
%45 = fcmp une double %43, %44
br i1 %45, label %46, label %51
46: ; preds = %42
%47 = load double, ptr %8, align 8
%48 = load double, ptr %8, align 8
%49 = fcmp une double %47, %48
br i1 %49, label %50, label %51
50: ; preds = %46
br i1 true, label %60, label %62
51: ; preds = %46, %42
br i1 false, label %60, label %62
52: ; preds = %38
%53 = load double, ptr %6, align 8
%54 = load double, ptr %8, align 8
%55 = fcmp olt double %53, %54
br i1 %55, label %62, label %56
56: ; preds = %52
%57 = load double, ptr %8, align 8
%58 = load double, ptr %6, align 8
%59 = fcmp olt double %57, %58
br i1 %59, label %62, label %60
60: ; preds = %56, %51, %50, %30, %25, %24
%61 = load double, ptr %7, align 8
br label %66
62: ; preds = %56, %52, %51, %50
%63 = load double, ptr %5, align 8
%64 = load double, ptr %6, align 8
%65 = call double @pow(double noundef %63, double noundef %64) #2
br label %66
66: ; preds = %62, %60
%67 = phi double [ %61, %60 ], [ %65, %62 ]
ret double %67
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpqv4iuulv.c'
source_filename = "/tmp/tmpqv4iuulv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat3(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 i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = add nsw i32 %10, %12
%14 = load ptr, ptr %6, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %13, %15
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = mul i64 1, %18
store i64 %19, ptr %7, align 8
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
%22 = call ptr @xmalloc(i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %7, align 8
%26 = call i32 @strlcpy(ptr noundef %23, ptr noundef %24, i64 noundef %25)
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @strlcat(ptr noundef %27, ptr noundef %28, i64 noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %7, align 8
%34 = call i32 @strlcat(ptr noundef %31, ptr noundef %32, i64 noundef %33)
%35 = load ptr, ptr %8, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
declare ptr @xmalloc(i64 noundef) #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strlcat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqv4iuulv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat3(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 i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = add nsw i32 %10, %12
%14 = load ptr, ptr %6, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %13, %15
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = mul i64 1, %18
store i64 %19, ptr %7, align 8
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
%22 = call ptr @xmalloc(i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %7, align 8
%26 = call i32 @strlcpy(ptr noundef %23, ptr noundef %24, i64 noundef %25)
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @strlcat(ptr noundef %27, ptr noundef %28, i64 noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i64, ptr %7, align 8
%34 = call i32 @strlcat(ptr noundef %31, ptr noundef %32, i64 noundef %33)
%35 = load ptr, ptr %8, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
declare ptr @xmalloc(i64 noundef) #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strlcat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxqzwdfv6.c'
source_filename = "/tmp/tmpxqzwdfv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cannawcstrlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxqzwdfv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cannawcstrlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i32, ptr %11, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw04kl88k.c'
source_filename = "/tmp/tmpw04kl88k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Updating product #%s with description '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_product_description(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmpw04kl88k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Updating product #%s with description '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_product_description(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmpdqibogjr.c'
source_filename = "/tmp/tmpdqibogjr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @intr_wrap_570(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = call i64 @shftc_ll(ptr noundef %4, ptr noundef %5, ptr noundef %6)
ret i64 %7
}
declare i64 @shftc_ll(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/tmpdqibogjr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @intr_wrap_570(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = call i64 @shftc_ll(ptr noundef %4, ptr noundef %5, ptr noundef %6)
ret i64 %7
}
declare i64 @shftc_ll(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/tmp82rqu28c.c'
source_filename = "/tmp/tmp82rqu28c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c" creation time (wall): %2.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c" creation time (cpu): %2.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call float (...) @wall()
store float %7, ptr %2, align 4
%8 = call float (...) @cpu()
store float %8, ptr %3, align 4
%9 = call i32 @sleep(i32 noundef 5)
%10 = call float (...) @wall()
store float %10, ptr %4, align 4
%11 = call float (...) @cpu()
store float %11, ptr %5, align 4
%12 = load float, ptr %4, align 4
%13 = load float, ptr %2, align 4
%14 = fsub float %12, %13
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15)
%17 = load float, ptr %5, align 4
%18 = load float, ptr %3, align 4
%19 = fsub float %17, %18
%20 = fpext float %19 to double
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare float @wall(...) #1
declare float @cpu(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp82rqu28c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c" creation time (wall): %2.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c" creation time (cpu): %2.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call float (...) @wall()
store float %7, ptr %2, align 4
%8 = call float (...) @cpu()
store float %8, ptr %3, align 4
%9 = call i32 @sleep(i32 noundef 5)
%10 = call float (...) @wall()
store float %10, ptr %4, align 4
%11 = call float (...) @cpu()
store float %11, ptr %5, align 4
%12 = load float, ptr %4, align 4
%13 = load float, ptr %2, align 4
%14 = fsub float %12, %13
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15)
%17 = load float, ptr %5, align 4
%18 = load float, ptr %3, align 4
%19 = fsub float %17, %18
%20 = fpext float %19 to double
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare float @wall(...) #1
declare float @cpu(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplvlrook6.c'
source_filename = "/tmp/tmplvlrook6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i64, ptr %8, align 8
store i64 %15, ptr %4, align 8
br label %34
16: ; preds = %3
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i64, ptr %7, align 8
%22 = sub i64 %21, 1
store i64 %22, ptr %9, align 8
br label %25
23: ; preds = %16
%24 = load i64, ptr %8, align 8
store i64 %24, ptr %9, align 8
br label %25
25: ; preds = %23, %20
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %9, align 8
%29 = call i32 @memmove(ptr noundef %26, ptr noundef %27, i64 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %9, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
store i8 0, ptr %32, align 1
%33 = load i64, ptr %8, align 8
store i64 %33, ptr %4, align 8
br label %34
34: ; preds = %25, %14
%35 = load i64, ptr %4, align 8
ret i64 %35
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvlrook6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i64, ptr %8, align 8
store i64 %15, ptr %4, align 8
br label %34
16: ; preds = %3
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i64, ptr %7, align 8
%22 = sub i64 %21, 1
store i64 %22, ptr %9, align 8
br label %25
23: ; preds = %16
%24 = load i64, ptr %8, align 8
store i64 %24, ptr %9, align 8
br label %25
25: ; preds = %23, %20
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %9, align 8
%29 = call i32 @memmove(ptr noundef %26, ptr noundef %27, i64 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %9, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
store i8 0, ptr %32, align 1
%33 = load i64, ptr %8, align 8
store i64 %33, ptr %4, align 8
br label %34
34: ; preds = %25, %14
%35 = load i64, ptr %4, align 8
ret i64 %35
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk5p542cs.c'
source_filename = "/tmp/tmpk5p542cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"grpc_url_percent_encoding_unreserved_bytes\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"grpc_compatible_percent_encoding_unreserved_bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @clear()
store i32 97, ptr %2, align 4
br label %4
4: ; preds = %10, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 122
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i32 @legal(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
store i32 65, ptr %2, align 4
br label %14
14: ; preds = %20, %13
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 90
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = call i32 @legal(i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %14, !llvm.loop !8
23: ; preds = %14
store i32 48, ptr %2, align 4
br label %24
24: ; preds = %30, %23
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %25, 57
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = call i32 @legal(i32 noundef %28)
br label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %24, !llvm.loop !9
33: ; preds = %24
%34 = call i32 @legal(i32 noundef 45)
%35 = call i32 @legal(i32 noundef 95)
%36 = call i32 @legal(i32 noundef 46)
%37 = call i32 @legal(i32 noundef 126)
%38 = call i32 @dump(ptr noundef @.str)
%39 = call i32 (...) @clear()
store i32 32, ptr %2, align 4
br label %40
40: ; preds = %50, %33
%41 = load i32, ptr %2, align 4
%42 = icmp sle i32 %41, 126
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 37
br i1 %45, label %46, label %47
46: ; preds = %43
br label %50
47: ; preds = %43
%48 = load i32, ptr %2, align 4
%49 = call i32 @legal(i32 noundef %48)
br label %50
50: ; preds = %47, %46
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %2, align 4
br label %40, !llvm.loop !10
53: ; preds = %40
%54 = call i32 @dump(ptr noundef @.str.1)
ret i32 0
}
declare i32 @clear(...) #1
declare i32 @legal(i32 noundef) #1
declare i32 @dump(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk5p542cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"grpc_url_percent_encoding_unreserved_bytes\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"grpc_compatible_percent_encoding_unreserved_bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @clear()
store i32 97, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 122
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %2, align 4
%8 = call i32 @legal(i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 122
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
store i32 65, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 90
br i1 %16, label %.lr.ph2, label %25
.lr.ph2: ; preds = %14
br label %17
17: ; preds = %.lr.ph2, %20
%18 = load i32, ptr %2, align 4
%19 = call i32 @legal(i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %23, 90
br i1 %24, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %20
br label %25
25: ; preds = %._crit_edge3, %14
store i32 48, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, 57
br i1 %27, label %.lr.ph5, label %36
.lr.ph5: ; preds = %25
br label %28
28: ; preds = %.lr.ph5, %31
%29 = load i32, ptr %2, align 4
%30 = call i32 @legal(i32 noundef %29)
br label %31
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp sle i32 %34, 57
br i1 %35, label %28, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %31
br label %36
36: ; preds = %._crit_edge6, %25
%37 = call i32 @legal(i32 noundef 45)
%38 = call i32 @legal(i32 noundef 95)
%39 = call i32 @legal(i32 noundef 46)
%40 = call i32 @legal(i32 noundef 126)
%41 = call i32 @dump(ptr noundef @.str)
%42 = call i32 (...) @clear()
store i32 32, ptr %2, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp sle i32 %43, 126
br i1 %44, label %.lr.ph8, label %57
.lr.ph8: ; preds = %36
br label %45
45: ; preds = %.lr.ph8, %52
%46 = load i32, ptr %2, align 4
%47 = icmp eq i32 %46, 37
br i1 %47, label %48, label %49
48: ; preds = %45
br label %52
49: ; preds = %45
%50 = load i32, ptr %2, align 4
%51 = call i32 @legal(i32 noundef %50)
br label %52
52: ; preds = %49, %48
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp sle i32 %55, 126
br i1 %56, label %45, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %52
br label %57
57: ; preds = %._crit_edge9, %36
%58 = call i32 @dump(ptr noundef @.str.1)
ret i32 0
}
declare i32 @clear(...) #1
declare i32 @legal(i32 noundef) #1
declare i32 @dump(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp7nsq226q.c'
source_filename = "/tmp/tmp7nsq226q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_rth_init(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %9, align 4
%13 = call i64 @inet6_rth_space(i32 noundef %11, i32 noundef %12)
store i64 %13, ptr %10, align 8
%14 = load i64, ptr %10, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %4
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16, %4
store ptr null, ptr %5, align 8
br label %33
21: ; preds = %16
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %10, align 8
%24 = call i32 @memset(ptr noundef %22, i32 noundef 0, i64 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = mul nsw i32 %25, 2
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 1
store i32 %26, ptr %28, align 4
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 2
store i32 %29, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %5, align 8
br label %33
33: ; preds = %21, %20
%34 = load ptr, ptr %5, align 8
ret ptr %34
}
declare i64 @inet6_rth_space(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7nsq226q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_rth_init(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %9, align 4
%13 = call i64 @inet6_rth_space(i32 noundef %11, i32 noundef %12)
store i64 %13, ptr %10, align 8
%14 = load i64, ptr %10, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %4
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16, %4
store ptr null, ptr %5, align 8
br label %33
21: ; preds = %16
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %10, align 8
%24 = call i32 @memset(ptr noundef %22, i32 noundef 0, i64 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = mul nsw i32 %25, 2
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 1
store i32 %26, ptr %28, align 4
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 2
store i32 %29, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %5, align 8
br label %33
33: ; preds = %21, %20
%34 = load ptr, ptr %5, align 8
ret ptr %34
}
declare i64 @inet6_rth_space(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprckxasyx.c'
source_filename = "/tmp/tmprckxasyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"informe o valor principal do emprestimo(-1 para terminar): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"informe a taxa de juros: \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"informe o prazo de emprestimo em dias: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"o valor do juros \C3\A9 de R$%.2f: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
br label %6
6: ; preds = %15, %14, %0
%7 = load float, ptr %4, align 4
%8 = fcmp une float %7, -1.000000e+00
br i1 %8, label %9, label %30
9: ; preds = %6
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load float, ptr %4, align 4
%13 = fcmp oeq float %12, -1.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %9
br label %6, !llvm.loop !6
15: ; preds = %9
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%20 = load float, ptr %4, align 4
%21 = load float, ptr %3, align 4
%22 = fmul float %20, %21
%23 = load i32, ptr %2, align 4
%24 = sitofp i32 %23 to float
%25 = fmul float %22, %24
%26 = fdiv float %25, 3.650000e+02
store float %26, ptr %5, align 4
%27 = load float, ptr %5, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %28)
br label %6, !llvm.loop !6
30: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprckxasyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"informe o valor principal do emprestimo(-1 para terminar): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"informe a taxa de juros: \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"informe o prazo de emprestimo em dias: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"o valor do juros \C3\A9 de R$%.2f: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = load float, ptr %4, align 4
%7 = fcmp une float %6, -1.000000e+00
br i1 %7, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %.backedge
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%11 = load float, ptr %4, align 4
%12 = fcmp oeq float %11, -1.000000e+00
br i1 %12, label %13, label %16
13: ; preds = %8
br label %.backedge
.backedge: ; preds = %13, %16
%14 = load float, ptr %4, align 4
%15 = fcmp une float %14, -1.000000e+00
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
16: ; preds = %8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%21 = load float, ptr %4, align 4
%22 = load float, ptr %3, align 4
%23 = fmul float %21, %22
%24 = load i32, ptr %2, align 4
%25 = sitofp i32 %24 to float
%26 = fmul float %23, %25
%27 = fdiv float %26, 3.650000e+02
store float %27, ptr %5, align 4
%28 = load float, ptr %5, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %29)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %31
31: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcvl76iuk.c'
source_filename = "/tmp/tmpcvl76iuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6)
store i32 1, ptr %2, align 4
br label %8
8: ; preds = %52, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %55
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 1
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %31
19: ; preds = %15, %12
store i32 1, ptr %3, align 4
br label %20
20: ; preds = %27, %19
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i32, ptr %4, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
br label %27
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %20, !llvm.loop !6
30: ; preds = %20
br label %50
31: ; preds = %15
store i32 1, ptr %3, align 4
br label %32
32: ; preds = %46, %31
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %36, label %49
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = srem i32 %37, 2
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
42: ; preds = %36
%43 = load i32, ptr %4, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43)
br label %45
45: ; preds = %42, %40
br label %46
46: ; preds = %45
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %32, !llvm.loop !8
49: ; preds = %32
br label %50
50: ; preds = %49, %30
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %52
52: ; preds = %50
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %2, align 4
br label %8, !llvm.loop !9
55: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvl76iuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6)
store i32 1, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph5, label %61
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %55
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14, %11
store i32 1, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph2, label %31
.lr.ph2: ; preds = %18
br label %22
22: ; preds = %.lr.ph2, %25
%23 = load i32, ptr %4, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %22, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %25
br label %31
31: ; preds = %._crit_edge3, %18
br label %53
32: ; preds = %14
store i32 1, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %.lr.ph, label %52
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %46
%37 = load i32, ptr %3, align 4
%38 = srem i32 %37, 2
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
42: ; preds = %36
%43 = load i32, ptr %4, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43)
br label %45
45: ; preds = %42, %40
br label %46
46: ; preds = %45
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %36, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %32
br label %53
53: ; preds = %52, %31
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %55
55: ; preds = %53
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %2, align 4
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %61
61: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmptejeue5b.c'
source_filename = "/tmp/tmptejeue5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"The Value of Depreciation is: %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 1.525000e+01, ptr %2, align 4
store float 0x401D0A3D80000000, ptr %3, align 4
store float 4.250000e+00, ptr %4, align 4
%5 = load float, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = fsub float %5, %6
%8 = load float, ptr %4, align 4
%9 = fdiv float %7, %8
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptejeue5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"The Value of Depreciation is: %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 1.525000e+01, ptr %2, align 4
store float 0x401D0A3D80000000, ptr %3, align 4
store float 4.250000e+00, ptr %4, align 4
%5 = load float, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = fsub float %5, %6
%8 = load float, ptr %4, align 4
%9 = fdiv float %7, %8
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfb4b6gh1.c'
source_filename = "/tmp/tmpfb4b6gh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr @BUFSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %8, align 4
%14 = load i32, ptr @BUFSIZ, align 4
%15 = sub nsw i32 %14, 1
%16 = call i32 @gethostname(ptr noundef %13, i32 noundef %15)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
store i32 1, ptr %9, align 4
br label %27
21: ; preds = %2
%22 = load i32, ptr @BUFSIZ, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %13, i64 %24
store i8 48, ptr %25, align 1
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
store i32 0, ptr %3, align 4
store i32 1, ptr %9, align 4
br label %27
27: ; preds = %21, %19
%28 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %28)
%29 = load i32, ptr %3, align 4
ret i32 %29
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @gethostname(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfb4b6gh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr @BUFSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %8, align 4
%14 = load i32, ptr @BUFSIZ, align 4
%15 = sub nsw i32 %14, 1
%16 = call i32 @gethostname(ptr noundef %13, i32 noundef %15)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
store i32 1, ptr %9, align 4
br label %27
21: ; preds = %2
%22 = load i32, ptr @BUFSIZ, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %13, i64 %24
store i8 48, ptr %25, align 1
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
store i32 0, ptr %3, align 4
store i32 1, ptr %9, align 4
br label %27
27: ; preds = %21, %19
%28 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %28)
%29 = load i32, ptr %3, align 4
ret i32 %29
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @gethostname(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5polb9ep.c'
source_filename = "/tmp/tmp5polb9ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPressentSpeed(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 = call double @dxl_read_word(i32 noundef %4, i32 noundef 38)
%6 = fmul double %5, 1.140000e-01
%7 = fptosi double %6 to i32
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @PrintErrorCode()
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare double @dxl_read_word(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5polb9ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPressentSpeed(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 = call double @dxl_read_word(i32 noundef %4, i32 noundef 38)
%6 = fmul double %5, 1.140000e-01
%7 = fptosi double %6 to i32
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @PrintErrorCode()
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare double @dxl_read_word(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_8v1b4sb.c'
source_filename = "/tmp/tmp_8v1b4sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c" __----~~~~~~~~~~~------___ \0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c" . . ~~//====...... __--~ ~~ \0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [73 x i8] c" -. \\_|// |||\\\\ ~~~~~~::::... /~ \0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c" ___-==_ _-~o~ \\/ ||| \\\\ _/~~- \0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" __---~~~.==~||\\=_ -_--~/_-~|- |\\\\ \\\\ _/~ \0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" _-~~ .=~ | \\\\-_ '-~7 /- / || \\ / \0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c" .~ .~ | \\\\ -_ / /- / || \\ / \0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" / ____ / | \\\\ ~-_/ /|- _/ .|| \\ / \0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [63 x i8] c" |~~ ~~|--~~~~--_ \\ ~==-/ | \\~--===~~ .\\ \0D\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c" ' ~-| /| |-~\\~~ __--~~ \0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [69 x i8] c" |-~~-_/ | | ~\\_ _-~ /\\ \0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [71 x i8] c" / \\ \\__ \\/~ \\__ \0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [76 x i8] c" _--~ _/ | .-~~____--~-/ ~~==. \0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [77 x i8] c" ((->/~ '.|||' -_| ~~-/ , . _|| \0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [76 x i8] c" -_ ~\\ ~~---l__i__i__i--~~_/ \0D\0A\00", align 1
@.str.15 = private unnamed_addr constant [74 x i8] c" _-~-__ ~) \\--______________--~~ \0D\0A\00", align 1
@.str.16 = private unnamed_addr constant [69 x i8] c" //.-~~~-~_--~- |-------~~~~~~~~ \0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [56 x i8] c" //.-~~~--\\ \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dragon() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8v1b4sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c" __----~~~~~~~~~~~------___ \0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c" . . ~~//====...... __--~ ~~ \0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [73 x i8] c" -. \\_|// |||\\\\ ~~~~~~::::... /~ \0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c" ___-==_ _-~o~ \\/ ||| \\\\ _/~~- \0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" __---~~~.==~||\\=_ -_--~/_-~|- |\\\\ \\\\ _/~ \0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" _-~~ .=~ | \\\\-_ '-~7 /- / || \\ / \0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c" .~ .~ | \\\\ -_ / /- / || \\ / \0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" / ____ / | \\\\ ~-_/ /|- _/ .|| \\ / \0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [63 x i8] c" |~~ ~~|--~~~~--_ \\ ~==-/ | \\~--===~~ .\\ \0D\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c" ' ~-| /| |-~\\~~ __--~~ \0D\0A\00", align 1
@.str.10 = private unnamed_addr constant [69 x i8] c" |-~~-_/ | | ~\\_ _-~ /\\ \0D\0A\00", align 1
@.str.11 = private unnamed_addr constant [71 x i8] c" / \\ \\__ \\/~ \\__ \0D\0A\00", align 1
@.str.12 = private unnamed_addr constant [76 x i8] c" _--~ _/ | .-~~____--~-/ ~~==. \0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [77 x i8] c" ((->/~ '.|||' -_| ~~-/ , . _|| \0D\0A\00", align 1
@.str.14 = private unnamed_addr constant [76 x i8] c" -_ ~\\ ~~---l__i__i__i--~~_/ \0D\0A\00", align 1
@.str.15 = private unnamed_addr constant [74 x i8] c" _-~-__ ~) \\--______________--~~ \0D\0A\00", align 1
@.str.16 = private unnamed_addr constant [69 x i8] c" //.-~~~-~_--~- |-------~~~~~~~~ \0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [56 x i8] c" //.-~~~--\\ \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dragon() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
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/tmpnqgpddjn.c'
source_filename = "/tmp/tmpnqgpddjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"ftok did nto work properly\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Share Memory key for testVar: %d\0A\00", align 1
@IPC_CREAT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [30 x i8] c"shmget did not work properly\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"SharedSem\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"Did not get a pid correctly\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ECHILD = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"Children are done\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [28 x i8] c"Child(%d): Inside the lock\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"Child(%d): New Value of testVar = %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"Child(%d): Releasing lock\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @ftok(ptr noundef @.str, i32 noundef 42)
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load i64, ptr %2, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %17)
%19 = load i64, ptr %2, align 8
%20 = load i32, ptr @IPC_CREAT, align 4
%21 = or i32 438, %20
%22 = call i32 @shmget(i64 noundef %19, i32 noundef 4, i32 noundef %21)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, 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.3)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %16
%29 = load i32, ptr %3, align 4
%30 = call i64 @shmat(i32 noundef %29, ptr noundef null, i32 noundef 0)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %6, align 8
%32 = load ptr, ptr %6, align 8
store i32 1, ptr %32, align 4
store i32 1, ptr %8, align 4
%33 = load i32, ptr @O_CREAT, align 4
%34 = load i32, ptr @O_EXCL, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr %8, align 4
%37 = call ptr @sem_open(ptr noundef @.str.4, i32 noundef %35, i32 noundef 438, i32 noundef %36)
store ptr %37, ptr %4, align 8
store i32 0, ptr %9, align 4
br label %38
38: ; preds = %57, %28
%39 = load i32, ptr %9, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %41, label %60
41: ; preds = %38
%42 = call i64 (...) @fork()
store i64 %42, ptr %5, align 8
%43 = load i32, ptr %9, align 4
store i32 %43, ptr %7, align 4
%44 = load i64, ptr %5, align 8
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = call i32 @sem_unlink(ptr noundef @.str.4)
%48 = load ptr, ptr %4, align 8
%49 = call i32 @sem_close(ptr noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %56
51: ; preds = %41
%52 = load i64, ptr %5, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %51
br label %60
55: ; preds = %51
br label %56
56: ; preds = %55, %46
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %38, !llvm.loop !6
60: ; preds = %54, %38
%61 = load i64, ptr %5, align 8
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %84
63: ; preds = %60
br label %64
64: ; preds = %72, %63
%65 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
store i64 %65, ptr %5, align 8
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %73
67: ; preds = %64
%68 = load i64, ptr @errno, align 8
%69 = load i64, ptr @ECHILD, align 8
%70 = icmp eq i64 %68, %69
br i1 %70, label %71, label %72
71: ; preds = %67
br label %73
72: ; preds = %67
br label %64, !llvm.loop !8
73: ; preds = %71, %64
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%75 = load ptr, ptr %6, align 8
%76 = call i32 @shmdt(ptr noundef %75)
%77 = load i32, ptr %3, align 4
%78 = load i32, ptr @IPC_RMID, align 4
%79 = call i32 @shmctl(i32 noundef %77, i32 noundef %78, i32 noundef 0)
%80 = call i32 @sem_unlink(ptr noundef @.str.4)
%81 = load ptr, ptr %4, align 8
%82 = call i32 @sem_close(ptr noundef %81)
%83 = call i32 @exit(i32 noundef 0) #3
unreachable
84: ; preds = %60
%85 = load ptr, ptr %4, align 8
%86 = call i32 @sem_wait(ptr noundef %85)
%87 = load i32, ptr %7, align 4
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %87)
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %90, %91
%93 = load ptr, ptr %6, align 8
store i32 %92, ptr %93, align 4
%94 = load i32, ptr %7, align 4
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %95, align 4
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %94, i32 noundef %96)
%98 = load i32, ptr %7, align 4
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %98)
%100 = load ptr, ptr %4, align 8
%101 = call i32 @sem_post(ptr noundef %100)
%102 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @ftok(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @shmget(i64 noundef, i32 noundef, i32 noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @sem_unlink(ptr noundef) #1
declare i32 @sem_close(ptr noundef) #1
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sem_wait(ptr noundef) #1
declare i32 @sem_post(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqgpddjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"ftok did nto work properly\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Share Memory key for testVar: %d\0A\00", align 1
@IPC_CREAT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [30 x i8] c"shmget did not work properly\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"SharedSem\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"Did not get a pid correctly\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ECHILD = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"Children are done\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [28 x i8] c"Child(%d): Inside the lock\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"Child(%d): New Value of testVar = %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"Child(%d): Releasing lock\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @ftok(ptr noundef @.str, i32 noundef 42)
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load i64, ptr %2, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %17)
%19 = load i64, ptr %2, align 8
%20 = load i32, ptr @IPC_CREAT, align 4
%21 = or i32 438, %20
%22 = call i32 @shmget(i64 noundef %19, i32 noundef 4, i32 noundef %21)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, 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.3)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %16
%29 = load i32, ptr %3, align 4
%30 = call i64 @shmat(i32 noundef %29, ptr noundef null, i32 noundef 0)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %6, align 8
%32 = load ptr, ptr %6, align 8
store i32 1, ptr %32, align 4
store i32 1, ptr %8, align 4
%33 = load i32, ptr @O_CREAT, align 4
%34 = load i32, ptr @O_EXCL, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr %8, align 4
%37 = call ptr @sem_open(ptr noundef @.str.4, i32 noundef %35, i32 noundef 438, i32 noundef %36)
store ptr %37, ptr %4, align 8
store i32 0, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp slt i32 %38, 16
br i1 %39, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %28
br label %40
40: ; preds = %.lr.ph, %56
%41 = call i64 (...) @fork()
store i64 %41, ptr %5, align 8
%42 = load i32, ptr %9, align 4
store i32 %42, ptr %7, align 4
%43 = load i64, ptr %5, align 8
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = call i32 @sem_unlink(ptr noundef @.str.4)
%47 = load ptr, ptr %4, align 8
%48 = call i32 @sem_close(ptr noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %55
50: ; preds = %40
%51 = load i64, ptr %5, align 8
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
br label %61
54: ; preds = %50
br label %55
55: ; preds = %54, %45
br label %56
56: ; preds = %55
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp slt i32 %59, 16
br i1 %60, label %40, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %56
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %28
br label %61
61: ; preds = %.loopexit1, %53
%62 = load i64, ptr %5, align 8
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %86
64: ; preds = %61
%65 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
store i64 %65, ptr %5, align 8
%66 = icmp ne i64 %65, 0
br i1 %66, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %64
br label %70
67: ; preds = %70
%68 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
store i64 %68, ptr %5, align 8
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %..loopexit_crit_edge, !llvm.loop !8
70: ; preds = %.lr.ph2, %67
%71 = load i64, ptr @errno, align 8
%72 = load i64, ptr @ECHILD, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %67
74: ; preds = %70
br label %75
..loopexit_crit_edge: ; preds = %67
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %64
br label %75
75: ; preds = %.loopexit, %74
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%77 = load ptr, ptr %6, align 8
%78 = call i32 @shmdt(ptr noundef %77)
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr @IPC_RMID, align 4
%81 = call i32 @shmctl(i32 noundef %79, i32 noundef %80, i32 noundef 0)
%82 = call i32 @sem_unlink(ptr noundef @.str.4)
%83 = load ptr, ptr %4, align 8
%84 = call i32 @sem_close(ptr noundef %83)
%85 = call i32 @exit(i32 noundef 0) #3
unreachable
86: ; preds = %61
%87 = load ptr, ptr %4, align 8
%88 = call i32 @sem_wait(ptr noundef %87)
%89 = load i32, ptr %7, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %89)
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %91, align 4
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %92, %93
%95 = load ptr, ptr %6, align 8
store i32 %94, ptr %95, align 4
%96 = load i32, ptr %7, align 4
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %97, align 4
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %96, i32 noundef %98)
%100 = load i32, ptr %7, align 4
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %100)
%102 = load ptr, ptr %4, align 8
%103 = call i32 @sem_post(ptr noundef %102)
%104 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @ftok(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @shmget(i64 noundef, i32 noundef, i32 noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @sem_unlink(ptr noundef) #1
declare i32 @sem_close(ptr noundef) #1
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sem_wait(ptr noundef) #1
declare i32 @sem_post(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcmyhq0rd.c'
source_filename = "/tmp/tmpcmyhq0rd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init()
%7 = call i32 (...) @prog()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @prog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcmyhq0rd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init()
%7 = call i32 (...) @prog()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @prog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.