llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpml_gif0s.c'
source_filename = "/tmp/tmpml_gif0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %30, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %33
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call ptr @file_type(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %29
21: ; preds = %12
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %7, align 8
%28 = call i32 @printf(ptr noundef @.str, ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %21, %12
br label %30
30: ; preds = %29
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %8, !llvm.loop !6
33: ; preds = %8
ret i32 0
}
declare ptr @file_type(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpml_gif0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %29
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call ptr @file_type(ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %28
20: ; preds = %11
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i32 @printf(ptr noundef @.str, ptr noundef %25, ptr noundef %26)
br label %28
28: ; preds = %20, %11
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
ret i32 0
}
declare ptr @file_type(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc1uz65ot.c'
source_filename = "/tmp/tmpc1uz65ot.c"
target datalayout = "e-m:e-p270: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/tmpc1uz65ot.c"
target datalayout = "e-m:e-p270: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/tmp9lscc720.c'
source_filename = "/tmp/tmp9lscc720.c"
target datalayout = "e-m:e-p270: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/tmp9lscc720.c"
target datalayout = "e-m:e-p270: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/tmp2q92ztn1.c'
source_filename = "/tmp/tmp2q92ztn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @intr_wrap_013(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = call x86_fp80 @__q_asind(ptr noundef %2)
ret x86_fp80 %3
}
declare x86_fp80 @__q_asind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2q92ztn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @intr_wrap_013(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = call x86_fp80 @__q_asind(ptr noundef %2)
ret x86_fp80 %3
}
declare x86_fp80 @__q_asind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0v344gp8.c'
source_filename = "/tmp/tmp0v344gp8.c"
target datalayout = "e-m:e-p270: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/tmp0v344gp8.c"
target datalayout = "e-m:e-p270: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/tmpobtwp_n1.c'
source_filename = "/tmp/tmpobtwp_n1.c"
target datalayout = "e-m:e-p270: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/tmpobtwp_n1.c"
target datalayout = "e-m:e-p270: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/tmpku274p2b.c'
source_filename = "/tmp/tmpku274p2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" *\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %87, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %90
14: ; preds = %10
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %7, align 4
%17 = zext i32 %16 to i64
%18 = add nsw i64 %15, %17
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %18)
store i32 0, ptr %8, align 4
br label %20
20: ; preds = %43, %14
%21 = load i32, ptr %8, align 4
%22 = icmp ult i32 %21, 16
br i1 %22, label %23, label %46
23: ; preds = %20
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = add i32 %24, %25
%27 = load i32, ptr %5, align 4
%28 = icmp ult i32 %26, %27
br i1 %28, label %29, label %40
29: ; preds = %23
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = add i32 %31, %32
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %30, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = and i32 %37, 255
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38)
br label %42
40: ; preds = %23
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %42
42: ; preds = %40, %29
br label %43
43: ; preds = %42
%44 = load i32, ptr %8, align 4
%45 = add i32 %44, 1
store i32 %45, ptr %8, align 4
br label %20, !llvm.loop !6
46: ; preds = %20
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
br label %48
48: ; preds = %82, %46
%49 = load i32, ptr %8, align 4
%50 = icmp ult i32 %49, 16
br i1 %50, label %51, label %85
51: ; preds = %48
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %8, align 4
%54 = add i32 %52, %53
%55 = load i32, ptr %5, align 4
%56 = icmp ult i32 %54, %55
br i1 %56, label %57, label %79
57: ; preds = %51
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %8, align 4
%61 = add i32 %59, %60
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %58, i64 %62
%64 = load i8, ptr %63, align 1
store i8 %64, ptr %9, align 1
%65 = load i8, ptr %9, align 1
%66 = sext i8 %65 to i32
%67 = icmp slt i32 %66, 32
%68 = zext i1 %67 to i32
%69 = load i8, ptr %9, align 1
%70 = sext i8 %69 to i32
%71 = icmp sgt i32 %70, 128
%72 = zext i1 %71 to i32
%73 = or i32 %68, %72
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %57
store i8 46, ptr %9, align 1
br label %76
76: ; preds = %75, %57
%77 = load i8, ptr %9, align 1
%78 = call i32 @putchar(i8 noundef signext %77)
br label %81
79: ; preds = %51
%80 = call i32 @putchar(i8 noundef signext 32)
br label %81
81: ; preds = %79, %76
br label %82
82: ; preds = %81
%83 = load i32, ptr %8, align 4
%84 = add i32 %83, 1
store i32 %84, ptr %8, align 4
br label %48, !llvm.loop !8
85: ; preds = %48
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %87
87: ; preds = %85
%88 = load i32, ptr %7, align 4
%89 = add i32 %88, 16
store i32 %89, ptr %7, align 4
br label %10, !llvm.loop !9
90: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpku274p2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" *\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph5, label %94
.lr.ph5: ; preds = %3
br label %13
13: ; preds = %.lr.ph5, %88
%14 = load i64, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = zext i32 %15 to i64
%17 = add nsw i64 %14, %16
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %17)
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp ult i32 %19, 16
br i1 %20, label %.lr.ph, label %46
.lr.ph: ; preds = %13
br label %21
21: ; preds = %.lr.ph, %41
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add i32 %22, %23
%25 = load i32, ptr %5, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %27, label %38
27: ; preds = %21
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = add i32 %29, %30
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %28, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = and i32 %35, 255
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36)
br label %40
38: ; preds = %21
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %40
40: ; preds = %38, %27
br label %41
41: ; preds = %40
%42 = load i32, ptr %8, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp ult i32 %44, 16
br i1 %45, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %13
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp ult i32 %48, 16
br i1 %49, label %.lr.ph2, label %86
.lr.ph2: ; preds = %46
br label %50
50: ; preds = %.lr.ph2, %81
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %8, align 4
%53 = add i32 %51, %52
%54 = load i32, ptr %5, align 4
%55 = icmp ult i32 %53, %54
br i1 %55, label %56, label %78
56: ; preds = %50
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
%60 = add i32 %58, %59
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %57, i64 %61
%63 = load i8, ptr %62, align 1
store i8 %63, ptr %9, align 1
%64 = load i8, ptr %9, align 1
%65 = sext i8 %64 to i32
%66 = icmp slt i32 %65, 32
%67 = zext i1 %66 to i32
%68 = load i8, ptr %9, align 1
%69 = sext i8 %68 to i32
%70 = icmp sgt i32 %69, 128
%71 = zext i1 %70 to i32
%72 = or i32 %67, %71
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %56
store i8 46, ptr %9, align 1
br label %75
75: ; preds = %74, %56
%76 = load i8, ptr %9, align 1
%77 = call i32 @putchar(i8 noundef signext %76)
br label %80
78: ; preds = %50
%79 = call i32 @putchar(i8 noundef signext 32)
br label %80
80: ; preds = %78, %75
br label %81
81: ; preds = %80
%82 = load i32, ptr %8, align 4
%83 = add i32 %82, 1
store i32 %83, ptr %8, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp ult i32 %84, 16
br i1 %85, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %81
br label %86
86: ; preds = %._crit_edge3, %46
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %88
88: ; preds = %86
%89 = load i32, ptr %7, align 4
%90 = add i32 %89, 16
store i32 %90, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %5, align 4
%93 = icmp ult i32 %91, %92
br i1 %93, label %13, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %88
br label %94
94: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8ns88wai.c'
source_filename = "/tmp/tmp8ns88wai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutexattr_getprotocol(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @ENOSYS, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ns88wai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutexattr_getprotocol(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @ENOSYS, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe_8fr6f0.c'
source_filename = "/tmp/tmpe_8fr6f0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_sqr_recursive(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = load i32, ptr %7, align 4
%16 = sdiv i32 %15, 2
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, 4
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @bn_sqr_comba4(ptr noundef %20, ptr noundef %21)
br label %192
23: ; preds = %4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 8
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @bn_sqr_comba8(ptr noundef %27, ptr noundef %28)
br label %192
30: ; preds = %23
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 16
br i1 %33, label %34, label %40
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = load ptr, ptr %8, align 8
%39 = call i32 @bn_sqr_normal(ptr noundef %35, ptr noundef %36, i32 noundef %37, ptr noundef %38)
br label %192
40: ; preds = %31
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i64, ptr %42, i64 %44
%46 = load i32, ptr %9, align 4
%47 = call i32 @bn_cmp_words(ptr noundef %41, ptr noundef %45, i32 noundef %46)
store i32 %47, ptr %11, align 4
store i32 0, ptr %10, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %59
50: ; preds = %40
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i64, ptr %53, i64 %55
%57 = load i32, ptr %9, align 4
%58 = call i64 @bn_sub_words(ptr noundef %51, ptr noundef %52, ptr noundef %56, i32 noundef %57)
br label %73
59: ; preds = %40
%60 = load i32, ptr %11, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %71
62: ; preds = %59
%63 = load ptr, ptr %8, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i64, ptr %64, i64 %66
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %9, align 4
%70 = call i64 @bn_sub_words(ptr noundef %63, ptr noundef %67, ptr noundef %68, i32 noundef %69)
br label %72
71: ; preds = %59
store i32 1, ptr %10, align 4
br label %72
72: ; preds = %71, %62
br label %73
73: ; preds = %72, %50
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %7, align 4
%76 = mul nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i64, ptr %74, i64 %77
store ptr %78, ptr %14, align 8
%79 = load i32, ptr %10, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %89, label %81
81: ; preds = %73
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i64, ptr %82, i64 %84
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %85, ptr noundef %86, i32 noundef %87, ptr noundef %88)
br label %99
89: ; preds = %73
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i64, ptr %90, i64 %92
%94 = load i32, ptr %7, align 4
%95 = sext i32 %94 to i64
%96 = mul i64 %95, 8
%97 = trunc i64 %96 to i32
%98 = call i32 @memset(ptr noundef %93, i32 noundef 0, i32 noundef %97)
br label %99
99: ; preds = %89, %81
%100 = load ptr, ptr %5, align 8
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %9, align 4
%103 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %100, ptr noundef %101, i32 noundef %102, ptr noundef %103)
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %7, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i64, ptr %104, i64 %106
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i64, ptr %108, i64 %110
%112 = load i32, ptr %9, align 4
%113 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %107, ptr noundef %111, i32 noundef %112, ptr noundef %113)
%114 = load ptr, ptr %8, align 8
%115 = load ptr, ptr %5, align 8
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %7, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i64, ptr %116, i64 %118
%120 = load i32, ptr %7, align 4
%121 = call i64 @bn_add_words(ptr noundef %114, ptr noundef %115, ptr noundef %119, i32 noundef %120)
%122 = trunc i64 %121 to i32
store i32 %122, ptr %11, align 4
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %7, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i64, ptr %123, i64 %125
%127 = load ptr, ptr %8, align 8
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %7, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %128, i64 %130
%132 = load i32, ptr %7, align 4
%133 = call i64 @bn_sub_words(ptr noundef %126, ptr noundef %127, ptr noundef %131, i32 noundef %132)
%134 = trunc i64 %133 to i32
%135 = load i32, ptr %11, align 4
%136 = sub nsw i32 %135, %134
store i32 %136, ptr %11, align 4
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %9, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i64, ptr %137, i64 %139
%141 = load ptr, ptr %5, align 8
%142 = load i32, ptr %9, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i64, ptr %141, i64 %143
%145 = load ptr, ptr %8, align 8
%146 = load i32, ptr %7, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i64, ptr %145, i64 %147
%149 = load i32, ptr %7, align 4
%150 = call i64 @bn_add_words(ptr noundef %140, ptr noundef %144, ptr noundef %148, i32 noundef %149)
%151 = trunc i64 %150 to i32
%152 = load i32, ptr %11, align 4
%153 = add nsw i32 %152, %151
store i32 %153, ptr %11, align 4
%154 = load i32, ptr %11, align 4
%155 = icmp ne i32 %154, 0
br i1 %155, label %156, label %192
156: ; preds = %99
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %9, align 4
%159 = load i32, ptr %7, align 4
%160 = add nsw i32 %158, %159
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i64, ptr %157, i64 %161
store ptr %162, ptr %14, align 8
%163 = load ptr, ptr %14, align 8
%164 = load i64, ptr %163, align 8
store i64 %164, ptr %13, align 8
%165 = load i64, ptr %13, align 8
%166 = load i32, ptr %11, align 4
%167 = sext i32 %166 to i64
%168 = add i64 %165, %167
%169 = and i64 %168, 4294967295
store i64 %169, ptr %12, align 8
%170 = load i64, ptr %12, align 8
%171 = load ptr, ptr %14, align 8
store i64 %170, ptr %171, align 8
%172 = load i64, ptr %12, align 8
%173 = load i32, ptr %11, align 4
%174 = sext i32 %173 to i64
%175 = icmp ult i64 %172, %174
br i1 %175, label %176, label %191
176: ; preds = %156
br label %177
177: ; preds = %187, %176
%178 = load ptr, ptr %14, align 8
%179 = getelementptr inbounds i64, ptr %178, i32 1
store ptr %179, ptr %14, align 8
%180 = load ptr, ptr %14, align 8
%181 = load i64, ptr %180, align 8
store i64 %181, ptr %13, align 8
%182 = load i64, ptr %13, align 8
%183 = add i64 %182, 1
%184 = and i64 %183, 4294967295
store i64 %184, ptr %12, align 8
%185 = load i64, ptr %12, align 8
%186 = load ptr, ptr %14, align 8
store i64 %185, ptr %186, align 8
br label %187
187: ; preds = %177
%188 = load i64, ptr %12, align 8
%189 = icmp eq i64 %188, 0
br i1 %189, label %177, label %190, !llvm.loop !6
190: ; preds = %187
br label %191
191: ; preds = %190, %156
br label %192
192: ; preds = %19, %26, %34, %191, %99
ret void
}
declare i32 @bn_sqr_comba4(ptr noundef, ptr noundef) #1
declare i32 @bn_sqr_comba8(ptr noundef, ptr noundef) #1
declare i32 @bn_sqr_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_8fr6f0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_sqr_recursive(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = load i32, ptr %7, align 4
%16 = sdiv i32 %15, 2
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, 4
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @bn_sqr_comba4(ptr noundef %20, ptr noundef %21)
br label %192
23: ; preds = %4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 8
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @bn_sqr_comba8(ptr noundef %27, ptr noundef %28)
br label %192
30: ; preds = %23
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 16
br i1 %33, label %34, label %40
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = load ptr, ptr %8, align 8
%39 = call i32 @bn_sqr_normal(ptr noundef %35, ptr noundef %36, i32 noundef %37, ptr noundef %38)
br label %192
40: ; preds = %31
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i64, ptr %42, i64 %44
%46 = load i32, ptr %9, align 4
%47 = call i32 @bn_cmp_words(ptr noundef %41, ptr noundef %45, i32 noundef %46)
store i32 %47, ptr %11, align 4
store i32 0, ptr %10, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %59
50: ; preds = %40
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i64, ptr %53, i64 %55
%57 = load i32, ptr %9, align 4
%58 = call i64 @bn_sub_words(ptr noundef %51, ptr noundef %52, ptr noundef %56, i32 noundef %57)
br label %73
59: ; preds = %40
%60 = load i32, ptr %11, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %71
62: ; preds = %59
%63 = load ptr, ptr %8, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i64, ptr %64, i64 %66
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %9, align 4
%70 = call i64 @bn_sub_words(ptr noundef %63, ptr noundef %67, ptr noundef %68, i32 noundef %69)
br label %72
71: ; preds = %59
store i32 1, ptr %10, align 4
br label %72
72: ; preds = %71, %62
br label %73
73: ; preds = %72, %50
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %7, align 4
%76 = mul nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i64, ptr %74, i64 %77
store ptr %78, ptr %14, align 8
%79 = load i32, ptr %10, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %89, label %81
81: ; preds = %73
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i64, ptr %82, i64 %84
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %85, ptr noundef %86, i32 noundef %87, ptr noundef %88)
br label %99
89: ; preds = %73
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i64, ptr %90, i64 %92
%94 = load i32, ptr %7, align 4
%95 = sext i32 %94 to i64
%96 = mul i64 %95, 8
%97 = trunc i64 %96 to i32
%98 = call i32 @memset(ptr noundef %93, i32 noundef 0, i32 noundef %97)
br label %99
99: ; preds = %89, %81
%100 = load ptr, ptr %5, align 8
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %9, align 4
%103 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %100, ptr noundef %101, i32 noundef %102, ptr noundef %103)
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %7, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i64, ptr %104, i64 %106
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i64, ptr %108, i64 %110
%112 = load i32, ptr %9, align 4
%113 = load ptr, ptr %14, align 8
call void @bn_sqr_recursive(ptr noundef %107, ptr noundef %111, i32 noundef %112, ptr noundef %113)
%114 = load ptr, ptr %8, align 8
%115 = load ptr, ptr %5, align 8
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %7, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i64, ptr %116, i64 %118
%120 = load i32, ptr %7, align 4
%121 = call i64 @bn_add_words(ptr noundef %114, ptr noundef %115, ptr noundef %119, i32 noundef %120)
%122 = trunc i64 %121 to i32
store i32 %122, ptr %11, align 4
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %7, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i64, ptr %123, i64 %125
%127 = load ptr, ptr %8, align 8
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %7, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %128, i64 %130
%132 = load i32, ptr %7, align 4
%133 = call i64 @bn_sub_words(ptr noundef %126, ptr noundef %127, ptr noundef %131, i32 noundef %132)
%134 = trunc i64 %133 to i32
%135 = load i32, ptr %11, align 4
%136 = sub nsw i32 %135, %134
store i32 %136, ptr %11, align 4
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %9, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i64, ptr %137, i64 %139
%141 = load ptr, ptr %5, align 8
%142 = load i32, ptr %9, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i64, ptr %141, i64 %143
%145 = load ptr, ptr %8, align 8
%146 = load i32, ptr %7, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i64, ptr %145, i64 %147
%149 = load i32, ptr %7, align 4
%150 = call i64 @bn_add_words(ptr noundef %140, ptr noundef %144, ptr noundef %148, i32 noundef %149)
%151 = trunc i64 %150 to i32
%152 = load i32, ptr %11, align 4
%153 = add nsw i32 %152, %151
store i32 %153, ptr %11, align 4
%154 = load i32, ptr %11, align 4
%155 = icmp ne i32 %154, 0
br i1 %155, label %156, label %192
156: ; preds = %99
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %9, align 4
%159 = load i32, ptr %7, align 4
%160 = add nsw i32 %158, %159
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i64, ptr %157, i64 %161
store ptr %162, ptr %14, align 8
%163 = load ptr, ptr %14, align 8
%164 = load i64, ptr %163, align 8
store i64 %164, ptr %13, align 8
%165 = load i64, ptr %13, align 8
%166 = load i32, ptr %11, align 4
%167 = sext i32 %166 to i64
%168 = add i64 %165, %167
%169 = and i64 %168, 4294967295
store i64 %169, ptr %12, align 8
%170 = load i64, ptr %12, align 8
%171 = load ptr, ptr %14, align 8
store i64 %170, ptr %171, align 8
%172 = load i64, ptr %12, align 8
%173 = load i32, ptr %11, align 4
%174 = sext i32 %173 to i64
%175 = icmp ult i64 %172, %174
br i1 %175, label %176, label %191
176: ; preds = %156
br label %177
177: ; preds = %187, %176
%178 = load ptr, ptr %14, align 8
%179 = getelementptr inbounds i64, ptr %178, i32 1
store ptr %179, ptr %14, align 8
%180 = load ptr, ptr %14, align 8
%181 = load i64, ptr %180, align 8
store i64 %181, ptr %13, align 8
%182 = load i64, ptr %13, align 8
%183 = add i64 %182, 1
%184 = and i64 %183, 4294967295
store i64 %184, ptr %12, align 8
%185 = load i64, ptr %12, align 8
%186 = load ptr, ptr %14, align 8
store i64 %185, ptr %186, align 8
br label %187
187: ; preds = %177
%188 = load i64, ptr %12, align 8
%189 = icmp eq i64 %188, 0
br i1 %189, label %177, label %190, !llvm.loop !6
190: ; preds = %187
br label %191
191: ; preds = %190, %156
br label %192
192: ; preds = %191, %99, %34, %26, %19
ret void
}
declare i32 @bn_sqr_comba4(ptr noundef, ptr noundef) #1
declare i32 @bn_sqr_comba8(ptr noundef, ptr noundef) #1
declare i32 @bn_sqr_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy26bojnp.c'
source_filename = "/tmp/tmpy26bojnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %14, %0
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 10
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = srem i32 %19, 64
%21 = add nsw i32 %20, 32
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
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/tmpy26bojnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %14, %0
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 10
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = srem i32 %19, 64
%21 = add nsw i32 %20, 32
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
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/tmpe9wtlf3v.c'
source_filename = "/tmp/tmpe9wtlf3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @sigemptyset(ptr noundef %7)
%9 = load i32, ptr @SIGUSR1, align 4
%10 = call i32 @sigaddset(ptr noundef %7, i32 noundef %9)
%11 = load i32, ptr @SIG_BLOCK, align 4
%12 = call i32 @sigprocmask(i32 noundef %11, ptr noundef %7, ptr noundef null)
%13 = call i64 (...) @fork()
store i64 %13, ptr %6, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @execlp(ptr noundef %19, ptr noundef null)
br label %21
21: ; preds = %16, %2
br label %22
22: ; preds = %21, %22
%23 = load i64, ptr %6, align 8
%24 = load i32, ptr @SIGUSR1, align 4
%25 = call i32 @kill(i64 noundef %23, i32 noundef %24)
br label %22
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @execlp(ptr noundef, ptr noundef) #1
declare i32 @kill(i64 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/tmpe9wtlf3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @sigemptyset(ptr noundef %7)
%9 = load i32, ptr @SIGUSR1, align 4
%10 = call i32 @sigaddset(ptr noundef %7, i32 noundef %9)
%11 = load i32, ptr @SIG_BLOCK, align 4
%12 = call i32 @sigprocmask(i32 noundef %11, ptr noundef %7, ptr noundef null)
%13 = call i64 (...) @fork()
store i64 %13, ptr %6, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @execlp(ptr noundef %19, ptr noundef null)
br label %21
21: ; preds = %16, %2
br label %22
22: ; preds = %22, %21
%23 = load i64, ptr %6, align 8
%24 = load i32, ptr @SIGUSR1, align 4
%25 = call i32 @kill(i64 noundef %23, i32 noundef %24)
br label %22
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @execlp(ptr noundef, ptr noundef) #1
declare i32 @kill(i64 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/tmpx4zp7pxj.c'
source_filename = "/tmp/tmpx4zp7pxj.c"
target datalayout = "e-m:e-p270: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/tmpx4zp7pxj.c"
target datalayout = "e-m:e-p270: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/tmpwi2mila5.c'
source_filename = "/tmp/tmpwi2mila5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cstring_strsep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %46
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %10, align 8
br label %17
17: ; preds = %45, %15
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %42, %17
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %7, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %41
30: ; preds = %23
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
store ptr null, ptr %6, align 8
br label %37
34: ; preds = %30
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 -1
store i8 0, ptr %36, align 1
br label %37
37: ; preds = %34, %33
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
store ptr %38, ptr %39, align 8
%40 = load ptr, ptr %10, align 8
store ptr %40, ptr %3, align 8
br label %46
41: ; preds = %23
br label %42
42: ; preds = %41
%43 = load i32, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %23, label %45, !llvm.loop !6
45: ; preds = %42
br label %17
46: ; preds = %37, %14
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwi2mila5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cstring_strsep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %46
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %10, align 8
br label %17
17: ; preds = %45, %15
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %8, align 4
%22 = load ptr, ptr %5, align 8
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %42, %17
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %7, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %41
30: ; preds = %23
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
store ptr null, ptr %6, align 8
br label %37
34: ; preds = %30
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 -1
store i8 0, ptr %36, align 1
br label %37
37: ; preds = %34, %33
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
store ptr %38, ptr %39, align 8
%40 = load ptr, ptr %10, align 8
store ptr %40, ptr %3, align 8
br label %46
41: ; preds = %23
br label %42
42: ; preds = %41
%43 = load i32, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %23, label %45, !llvm.loop !6
45: ; preds = %42
br label %17
46: ; preds = %37, %14
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn0ucsox7.c'
source_filename = "/tmp/tmpn0ucsox7.c"
target datalayout = "e-m:e-p270: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/tmpn0ucsox7.c"
target datalayout = "e-m:e-p270: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/tmppi4l19r3.c'
source_filename = "/tmp/tmppi4l19r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"ls_exists: set undef\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"ls_exists: key undef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls_exists(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %24
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %24
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call ptr @ls_find_entry(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %16
store i32 0, ptr %3, align 4
br label %24
23: ; preds = %16
store i32 1, ptr %3, align 4
br label %24
24: ; preds = %23, %22, %14, %9
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @puts(ptr noundef) #1
declare ptr @ls_find_entry(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/tmppi4l19r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"ls_exists: set undef\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"ls_exists: key undef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls_exists(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %24
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %24
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call ptr @ls_find_entry(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %16
store i32 0, ptr %3, align 4
br label %24
23: ; preds = %16
store i32 1, ptr %3, align 4
br label %24
24: ; preds = %23, %22, %14, %9
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @puts(ptr noundef) #1
declare ptr @ls_find_entry(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/tmp_afqnwdt.c'
source_filename = "/tmp/tmp_afqnwdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"(%2d,%2d) \22%c\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_putc(i16 noundef signext %0, i16 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i8, align 1
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i8 %2, ptr %6, align 1
%7 = load i16, ptr %4, align 2
%8 = load i16, ptr %5, align 2
%9 = load i8, ptr %6, align 1
%10 = call i32 @printf(ptr noundef @.str, i16 noundef signext %7, i16 noundef signext %8, i8 noundef signext %9)
ret void
}
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_afqnwdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"(%2d,%2d) \22%c\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_putc(i16 noundef signext %0, i16 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i8, align 1
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i8 %2, ptr %6, align 1
%7 = load i16, ptr %4, align 2
%8 = load i16, ptr %5, align 2
%9 = load i8, ptr %6, align 1
%10 = call i32 @printf(ptr noundef @.str, i16 noundef signext %7, i16 noundef signext %8, i8 noundef signext %9)
ret void
}
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzhmsfud5.c'
source_filename = "/tmp/tmpzhmsfud5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WaitForClient(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 4, ptr %7, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @accept(i32 noundef %9, ptr noundef %8, ptr noundef %7)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 512)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %6, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %5, align 4
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %18, %13
%21 = load i32, ptr %6, align 4
ret i32 %21
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzhmsfud5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WaitForClient(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 4, ptr %7, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @accept(i32 noundef %9, ptr noundef %8, ptr noundef %7)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 512)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %6, align 4
br label %20
18: ; preds = %2
%19 = load i32, ptr %5, align 4
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %18, %13
%21 = load i32, ptr %6, align 4
ret i32 %21
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc86mrwku.c'
source_filename = "/tmp/tmpc86mrwku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_arraycopy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %21, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i64, ptr %13, i64 %14
%16 = load i64, ptr %15, align 8
%17 = call i64 @reversebytes(i64 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds i64, ptr %18, i64 %19
store i64 %17, ptr %20, align 8
br label %21
21: ; preds = %12
%22 = load i64, ptr %7, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %7, align 8
br label %8, !llvm.loop !6
24: ; preds = %8
ret void
}
declare i64 @reversebytes(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc86mrwku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_arraycopy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %20
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
%15 = load i64, ptr %14, align 8
%16 = call i64 @reversebytes(i64 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds i64, ptr %17, i64 %18
store i64 %16, ptr %19, align 8
br label %20
20: ; preds = %11
%21 = load i64, ptr %7, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %7, align 8
%24 = load i64, ptr %6, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %3
ret void
}
declare i64 @reversebytes(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqkkumtvo.c'
source_filename = "/tmp/tmpqkkumtvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qAwkStr(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %51, %3
%13 = load i32, ptr %10, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %54
15: ; preds = %12
br label %16
16: ; preds = %31, %15
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %19, %21
br i1 %22, label %23, label %28
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br label %28
28: ; preds = %23, %16
%29 = phi i1 [ false, %16 ], [ %27, %23 ]
br i1 %29, label %30, label %34
30: ; preds = %28
br label %31
31: ; preds = %30
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
br label %16, !llvm.loop !6
34: ; preds = %28
%35 = load ptr, ptr %8, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %34
store i32 1, ptr %10, align 4
br label %40
40: ; preds = %39, %34
%41 = load ptr, ptr %8, align 8
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1024 x i8], ptr %42, i64 %44
%46 = getelementptr inbounds [1024 x i8], ptr %45, i64 0, i64 0
%47 = load ptr, ptr %7, align 8
%48 = call i32 @strcpy(ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %8, align 8
store ptr %50, ptr %7, align 8
br label %51
51: ; preds = %40
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %12, !llvm.loop !8
54: ; preds = %12
%55 = load i32, ptr %9, align 4
ret i32 %55
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkkumtvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qAwkStr(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store ptr %11, ptr %7, align 8
%12 = load i32, ptr %10, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %50
br label %15
15: ; preds = %30, %14
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %18, %20
br i1 %21, label %22, label %27
22: ; preds = %15
%23 = load ptr, ptr %8, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %15
%28 = phi i1 [ false, %15 ], [ %26, %22 ]
br i1 %28, label %29, label %33
29: ; preds = %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %8, align 8
br label %15, !llvm.loop !6
33: ; preds = %27
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
store i32 1, ptr %10, align 4
br label %39
39: ; preds = %38, %33
%40 = load ptr, ptr %8, align 8
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [1024 x i8], ptr %41, i64 %43
%45 = getelementptr inbounds [1024 x i8], ptr %44, i64 0, i64 0
%46 = load ptr, ptr %7, align 8
%47 = call i32 @strcpy(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %8, align 8
store ptr %49, ptr %7, align 8
br label %50
50: ; preds = %39
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %10, align 4
%54 = icmp eq i32 %53, 0
br i1 %54, label %14, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %3
%56 = load i32, ptr %9, align 4
ret i32 %56
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsws5vjsv.c'
source_filename = "/tmp/tmpsws5vjsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atol(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 i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 48
br i1 %8, label %9, label %40
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 120
br i1 %14, label %15, label %40
15: ; preds = %9
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 2
store ptr %17, ptr %2, align 8
br label %18
18: ; preds = %30, %15
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isxdigit(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %23, %18
%29 = phi i1 [ false, %18 ], [ %27, %23 ]
br i1 %29, label %30, label %39
30: ; preds = %28
%31 = load i32, ptr %3, align 4
%32 = mul nsw i32 %31, 16
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %2, align 8
%35 = load i8, ptr %33, align 1
%36 = sext i8 %35 to i32
%37 = call i32 @hexval(i32 noundef %36)
%38 = add nsw i32 %32, %37
store i32 %38, ptr %3, align 4
br label %18, !llvm.loop !6
39: ; preds = %28
br label %63
40: ; preds = %9, %1
br label %41
41: ; preds = %53, %40
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load ptr, ptr %2, align 8
%48 = load i8, ptr %47, align 1
%49 = call i64 @isdigit(i8 noundef signext %48)
%50 = icmp ne i64 %49, 0
br label %51
51: ; preds = %46, %41
%52 = phi i1 [ false, %41 ], [ %50, %46 ]
br i1 %52, label %53, label %62
53: ; preds = %51
%54 = load i32, ptr %3, align 4
%55 = mul nsw i32 %54, 10
%56 = load ptr, ptr %2, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %2, align 8
%58 = load i8, ptr %56, align 1
%59 = sext i8 %58 to i32
%60 = add nsw i32 %55, %59
%61 = sub nsw i32 %60, 48
store i32 %61, ptr %3, align 4
br label %41, !llvm.loop !8
62: ; preds = %51
br label %63
63: ; preds = %62, %39
%64 = load i32, ptr %3, align 4
%65 = sext i32 %64 to i64
ret i64 %65
}
declare i64 @isxdigit(i8 noundef signext) #1
declare i32 @hexval(i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsws5vjsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atol(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 i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 48
br i1 %8, label %9, label %40
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 120
br i1 %14, label %15, label %40
15: ; preds = %9
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 2
store ptr %17, ptr %2, align 8
br label %18
18: ; preds = %30, %15
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isxdigit(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %23, %18
%29 = phi i1 [ false, %18 ], [ %27, %23 ]
br i1 %29, label %30, label %39
30: ; preds = %28
%31 = load i32, ptr %3, align 4
%32 = mul nsw i32 %31, 16
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %2, align 8
%35 = load i8, ptr %33, align 1
%36 = sext i8 %35 to i32
%37 = call i32 @hexval(i32 noundef %36)
%38 = add nsw i32 %32, %37
store i32 %38, ptr %3, align 4
br label %18, !llvm.loop !6
39: ; preds = %28
br label %63
40: ; preds = %9, %1
br label %41
41: ; preds = %53, %40
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load ptr, ptr %2, align 8
%48 = load i8, ptr %47, align 1
%49 = call i64 @isdigit(i8 noundef signext %48)
%50 = icmp ne i64 %49, 0
br label %51
51: ; preds = %46, %41
%52 = phi i1 [ false, %41 ], [ %50, %46 ]
br i1 %52, label %53, label %62
53: ; preds = %51
%54 = load i32, ptr %3, align 4
%55 = mul nsw i32 %54, 10
%56 = load ptr, ptr %2, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %2, align 8
%58 = load i8, ptr %56, align 1
%59 = sext i8 %58 to i32
%60 = add nsw i32 %55, %59
%61 = sub nsw i32 %60, 48
store i32 %61, ptr %3, align 4
br label %41, !llvm.loop !8
62: ; preds = %51
br label %63
63: ; preds = %62, %39
%64 = load i32, ptr %3, align 4
%65 = sext i32 %64 to i64
ret i64 %65
}
declare i64 @isxdigit(i8 noundef signext) #1
declare i32 @hexval(i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwkj6jbxb.c'
source_filename = "/tmp/tmpwkj6jbxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@base64_get_next_byte.buffer = internal global i32 0, align 4
@base64_get_next_byte.buffer_pos = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base64_get_next_byte() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 -1, ptr %2, align 4
%4 = call i32 (...) @get_next_char()
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %51
8: ; preds = %0
%9 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = shl i32 %12, 2
%14 = and i32 %13, 252
store i32 %14, ptr %2, align 4
%15 = call i32 (...) @get_next_char()
store i32 %15, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 -1, ptr %1, align 4
br label %51
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = ashr i32 %19, 4
%21 = and i32 %20, 3
%22 = load i32, ptr %2, align 4
%23 = or i32 %22, %21
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = shl i32 %24, 4
%26 = and i32 %25, 240
store i32 %26, ptr @base64_get_next_byte.buffer, align 4
store i32 1, ptr @base64_get_next_byte.buffer_pos, align 4
br label %49
27: ; preds = %8
%28 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr @base64_get_next_byte.buffer, align 4
%32 = load i32, ptr %3, align 4
%33 = ashr i32 %32, 2
%34 = and i32 %33, 15
%35 = or i32 %31, %34
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = shl i32 %36, 6
%38 = and i32 %37, 192
store i32 %38, ptr @base64_get_next_byte.buffer, align 4
store i32 2, ptr @base64_get_next_byte.buffer_pos, align 4
br label %48
39: ; preds = %27
%40 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%41 = icmp eq i32 %40, 2
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr @base64_get_next_byte.buffer, align 4
%44 = load i32, ptr %3, align 4
%45 = and i32 %44, 63
%46 = or i32 %43, %45
store i32 %46, ptr %2, align 4
store i32 0, ptr @base64_get_next_byte.buffer_pos, align 4
br label %47
47: ; preds = %42, %39
br label %48
48: ; preds = %47, %30
br label %49
49: ; preds = %48, %18
%50 = load i32, ptr %2, align 4
store i32 %50, ptr %1, align 4
br label %51
51: ; preds = %49, %17, %7
%52 = load i32, ptr %1, align 4
ret i32 %52
}
declare i32 @get_next_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwkj6jbxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@base64_get_next_byte.buffer = internal global i32 0, align 4
@base64_get_next_byte.buffer_pos = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base64_get_next_byte() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 -1, ptr %2, align 4
%4 = call i32 (...) @get_next_char()
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %51
8: ; preds = %0
%9 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = shl i32 %12, 2
%14 = and i32 %13, 252
store i32 %14, ptr %2, align 4
%15 = call i32 (...) @get_next_char()
store i32 %15, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 -1, ptr %1, align 4
br label %51
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = ashr i32 %19, 4
%21 = and i32 %20, 3
%22 = load i32, ptr %2, align 4
%23 = or i32 %22, %21
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = shl i32 %24, 4
%26 = and i32 %25, 240
store i32 %26, ptr @base64_get_next_byte.buffer, align 4
store i32 1, ptr @base64_get_next_byte.buffer_pos, align 4
br label %49
27: ; preds = %8
%28 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr @base64_get_next_byte.buffer, align 4
%32 = load i32, ptr %3, align 4
%33 = ashr i32 %32, 2
%34 = and i32 %33, 15
%35 = or i32 %31, %34
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = shl i32 %36, 6
%38 = and i32 %37, 192
store i32 %38, ptr @base64_get_next_byte.buffer, align 4
store i32 2, ptr @base64_get_next_byte.buffer_pos, align 4
br label %48
39: ; preds = %27
%40 = load i32, ptr @base64_get_next_byte.buffer_pos, align 4
%41 = icmp eq i32 %40, 2
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr @base64_get_next_byte.buffer, align 4
%44 = load i32, ptr %3, align 4
%45 = and i32 %44, 63
%46 = or i32 %43, %45
store i32 %46, ptr %2, align 4
store i32 0, ptr @base64_get_next_byte.buffer_pos, align 4
br label %47
47: ; preds = %42, %39
br label %48
48: ; preds = %47, %30
br label %49
49: ; preds = %48, %18
%50 = load i32, ptr %2, align 4
store i32 %50, ptr %1, align 4
br label %51
51: ; preds = %49, %17, %7
%52 = load i32, ptr %1, align 4
ret i32 %52
}
declare i32 @get_next_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppt2e8b4e.c'
source_filename = "/tmp/tmppt2e8b4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unmap_region(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(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/tmppt2e8b4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unmap_region(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(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/tmpkr1orika.c'
source_filename = "/tmp/tmpkr1orika.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimir(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fputs(ptr noundef %15, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
ret void
}
declare i32 @fputs(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/tmpkr1orika.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimir(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %17
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputs(ptr noundef %14, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
ret void
}
declare i32 @fputs(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/tmpi0gf2mv1.c'
source_filename = "/tmp/tmpi0gf2mv1.c"
target datalayout = "e-m:e-p270: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/tmpi0gf2mv1.c"
target datalayout = "e-m:e-p270: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/tmplbrbi72a.c'
source_filename = "/tmp/tmplbrbi72a.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"usage: xsleep prog [args ...]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @EXIT_FAILURE, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbrbi72a.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"usage: xsleep prog [args ...]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @EXIT_FAILURE, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp31yt5wqn.c'
source_filename = "/tmp/tmp31yt5wqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @hello()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @hello(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31yt5wqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @hello()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @hello(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdajqi0j2.c'
source_filename = "/tmp/tmpdajqi0j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcopyconfigitemintpositive(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @getcopyconfigitemint(ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %8)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %21
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 -1, ptr %4, align 4
br label %21
19: ; preds = %15
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19, %18, %14
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @getcopyconfigitemint(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdajqi0j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcopyconfigitemintpositive(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @getcopyconfigitemint(ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %8)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %21
15: ; preds = %3
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 -1, ptr %4, align 4
br label %21
19: ; preds = %15
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19, %18, %14
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @getcopyconfigitemint(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp64npgf1o.c'
source_filename = "/tmp/tmp64npgf1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af_filter_szxform(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [3 x float], align 4
%17 = alloca [3 x float], align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store float %2, ptr %11, align 4
store float %3, ptr %12, align 4
store float %4, ptr %13, align 4
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %37
20: ; preds = %7
%21 = load ptr, ptr %10, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %37
23: ; preds = %20
%24 = load ptr, ptr %14, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load ptr, ptr %15, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load float, ptr %11, align 4
%31 = fpext float %30 to double
%32 = fcmp ogt double %31, 1.000000e+03
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = load float, ptr %11, align 4
%35 = fpext float %34 to double
%36 = fcmp olt double %35, 1.000000e+00
br i1 %36, label %37, label %38
37: ; preds = %33, %29, %26, %23, %20, %7
store i32 -1, ptr %8, align 4
br label %63
38: ; preds = %33
%39 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%40 = load ptr, ptr %9, align 8
%41 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i32 noundef 12)
%42 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%43 = load ptr, ptr %10, align 8
%44 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef 12)
%45 = load float, ptr %11, align 4
%46 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1
%47 = load float, ptr %46, align 4
%48 = fdiv float %47, %45
store float %48, ptr %46, align 4
%49 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%50 = load float, ptr %12, align 4
%51 = load float, ptr %13, align 4
%52 = call i32 @af_filter_prewarp(ptr noundef %49, float noundef %50, float noundef %51)
%53 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%54 = load float, ptr %12, align 4
%55 = load float, ptr %13, align 4
%56 = call i32 @af_filter_prewarp(ptr noundef %53, float noundef %54, float noundef %55)
%57 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%58 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%59 = load ptr, ptr %14, align 8
%60 = load float, ptr %13, align 4
%61 = load ptr, ptr %15, align 8
%62 = call i32 @af_filter_bilinear(ptr noundef %57, ptr noundef %58, ptr noundef %59, float noundef %60, ptr noundef %61)
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %38, %37
%64 = load i32, ptr %8, align 4
ret i32 %64
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @af_filter_prewarp(ptr noundef, float noundef, float noundef) #1
declare i32 @af_filter_bilinear(ptr noundef, ptr noundef, ptr noundef, float 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/tmp64npgf1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af_filter_szxform(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [3 x float], align 4
%17 = alloca [3 x float], align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store float %2, ptr %11, align 4
store float %3, ptr %12, align 4
store float %4, ptr %13, align 4
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %37
20: ; preds = %7
%21 = load ptr, ptr %10, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %37
23: ; preds = %20
%24 = load ptr, ptr %14, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load ptr, ptr %15, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load float, ptr %11, align 4
%31 = fpext float %30 to double
%32 = fcmp ogt double %31, 1.000000e+03
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = load float, ptr %11, align 4
%35 = fpext float %34 to double
%36 = fcmp olt double %35, 1.000000e+00
br i1 %36, label %37, label %38
37: ; preds = %33, %29, %26, %23, %20, %7
store i32 -1, ptr %8, align 4
br label %63
38: ; preds = %33
%39 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%40 = load ptr, ptr %9, align 8
%41 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i32 noundef 12)
%42 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%43 = load ptr, ptr %10, align 8
%44 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef 12)
%45 = load float, ptr %11, align 4
%46 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 1
%47 = load float, ptr %46, align 4
%48 = fdiv float %47, %45
store float %48, ptr %46, align 4
%49 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%50 = load float, ptr %12, align 4
%51 = load float, ptr %13, align 4
%52 = call i32 @af_filter_prewarp(ptr noundef %49, float noundef %50, float noundef %51)
%53 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%54 = load float, ptr %12, align 4
%55 = load float, ptr %13, align 4
%56 = call i32 @af_filter_prewarp(ptr noundef %53, float noundef %54, float noundef %55)
%57 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
%58 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
%59 = load ptr, ptr %14, align 8
%60 = load float, ptr %13, align 4
%61 = load ptr, ptr %15, align 8
%62 = call i32 @af_filter_bilinear(ptr noundef %57, ptr noundef %58, ptr noundef %59, float noundef %60, ptr noundef %61)
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %38, %37
%64 = load i32, ptr %8, align 4
ret i32 %64
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @af_filter_prewarp(ptr noundef, float noundef, float noundef) #1
declare i32 @af_filter_bilinear(ptr noundef, ptr noundef, ptr noundef, float 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/tmpi_rb2d4_.c'
source_filename = "/tmp/tmpi_rb2d4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chars_is_ascii7(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = and i32 %4, 127
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi_rb2d4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chars_is_ascii7(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = and i32 %4, 127
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpve927tsh.c'
source_filename = "/tmp/tmpve927tsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"should get elephant\0Agot: \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"elephant\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"should get nothing before END\0Agot: \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"elephant \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"END\0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"should get ONLY elephant\0Agot: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = call i32 @print_string(ptr noundef @.str)
%5 = load i32, ptr %1, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @print_string(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %0
%10 = call i32 @print_string(ptr noundef @.str.2)
%11 = call i32 @print_string(ptr noundef @.str.3)
%12 = load i32, ptr %1, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @print_string(ptr noundef @.str.4)
br label %16
16: ; preds = %14, %9
%17 = call i32 @print_string(ptr noundef @.str.5)
%18 = call i32 @print_string(ptr noundef @.str.2)
%19 = call i32 @print_string(ptr noundef @.str)
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 3
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %31
29: ; preds = %26, %16
%30 = call i32 @print_string(ptr noundef @.str.1)
br label %31
31: ; preds = %29, %26, %23
%32 = call i32 @print_string(ptr noundef @.str.2)
%33 = call i32 @print_string(ptr noundef @.str.6)
%34 = load i32, ptr %1, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %40, label %36
36: ; preds = %31
%37 = load i32, ptr %1, align 4
%38 = call i32 (...) @one()
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36, %31
%41 = call i32 @print_string(ptr noundef @.str.1)
br label %42
42: ; preds = %40, %36
%43 = call i32 @print_string(ptr noundef @.str.2)
%44 = call i32 @print_string(ptr noundef @.str.3)
%45 = load i32, ptr %1, align 4
%46 = icmp eq i32 %45, 2
br i1 %46, label %47, label %53
47: ; preds = %42
%48 = load i32, ptr %1, align 4
%49 = call i32 (...) @one()
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = call i32 @print_string(ptr noundef @.str.4)
br label %53
53: ; preds = %51, %47, %42
%54 = call i32 @print_string(ptr noundef @.str.5)
%55 = call i32 @print_string(ptr noundef @.str.2)
%56 = call i32 @print_string(ptr noundef @.str.3)
%57 = load i32, ptr %1, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %60
59: ; preds = %53
br label %60
60: ; preds = %59, %53
%61 = call i32 @print_string(ptr noundef @.str.5)
%62 = call i32 @print_string(ptr noundef @.str.2)
ret void
}
declare i32 @print_string(ptr noundef) #1
declare i32 @one(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpve927tsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"should get elephant\0Agot: \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"elephant\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"should get nothing before END\0Agot: \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"elephant \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"END\0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"should get ONLY elephant\0Agot: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = call i32 @print_string(ptr noundef @.str)
%5 = load i32, ptr %1, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @print_string(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %0
%10 = call i32 @print_string(ptr noundef @.str.2)
%11 = call i32 @print_string(ptr noundef @.str.3)
%12 = load i32, ptr %1, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @print_string(ptr noundef @.str.4)
br label %16
16: ; preds = %14, %9
%17 = call i32 @print_string(ptr noundef @.str.5)
%18 = call i32 @print_string(ptr noundef @.str.2)
%19 = call i32 @print_string(ptr noundef @.str)
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 3
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %31
29: ; preds = %26, %16
%30 = call i32 @print_string(ptr noundef @.str.1)
br label %31
31: ; preds = %29, %26, %23
%32 = call i32 @print_string(ptr noundef @.str.2)
%33 = call i32 @print_string(ptr noundef @.str.6)
%34 = load i32, ptr %1, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %40, label %36
36: ; preds = %31
%37 = load i32, ptr %1, align 4
%38 = call i32 (...) @one()
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36, %31
%41 = call i32 @print_string(ptr noundef @.str.1)
br label %42
42: ; preds = %40, %36
%43 = call i32 @print_string(ptr noundef @.str.2)
%44 = call i32 @print_string(ptr noundef @.str.3)
%45 = load i32, ptr %1, align 4
%46 = icmp eq i32 %45, 2
br i1 %46, label %47, label %53
47: ; preds = %42
%48 = load i32, ptr %1, align 4
%49 = call i32 (...) @one()
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = call i32 @print_string(ptr noundef @.str.4)
br label %53
53: ; preds = %51, %47, %42
%54 = call i32 @print_string(ptr noundef @.str.5)
%55 = call i32 @print_string(ptr noundef @.str.2)
%56 = call i32 @print_string(ptr noundef @.str.3)
%57 = load i32, ptr %1, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %60
59: ; preds = %53
br label %60
60: ; preds = %59, %53
%61 = call i32 @print_string(ptr noundef @.str.5)
%62 = call i32 @print_string(ptr noundef @.str.2)
ret void
}
declare i32 @print_string(ptr noundef) #1
declare i32 @one(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxuyz7w6m.c'
source_filename = "/tmp/tmpxuyz7w6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp_wrapper(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 i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxuyz7w6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp_wrapper(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 i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe50ewg6_.c'
source_filename = "/tmp/tmpe50ewg6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 1.173300e+04, ptr %6, align 8
store double 3.896000e+03, ptr %7, align 8
store double 2.144700e+04, ptr %8, align 8
%9 = load double, ptr %6, align 8
%10 = fadd double 2.025700e+04, %9
store double %10, ptr %6, align 8
%11 = load double, ptr %6, align 8
%12 = fadd double %11, 1.000000e+00
store double %12, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fadd double %13, 1.000000e+00
store double %14, ptr %7, align 8
%15 = load double, ptr %8, align 8
%16 = fadd double %15, 1.000000e+00
store double %16, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = fsub double 1.031100e+04, %17
store double %18, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = fadd double %19, 1.000000e+00
store double %20, ptr %6, align 8
%21 = load double, ptr %7, align 8
%22 = fadd double %21, 1.000000e+00
store double %22, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = fadd double %23, 1.000000e+00
store double %24, ptr %8, align 8
%25 = load double, ptr %6, align 8
%26 = fsub double 2.249300e+04, %25
store double %26, ptr %8, align 8
%27 = load double, ptr %6, align 8
%28 = fadd double %27, 1.000000e+00
store double %28, ptr %6, align 8
%29 = load double, ptr %7, align 8
%30 = fadd double %29, 1.000000e+00
store double %30, ptr %7, align 8
%31 = load double, ptr %8, align 8
%32 = fadd double %31, 1.000000e+00
store double %32, ptr %8, align 8
%33 = load double, ptr %8, align 8
%34 = fsub double 1.228000e+04, %33
store double %34, ptr %6, align 8
%35 = load double, ptr %6, align 8
%36 = fadd double %35, 1.000000e+00
store double %36, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fadd double %37, 1.000000e+00
store double %38, ptr %7, align 8
%39 = load double, ptr %8, align 8
%40 = fadd double %39, 1.000000e+00
store double %40, ptr %8, align 8
%41 = load double, ptr %6, align 8
%42 = fsub double 3.163600e+04, %41
store double %42, ptr %8, align 8
%43 = load double, ptr %6, align 8
%44 = fadd double %43, 1.000000e+00
store double %44, ptr %6, align 8
%45 = load double, ptr %7, align 8
%46 = fadd double %45, 1.000000e+00
store double %46, ptr %7, align 8
%47 = load double, ptr %8, align 8
%48 = fadd double %47, 1.000000e+00
store double %48, ptr %8, align 8
%49 = load double, ptr %7, align 8
%50 = fadd double 2.314200e+04, %49
store double %50, ptr %7, align 8
%51 = load double, ptr %6, align 8
%52 = fadd double %51, 1.000000e+00
store double %52, ptr %6, align 8
%53 = load double, ptr %7, align 8
%54 = fadd double %53, 1.000000e+00
store double %54, ptr %7, align 8
%55 = load double, ptr %8, align 8
%56 = fadd double %55, 1.000000e+00
store double %56, ptr %8, align 8
%57 = load double, ptr %7, align 8
%58 = fmul double 2.798700e+04, %57
store double %58, ptr %7, align 8
%59 = load double, ptr %6, align 8
%60 = fadd double %59, 1.000000e+00
store double %60, ptr %6, align 8
%61 = load double, ptr %7, align 8
%62 = fadd double %61, 1.000000e+00
store double %62, ptr %7, align 8
%63 = load double, ptr %8, align 8
%64 = fadd double %63, 1.000000e+00
store double %64, ptr %8, align 8
%65 = load double, ptr %7, align 8
%66 = fadd double 1.377100e+04, %65
store double %66, ptr %6, align 8
%67 = load double, ptr %6, align 8
%68 = fadd double %67, 1.000000e+00
store double %68, ptr %6, align 8
%69 = load double, ptr %7, align 8
%70 = fadd double %69, 1.000000e+00
store double %70, ptr %7, align 8
%71 = load double, ptr %8, align 8
%72 = fadd double %71, 1.000000e+00
store double %72, ptr %8, align 8
%73 = load double, ptr %7, align 8
%74 = fmul double 1.897800e+04, %73
store double %74, ptr %6, align 8
%75 = load double, ptr %6, align 8
%76 = fadd double %75, 1.000000e+00
store double %76, ptr %6, align 8
%77 = load double, ptr %7, align 8
%78 = fadd double %77, 1.000000e+00
store double %78, ptr %7, align 8
%79 = load double, ptr %8, align 8
%80 = fadd double %79, 1.000000e+00
store double %80, ptr %8, align 8
%81 = load double, ptr %7, align 8
%82 = fadd double 1.045000e+03, %81
store double %82, ptr %6, align 8
%83 = load double, ptr %6, align 8
%84 = fadd double %83, 1.000000e+00
store double %84, ptr %6, align 8
%85 = load double, ptr %7, align 8
%86 = fadd double %85, 1.000000e+00
store double %86, ptr %7, align 8
%87 = load double, ptr %8, align 8
%88 = fadd double %87, 1.000000e+00
store double %88, ptr %8, align 8
%89 = load double, ptr %7, align 8
%90 = fadd double 2.733500e+04, %89
store double %90, ptr %8, align 8
%91 = load double, ptr %6, align 8
%92 = fadd double %91, 1.000000e+00
store double %92, ptr %6, align 8
%93 = load double, ptr %7, align 8
%94 = fadd double %93, 1.000000e+00
store double %94, ptr %7, align 8
%95 = load double, ptr %8, align 8
%96 = fadd double %95, 1.000000e+00
store double %96, ptr %8, align 8
%97 = load double, ptr %6, align 8
%98 = load double, ptr %7, align 8
%99 = fadd double %97, %98
%100 = load double, ptr %8, align 8
%101 = fadd double %99, %100
%102 = fdiv double %101, 3.000000e+00
%103 = call i32 @printf(ptr noundef @.str, double noundef %102)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe50ewg6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 1.173300e+04, ptr %6, align 8
store double 3.896000e+03, ptr %7, align 8
store double 2.144700e+04, ptr %8, align 8
%9 = load double, ptr %6, align 8
%10 = fadd double 2.025700e+04, %9
store double %10, ptr %6, align 8
%11 = load double, ptr %6, align 8
%12 = fadd double %11, 1.000000e+00
store double %12, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fadd double %13, 1.000000e+00
store double %14, ptr %7, align 8
%15 = load double, ptr %8, align 8
%16 = fadd double %15, 1.000000e+00
store double %16, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = fsub double 1.031100e+04, %17
store double %18, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = fadd double %19, 1.000000e+00
store double %20, ptr %6, align 8
%21 = load double, ptr %7, align 8
%22 = fadd double %21, 1.000000e+00
store double %22, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = fadd double %23, 1.000000e+00
store double %24, ptr %8, align 8
%25 = load double, ptr %6, align 8
%26 = fsub double 2.249300e+04, %25
store double %26, ptr %8, align 8
%27 = load double, ptr %6, align 8
%28 = fadd double %27, 1.000000e+00
store double %28, ptr %6, align 8
%29 = load double, ptr %7, align 8
%30 = fadd double %29, 1.000000e+00
store double %30, ptr %7, align 8
%31 = load double, ptr %8, align 8
%32 = fadd double %31, 1.000000e+00
store double %32, ptr %8, align 8
%33 = load double, ptr %8, align 8
%34 = fsub double 1.228000e+04, %33
store double %34, ptr %6, align 8
%35 = load double, ptr %6, align 8
%36 = fadd double %35, 1.000000e+00
store double %36, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fadd double %37, 1.000000e+00
store double %38, ptr %7, align 8
%39 = load double, ptr %8, align 8
%40 = fadd double %39, 1.000000e+00
store double %40, ptr %8, align 8
%41 = load double, ptr %6, align 8
%42 = fsub double 3.163600e+04, %41
store double %42, ptr %8, align 8
%43 = load double, ptr %6, align 8
%44 = fadd double %43, 1.000000e+00
store double %44, ptr %6, align 8
%45 = load double, ptr %7, align 8
%46 = fadd double %45, 1.000000e+00
store double %46, ptr %7, align 8
%47 = load double, ptr %8, align 8
%48 = fadd double %47, 1.000000e+00
store double %48, ptr %8, align 8
%49 = load double, ptr %7, align 8
%50 = fadd double 2.314200e+04, %49
store double %50, ptr %7, align 8
%51 = load double, ptr %6, align 8
%52 = fadd double %51, 1.000000e+00
store double %52, ptr %6, align 8
%53 = load double, ptr %7, align 8
%54 = fadd double %53, 1.000000e+00
store double %54, ptr %7, align 8
%55 = load double, ptr %8, align 8
%56 = fadd double %55, 1.000000e+00
store double %56, ptr %8, align 8
%57 = load double, ptr %7, align 8
%58 = fmul double 2.798700e+04, %57
store double %58, ptr %7, align 8
%59 = load double, ptr %6, align 8
%60 = fadd double %59, 1.000000e+00
store double %60, ptr %6, align 8
%61 = load double, ptr %7, align 8
%62 = fadd double %61, 1.000000e+00
store double %62, ptr %7, align 8
%63 = load double, ptr %8, align 8
%64 = fadd double %63, 1.000000e+00
store double %64, ptr %8, align 8
%65 = load double, ptr %7, align 8
%66 = fadd double 1.377100e+04, %65
store double %66, ptr %6, align 8
%67 = load double, ptr %6, align 8
%68 = fadd double %67, 1.000000e+00
store double %68, ptr %6, align 8
%69 = load double, ptr %7, align 8
%70 = fadd double %69, 1.000000e+00
store double %70, ptr %7, align 8
%71 = load double, ptr %8, align 8
%72 = fadd double %71, 1.000000e+00
store double %72, ptr %8, align 8
%73 = load double, ptr %7, align 8
%74 = fmul double 1.897800e+04, %73
store double %74, ptr %6, align 8
%75 = load double, ptr %6, align 8
%76 = fadd double %75, 1.000000e+00
store double %76, ptr %6, align 8
%77 = load double, ptr %7, align 8
%78 = fadd double %77, 1.000000e+00
store double %78, ptr %7, align 8
%79 = load double, ptr %8, align 8
%80 = fadd double %79, 1.000000e+00
store double %80, ptr %8, align 8
%81 = load double, ptr %7, align 8
%82 = fadd double 1.045000e+03, %81
store double %82, ptr %6, align 8
%83 = load double, ptr %6, align 8
%84 = fadd double %83, 1.000000e+00
store double %84, ptr %6, align 8
%85 = load double, ptr %7, align 8
%86 = fadd double %85, 1.000000e+00
store double %86, ptr %7, align 8
%87 = load double, ptr %8, align 8
%88 = fadd double %87, 1.000000e+00
store double %88, ptr %8, align 8
%89 = load double, ptr %7, align 8
%90 = fadd double 2.733500e+04, %89
store double %90, ptr %8, align 8
%91 = load double, ptr %6, align 8
%92 = fadd double %91, 1.000000e+00
store double %92, ptr %6, align 8
%93 = load double, ptr %7, align 8
%94 = fadd double %93, 1.000000e+00
store double %94, ptr %7, align 8
%95 = load double, ptr %8, align 8
%96 = fadd double %95, 1.000000e+00
store double %96, ptr %8, align 8
%97 = load double, ptr %6, align 8
%98 = load double, ptr %7, align 8
%99 = fadd double %97, %98
%100 = load double, ptr %8, align 8
%101 = fadd double %99, %100
%102 = fdiv double %101, 3.000000e+00
%103 = call i32 @printf(ptr noundef @.str, double noundef %102)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp70pykxpq.c'
source_filename = "/tmp/tmp70pykxpq.c"
target datalayout = "e-m:e-p270: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/tmp70pykxpq.c"
target datalayout = "e-m:e-p270: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/tmplghx86ku.c'
source_filename = "/tmp/tmplghx86ku.c"
target datalayout = "e-m:e-p270: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/tmplghx86ku.c"
target datalayout = "e-m:e-p270: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/tmp31_eyaor.c'
source_filename = "/tmp/tmp31_eyaor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Consensus, %s, coverage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s\0A%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @line_print_cons(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %16)
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %29, %4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31_eyaor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Consensus, %s, coverage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s\0A%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @line_print_cons(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %16)
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %4
br label %21
21: ; preds = %.lr.ph, %28
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu17snr1k.c'
source_filename = "/tmp/tmpu17snr1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll(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 i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu17snr1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll(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 i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpopj41my1.c'
source_filename = "/tmp/tmpopj41my1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_key.key = internal global [128 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"%s|%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_key(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 i32 @sprintf(ptr noundef @get_key.key, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret ptr @get_key.key
}
declare i32 @sprintf(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/tmpopj41my1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_key.key = internal global [128 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"%s|%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_key(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 i32 @sprintf(ptr noundef @get_key.key, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret ptr @get_key.key
}
declare i32 @sprintf(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/tmpx1fcti5f.c'
source_filename = "/tmp/tmpx1fcti5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Insira seu salario: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Seu salario era %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"A porcentagem de aumento foi %.2f\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"O valor do aumento %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Seu novo salario \C3\A9 %.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
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = fcmp ole float %8, 2.800000e+02
br i1 %9, label %10, label %11
10: ; preds = %0
store float 2.000000e+01, ptr %5, align 4
br label %32
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = fcmp ogt float %12, 2.810000e+02
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load float, ptr %2, align 4
%16 = fcmp olt float %15, 7.000000e+02
br i1 %16, label %17, label %18
17: ; preds = %14
store float 1.500000e+01, ptr %5, align 4
br label %31
18: ; preds = %14, %11
%19 = load float, ptr %2, align 4
%20 = fcmp ogt float %19, 7.000000e+02
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load float, ptr %2, align 4
%23 = fcmp olt float %22, 1.500000e+03
br i1 %23, label %24, label %25
24: ; preds = %21
store float 1.000000e+01, ptr %5, align 4
br label %30
25: ; preds = %21, %18
%26 = load float, ptr %2, align 4
%27 = fcmp ogt float %26, 1.500000e+03
br i1 %27, label %28, label %29
28: ; preds = %25
store float 5.000000e+00, ptr %5, align 4
br label %29
29: ; preds = %28, %25
br label %30
30: ; preds = %29, %24
br label %31
31: ; preds = %30, %17
br label %32
32: ; preds = %31, %10
%33 = load float, ptr %2, align 4
store float %33, ptr %4, align 4
%34 = load float, ptr %2, align 4
%35 = load float, ptr %5, align 4
%36 = fmul float %34, %35
%37 = fdiv float %36, 1.000000e+02
store float %37, ptr %3, align 4
%38 = load float, ptr %3, align 4
%39 = load float, ptr %2, align 4
%40 = fadd float %39, %38
store float %40, ptr %2, align 4
%41 = load float, ptr %4, align 4
%42 = fpext float %41 to double
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %42)
%44 = load float, ptr %5, align 4
%45 = fpext float %44 to double
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %45)
%47 = load float, ptr %3, align 4
%48 = fpext float %47 to double
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %48)
%50 = load float, ptr %2, align 4
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %51)
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/tmpx1fcti5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Insira seu salario: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Seu salario era %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"A porcentagem de aumento foi %.2f\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"O valor do aumento %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Seu novo salario \C3\A9 %.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
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = fcmp ole float %8, 2.800000e+02
br i1 %9, label %10, label %11
10: ; preds = %0
store float 2.000000e+01, ptr %5, align 4
br label %32
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = fcmp ogt float %12, 2.810000e+02
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load float, ptr %2, align 4
%16 = fcmp olt float %15, 7.000000e+02
br i1 %16, label %17, label %18
17: ; preds = %14
store float 1.500000e+01, ptr %5, align 4
br label %31
18: ; preds = %14, %11
%19 = load float, ptr %2, align 4
%20 = fcmp ogt float %19, 7.000000e+02
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load float, ptr %2, align 4
%23 = fcmp olt float %22, 1.500000e+03
br i1 %23, label %24, label %25
24: ; preds = %21
store float 1.000000e+01, ptr %5, align 4
br label %30
25: ; preds = %21, %18
%26 = load float, ptr %2, align 4
%27 = fcmp ogt float %26, 1.500000e+03
br i1 %27, label %28, label %29
28: ; preds = %25
store float 5.000000e+00, ptr %5, align 4
br label %29
29: ; preds = %28, %25
br label %30
30: ; preds = %29, %24
br label %31
31: ; preds = %30, %17
br label %32
32: ; preds = %31, %10
%33 = load float, ptr %2, align 4
store float %33, ptr %4, align 4
%34 = load float, ptr %2, align 4
%35 = load float, ptr %5, align 4
%36 = fmul float %34, %35
%37 = fdiv float %36, 1.000000e+02
store float %37, ptr %3, align 4
%38 = load float, ptr %3, align 4
%39 = load float, ptr %2, align 4
%40 = fadd float %39, %38
store float %40, ptr %2, align 4
%41 = load float, ptr %4, align 4
%42 = fpext float %41 to double
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %42)
%44 = load float, ptr %5, align 4
%45 = fpext float %44 to double
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %45)
%47 = load float, ptr %3, align 4
%48 = fpext float %47 to double
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %48)
%50 = load float, ptr %2, align 4
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %51)
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/tmpaddpni64.c'
source_filename = "/tmp/tmpaddpni64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_memcpy(ptr noundef %0, ptr noundef %1, i64 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
%9 = alloca ptr, align 8
%10 = 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
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i64, ptr %7, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %16, %13, %3
store ptr null, ptr %4, align 8
br label %39
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %8, align 8
%22 = load ptr, ptr %6, align 8
store ptr %22, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %23
23: ; preds = %27, %20
%24 = load i64, ptr %10, align 8
%25 = load i64, ptr %7, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %27, label %37
27: ; preds = %23
%28 = load ptr, ptr %9, align 8
%29 = load i64, ptr %10, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %8, align 8
%33 = load i64, ptr %10, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
store i8 %31, ptr %34, align 1
%35 = load i64, ptr %10, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %10, align 8
br label %23, !llvm.loop !6
37: ; preds = %23
%38 = load ptr, ptr %8, align 8
store ptr %38, ptr %4, align 8
br label %39
39: ; preds = %37, %19
%40 = load ptr, ptr %4, align 8
ret ptr %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpaddpni64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_memcpy(ptr noundef %0, ptr noundef %1, i64 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
%9 = alloca ptr, align 8
%10 = 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
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %3
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i64, ptr %7, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %16, %13, %3
store ptr null, ptr %4, align 8
br label %41
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %8, align 8
%22 = load ptr, ptr %6, align 8
store ptr %22, ptr %9, align 8
store i64 0, ptr %10, align 8
%23 = load i64, ptr %10, align 8
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %.lr.ph, label %39
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %10, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %8, align 8
%32 = load i64, ptr %10, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
store i8 %30, ptr %33, align 1
%34 = load i64, ptr %10, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %10, align 8
%36 = load i64, ptr %10, align 8
%37 = load i64, ptr %7, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %39
39: ; preds = %._crit_edge, %20
%40 = load ptr, ptr %8, align 8
store ptr %40, ptr %4, align 8
br label %41
41: ; preds = %39, %19
%42 = load ptr, ptr %4, align 8
ret ptr %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq9uw9qcr.c'
source_filename = "/tmp/tmpq9uw9qcr.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"mcfioC_NextEventSequential: Not available in this library. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mcfioC_NextEventSequential(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
ret i32 -1
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9uw9qcr.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"mcfioC_NextEventSequential: Not available in this library. \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mcfioC_NextEventSequential(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
ret i32 -1
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppjhqg0w7.c'
source_filename = "/tmp/tmppjhqg0w7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printStringOnBoardXY(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 %5, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @coordinatesAreInsideBoard(i32 noundef %7, i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %3
br label %23
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i64 @stringOverRightEdge(ptr noundef %13, i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
br label %23
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @sb_printStringAndWriteToBuffer(ptr noundef %19, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %11, %17, %18
ret void
}
declare i32 @coordinatesAreInsideBoard(i32 noundef, i32 noundef) #1
declare i64 @stringOverRightEdge(ptr noundef, i32 noundef) #1
declare i32 @sb_printStringAndWriteToBuffer(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/tmppjhqg0w7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printStringOnBoardXY(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 %5, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @coordinatesAreInsideBoard(i32 noundef %7, i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %3
br label %23
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i64 @stringOverRightEdge(ptr noundef %13, i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12
br label %23
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @sb_printStringAndWriteToBuffer(ptr noundef %19, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %18, %17, %11
ret void
}
declare i32 @coordinatesAreInsideBoard(i32 noundef, i32 noundef) #1
declare i64 @stringOverRightEdge(ptr noundef, i32 noundef) #1
declare i32 @sb_printStringAndWriteToBuffer(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/tmpbm8f7i4v.c'
source_filename = "/tmp/tmpbm8f7i4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slave(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @atoi(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @establish_connection(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @pong(i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = call i32 @close(i32 noundef %14)
ret void
}
declare i32 @atoi(ptr noundef) #1
declare i32 @establish_connection(ptr noundef, i32 noundef) #1
declare i32 @pong(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbm8f7i4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slave(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @atoi(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @establish_connection(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @pong(i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = call i32 @close(i32 noundef %14)
ret void
}
declare i32 @atoi(ptr noundef) #1
declare i32 @establish_connection(ptr noundef, i32 noundef) #1
declare i32 @pong(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxn8qc9rq.c'
source_filename = "/tmp/tmpxn8qc9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Error obtaining socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sock_fd() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @error(ptr noundef @.str)
br label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %1, align 4
br label %12
12: ; preds = %10, %8
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxn8qc9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Error obtaining socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sock_fd() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @error(ptr noundef @.str)
br label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %1, align 4
br label %12
12: ; preds = %10, %8
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwewpmtir.c'
source_filename = "/tmp/tmpwewpmtir.c"
target datalayout = "e-m:e-p270: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/tmpwewpmtir.c"
target datalayout = "e-m:e-p270: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/tmp42ese7kq.c'
source_filename = "/tmp/tmp42ese7kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"you've allocated %d bytes of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = call i64 @malloc(i32 noundef 1048576)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %3, !llvm.loop !6
9: ; preds = %3
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp42ese7kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"you've allocated %d bytes of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i64 @malloc(i32 noundef 1048576)
%4 = icmp ne i64 %3, 0
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = call i64 @malloc(i32 noundef 1048576)
%9 = icmp ne i64 %8, 0
br i1 %9, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %0
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwxd2nynl.c'
source_filename = "/tmp/tmpwxd2nynl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENODEV = 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 @close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @ENODEV, align 4
store i32 %4, 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/tmpwxd2nynl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENODEV = 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 @close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @ENODEV, align 4
store i32 %4, 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/tmpzampcs7b.c'
source_filename = "/tmp/tmpzampcs7b.c"
target datalayout = "e-m:e-p270: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/tmpzampcs7b.c"
target datalayout = "e-m:e-p270: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/tmplgiim0mr.c'
source_filename = "/tmp/tmplgiim0mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_write_rom_ms() #0 {
%1 = call i32 (...) @radio_get_ms()
%2 = call i32 @rom_write(i32 noundef 54, i32 noundef %1)
ret void
}
declare i32 @rom_write(i32 noundef, i32 noundef) #1
declare i32 @radio_get_ms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplgiim0mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_write_rom_ms() #0 {
%1 = call i32 (...) @radio_get_ms()
%2 = call i32 @rom_write(i32 noundef 54, i32 noundef %1)
ret void
}
declare i32 @rom_write(i32 noundef, i32 noundef) #1
declare i32 @radio_get_ms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn6ujik7n.c'
source_filename = "/tmp/tmpn6ujik7n.c"
target datalayout = "e-m:e-p270: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/tmpn6ujik7n.c"
target datalayout = "e-m:e-p270: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/tmp7donbut6.c'
source_filename = "/tmp/tmp7donbut6.c"
target datalayout = "e-m:e-p270: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/tmp7donbut6.c"
target datalayout = "e-m:e-p270: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/tmpibbdvh7l.c'
source_filename = "/tmp/tmpibbdvh7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parent(i32 noundef 1, ptr noundef null)
ret i32 0
}
declare i32 @parent(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibbdvh7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parent(i32 noundef 1, ptr noundef null)
ret i32 0
}
declare i32 @parent(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm5c05rd6.c'
source_filename = "/tmp/tmpm5c05rd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcgetattr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @etcsetattr(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 %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i64 @tcsetattr(i32 noundef %7, i32 noundef %8, ptr noundef %9)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @error(ptr noundef @.str)
br label %14
14: ; preds = %12, %3
ret void
}
declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5c05rd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcgetattr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @etcsetattr(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 %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i64 @tcsetattr(i32 noundef %7, i32 noundef %8, ptr noundef %9)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @error(ptr noundef @.str)
br label %14
14: ; preds = %12, %3
ret void
}
declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjfso3vjk.c'
source_filename = "/tmp/tmpjfso3vjk.c"
target datalayout = "e-m:e-p270: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 [83 x i8] c"usage: grpar [-h] [-V] [-t|-x] [-C path] [-v] -f grp_file [file_1] [file_2] [...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"-h : this help\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"-V : version\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"-t : list files from group archive\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"-x : extract files from group archive\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"-C : specify destination directory\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"-v : verbose mode\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"-f : group archive\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (...) @version()
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.3)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.4)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.5)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.6)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.7)
ret void
}
declare i32 @version(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjfso3vjk.c"
target datalayout = "e-m:e-p270: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 [83 x i8] c"usage: grpar [-h] [-V] [-t|-x] [-C path] [-v] -f grp_file [file_1] [file_2] [...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"-h : this help\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"-V : version\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"-t : list files from group archive\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"-x : extract files from group archive\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"-C : specify destination directory\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"-v : verbose mode\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"-f : group archive\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (...) @version()
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.3)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.4)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.5)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.6)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.7)
ret void
}
declare i32 @version(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuc19xzqj.c'
source_filename = "/tmp/tmpuc19xzqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @_DIAGASSERT(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @_DIAGASSERT(i32 noundef %15)
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %48
19: ; preds = %3
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %8, align 8
br label %22
22: ; preds = %27, %19
%23 = load ptr, ptr %7, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
br label %22, !llvm.loop !6
30: ; preds = %22
br label %31
31: ; preds = %42, %30
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load i8, ptr %32, align 1
%35 = load ptr, ptr %7, align 8
store i8 %34, ptr %35, align 1
%36 = sext i8 %34 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %31
br label %46
39: ; preds = %31
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %7, align 8
br label %42
42: ; preds = %39
%43 = load i64, ptr %6, align 8
%44 = add i64 %43, -1
store i64 %44, ptr %6, align 8
%45 = icmp ne i64 %44, 0
br i1 %45, label %31, label %46, !llvm.loop !8
46: ; preds = %42, %38
%47 = load ptr, ptr %7, align 8
store i8 0, ptr %47, align 1
br label %48
48: ; preds = %46, %3
%49 = load ptr, ptr %4, align 8
ret ptr %49
}
declare i32 @_DIAGASSERT(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/tmpuc19xzqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @_DIAGASSERT(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @_DIAGASSERT(i32 noundef %15)
%17 = load i64, ptr %6, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %51
19: ; preds = %3
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %8, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %.lr.ph, label %33
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %19
br label %34
34: ; preds = %45, %33
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %8, align 8
%37 = load i8, ptr %35, align 1
%38 = load ptr, ptr %7, align 8
store i8 %37, ptr %38, align 1
%39 = sext i8 %37 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %34
br label %49
42: ; preds = %34
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %7, align 8
br label %45
45: ; preds = %42
%46 = load i64, ptr %6, align 8
%47 = add i64 %46, -1
store i64 %47, ptr %6, align 8
%48 = icmp ne i64 %47, 0
br i1 %48, label %34, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %45
br label %49
49: ; preds = %.loopexit, %41
%50 = load ptr, ptr %7, align 8
store i8 0, ptr %50, align 1
br label %51
51: ; preds = %49, %3
%52 = load ptr, ptr %4, align 8
ret ptr %52
}
declare i32 @_DIAGASSERT(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/tmp6_yb29zp.c'
source_filename = "/tmp/tmp6_yb29zp.c"
target datalayout = "e-m:e-p270: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/tmp6_yb29zp.c"
target datalayout = "e-m:e-p270: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/tmpthnlpng_.c'
source_filename = "/tmp/tmpthnlpng_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_matrix_float(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %20, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %23
14: ; preds = %8
%15 = call float (...) @drand()
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
store float %15, ptr %19, align 4
br label %20
20: ; preds = %14
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
ret void
}
declare float @drand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpthnlpng_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_matrix_float(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = mul nsw i32 %9, %10
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %19
%14 = call float (...) @drand()
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds float, ptr %15, i64 %17
store float %14, ptr %18, align 4
br label %19
19: ; preds = %13
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = mul nsw i32 %23, %24
%26 = icmp slt i32 %22, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
declare float @drand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq2x7it73.c'
source_filename = "/tmp/tmpq2x7it73.c"
target datalayout = "e-m:e-p270: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/tmpq2x7it73.c"
target datalayout = "e-m:e-p270: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/tmp7phsd2r2.c'
source_filename = "/tmp/tmp7phsd2r2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Pieri_root_count(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [3 x i32], align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr %6, align 4
%15 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %7, align 4
%17 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %11, align 8
%21 = call i32 @_ada_use_c2phc4c(i32 noundef 223, ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmp7phsd2r2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Pieri_root_count(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [3 x i32], align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr %6, align 4
%15 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %7, align 4
%17 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %11, align 8
%21 = call i32 @_ada_use_c2phc4c(i32 noundef 223, ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpqiwzvhte.c'
source_filename = "/tmp/tmpqiwzvhte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Invalid Input!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getInt() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call ptr (...) @getStr()
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @length(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %50, %0
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %53
13: ; preds = %9
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = sub nsw i32 %19, 48
%21 = icmp sge i32 %20, 48
br i1 %21, label %22, label %33
22: ; preds = %13
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = sub nsw i32 %28, 48
%30 = icmp sle i32 %29, 57
br i1 %30, label %31, label %33
31: ; preds = %22
%32 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %55
33: ; preds = %22, %13
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %39, 48
%41 = load i32, ptr %3, align 4
%42 = sub nsw i32 %41, 1
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 %42, %43
%45 = call signext i8 @expo(i32 noundef 10, i32 noundef %44)
%46 = sext i8 %45 to i32
%47 = mul nsw i32 %40, %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %4, align 4
br label %50
50: ; preds = %33
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %9, !llvm.loop !6
53: ; preds = %9
%54 = load i32, ptr %4, align 4
store i32 %54, ptr %1, align 4
br label %55
55: ; preds = %53, %31
%56 = load i32, ptr %1, align 4
ret i32 %56
}
declare ptr @getStr(...) #1
declare i32 @length(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare signext i8 @expo(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqiwzvhte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Invalid Input!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getInt() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call ptr (...) @getStr()
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @length(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %55
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %49
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = sub nsw i32 %18, 48
%20 = icmp sge i32 %19, 48
br i1 %20, label %21, label %32
21: ; preds = %12
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = sub nsw i32 %27, 48
%29 = icmp sle i32 %28, 57
br i1 %29, label %30, label %32
30: ; preds = %21
%31 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %57
32: ; preds = %21, %12
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 48
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %41, %42
%44 = call signext i8 @expo(i32 noundef 10, i32 noundef %43)
%45 = sext i8 %44 to i32
%46 = mul nsw i32 %39, %45
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %32
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %0
%56 = load i32, ptr %4, align 4
store i32 %56, ptr %1, align 4
br label %57
57: ; preds = %55, %30
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare ptr @getStr(...) #1
declare i32 @length(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare signext i8 @expo(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz278afwk.c'
source_filename = "/tmp/tmpz278afwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d3_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 -1, ptr %3, align 4
br label %5
5: ; preds = %9, %1
%6 = load i32, ptr %2, align 4
%7 = call i64 @m_next(i32 noundef %6, ptr noundef %3, ptr noundef %4)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load ptr, ptr %4, align 8
%11 = call i32 @free_album(ptr noundef %10)
br label %5, !llvm.loop !6
12: ; preds = %5
%13 = load i32, ptr %2, align 4
%14 = call i32 @m_free(i32 noundef %13)
ret void
}
declare i64 @m_next(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free_album(ptr noundef) #1
declare i32 @m_free(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/tmpz278afwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d3_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 -1, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = call i64 @m_next(i32 noundef %5, ptr noundef %3, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @free_album(ptr noundef %9)
%11 = load i32, ptr %2, align 4
%12 = call i64 @m_next(i32 noundef %11, ptr noundef %3, ptr noundef %4)
%13 = icmp ne i64 %12, 0
br i1 %13, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %14
14: ; preds = %._crit_edge, %1
%15 = load i32, ptr %2, align 4
%16 = call i32 @m_free(i32 noundef %15)
ret void
}
declare i64 @m_next(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free_album(ptr noundef) #1
declare i32 @m_free(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/tmpuak60ui5.c'
source_filename = "/tmp/tmpuak60ui5.c"
target datalayout = "e-m:e-p270: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/tmpuak60ui5.c"
target datalayout = "e-m:e-p270: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/tmpdmvg7mpu.c'
source_filename = "/tmp/tmpdmvg7mpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Enter age: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Baby\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Kindergarden\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"School\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Uni\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Work\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fscanf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
switch i32 %7, label %20 [
i32 0, label %8
i32 1, label %8
i32 2, label %8
i32 3, label %8
i32 4, label %11
i32 5, label %11
i32 6, label %11
i32 7, label %11
i32 8, label %14
i32 9, label %14
i32 10, label %14
i32 11, label %14
i32 12, label %14
i32 13, label %14
i32 14, label %14
i32 15, label %14
i32 16, label %14
i32 17, label %14
i32 18, label %14
i32 19, label %17
i32 20, label %17
i32 21, label %17
i32 22, label %17
i32 23, label %17
i32 24, label %17
i32 25, label %17
]
8: ; preds = %0, %0, %0, %0
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2)
br label %23
11: ; preds = %0, %0, %0, %0
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3)
br label %23
14: ; preds = %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.4)
br label %23
17: ; preds = %0, %0, %0, %0, %0, %0, %0
%18 = load i32, ptr @stdout, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.5)
br label %23
20: ; preds = %0
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.6)
br label %23
23: ; preds = %20, %17, %14, %11, %8
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fscanf(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/tmpdmvg7mpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Enter age: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Baby\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Kindergarden\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"School\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Uni\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Work\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fscanf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
switch i32 %7, label %20 [
i32 0, label %8
i32 1, label %8
i32 2, label %8
i32 3, label %8
i32 4, label %11
i32 5, label %11
i32 6, label %11
i32 7, label %11
i32 8, label %14
i32 9, label %14
i32 10, label %14
i32 11, label %14
i32 12, label %14
i32 13, label %14
i32 14, label %14
i32 15, label %14
i32 16, label %14
i32 17, label %14
i32 18, label %14
i32 19, label %17
i32 20, label %17
i32 21, label %17
i32 22, label %17
i32 23, label %17
i32 24, label %17
i32 25, label %17
]
8: ; preds = %0, %0, %0, %0
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2)
br label %23
11: ; preds = %0, %0, %0, %0
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3)
br label %23
14: ; preds = %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.4)
br label %23
17: ; preds = %0, %0, %0, %0, %0, %0, %0
%18 = load i32, ptr @stdout, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.5)
br label %23
20: ; preds = %0
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.6)
br label %23
23: ; preds = %20, %17, %14, %11, %8
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fscanf(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/tmppakk47mf.c'
source_filename = "/tmp/tmppakk47mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REQ_AUTH\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"REQ_LS\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"REQ_CD\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"REQ_PWD\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"REQ_MKDIR\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"REQ_UPLOAD\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"REQ_DATA_FINISH\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"REQ_DOWNLODA\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"REQ_EXIT\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"RESP_AUTH_OK\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"RESP_AUTH_FAIL\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"RESP_LS\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"RESP_LS_ERR\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"RESP_CD\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"RESP_CD_ERR\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"RESP_PWD\00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"RESP_DOWNLOAD\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"RESP_DOWNLOAD_ERR\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c"RESP_DATA_FINISH\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"RESP_UPLOAD\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"RESP_UPLOAD_ERR\00", align 1
@.str.21 = private unnamed_addr constant [10 x i8] c"RESP_EXIT\00", align 1
@.str.22 = private unnamed_addr constant [16 x i8] c"RESP_SERVER_ERR\00", align 1
@.str.23 = private unnamed_addr constant [15 x i8] c"RESP_MKDIR_ERR\00", align 1
@.str.24 = private unnamed_addr constant [11 x i8] c"RESP_MKDIR\00", align 1
@.str.25 = private unnamed_addr constant [12 x i8] c"RESP_RM_ERR\00", align 1
@.str.26 = private unnamed_addr constant [8 x i8] c"RESP_RM\00", align 1
@.str.27 = private unnamed_addr constant [20 x i8] c"UNKNOWN CODE: (%#X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cstring(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%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 ptr, align 8
store i32 %0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
switch i32 %32, label %330 [
i32 16, label %33
i32 32, label %44
i32 33, label %55
i32 34, label %66
i32 35, label %77
i32 37, label %88
i32 128, label %99
i32 38, label %110
i32 39, label %121
i32 257, label %132
i32 258, label %143
i32 259, label %154
i32 260, label %165
i32 261, label %176
i32 262, label %187
i32 263, label %198
i32 264, label %209
i32 265, label %220
i32 2048, label %231
i32 266, label %242
i32 267, label %253
i32 268, label %264
i32 269, label %275
i32 271, label %286
i32 270, label %297
i32 273, label %308
i32 272, label %319
]
33: ; preds = %1
br label %34
34: ; preds = %33
br label %35
35: ; preds = %38, %34
%36 = call ptr @malloc(i32 noundef 4096)
store ptr %36, ptr %4, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %35
br label %35, !llvm.loop !6
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str)
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %2, align 8
br label %342
43: ; No predecessors!
br label %44
44: ; preds = %1, %43
br label %45
45: ; preds = %44
br label %46
46: ; preds = %49, %45
%47 = call ptr @malloc(i32 noundef 4096)
store ptr %47, ptr %5, align 8
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %50
49: ; preds = %46
br label %46, !llvm.loop !8
50: ; preds = %46
%51 = load ptr, ptr %5, align 8
%52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %51, ptr noundef @.str.1)
%53 = load ptr, ptr %5, align 8
store ptr %53, ptr %2, align 8
br label %342
54: ; No predecessors!
br label %55
55: ; preds = %1, %54
br label %56
56: ; preds = %55
br label %57
57: ; preds = %60, %56
%58 = call ptr @malloc(i32 noundef 4096)
store ptr %58, ptr %6, align 8
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %61
60: ; preds = %57
br label %57, !llvm.loop !9
61: ; preds = %57
%62 = load ptr, ptr %6, align 8
%63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %62, ptr noundef @.str.2)
%64 = load ptr, ptr %6, align 8
store ptr %64, ptr %2, align 8
br label %342
65: ; No predecessors!
br label %66
66: ; preds = %1, %65
br label %67
67: ; preds = %66
br label %68
68: ; preds = %71, %67
%69 = call ptr @malloc(i32 noundef 4096)
store ptr %69, ptr %7, align 8
%70 = icmp eq ptr %69, null
br i1 %70, label %71, label %72
71: ; preds = %68
br label %68, !llvm.loop !10
72: ; preds = %68
%73 = load ptr, ptr %7, align 8
%74 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.3)
%75 = load ptr, ptr %7, align 8
store ptr %75, ptr %2, align 8
br label %342
76: ; No predecessors!
br label %77
77: ; preds = %1, %76
br label %78
78: ; preds = %77
br label %79
79: ; preds = %82, %78
%80 = call ptr @malloc(i32 noundef 4096)
store ptr %80, ptr %8, align 8
%81 = icmp eq ptr %80, null
br i1 %81, label %82, label %83
82: ; preds = %79
br label %79, !llvm.loop !11
83: ; preds = %79
%84 = load ptr, ptr %8, align 8
%85 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %84, ptr noundef @.str.4)
%86 = load ptr, ptr %8, align 8
store ptr %86, ptr %2, align 8
br label %342
87: ; No predecessors!
br label %88
88: ; preds = %1, %87
br label %89
89: ; preds = %88
br label %90
90: ; preds = %93, %89
%91 = call ptr @malloc(i32 noundef 4096)
store ptr %91, ptr %9, align 8
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %94
93: ; preds = %90
br label %90, !llvm.loop !12
94: ; preds = %90
%95 = load ptr, ptr %9, align 8
%96 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %95, ptr noundef @.str.5)
%97 = load ptr, ptr %9, align 8
store ptr %97, ptr %2, align 8
br label %342
98: ; No predecessors!
br label %99
99: ; preds = %1, %98
br label %100
100: ; preds = %99
br label %101
101: ; preds = %104, %100
%102 = call ptr @malloc(i32 noundef 4096)
store ptr %102, ptr %10, align 8
%103 = icmp eq ptr %102, null
br i1 %103, label %104, label %105
104: ; preds = %101
br label %101, !llvm.loop !13
105: ; preds = %101
%106 = load ptr, ptr %10, align 8
%107 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %106, ptr noundef @.str.6)
%108 = load ptr, ptr %10, align 8
store ptr %108, ptr %2, align 8
br label %342
109: ; No predecessors!
br label %110
110: ; preds = %1, %109
br label %111
111: ; preds = %110
br label %112
112: ; preds = %115, %111
%113 = call ptr @malloc(i32 noundef 4096)
store ptr %113, ptr %11, align 8
%114 = icmp eq ptr %113, null
br i1 %114, label %115, label %116
115: ; preds = %112
br label %112, !llvm.loop !14
116: ; preds = %112
%117 = load ptr, ptr %11, align 8
%118 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %117, ptr noundef @.str.7)
%119 = load ptr, ptr %11, align 8
store ptr %119, ptr %2, align 8
br label %342
120: ; No predecessors!
br label %121
121: ; preds = %1, %120
br label %122
122: ; preds = %121
br label %123
123: ; preds = %126, %122
%124 = call ptr @malloc(i32 noundef 4096)
store ptr %124, ptr %12, align 8
%125 = icmp eq ptr %124, null
br i1 %125, label %126, label %127
126: ; preds = %123
br label %123, !llvm.loop !15
127: ; preds = %123
%128 = load ptr, ptr %12, align 8
%129 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %128, ptr noundef @.str.8)
%130 = load ptr, ptr %12, align 8
store ptr %130, ptr %2, align 8
br label %342
131: ; No predecessors!
br label %132
132: ; preds = %1, %131
br label %133
133: ; preds = %132
br label %134
134: ; preds = %137, %133
%135 = call ptr @malloc(i32 noundef 4096)
store ptr %135, ptr %13, align 8
%136 = icmp eq ptr %135, null
br i1 %136, label %137, label %138
137: ; preds = %134
br label %134, !llvm.loop !16
138: ; preds = %134
%139 = load ptr, ptr %13, align 8
%140 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %139, ptr noundef @.str.9)
%141 = load ptr, ptr %13, align 8
store ptr %141, ptr %2, align 8
br label %342
142: ; No predecessors!
br label %143
143: ; preds = %1, %142
br label %144
144: ; preds = %143
br label %145
145: ; preds = %148, %144
%146 = call ptr @malloc(i32 noundef 4096)
store ptr %146, ptr %14, align 8
%147 = icmp eq ptr %146, null
br i1 %147, label %148, label %149
148: ; preds = %145
br label %145, !llvm.loop !17
149: ; preds = %145
%150 = load ptr, ptr %14, align 8
%151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef @.str.10)
%152 = load ptr, ptr %14, align 8
store ptr %152, ptr %2, align 8
br label %342
153: ; No predecessors!
br label %154
154: ; preds = %1, %153
br label %155
155: ; preds = %154
br label %156
156: ; preds = %159, %155
%157 = call ptr @malloc(i32 noundef 4096)
store ptr %157, ptr %15, align 8
%158 = icmp eq ptr %157, null
br i1 %158, label %159, label %160
159: ; preds = %156
br label %156, !llvm.loop !18
160: ; preds = %156
%161 = load ptr, ptr %15, align 8
%162 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %161, ptr noundef @.str.11)
%163 = load ptr, ptr %15, align 8
store ptr %163, ptr %2, align 8
br label %342
164: ; No predecessors!
br label %165
165: ; preds = %1, %164
br label %166
166: ; preds = %165
br label %167
167: ; preds = %170, %166
%168 = call ptr @malloc(i32 noundef 4096)
store ptr %168, ptr %16, align 8
%169 = icmp eq ptr %168, null
br i1 %169, label %170, label %171
170: ; preds = %167
br label %167, !llvm.loop !19
171: ; preds = %167
%172 = load ptr, ptr %16, align 8
%173 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %172, ptr noundef @.str.12)
%174 = load ptr, ptr %16, align 8
store ptr %174, ptr %2, align 8
br label %342
175: ; No predecessors!
br label %176
176: ; preds = %1, %175
br label %177
177: ; preds = %176
br label %178
178: ; preds = %181, %177
%179 = call ptr @malloc(i32 noundef 4096)
store ptr %179, ptr %17, align 8
%180 = icmp eq ptr %179, null
br i1 %180, label %181, label %182
181: ; preds = %178
br label %178, !llvm.loop !20
182: ; preds = %178
%183 = load ptr, ptr %17, align 8
%184 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %183, ptr noundef @.str.13)
%185 = load ptr, ptr %17, align 8
store ptr %185, ptr %2, align 8
br label %342
186: ; No predecessors!
br label %187
187: ; preds = %1, %186
br label %188
188: ; preds = %187
br label %189
189: ; preds = %192, %188
%190 = call ptr @malloc(i32 noundef 4096)
store ptr %190, ptr %18, align 8
%191 = icmp eq ptr %190, null
br i1 %191, label %192, label %193
192: ; preds = %189
br label %189, !llvm.loop !21
193: ; preds = %189
%194 = load ptr, ptr %18, align 8
%195 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %194, ptr noundef @.str.14)
%196 = load ptr, ptr %18, align 8
store ptr %196, ptr %2, align 8
br label %342
197: ; No predecessors!
br label %198
198: ; preds = %1, %197
br label %199
199: ; preds = %198
br label %200
200: ; preds = %203, %199
%201 = call ptr @malloc(i32 noundef 4096)
store ptr %201, ptr %19, align 8
%202 = icmp eq ptr %201, null
br i1 %202, label %203, label %204
203: ; preds = %200
br label %200, !llvm.loop !22
204: ; preds = %200
%205 = load ptr, ptr %19, align 8
%206 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %205, ptr noundef @.str.15)
%207 = load ptr, ptr %19, align 8
store ptr %207, ptr %2, align 8
br label %342
208: ; No predecessors!
br label %209
209: ; preds = %1, %208
br label %210
210: ; preds = %209
br label %211
211: ; preds = %214, %210
%212 = call ptr @malloc(i32 noundef 4096)
store ptr %212, ptr %20, align 8
%213 = icmp eq ptr %212, null
br i1 %213, label %214, label %215
214: ; preds = %211
br label %211, !llvm.loop !23
215: ; preds = %211
%216 = load ptr, ptr %20, align 8
%217 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %216, ptr noundef @.str.16)
%218 = load ptr, ptr %20, align 8
store ptr %218, ptr %2, align 8
br label %342
219: ; No predecessors!
br label %220
220: ; preds = %1, %219
br label %221
221: ; preds = %220
br label %222
222: ; preds = %225, %221
%223 = call ptr @malloc(i32 noundef 4096)
store ptr %223, ptr %21, align 8
%224 = icmp eq ptr %223, null
br i1 %224, label %225, label %226
225: ; preds = %222
br label %222, !llvm.loop !24
226: ; preds = %222
%227 = load ptr, ptr %21, align 8
%228 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %227, ptr noundef @.str.17)
%229 = load ptr, ptr %21, align 8
store ptr %229, ptr %2, align 8
br label %342
230: ; No predecessors!
br label %231
231: ; preds = %1, %230
br label %232
232: ; preds = %231
br label %233
233: ; preds = %236, %232
%234 = call ptr @malloc(i32 noundef 4096)
store ptr %234, ptr %22, align 8
%235 = icmp eq ptr %234, null
br i1 %235, label %236, label %237
236: ; preds = %233
br label %233, !llvm.loop !25
237: ; preds = %233
%238 = load ptr, ptr %22, align 8
%239 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %238, ptr noundef @.str.18)
%240 = load ptr, ptr %22, align 8
store ptr %240, ptr %2, align 8
br label %342
241: ; No predecessors!
br label %242
242: ; preds = %1, %241
br label %243
243: ; preds = %242
br label %244
244: ; preds = %247, %243
%245 = call ptr @malloc(i32 noundef 4096)
store ptr %245, ptr %23, align 8
%246 = icmp eq ptr %245, null
br i1 %246, label %247, label %248
247: ; preds = %244
br label %244, !llvm.loop !26
248: ; preds = %244
%249 = load ptr, ptr %23, align 8
%250 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %249, ptr noundef @.str.19)
%251 = load ptr, ptr %23, align 8
store ptr %251, ptr %2, align 8
br label %342
252: ; No predecessors!
br label %253
253: ; preds = %1, %252
br label %254
254: ; preds = %253
br label %255
255: ; preds = %258, %254
%256 = call ptr @malloc(i32 noundef 4096)
store ptr %256, ptr %24, align 8
%257 = icmp eq ptr %256, null
br i1 %257, label %258, label %259
258: ; preds = %255
br label %255, !llvm.loop !27
259: ; preds = %255
%260 = load ptr, ptr %24, align 8
%261 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %260, ptr noundef @.str.20)
%262 = load ptr, ptr %24, align 8
store ptr %262, ptr %2, align 8
br label %342
263: ; No predecessors!
br label %264
264: ; preds = %1, %263
br label %265
265: ; preds = %264
br label %266
266: ; preds = %269, %265
%267 = call ptr @malloc(i32 noundef 4096)
store ptr %267, ptr %25, align 8
%268 = icmp eq ptr %267, null
br i1 %268, label %269, label %270
269: ; preds = %266
br label %266, !llvm.loop !28
270: ; preds = %266
%271 = load ptr, ptr %25, align 8
%272 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %271, ptr noundef @.str.21)
%273 = load ptr, ptr %25, align 8
store ptr %273, ptr %2, align 8
br label %342
274: ; No predecessors!
br label %275
275: ; preds = %1, %274
br label %276
276: ; preds = %275
br label %277
277: ; preds = %280, %276
%278 = call ptr @malloc(i32 noundef 4096)
store ptr %278, ptr %26, align 8
%279 = icmp eq ptr %278, null
br i1 %279, label %280, label %281
280: ; preds = %277
br label %277, !llvm.loop !29
281: ; preds = %277
%282 = load ptr, ptr %26, align 8
%283 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %282, ptr noundef @.str.22)
%284 = load ptr, ptr %26, align 8
store ptr %284, ptr %2, align 8
br label %342
285: ; No predecessors!
br label %286
286: ; preds = %1, %285
br label %287
287: ; preds = %286
br label %288
288: ; preds = %291, %287
%289 = call ptr @malloc(i32 noundef 4096)
store ptr %289, ptr %27, align 8
%290 = icmp eq ptr %289, null
br i1 %290, label %291, label %292
291: ; preds = %288
br label %288, !llvm.loop !30
292: ; preds = %288
%293 = load ptr, ptr %27, align 8
%294 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %293, ptr noundef @.str.23)
%295 = load ptr, ptr %27, align 8
store ptr %295, ptr %2, align 8
br label %342
296: ; No predecessors!
br label %297
297: ; preds = %1, %296
br label %298
298: ; preds = %297
br label %299
299: ; preds = %302, %298
%300 = call ptr @malloc(i32 noundef 4096)
store ptr %300, ptr %28, align 8
%301 = icmp eq ptr %300, null
br i1 %301, label %302, label %303
302: ; preds = %299
br label %299, !llvm.loop !31
303: ; preds = %299
%304 = load ptr, ptr %28, align 8
%305 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %304, ptr noundef @.str.24)
%306 = load ptr, ptr %28, align 8
store ptr %306, ptr %2, align 8
br label %342
307: ; No predecessors!
br label %308
308: ; preds = %1, %307
br label %309
309: ; preds = %308
br label %310
310: ; preds = %313, %309
%311 = call ptr @malloc(i32 noundef 4096)
store ptr %311, ptr %29, align 8
%312 = icmp eq ptr %311, null
br i1 %312, label %313, label %314
313: ; preds = %310
br label %310, !llvm.loop !32
314: ; preds = %310
%315 = load ptr, ptr %29, align 8
%316 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %315, ptr noundef @.str.25)
%317 = load ptr, ptr %29, align 8
store ptr %317, ptr %2, align 8
br label %342
318: ; No predecessors!
br label %319
319: ; preds = %1, %318
br label %320
320: ; preds = %319
br label %321
321: ; preds = %324, %320
%322 = call ptr @malloc(i32 noundef 4096)
store ptr %322, ptr %30, align 8
%323 = icmp eq ptr %322, null
br i1 %323, label %324, label %325
324: ; preds = %321
br label %321, !llvm.loop !33
325: ; preds = %321
%326 = load ptr, ptr %30, align 8
%327 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %326, ptr noundef @.str.26)
%328 = load ptr, ptr %30, align 8
store ptr %328, ptr %2, align 8
br label %342
329: ; No predecessors!
br label %330
330: ; preds = %1, %329
br label %331
331: ; preds = %330
br label %332
332: ; preds = %335, %331
%333 = call ptr @malloc(i32 noundef 4096)
store ptr %333, ptr %31, align 8
%334 = icmp eq ptr %333, null
br i1 %334, label %335, label %336
335: ; preds = %332
br label %332, !llvm.loop !34
336: ; preds = %332
%337 = load ptr, ptr %31, align 8
%338 = load i32, ptr %3, align 4
%339 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %337, ptr noundef @.str.27, i32 noundef %338)
%340 = load ptr, ptr %31, align 8
store ptr %340, ptr %2, align 8
br label %342
341: ; No predecessors!
br label %342
342: ; preds = %39, %50, %61, %72, %83, %94, %105, %116, %127, %138, %149, %160, %171, %182, %193, %204, %215, %226, %237, %248, %259, %270, %281, %292, %303, %314, %325, %336, %341
%343 = load ptr, ptr %2, align 8
ret ptr %343
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppakk47mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REQ_AUTH\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"REQ_LS\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"REQ_CD\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"REQ_PWD\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"REQ_MKDIR\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"REQ_UPLOAD\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"REQ_DATA_FINISH\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"REQ_DOWNLODA\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"REQ_EXIT\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"RESP_AUTH_OK\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"RESP_AUTH_FAIL\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"RESP_LS\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"RESP_LS_ERR\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"RESP_CD\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"RESP_CD_ERR\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"RESP_PWD\00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"RESP_DOWNLOAD\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"RESP_DOWNLOAD_ERR\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c"RESP_DATA_FINISH\00", align 1
@.str.19 = private unnamed_addr constant [12 x i8] c"RESP_UPLOAD\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"RESP_UPLOAD_ERR\00", align 1
@.str.21 = private unnamed_addr constant [10 x i8] c"RESP_EXIT\00", align 1
@.str.22 = private unnamed_addr constant [16 x i8] c"RESP_SERVER_ERR\00", align 1
@.str.23 = private unnamed_addr constant [15 x i8] c"RESP_MKDIR_ERR\00", align 1
@.str.24 = private unnamed_addr constant [11 x i8] c"RESP_MKDIR\00", align 1
@.str.25 = private unnamed_addr constant [12 x i8] c"RESP_RM_ERR\00", align 1
@.str.26 = private unnamed_addr constant [8 x i8] c"RESP_RM\00", align 1
@.str.27 = private unnamed_addr constant [20 x i8] c"UNKNOWN CODE: (%#X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cstring(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%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 ptr, align 8
store i32 %0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
switch i32 %32, label %303 [
i32 16, label %33
i32 32, label %43
i32 33, label %53
i32 34, label %63
i32 35, label %73
i32 37, label %83
i32 128, label %93
i32 38, label %103
i32 39, label %113
i32 257, label %123
i32 258, label %133
i32 259, label %143
i32 260, label %153
i32 261, label %163
i32 262, label %173
i32 263, label %183
i32 264, label %193
i32 265, label %203
i32 2048, label %213
i32 266, label %223
i32 267, label %233
i32 268, label %243
i32 269, label %253
i32 271, label %263
i32 270, label %273
i32 273, label %283
i32 272, label %293
]
33: ; preds = %1
br label %34
34: ; preds = %33
br label %35
35: ; preds = %35, %34
%36 = call ptr @malloc(i32 noundef 4096)
store ptr %36, ptr %4, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %35, label %38, !llvm.loop !6
38: ; preds = %35
%39 = load ptr, ptr %4, align 8
%40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str)
%41 = load ptr, ptr %4, align 8
store ptr %41, ptr %2, align 8
br label %314
42: ; No predecessors!
br label %43
43: ; preds = %42, %1
br label %44
44: ; preds = %43
br label %45
45: ; preds = %45, %44
%46 = call ptr @malloc(i32 noundef 4096)
store ptr %46, ptr %5, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %45, label %48, !llvm.loop !8
48: ; preds = %45
%49 = load ptr, ptr %5, align 8
%50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %49, ptr noundef @.str.1)
%51 = load ptr, ptr %5, align 8
store ptr %51, ptr %2, align 8
br label %314
52: ; No predecessors!
br label %53
53: ; preds = %52, %1
br label %54
54: ; preds = %53
br label %55
55: ; preds = %55, %54
%56 = call ptr @malloc(i32 noundef 4096)
store ptr %56, ptr %6, align 8
%57 = icmp eq ptr %56, null
br i1 %57, label %55, label %58, !llvm.loop !9
58: ; preds = %55
%59 = load ptr, ptr %6, align 8
%60 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %59, ptr noundef @.str.2)
%61 = load ptr, ptr %6, align 8
store ptr %61, ptr %2, align 8
br label %314
62: ; No predecessors!
br label %63
63: ; preds = %62, %1
br label %64
64: ; preds = %63
br label %65
65: ; preds = %65, %64
%66 = call ptr @malloc(i32 noundef 4096)
store ptr %66, ptr %7, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %65, label %68, !llvm.loop !10
68: ; preds = %65
%69 = load ptr, ptr %7, align 8
%70 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %69, ptr noundef @.str.3)
%71 = load ptr, ptr %7, align 8
store ptr %71, ptr %2, align 8
br label %314
72: ; No predecessors!
br label %73
73: ; preds = %72, %1
br label %74
74: ; preds = %73
br label %75
75: ; preds = %75, %74
%76 = call ptr @malloc(i32 noundef 4096)
store ptr %76, ptr %8, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %75, label %78, !llvm.loop !11
78: ; preds = %75
%79 = load ptr, ptr %8, align 8
%80 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %79, ptr noundef @.str.4)
%81 = load ptr, ptr %8, align 8
store ptr %81, ptr %2, align 8
br label %314
82: ; No predecessors!
br label %83
83: ; preds = %82, %1
br label %84
84: ; preds = %83
br label %85
85: ; preds = %85, %84
%86 = call ptr @malloc(i32 noundef 4096)
store ptr %86, ptr %9, align 8
%87 = icmp eq ptr %86, null
br i1 %87, label %85, label %88, !llvm.loop !12
88: ; preds = %85
%89 = load ptr, ptr %9, align 8
%90 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %89, ptr noundef @.str.5)
%91 = load ptr, ptr %9, align 8
store ptr %91, ptr %2, align 8
br label %314
92: ; No predecessors!
br label %93
93: ; preds = %92, %1
br label %94
94: ; preds = %93
br label %95
95: ; preds = %95, %94
%96 = call ptr @malloc(i32 noundef 4096)
store ptr %96, ptr %10, align 8
%97 = icmp eq ptr %96, null
br i1 %97, label %95, label %98, !llvm.loop !13
98: ; preds = %95
%99 = load ptr, ptr %10, align 8
%100 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %99, ptr noundef @.str.6)
%101 = load ptr, ptr %10, align 8
store ptr %101, ptr %2, align 8
br label %314
102: ; No predecessors!
br label %103
103: ; preds = %102, %1
br label %104
104: ; preds = %103
br label %105
105: ; preds = %105, %104
%106 = call ptr @malloc(i32 noundef 4096)
store ptr %106, ptr %11, align 8
%107 = icmp eq ptr %106, null
br i1 %107, label %105, label %108, !llvm.loop !14
108: ; preds = %105
%109 = load ptr, ptr %11, align 8
%110 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.7)
%111 = load ptr, ptr %11, align 8
store ptr %111, ptr %2, align 8
br label %314
112: ; No predecessors!
br label %113
113: ; preds = %112, %1
br label %114
114: ; preds = %113
br label %115
115: ; preds = %115, %114
%116 = call ptr @malloc(i32 noundef 4096)
store ptr %116, ptr %12, align 8
%117 = icmp eq ptr %116, null
br i1 %117, label %115, label %118, !llvm.loop !15
118: ; preds = %115
%119 = load ptr, ptr %12, align 8
%120 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %119, ptr noundef @.str.8)
%121 = load ptr, ptr %12, align 8
store ptr %121, ptr %2, align 8
br label %314
122: ; No predecessors!
br label %123
123: ; preds = %122, %1
br label %124
124: ; preds = %123
br label %125
125: ; preds = %125, %124
%126 = call ptr @malloc(i32 noundef 4096)
store ptr %126, ptr %13, align 8
%127 = icmp eq ptr %126, null
br i1 %127, label %125, label %128, !llvm.loop !16
128: ; preds = %125
%129 = load ptr, ptr %13, align 8
%130 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %129, ptr noundef @.str.9)
%131 = load ptr, ptr %13, align 8
store ptr %131, ptr %2, align 8
br label %314
132: ; No predecessors!
br label %133
133: ; preds = %132, %1
br label %134
134: ; preds = %133
br label %135
135: ; preds = %135, %134
%136 = call ptr @malloc(i32 noundef 4096)
store ptr %136, ptr %14, align 8
%137 = icmp eq ptr %136, null
br i1 %137, label %135, label %138, !llvm.loop !17
138: ; preds = %135
%139 = load ptr, ptr %14, align 8
%140 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %139, ptr noundef @.str.10)
%141 = load ptr, ptr %14, align 8
store ptr %141, ptr %2, align 8
br label %314
142: ; No predecessors!
br label %143
143: ; preds = %142, %1
br label %144
144: ; preds = %143
br label %145
145: ; preds = %145, %144
%146 = call ptr @malloc(i32 noundef 4096)
store ptr %146, ptr %15, align 8
%147 = icmp eq ptr %146, null
br i1 %147, label %145, label %148, !llvm.loop !18
148: ; preds = %145
%149 = load ptr, ptr %15, align 8
%150 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %149, ptr noundef @.str.11)
%151 = load ptr, ptr %15, align 8
store ptr %151, ptr %2, align 8
br label %314
152: ; No predecessors!
br label %153
153: ; preds = %152, %1
br label %154
154: ; preds = %153
br label %155
155: ; preds = %155, %154
%156 = call ptr @malloc(i32 noundef 4096)
store ptr %156, ptr %16, align 8
%157 = icmp eq ptr %156, null
br i1 %157, label %155, label %158, !llvm.loop !19
158: ; preds = %155
%159 = load ptr, ptr %16, align 8
%160 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %159, ptr noundef @.str.12)
%161 = load ptr, ptr %16, align 8
store ptr %161, ptr %2, align 8
br label %314
162: ; No predecessors!
br label %163
163: ; preds = %162, %1
br label %164
164: ; preds = %163
br label %165
165: ; preds = %165, %164
%166 = call ptr @malloc(i32 noundef 4096)
store ptr %166, ptr %17, align 8
%167 = icmp eq ptr %166, null
br i1 %167, label %165, label %168, !llvm.loop !20
168: ; preds = %165
%169 = load ptr, ptr %17, align 8
%170 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %169, ptr noundef @.str.13)
%171 = load ptr, ptr %17, align 8
store ptr %171, ptr %2, align 8
br label %314
172: ; No predecessors!
br label %173
173: ; preds = %172, %1
br label %174
174: ; preds = %173
br label %175
175: ; preds = %175, %174
%176 = call ptr @malloc(i32 noundef 4096)
store ptr %176, ptr %18, align 8
%177 = icmp eq ptr %176, null
br i1 %177, label %175, label %178, !llvm.loop !21
178: ; preds = %175
%179 = load ptr, ptr %18, align 8
%180 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %179, ptr noundef @.str.14)
%181 = load ptr, ptr %18, align 8
store ptr %181, ptr %2, align 8
br label %314
182: ; No predecessors!
br label %183
183: ; preds = %182, %1
br label %184
184: ; preds = %183
br label %185
185: ; preds = %185, %184
%186 = call ptr @malloc(i32 noundef 4096)
store ptr %186, ptr %19, align 8
%187 = icmp eq ptr %186, null
br i1 %187, label %185, label %188, !llvm.loop !22
188: ; preds = %185
%189 = load ptr, ptr %19, align 8
%190 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %189, ptr noundef @.str.15)
%191 = load ptr, ptr %19, align 8
store ptr %191, ptr %2, align 8
br label %314
192: ; No predecessors!
br label %193
193: ; preds = %192, %1
br label %194
194: ; preds = %193
br label %195
195: ; preds = %195, %194
%196 = call ptr @malloc(i32 noundef 4096)
store ptr %196, ptr %20, align 8
%197 = icmp eq ptr %196, null
br i1 %197, label %195, label %198, !llvm.loop !23
198: ; preds = %195
%199 = load ptr, ptr %20, align 8
%200 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %199, ptr noundef @.str.16)
%201 = load ptr, ptr %20, align 8
store ptr %201, ptr %2, align 8
br label %314
202: ; No predecessors!
br label %203
203: ; preds = %202, %1
br label %204
204: ; preds = %203
br label %205
205: ; preds = %205, %204
%206 = call ptr @malloc(i32 noundef 4096)
store ptr %206, ptr %21, align 8
%207 = icmp eq ptr %206, null
br i1 %207, label %205, label %208, !llvm.loop !24
208: ; preds = %205
%209 = load ptr, ptr %21, align 8
%210 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %209, ptr noundef @.str.17)
%211 = load ptr, ptr %21, align 8
store ptr %211, ptr %2, align 8
br label %314
212: ; No predecessors!
br label %213
213: ; preds = %212, %1
br label %214
214: ; preds = %213
br label %215
215: ; preds = %215, %214
%216 = call ptr @malloc(i32 noundef 4096)
store ptr %216, ptr %22, align 8
%217 = icmp eq ptr %216, null
br i1 %217, label %215, label %218, !llvm.loop !25
218: ; preds = %215
%219 = load ptr, ptr %22, align 8
%220 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %219, ptr noundef @.str.18)
%221 = load ptr, ptr %22, align 8
store ptr %221, ptr %2, align 8
br label %314
222: ; No predecessors!
br label %223
223: ; preds = %222, %1
br label %224
224: ; preds = %223
br label %225
225: ; preds = %225, %224
%226 = call ptr @malloc(i32 noundef 4096)
store ptr %226, ptr %23, align 8
%227 = icmp eq ptr %226, null
br i1 %227, label %225, label %228, !llvm.loop !26
228: ; preds = %225
%229 = load ptr, ptr %23, align 8
%230 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %229, ptr noundef @.str.19)
%231 = load ptr, ptr %23, align 8
store ptr %231, ptr %2, align 8
br label %314
232: ; No predecessors!
br label %233
233: ; preds = %232, %1
br label %234
234: ; preds = %233
br label %235
235: ; preds = %235, %234
%236 = call ptr @malloc(i32 noundef 4096)
store ptr %236, ptr %24, align 8
%237 = icmp eq ptr %236, null
br i1 %237, label %235, label %238, !llvm.loop !27
238: ; preds = %235
%239 = load ptr, ptr %24, align 8
%240 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %239, ptr noundef @.str.20)
%241 = load ptr, ptr %24, align 8
store ptr %241, ptr %2, align 8
br label %314
242: ; No predecessors!
br label %243
243: ; preds = %242, %1
br label %244
244: ; preds = %243
br label %245
245: ; preds = %245, %244
%246 = call ptr @malloc(i32 noundef 4096)
store ptr %246, ptr %25, align 8
%247 = icmp eq ptr %246, null
br i1 %247, label %245, label %248, !llvm.loop !28
248: ; preds = %245
%249 = load ptr, ptr %25, align 8
%250 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %249, ptr noundef @.str.21)
%251 = load ptr, ptr %25, align 8
store ptr %251, ptr %2, align 8
br label %314
252: ; No predecessors!
br label %253
253: ; preds = %252, %1
br label %254
254: ; preds = %253
br label %255
255: ; preds = %255, %254
%256 = call ptr @malloc(i32 noundef 4096)
store ptr %256, ptr %26, align 8
%257 = icmp eq ptr %256, null
br i1 %257, label %255, label %258, !llvm.loop !29
258: ; preds = %255
%259 = load ptr, ptr %26, align 8
%260 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %259, ptr noundef @.str.22)
%261 = load ptr, ptr %26, align 8
store ptr %261, ptr %2, align 8
br label %314
262: ; No predecessors!
br label %263
263: ; preds = %262, %1
br label %264
264: ; preds = %263
br label %265
265: ; preds = %265, %264
%266 = call ptr @malloc(i32 noundef 4096)
store ptr %266, ptr %27, align 8
%267 = icmp eq ptr %266, null
br i1 %267, label %265, label %268, !llvm.loop !30
268: ; preds = %265
%269 = load ptr, ptr %27, align 8
%270 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %269, ptr noundef @.str.23)
%271 = load ptr, ptr %27, align 8
store ptr %271, ptr %2, align 8
br label %314
272: ; No predecessors!
br label %273
273: ; preds = %272, %1
br label %274
274: ; preds = %273
br label %275
275: ; preds = %275, %274
%276 = call ptr @malloc(i32 noundef 4096)
store ptr %276, ptr %28, align 8
%277 = icmp eq ptr %276, null
br i1 %277, label %275, label %278, !llvm.loop !31
278: ; preds = %275
%279 = load ptr, ptr %28, align 8
%280 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %279, ptr noundef @.str.24)
%281 = load ptr, ptr %28, align 8
store ptr %281, ptr %2, align 8
br label %314
282: ; No predecessors!
br label %283
283: ; preds = %282, %1
br label %284
284: ; preds = %283
br label %285
285: ; preds = %285, %284
%286 = call ptr @malloc(i32 noundef 4096)
store ptr %286, ptr %29, align 8
%287 = icmp eq ptr %286, null
br i1 %287, label %285, label %288, !llvm.loop !32
288: ; preds = %285
%289 = load ptr, ptr %29, align 8
%290 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %289, ptr noundef @.str.25)
%291 = load ptr, ptr %29, align 8
store ptr %291, ptr %2, align 8
br label %314
292: ; No predecessors!
br label %293
293: ; preds = %292, %1
br label %294
294: ; preds = %293
br label %295
295: ; preds = %295, %294
%296 = call ptr @malloc(i32 noundef 4096)
store ptr %296, ptr %30, align 8
%297 = icmp eq ptr %296, null
br i1 %297, label %295, label %298, !llvm.loop !33
298: ; preds = %295
%299 = load ptr, ptr %30, align 8
%300 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %299, ptr noundef @.str.26)
%301 = load ptr, ptr %30, align 8
store ptr %301, ptr %2, align 8
br label %314
302: ; No predecessors!
br label %303
303: ; preds = %302, %1
br label %304
304: ; preds = %303
br label %305
305: ; preds = %305, %304
%306 = call ptr @malloc(i32 noundef 4096)
store ptr %306, ptr %31, align 8
%307 = icmp eq ptr %306, null
br i1 %307, label %305, label %308, !llvm.loop !34
308: ; preds = %305
%309 = load ptr, ptr %31, align 8
%310 = load i32, ptr %3, align 4
%311 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %309, ptr noundef @.str.27, i32 noundef %310)
%312 = load ptr, ptr %31, align 8
store ptr %312, ptr %2, align 8
br label %314
313: ; No predecessors!
br label %314
314: ; preds = %313, %308, %298, %288, %278, %268, %258, %248, %238, %228, %218, %208, %198, %188, %178, %168, %158, %148, %138, %128, %118, %108, %98, %88, %78, %68, %58, %48, %38
%315 = load ptr, ptr %2, align 8
ret ptr %315
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
|
; ModuleID = '/tmp/tmp6n45ya5v.c'
source_filename = "/tmp/tmp6n45ya5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmp6n45ya5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmprttp_m7i.c'
source_filename = "/tmp/tmprttp_m7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gethomepath(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @getenv(ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %44
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %43
21: ; preds = %15
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %8, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %9, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %41
33: ; preds = %21
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 0, ptr %38, align 1
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %33, %21
%42 = load i32, ptr %9, align 4
store i32 %42, ptr %4, align 4
br label %44
43: ; preds = %15
store i32 -1, ptr %4, align 4
br label %44
44: ; preds = %43, %41, %14
%45 = load i32, ptr %4, align 4
ret i32 %45
}
declare ptr @getenv(ptr noundef) #1
declare i32 @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/tmprttp_m7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gethomepath(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @getenv(ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %44
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %43
21: ; preds = %15
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %8, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %9, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %41
33: ; preds = %21
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 0, ptr %38, align 1
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %33, %21
%42 = load i32, ptr %9, align 4
store i32 %42, ptr %4, align 4
br label %44
43: ; preds = %15
store i32 -1, ptr %4, align 4
br label %44
44: ; preds = %43, %41, %14
%45 = load i32, ptr %4, align 4
ret i32 %45
}
declare ptr @getenv(ptr noundef) #1
declare i32 @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/tmpja6po_0v.c'
source_filename = "/tmp/tmpja6po_0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nstrread(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca [8 x i8], align 1
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca [1 x i8], align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %10, align 8
%12 = load i32, ptr %5, align 4
%13 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%14 = call i64 @jelio_read(i32 noundef %12, ptr noundef %13, i64 noundef 4, ptr noundef null)
%15 = icmp ne i64 %14, 4
br i1 %15, label %16, label %17
16: ; preds = %3
store i64 -1, ptr %4, align 8
br label %117
17: ; preds = %3
%18 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 58
br i1 %21, label %22, label %37
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%25 = getelementptr inbounds i8, ptr %24, i64 4
%26 = call i64 @jelio_read(i32 noundef %23, ptr noundef %25, i64 noundef 4, ptr noundef null)
%27 = icmp ne i64 %26, 4
br i1 %27, label %28, label %29
28: ; preds = %22
store i64 -1, ptr %4, align 8
br label %117
29: ; preds = %22
%30 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 58
br i1 %33, label %34, label %35
34: ; preds = %29
store i64 -1, ptr %4, align 8
br label %117
35: ; preds = %29
%36 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
store i8 0, ptr %36, align 1
br label %39
37: ; preds = %17
%38 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %37, %35
%40 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store ptr %40, ptr %9, align 8
br label %41
41: ; preds = %55, %39
%42 = load ptr, ptr %9, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %41
%46 = load i64, ptr %10, align 8
%47 = mul i64 %46, 10
store i64 %47, ptr %10, align 8
%48 = load ptr, ptr %9, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = sub nsw i32 %50, 48
%52 = sext i32 %51 to i64
%53 = load i64, ptr %10, align 8
%54 = add i64 %53, %52
store i64 %54, ptr %10, align 8
br label %55
55: ; preds = %45
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %9, align 8
br label %41, !llvm.loop !6
58: ; preds = %41
%59 = load i64, ptr %7, align 8
%60 = load i64, ptr %10, align 8
%61 = add i64 %60, 1
%62 = icmp ult i64 %59, %61
br i1 %62, label %63, label %94
63: ; preds = %58
%64 = load i32, ptr %5, align 4
%65 = load ptr, ptr %6, align 8
%66 = load i64, ptr %7, align 8
%67 = sub i64 %66, 1
%68 = call i64 @jelio_read(i32 noundef %64, ptr noundef %65, i64 noundef %67, ptr noundef null)
%69 = load i64, ptr %7, align 8
%70 = sub i64 %69, 1
%71 = icmp ne i64 %68, %70
br i1 %71, label %72, label %73
72: ; preds = %63
store i64 -1, ptr %4, align 8
br label %117
73: ; preds = %63
%74 = load i64, ptr %7, align 8
%75 = sub i64 %74, 1
%76 = load i64, ptr %10, align 8
%77 = sub i64 %76, %75
store i64 %77, ptr %10, align 8
br label %78
78: ; preds = %88, %73
%79 = load i64, ptr %10, align 8
%80 = add i64 %79, -1
store i64 %80, ptr %10, align 8
%81 = icmp ne i64 %79, 0
br i1 %81, label %82, label %89
82: ; preds = %78
%83 = load i32, ptr %5, align 4
%84 = getelementptr inbounds [1 x i8], ptr %11, i64 0, i64 0
%85 = call i64 @jelio_read(i32 noundef %83, ptr noundef %84, i64 noundef 1, ptr noundef null)
%86 = icmp ne i64 %85, 1
br i1 %86, label %87, label %88
87: ; preds = %82
store i64 -1, ptr %4, align 8
br label %117
88: ; preds = %82
br label %78, !llvm.loop !8
89: ; preds = %78
%90 = load ptr, ptr %6, align 8
%91 = load i64, ptr %7, align 8
%92 = getelementptr inbounds i8, ptr %90, i64 %91
%93 = getelementptr inbounds i8, ptr %92, i64 -1
store i8 0, ptr %93, align 1
store i64 -2, ptr %4, align 8
br label %117
94: ; preds = %58
%95 = load i32, ptr %5, align 4
%96 = load ptr, ptr %6, align 8
%97 = load i64, ptr %10, align 8
%98 = add i64 %97, 1
%99 = call i64 @jelio_read(i32 noundef %95, ptr noundef %96, i64 noundef %98, ptr noundef null)
%100 = load i64, ptr %10, align 8
%101 = add i64 %100, 1
%102 = icmp ne i64 %99, %101
br i1 %102, label %103, label %104
103: ; preds = %94
store i64 -1, ptr %4, align 8
br label %117
104: ; preds = %94
%105 = load ptr, ptr %6, align 8
%106 = load i64, ptr %10, align 8
%107 = getelementptr inbounds i8, ptr %105, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp ne i32 %109, 44
br i1 %110, label %111, label %112
111: ; preds = %104
store i64 -1, ptr %4, align 8
br label %117
112: ; preds = %104
%113 = load ptr, ptr %6, align 8
%114 = load i64, ptr %10, align 8
%115 = getelementptr inbounds i8, ptr %113, i64 %114
store i8 0, ptr %115, align 1
%116 = load i64, ptr %10, align 8
store i64 %116, ptr %4, align 8
br label %117
117: ; preds = %112, %111, %103, %89, %87, %72, %34, %28, %16
%118 = load i64, ptr %4, align 8
ret i64 %118
}
declare i64 @jelio_read(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpja6po_0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nstrread(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca [8 x i8], align 1
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca [1 x i8], align 1
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %10, align 8
%12 = load i32, ptr %5, align 4
%13 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%14 = call i64 @jelio_read(i32 noundef %12, ptr noundef %13, i64 noundef 4, ptr noundef null)
%15 = icmp ne i64 %14, 4
br i1 %15, label %16, label %17
16: ; preds = %3
store i64 -1, ptr %4, align 8
br label %121
17: ; preds = %3
%18 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 58
br i1 %21, label %22, label %37
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%25 = getelementptr inbounds i8, ptr %24, i64 4
%26 = call i64 @jelio_read(i32 noundef %23, ptr noundef %25, i64 noundef 4, ptr noundef null)
%27 = icmp ne i64 %26, 4
br i1 %27, label %28, label %29
28: ; preds = %22
store i64 -1, ptr %4, align 8
br label %121
29: ; preds = %22
%30 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 58
br i1 %33, label %34, label %35
34: ; preds = %29
store i64 -1, ptr %4, align 8
br label %121
35: ; preds = %29
%36 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
store i8 0, ptr %36, align 1
br label %39
37: ; preds = %17
%38 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %37, %35
%40 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store ptr %40, ptr %9, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = icmp ne i8 %42, 0
br i1 %43, label %.lr.ph, label %60
.lr.ph: ; preds = %39
br label %44
44: ; preds = %.lr.ph, %54
%45 = load i64, ptr %10, align 8
%46 = mul i64 %45, 10
store i64 %46, ptr %10, align 8
%47 = load ptr, ptr %9, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = sub nsw i32 %49, 48
%51 = sext i32 %50 to i64
%52 = load i64, ptr %10, align 8
%53 = add i64 %52, %51
store i64 %53, ptr %10, align 8
br label %54
54: ; preds = %44
%55 = load ptr, ptr %9, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %9, align 8
%57 = load ptr, ptr %9, align 8
%58 = load i8, ptr %57, align 1
%59 = icmp ne i8 %58, 0
br i1 %59, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %39
%61 = load i64, ptr %7, align 8
%62 = load i64, ptr %10, align 8
%63 = add i64 %62, 1
%64 = icmp ult i64 %61, %63
br i1 %64, label %65, label %98
65: ; preds = %60
%66 = load i32, ptr %5, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i64, ptr %7, align 8
%69 = sub i64 %68, 1
%70 = call i64 @jelio_read(i32 noundef %66, ptr noundef %67, i64 noundef %69, ptr noundef null)
%71 = load i64, ptr %7, align 8
%72 = sub i64 %71, 1
%73 = icmp ne i64 %70, %72
br i1 %73, label %74, label %75
74: ; preds = %65
store i64 -1, ptr %4, align 8
br label %121
75: ; preds = %65
%76 = load i64, ptr %7, align 8
%77 = sub i64 %76, 1
%78 = load i64, ptr %10, align 8
%79 = sub i64 %78, %77
store i64 %79, ptr %10, align 8
%80 = load i64, ptr %10, align 8
%81 = add i64 %80, -1
store i64 %81, ptr %10, align 8
%82 = icmp ne i64 %80, 0
br i1 %82, label %.lr.ph2, label %93
.lr.ph2: ; preds = %75
br label %87
83: ; preds = %87
%84 = load i64, ptr %10, align 8
%85 = add i64 %84, -1
store i64 %85, ptr %10, align 8
%86 = icmp ne i64 %84, 0
br i1 %86, label %87, label %._crit_edge3, !llvm.loop !8
87: ; preds = %.lr.ph2, %83
%88 = load i32, ptr %5, align 4
%89 = getelementptr inbounds [1 x i8], ptr %11, i64 0, i64 0
%90 = call i64 @jelio_read(i32 noundef %88, ptr noundef %89, i64 noundef 1, ptr noundef null)
%91 = icmp ne i64 %90, 1
br i1 %91, label %92, label %83
92: ; preds = %87
store i64 -1, ptr %4, align 8
br label %121
._crit_edge3: ; preds = %83
br label %93
93: ; preds = %._crit_edge3, %75
%94 = load ptr, ptr %6, align 8
%95 = load i64, ptr %7, align 8
%96 = getelementptr inbounds i8, ptr %94, i64 %95
%97 = getelementptr inbounds i8, ptr %96, i64 -1
store i8 0, ptr %97, align 1
store i64 -2, ptr %4, align 8
br label %121
98: ; preds = %60
%99 = load i32, ptr %5, align 4
%100 = load ptr, ptr %6, align 8
%101 = load i64, ptr %10, align 8
%102 = add i64 %101, 1
%103 = call i64 @jelio_read(i32 noundef %99, ptr noundef %100, i64 noundef %102, ptr noundef null)
%104 = load i64, ptr %10, align 8
%105 = add i64 %104, 1
%106 = icmp ne i64 %103, %105
br i1 %106, label %107, label %108
107: ; preds = %98
store i64 -1, ptr %4, align 8
br label %121
108: ; preds = %98
%109 = load ptr, ptr %6, align 8
%110 = load i64, ptr %10, align 8
%111 = getelementptr inbounds i8, ptr %109, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 44
br i1 %114, label %115, label %116
115: ; preds = %108
store i64 -1, ptr %4, align 8
br label %121
116: ; preds = %108
%117 = load ptr, ptr %6, align 8
%118 = load i64, ptr %10, align 8
%119 = getelementptr inbounds i8, ptr %117, i64 %118
store i8 0, ptr %119, align 1
%120 = load i64, ptr %10, align 8
store i64 %120, ptr %4, align 8
br label %121
121: ; preds = %116, %115, %107, %93, %92, %74, %34, %28, %16
%122 = load i64, ptr %4, align 8
ret i64 %122
}
declare i64 @jelio_read(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjqhvlolh.c'
source_filename = "/tmp/tmpjqhvlolh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_init() #0 {
%1 = alloca i32, align 4
%2 = call i32 @PUT32(i32 noundef 1059147780, i32 noundef 1)
%3 = call i32 @PUT32(i32 noundef 1059147844, i32 noundef 0)
%4 = call i32 @PUT32(i32 noundef 1059147872, i32 noundef 0)
%5 = call i32 @PUT32(i32 noundef 1059147852, i32 noundef 3)
%6 = call i32 @PUT32(i32 noundef 1059147856, i32 noundef 0)
%7 = call i32 @PUT32(i32 noundef 1059147844, i32 noundef 0)
%8 = call i32 @PUT32(i32 noundef 1059147848, i32 noundef 198)
%9 = call i32 @PUT32(i32 noundef 1059147880, i32 noundef 270)
%10 = call i32 @GET32(i32 noundef 1059061764)
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = and i32 %11, -28673
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = or i32 %13, 8192
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, -229377
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = or i32 %17, 65536
store i32 %18, ptr %1, align 4
%19 = load i32, ptr %1, align 4
%20 = call i32 @PUT32(i32 noundef 1059061764, i32 noundef %19)
%21 = call i32 @PUT32(i32 noundef 1059061908, i32 noundef 0)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %28, %0
%23 = load i32, ptr %1, align 4
%24 = icmp ult i32 %23, 150
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr %1, align 4
%27 = call i32 @dummy(i32 noundef %26)
br label %28
28: ; preds = %25
%29 = load i32, ptr %1, align 4
%30 = add i32 %29, 1
store i32 %30, ptr %1, align 4
br label %22, !llvm.loop !6
31: ; preds = %22
%32 = call i32 @PUT32(i32 noundef 1059061912, i32 noundef 49152)
store i32 0, ptr %1, align 4
br label %33
33: ; preds = %39, %31
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 150
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, ptr %1, align 4
%38 = call i32 @dummy(i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %1, align 4
br label %33, !llvm.loop !8
42: ; preds = %33
%43 = call i32 @PUT32(i32 noundef 1059061912, i32 noundef 0)
%44 = call i32 @PUT32(i32 noundef 1059147872, i32 noundef 3)
ret void
}
declare i32 @PUT32(i32 noundef, i32 noundef) #1
declare i32 @GET32(i32 noundef) #1
declare i32 @dummy(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/tmpjqhvlolh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_init() #0 {
%1 = alloca i32, align 4
%2 = call i32 @PUT32(i32 noundef 1059147780, i32 noundef 1)
%3 = call i32 @PUT32(i32 noundef 1059147844, i32 noundef 0)
%4 = call i32 @PUT32(i32 noundef 1059147872, i32 noundef 0)
%5 = call i32 @PUT32(i32 noundef 1059147852, i32 noundef 3)
%6 = call i32 @PUT32(i32 noundef 1059147856, i32 noundef 0)
%7 = call i32 @PUT32(i32 noundef 1059147844, i32 noundef 0)
%8 = call i32 @PUT32(i32 noundef 1059147848, i32 noundef 198)
%9 = call i32 @PUT32(i32 noundef 1059147880, i32 noundef 270)
%10 = call i32 @GET32(i32 noundef 1059061764)
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = and i32 %11, -28673
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = or i32 %13, 8192
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, -229377
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = or i32 %17, 65536
store i32 %18, ptr %1, align 4
%19 = load i32, ptr %1, align 4
%20 = call i32 @PUT32(i32 noundef 1059061764, i32 noundef %19)
%21 = call i32 @PUT32(i32 noundef 1059061908, i32 noundef 0)
store i32 0, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = icmp ult i32 %22, 150
br i1 %23, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %27
%25 = load i32, ptr %1, align 4
%26 = call i32 @dummy(i32 noundef %25)
br label %27
27: ; preds = %24
%28 = load i32, ptr %1, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = icmp ult i32 %30, 150
br i1 %31, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
%33 = call i32 @PUT32(i32 noundef 1059061912, i32 noundef 49152)
store i32 0, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = icmp ult i32 %34, 150
br i1 %35, label %.lr.ph2, label %44
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %39
%37 = load i32, ptr %1, align 4
%38 = call i32 @dummy(i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %1, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp ult i32 %42, 150
br i1 %43, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %32
%45 = call i32 @PUT32(i32 noundef 1059061912, i32 noundef 0)
%46 = call i32 @PUT32(i32 noundef 1059147872, i32 noundef 3)
ret void
}
declare i32 @PUT32(i32 noundef, i32 noundef) #1
declare i32 @GET32(i32 noundef) #1
declare i32 @dummy(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/tmpvvztct81.c'
source_filename = "/tmp/tmpvvztct81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvztct81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4bb3lcx2.c'
source_filename = "/tmp/tmp4bb3lcx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A.................................\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_hex(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4bb3lcx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A.................................\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_hex(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %17
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnemxnt1f.c'
source_filename = "/tmp/tmpnemxnt1f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_repeat(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 i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %16, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcat(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
%20 = load ptr, ptr %6, align 8
ret ptr %20
}
declare i32 @strcat(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/tmpnemxnt1f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_repeat(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 i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %15
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strcat(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %3
%22 = load ptr, ptr %6, align 8
ret ptr %22
}
declare i32 @strcat(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/tmp0advgjg8.c'
source_filename = "/tmp/tmp0advgjg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@create_unique_name.buf = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [7 x i8] c"%s_%lu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_unique_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @sprintf(ptr noundef @create_unique_name.buf, ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret ptr @create_unique_name.buf
}
declare i32 @time(ptr noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmp0advgjg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@create_unique_name.buf = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [7 x i8] c"%s_%lu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_unique_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @sprintf(ptr noundef @create_unique_name.buf, ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret ptr @create_unique_name.buf
}
declare i32 @time(ptr noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmptejx6eu_.c'
source_filename = "/tmp/tmptejx6eu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo_bar\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo_bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptejx6eu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo_bar\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo_bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb202h4es.c'
source_filename = "/tmp/tmpb202h4es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_BeginProfiling() #0 {
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb202h4es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_BeginProfiling() #0 {
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdt_nqwt5.c'
source_filename = "/tmp/tmpdt_nqwt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"writeImagePGM\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"P5\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"255\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeImagePGM(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store ptr @.str, ptr %11, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds float, ptr %19, i64 0
%21 = load float, ptr %20, align 4
store float %21, ptr %12, align 4
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds float, ptr %22, i64 0
%24 = load float, ptr %23, align 4
store float %24, ptr %13, align 4
store float 0.000000e+00, ptr %14, align 4
store i32 1, ptr %16, align 4
br label %25
25: ; preds = %65, %5
%26 = load i32, ptr %16, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %68
29: ; preds = %25
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %16, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds float, ptr %30, i64 %32
%34 = load float, ptr %33, align 4
%35 = load float, ptr %12, align 4
%36 = fcmp olt float %34, %35
br i1 %36, label %37, label %43
37: ; preds = %29
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %16, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %38, i64 %40
%42 = load float, ptr %41, align 4
store float %42, ptr %12, align 4
br label %43
43: ; preds = %37, %29
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %16, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %44, i64 %46
%48 = load float, ptr %47, align 4
%49 = load float, ptr %13, align 4
%50 = fcmp ogt float %48, %49
br i1 %50, label %51, label %57
51: ; preds = %43
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %16, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
%56 = load float, ptr %55, align 4
store float %56, ptr %13, align 4
br label %57
57: ; preds = %51, %43
%58 = load float, ptr %14, align 4
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %16, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %59, i64 %61
%63 = load float, ptr %62, align 4
%64 = fadd float %58, %63
store float %64, ptr %14, align 4
br label %65
65: ; preds = %57
%66 = load i32, ptr %16, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %16, align 4
br label %25, !llvm.loop !6
68: ; preds = %25
%69 = load float, ptr %13, align 4
%70 = load float, ptr %12, align 4
%71 = fsub float %69, %70
%72 = fpext float %71 to double
%73 = fdiv double 2.550000e+02, %72
%74 = fptrunc double %73 to float
store float %74, ptr %15, align 4
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %11, align 8
%77 = call i64 @fopen_with_error(ptr noundef %75, ptr noundef @.str.1, ptr noundef %76)
%78 = inttoptr i64 %77 to ptr
store ptr %78, ptr %18, align 8
%79 = load ptr, ptr %18, align 8
%80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.2)
%81 = load ptr, ptr %18, align 8
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %10, align 4
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.3, i32 noundef %82, i32 noundef %83)
%85 = load ptr, ptr %18, align 8
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.4)
store i32 0, ptr %16, align 4
br label %87
87: ; preds = %105, %68
%88 = load i32, ptr %16, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %108
91: ; preds = %87
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %16, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds float, ptr %92, i64 %94
%96 = load float, ptr %95, align 4
%97 = load float, ptr %12, align 4
%98 = fsub float %96, %97
%99 = load float, ptr %15, align 4
%100 = fmul float %98, %99
%101 = fptosi float %100 to i32
store i32 %101, ptr %17, align 4
%102 = load i32, ptr %17, align 4
%103 = load ptr, ptr %18, align 8
%104 = call i32 @fputc(i32 noundef %102, ptr noundef %103)
br label %105
105: ; preds = %91
%106 = load i32, ptr %16, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %16, align 4
br label %87, !llvm.loop !8
108: ; preds = %87
%109 = load ptr, ptr %18, align 8
%110 = call i32 @fclose(ptr noundef %109)
ret void
}
declare i64 @fopen_with_error(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdt_nqwt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"writeImagePGM\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"P5\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"255\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeImagePGM(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store ptr @.str, ptr %11, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds float, ptr %19, i64 0
%21 = load float, ptr %20, align 4
store float %21, ptr %12, align 4
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds float, ptr %22, i64 0
%24 = load float, ptr %23, align 4
store float %24, ptr %13, align 4
store float 0.000000e+00, ptr %14, align 4
store i32 1, ptr %16, align 4
%25 = load i32, ptr %16, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %70
.lr.ph: ; preds = %5
br label %28
28: ; preds = %.lr.ph, %64
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %16, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds float, ptr %29, i64 %31
%33 = load float, ptr %32, align 4
%34 = load float, ptr %12, align 4
%35 = fcmp olt float %33, %34
br i1 %35, label %36, label %42
36: ; preds = %28
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %16, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %37, i64 %39
%41 = load float, ptr %40, align 4
store float %41, ptr %12, align 4
br label %42
42: ; preds = %36, %28
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %16, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
%47 = load float, ptr %46, align 4
%48 = load float, ptr %13, align 4
%49 = fcmp ogt float %47, %48
br i1 %49, label %50, label %56
50: ; preds = %42
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %16, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
store float %55, ptr %13, align 4
br label %56
56: ; preds = %50, %42
%57 = load float, ptr %14, align 4
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %16, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %58, i64 %60
%62 = load float, ptr %61, align 4
%63 = fadd float %57, %62
store float %63, ptr %14, align 4
br label %64
64: ; preds = %56
%65 = load i32, ptr %16, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %16, align 4
%67 = load i32, ptr %16, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %5
%71 = load float, ptr %13, align 4
%72 = load float, ptr %12, align 4
%73 = fsub float %71, %72
%74 = fpext float %73 to double
%75 = fdiv double 2.550000e+02, %74
%76 = fptrunc double %75 to float
store float %76, ptr %15, align 4
%77 = load ptr, ptr %6, align 8
%78 = load ptr, ptr %11, align 8
%79 = call i64 @fopen_with_error(ptr noundef %77, ptr noundef @.str.1, ptr noundef %78)
%80 = inttoptr i64 %79 to ptr
store ptr %80, ptr %18, align 8
%81 = load ptr, ptr %18, align 8
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.2)
%83 = load ptr, ptr %18, align 8
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %10, align 4
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.3, i32 noundef %84, i32 noundef %85)
%87 = load ptr, ptr %18, align 8
%88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.4)
store i32 0, ptr %16, align 4
%89 = load i32, ptr %16, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph2, label %112
.lr.ph2: ; preds = %70
br label %92
92: ; preds = %.lr.ph2, %106
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %16, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %93, i64 %95
%97 = load float, ptr %96, align 4
%98 = load float, ptr %12, align 4
%99 = fsub float %97, %98
%100 = load float, ptr %15, align 4
%101 = fmul float %99, %100
%102 = fptosi float %101 to i32
store i32 %102, ptr %17, align 4
%103 = load i32, ptr %17, align 4
%104 = load ptr, ptr %18, align 8
%105 = call i32 @fputc(i32 noundef %103, ptr noundef %104)
br label %106
106: ; preds = %92
%107 = load i32, ptr %16, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %16, align 4
%109 = load i32, ptr %16, align 4
%110 = load i32, ptr %8, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %92, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %106
br label %112
112: ; preds = %._crit_edge3, %70
%113 = load ptr, ptr %18, align 8
%114 = call i32 @fclose(ptr noundef %113)
ret void
}
declare i64 @fopen_with_error(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9c3o3lg8.c'
source_filename = "/tmp/tmp9c3o3lg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset_good2() #0 {
%1 = alloca [10 x i32], align 16
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @memset(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/tmp9c3o3lg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset_good2() #0 {
%1 = alloca [10 x i32], align 16
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @memset(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/tmpijuemcjc.c'
source_filename = "/tmp/tmpijuemcjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello, process!\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Now string:\0A %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @modify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @bzero(ptr noundef %4, i32 noundef 8)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(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/tmpijuemcjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello, process!\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Now string:\0A %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @modify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @bzero(ptr noundef %4, i32 noundef 8)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(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/tmpftnnhnlp.c'
source_filename = "/tmp/tmpftnnhnlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"file opened;\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"random digit is read;\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"file closed;\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"randval = %u;\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @gen_rand(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i16 %0, ptr %2, align 2
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fread(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fclose(ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %18, %1
%14 = load i32, ptr %3, align 4
%15 = load i16, ptr %2, align 2
%16 = zext i16 %15 to i32
%17 = icmp ugt i32 %14, %16
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = udiv i32 %19, 5
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %21)
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = load i32, ptr %3, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %24)
%26 = load i32, ptr %3, align 4
%27 = trunc i32 %26 to i16
ret i16 %27
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpftnnhnlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"file opened;\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"random digit is read;\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"file closed;\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"randval = %u;\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @gen_rand(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i16 %0, ptr %2, align 2
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fread(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fclose(ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = load i32, ptr %3, align 4
%14 = load i16, ptr %2, align 2
%15 = zext i16 %14 to i32
%16 = icmp ugt i32 %13, %15
br i1 %16, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %3, align 4
%19 = udiv i32 %18, 5
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = load i16, ptr %2, align 2
%24 = zext i16 %23 to i32
%25 = icmp ugt i32 %22, %24
br i1 %25, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %26
26: ; preds = %._crit_edge, %1
%27 = load i32, ptr %3, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %27)
%29 = load i32, ptr %3, align 4
%30 = trunc i32 %29 to i16
ret i16 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxrbkdub8.c'
source_filename = "/tmp/tmpxrbkdub8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RUSAGE_SELF = 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/tmpxrbkdub8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RUSAGE_SELF = 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/tmpmrxpegui.c'
source_filename = "/tmp/tmpmrxpegui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_coeffs(i64 noundef %0, i64 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca double, align 8
store i64 %0, ptr %14, align 8
store i64 %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store double %4, ptr %18, align 8
store double %5, ptr %19, align 8
store double %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store i64 0, ptr %27, align 8
br label %31
31: ; preds = %198, %13
%32 = load i64, ptr %27, align 8
%33 = load i64, ptr %15, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %35, label %201
35: ; preds = %31
store i64 0, ptr %28, align 8
br label %36
36: ; preds = %194, %35
%37 = load i64, ptr %28, align 8
%38 = load i64, ptr %14, align 8
%39 = icmp ult i64 %37, %38
br i1 %39, label %40, label %197
40: ; preds = %36
%41 = load i64, ptr %27, align 8
%42 = load i64, ptr %14, align 8
%43 = mul i64 %41, %42
%44 = load i64, ptr %28, align 8
%45 = add i64 %43, %44
store i64 %45, ptr %29, align 8
%46 = load ptr, ptr %26, align 8
%47 = load i64, ptr %29, align 8
%48 = getelementptr inbounds double, ptr %46, i64 %47
store double 0.000000e+00, ptr %48, align 8
store double 0.000000e+00, ptr %30, align 8
%49 = load i64, ptr %27, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %63
51: ; preds = %40
%52 = load ptr, ptr %22, align 8
%53 = load i64, ptr %29, align 8
%54 = getelementptr inbounds double, ptr %52, i64 %53
store double 0.000000e+00, ptr %54, align 8
%55 = load double, ptr %16, align 8
%56 = fmul double -2.000000e+00, %55
%57 = load double, ptr %19, align 8
%58 = fmul double %56, %57
%59 = load double, ptr %18, align 8
%60 = fmul double %58, %59
%61 = load double, ptr %17, align 8
%62 = fdiv double %60, %61
store double %62, ptr %30, align 8
br label %74
63: ; preds = %40
%64 = load double, ptr %16, align 8
%65 = load double, ptr %19, align 8
%66 = fmul double %64, %65
%67 = load double, ptr %18, align 8
%68 = fmul double %66, %67
%69 = load double, ptr %17, align 8
%70 = fdiv double %68, %69
%71 = load ptr, ptr %22, align 8
%72 = load i64, ptr %29, align 8
%73 = getelementptr inbounds double, ptr %71, i64 %72
store double %70, ptr %73, align 8
br label %74
74: ; preds = %63, %51
%75 = load i64, ptr %27, align 8
%76 = load i64, ptr %15, align 8
%77 = sub i64 %76, 1
%78 = icmp eq i64 %75, %77
br i1 %78, label %79, label %91
79: ; preds = %74
%80 = load ptr, ptr %23, align 8
%81 = load i64, ptr %29, align 8
%82 = getelementptr inbounds double, ptr %80, i64 %81
store double 0.000000e+00, ptr %82, align 8
%83 = load double, ptr %16, align 8
%84 = fmul double -2.000000e+00, %83
%85 = load double, ptr %19, align 8
%86 = fmul double %84, %85
%87 = load double, ptr %18, align 8
%88 = fmul double %86, %87
%89 = load double, ptr %17, align 8
%90 = fdiv double %88, %89
store double %90, ptr %30, align 8
br label %102
91: ; preds = %74
%92 = load double, ptr %16, align 8
%93 = load double, ptr %19, align 8
%94 = fmul double %92, %93
%95 = load double, ptr %18, align 8
%96 = fmul double %94, %95
%97 = load double, ptr %17, align 8
%98 = fdiv double %96, %97
%99 = load ptr, ptr %23, align 8
%100 = load i64, ptr %29, align 8
%101 = getelementptr inbounds double, ptr %99, i64 %100
store double %98, ptr %101, align 8
br label %102
102: ; preds = %91, %79
%103 = load i64, ptr %28, align 8
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %117
105: ; preds = %102
%106 = load ptr, ptr %24, align 8
%107 = load i64, ptr %29, align 8
%108 = getelementptr inbounds double, ptr %106, i64 %107
store double 0.000000e+00, ptr %108, align 8
%109 = load double, ptr %16, align 8
%110 = fmul double -2.000000e+00, %109
%111 = load double, ptr %19, align 8
%112 = fmul double %110, %111
%113 = load double, ptr %17, align 8
%114 = fmul double %112, %113
%115 = load double, ptr %18, align 8
%116 = fdiv double %114, %115
store double %116, ptr %30, align 8
br label %128
117: ; preds = %102
%118 = load double, ptr %16, align 8
%119 = load double, ptr %19, align 8
%120 = fmul double %118, %119
%121 = load double, ptr %17, align 8
%122 = fmul double %120, %121
%123 = load double, ptr %18, align 8
%124 = fdiv double %122, %123
%125 = load ptr, ptr %24, align 8
%126 = load i64, ptr %29, align 8
%127 = getelementptr inbounds double, ptr %125, i64 %126
store double %124, ptr %127, align 8
br label %128
128: ; preds = %117, %105
%129 = load i64, ptr %28, align 8
%130 = load i64, ptr %14, align 8
%131 = sub i64 %130, 1
%132 = icmp eq i64 %129, %131
br i1 %132, label %133, label %158
133: ; preds = %128
%134 = load ptr, ptr %25, align 8
%135 = load i64, ptr %29, align 8
%136 = getelementptr inbounds double, ptr %134, i64 %135
store double 0.000000e+00, ptr %136, align 8
%137 = load double, ptr %16, align 8
%138 = fmul double 2.000000e+00, %137
%139 = load double, ptr %19, align 8
%140 = fmul double %138, %139
%141 = load double, ptr %17, align 8
%142 = fmul double %140, %141
%143 = load double, ptr %20, align 8
%144 = fmul double %142, %143
%145 = load double, ptr %18, align 8
%146 = fdiv double %144, %145
%147 = load ptr, ptr %26, align 8
%148 = load i64, ptr %29, align 8
%149 = getelementptr inbounds double, ptr %147, i64 %148
store double %146, ptr %149, align 8
%150 = load double, ptr %16, align 8
%151 = fmul double -2.000000e+00, %150
%152 = load double, ptr %19, align 8
%153 = fmul double %151, %152
%154 = load double, ptr %17, align 8
%155 = fmul double %153, %154
%156 = load double, ptr %18, align 8
%157 = fdiv double %155, %156
store double %157, ptr %30, align 8
br label %169
158: ; preds = %128
%159 = load double, ptr %16, align 8
%160 = load double, ptr %19, align 8
%161 = fmul double %159, %160
%162 = load double, ptr %17, align 8
%163 = fmul double %161, %162
%164 = load double, ptr %18, align 8
%165 = fdiv double %163, %164
%166 = load ptr, ptr %25, align 8
%167 = load i64, ptr %29, align 8
%168 = getelementptr inbounds double, ptr %166, i64 %167
store double %165, ptr %168, align 8
br label %169
169: ; preds = %158, %133
%170 = load ptr, ptr %22, align 8
%171 = load i64, ptr %29, align 8
%172 = getelementptr inbounds double, ptr %170, i64 %171
%173 = load double, ptr %172, align 8
%174 = load ptr, ptr %23, align 8
%175 = load i64, ptr %29, align 8
%176 = getelementptr inbounds double, ptr %174, i64 %175
%177 = load double, ptr %176, align 8
%178 = fadd double %173, %177
%179 = load ptr, ptr %24, align 8
%180 = load i64, ptr %29, align 8
%181 = getelementptr inbounds double, ptr %179, i64 %180
%182 = load double, ptr %181, align 8
%183 = fadd double %178, %182
%184 = load ptr, ptr %25, align 8
%185 = load i64, ptr %29, align 8
%186 = getelementptr inbounds double, ptr %184, i64 %185
%187 = load double, ptr %186, align 8
%188 = fadd double %183, %187
%189 = load double, ptr %30, align 8
%190 = fsub double %188, %189
%191 = load ptr, ptr %21, align 8
%192 = load i64, ptr %29, align 8
%193 = getelementptr inbounds double, ptr %191, i64 %192
store double %190, ptr %193, align 8
br label %194
194: ; preds = %169
%195 = load i64, ptr %28, align 8
%196 = add i64 %195, 1
store i64 %196, ptr %28, align 8
br label %36, !llvm.loop !6
197: ; preds = %36
br label %198
198: ; preds = %197
%199 = load i64, ptr %27, align 8
%200 = add i64 %199, 1
store i64 %200, ptr %27, align 8
br label %31, !llvm.loop !8
201: ; preds = %31
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrxpegui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_coeffs(i64 noundef %0, i64 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca double, align 8
store i64 %0, ptr %14, align 8
store i64 %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store double %4, ptr %18, align 8
store double %5, ptr %19, align 8
store double %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store i64 0, ptr %27, align 8
%31 = load i64, ptr %27, align 8
%32 = load i64, ptr %15, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %.lr.ph2, label %205
.lr.ph2: ; preds = %13
br label %34
34: ; preds = %.lr.ph2, %199
store i64 0, ptr %28, align 8
%35 = load i64, ptr %28, align 8
%36 = load i64, ptr %14, align 8
%37 = icmp ult i64 %35, %36
br i1 %37, label %.lr.ph, label %198
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %192
%39 = load i64, ptr %27, align 8
%40 = load i64, ptr %14, align 8
%41 = mul i64 %39, %40
%42 = load i64, ptr %28, align 8
%43 = add i64 %41, %42
store i64 %43, ptr %29, align 8
%44 = load ptr, ptr %26, align 8
%45 = load i64, ptr %29, align 8
%46 = getelementptr inbounds double, ptr %44, i64 %45
store double 0.000000e+00, ptr %46, align 8
store double 0.000000e+00, ptr %30, align 8
%47 = load i64, ptr %27, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %61
49: ; preds = %38
%50 = load ptr, ptr %22, align 8
%51 = load i64, ptr %29, align 8
%52 = getelementptr inbounds double, ptr %50, i64 %51
store double 0.000000e+00, ptr %52, align 8
%53 = load double, ptr %16, align 8
%54 = fmul double -2.000000e+00, %53
%55 = load double, ptr %19, align 8
%56 = fmul double %54, %55
%57 = load double, ptr %18, align 8
%58 = fmul double %56, %57
%59 = load double, ptr %17, align 8
%60 = fdiv double %58, %59
store double %60, ptr %30, align 8
br label %72
61: ; preds = %38
%62 = load double, ptr %16, align 8
%63 = load double, ptr %19, align 8
%64 = fmul double %62, %63
%65 = load double, ptr %18, align 8
%66 = fmul double %64, %65
%67 = load double, ptr %17, align 8
%68 = fdiv double %66, %67
%69 = load ptr, ptr %22, align 8
%70 = load i64, ptr %29, align 8
%71 = getelementptr inbounds double, ptr %69, i64 %70
store double %68, ptr %71, align 8
br label %72
72: ; preds = %61, %49
%73 = load i64, ptr %27, align 8
%74 = load i64, ptr %15, align 8
%75 = sub i64 %74, 1
%76 = icmp eq i64 %73, %75
br i1 %76, label %77, label %89
77: ; preds = %72
%78 = load ptr, ptr %23, align 8
%79 = load i64, ptr %29, align 8
%80 = getelementptr inbounds double, ptr %78, i64 %79
store double 0.000000e+00, ptr %80, align 8
%81 = load double, ptr %16, align 8
%82 = fmul double -2.000000e+00, %81
%83 = load double, ptr %19, align 8
%84 = fmul double %82, %83
%85 = load double, ptr %18, align 8
%86 = fmul double %84, %85
%87 = load double, ptr %17, align 8
%88 = fdiv double %86, %87
store double %88, ptr %30, align 8
br label %100
89: ; preds = %72
%90 = load double, ptr %16, align 8
%91 = load double, ptr %19, align 8
%92 = fmul double %90, %91
%93 = load double, ptr %18, align 8
%94 = fmul double %92, %93
%95 = load double, ptr %17, align 8
%96 = fdiv double %94, %95
%97 = load ptr, ptr %23, align 8
%98 = load i64, ptr %29, align 8
%99 = getelementptr inbounds double, ptr %97, i64 %98
store double %96, ptr %99, align 8
br label %100
100: ; preds = %89, %77
%101 = load i64, ptr %28, align 8
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %115
103: ; preds = %100
%104 = load ptr, ptr %24, align 8
%105 = load i64, ptr %29, align 8
%106 = getelementptr inbounds double, ptr %104, i64 %105
store double 0.000000e+00, ptr %106, align 8
%107 = load double, ptr %16, align 8
%108 = fmul double -2.000000e+00, %107
%109 = load double, ptr %19, align 8
%110 = fmul double %108, %109
%111 = load double, ptr %17, align 8
%112 = fmul double %110, %111
%113 = load double, ptr %18, align 8
%114 = fdiv double %112, %113
store double %114, ptr %30, align 8
br label %126
115: ; preds = %100
%116 = load double, ptr %16, align 8
%117 = load double, ptr %19, align 8
%118 = fmul double %116, %117
%119 = load double, ptr %17, align 8
%120 = fmul double %118, %119
%121 = load double, ptr %18, align 8
%122 = fdiv double %120, %121
%123 = load ptr, ptr %24, align 8
%124 = load i64, ptr %29, align 8
%125 = getelementptr inbounds double, ptr %123, i64 %124
store double %122, ptr %125, align 8
br label %126
126: ; preds = %115, %103
%127 = load i64, ptr %28, align 8
%128 = load i64, ptr %14, align 8
%129 = sub i64 %128, 1
%130 = icmp eq i64 %127, %129
br i1 %130, label %131, label %156
131: ; preds = %126
%132 = load ptr, ptr %25, align 8
%133 = load i64, ptr %29, align 8
%134 = getelementptr inbounds double, ptr %132, i64 %133
store double 0.000000e+00, ptr %134, align 8
%135 = load double, ptr %16, align 8
%136 = fmul double 2.000000e+00, %135
%137 = load double, ptr %19, align 8
%138 = fmul double %136, %137
%139 = load double, ptr %17, align 8
%140 = fmul double %138, %139
%141 = load double, ptr %20, align 8
%142 = fmul double %140, %141
%143 = load double, ptr %18, align 8
%144 = fdiv double %142, %143
%145 = load ptr, ptr %26, align 8
%146 = load i64, ptr %29, align 8
%147 = getelementptr inbounds double, ptr %145, i64 %146
store double %144, ptr %147, align 8
%148 = load double, ptr %16, align 8
%149 = fmul double -2.000000e+00, %148
%150 = load double, ptr %19, align 8
%151 = fmul double %149, %150
%152 = load double, ptr %17, align 8
%153 = fmul double %151, %152
%154 = load double, ptr %18, align 8
%155 = fdiv double %153, %154
store double %155, ptr %30, align 8
br label %167
156: ; preds = %126
%157 = load double, ptr %16, align 8
%158 = load double, ptr %19, align 8
%159 = fmul double %157, %158
%160 = load double, ptr %17, align 8
%161 = fmul double %159, %160
%162 = load double, ptr %18, align 8
%163 = fdiv double %161, %162
%164 = load ptr, ptr %25, align 8
%165 = load i64, ptr %29, align 8
%166 = getelementptr inbounds double, ptr %164, i64 %165
store double %163, ptr %166, align 8
br label %167
167: ; preds = %156, %131
%168 = load ptr, ptr %22, align 8
%169 = load i64, ptr %29, align 8
%170 = getelementptr inbounds double, ptr %168, i64 %169
%171 = load double, ptr %170, align 8
%172 = load ptr, ptr %23, align 8
%173 = load i64, ptr %29, align 8
%174 = getelementptr inbounds double, ptr %172, i64 %173
%175 = load double, ptr %174, align 8
%176 = fadd double %171, %175
%177 = load ptr, ptr %24, align 8
%178 = load i64, ptr %29, align 8
%179 = getelementptr inbounds double, ptr %177, i64 %178
%180 = load double, ptr %179, align 8
%181 = fadd double %176, %180
%182 = load ptr, ptr %25, align 8
%183 = load i64, ptr %29, align 8
%184 = getelementptr inbounds double, ptr %182, i64 %183
%185 = load double, ptr %184, align 8
%186 = fadd double %181, %185
%187 = load double, ptr %30, align 8
%188 = fsub double %186, %187
%189 = load ptr, ptr %21, align 8
%190 = load i64, ptr %29, align 8
%191 = getelementptr inbounds double, ptr %189, i64 %190
store double %188, ptr %191, align 8
br label %192
192: ; preds = %167
%193 = load i64, ptr %28, align 8
%194 = add i64 %193, 1
store i64 %194, ptr %28, align 8
%195 = load i64, ptr %28, align 8
%196 = load i64, ptr %14, align 8
%197 = icmp ult i64 %195, %196
br i1 %197, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %192
br label %198
198: ; preds = %._crit_edge, %34
br label %199
199: ; preds = %198
%200 = load i64, ptr %27, align 8
%201 = add i64 %200, 1
store i64 %201, ptr %27, align 8
%202 = load i64, ptr %27, align 8
%203 = load i64, ptr %15, align 8
%204 = icmp ult i64 %202, %203
br i1 %204, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %199
br label %205
205: ; preds = %._crit_edge3, %13
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmuatgjh0.c'
source_filename = "/tmp/tmpmuatgjh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 -1, %3
%5 = add i64 %4, 1
%6 = call i32 @f(i64 noundef %5)
ret void
}
declare i32 @f(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/tmpmuatgjh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 -1, %3
%5 = add i64 %4, 1
%6 = call i32 @f(i64 noundef %5)
ret void
}
declare i32 @f(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/tmp09ktjdhh.c'
source_filename = "/tmp/tmp09ktjdhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %25, %2
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 6
br i1 %10, label %11, label %28
11: ; preds = %8
store i8 65, ptr %7, align 1
br label %12
12: ; preds = %20, %11
%13 = load i8, ptr %7, align 1
%14 = sext i8 %13 to i32
%15 = icmp slt i32 %14, 75
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i8, ptr %7, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %16
%21 = load i8, ptr %7, align 1
%22 = add i8 %21, 1
store i8 %22, ptr %7, align 1
br label %12, !llvm.loop !6
23: ; preds = %12
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
25: ; preds = %23
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %8, !llvm.loop !8
28: ; preds = %8
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp09ktjdhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 6
br i1 %9, label %.lr.ph2, label %31
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %26
store i8 65, ptr %7, align 1
%11 = load i8, ptr %7, align 1
%12 = sext i8 %11 to i32
%13 = icmp slt i32 %12, 75
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %18
%15 = load i8, ptr %7, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %14
%19 = load i8, ptr %7, align 1
%20 = add i8 %19, 1
store i8 %20, ptr %7, align 1
%21 = load i8, ptr %7, align 1
%22 = sext i8 %21 to i32
%23 = icmp slt i32 %22, 75
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 6
br i1 %30, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %2
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyiixyrle.c'
source_filename = "/tmp/tmpyiixyrle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 2
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sge i32 %20, 3
%22 = zext i1 %21 to i32
ret i32 %22
}
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/tmpyiixyrle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 2
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sge i32 %20, 3
%22 = zext i1 %21 to i32
ret i32 %22
}
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/tmp3za5e41u.c'
source_filename = "/tmp/tmp3za5e41u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dummy_ssh() #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/tmp3za5e41u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dummy_ssh() #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/tmpr8buhzvi.c'
source_filename = "/tmp/tmpr8buhzvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%lg %lg\0A\00", align 1
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\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 ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca double, align 8
%20 = alloca [256 x i8], align 16
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%26 = load i32, ptr %4, align 4
%27 = icmp ne i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @usage(ptr noundef %31)
br label %33
33: ; preds = %28, %2
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call double @atof(ptr noundef %36)
store double %37, ptr %19, align 8
%38 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcpy(ptr noundef %38, ptr noundef %41)
%43 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str)
store ptr %44, ptr %8, align 8
store i32 0, ptr %7, align 4
br label %45
45: ; preds = %51, %33
%46 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%47 = load ptr, ptr %8, align 8
%48 = call i64 @fgets(ptr noundef %46, i32 noundef 256, ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %45
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %45, !llvm.loop !6
54: ; preds = %45
%55 = load ptr, ptr %8, align 8
%56 = call i32 @fclose(ptr noundef %55)
%57 = load i32, ptr %7, align 4
%58 = call ptr @calloc(i32 noundef %57, i32 noundef 8)
store ptr %58, ptr %17, align 8
%59 = load i32, ptr %7, align 4
%60 = call ptr @calloc(i32 noundef %59, i32 noundef 8)
store ptr %60, ptr %18, align 8
%61 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str)
store ptr %62, ptr %8, align 8
store i32 0, ptr %6, align 4
br label %63
63: ; preds = %78, %54
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %81
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %17, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load ptr, ptr %18, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = call i32 @fscanf(ptr noundef %68, ptr noundef @.str.1, ptr noundef %72, ptr noundef %76)
br label %78
78: ; preds = %67
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %6, align 4
br label %63, !llvm.loop !8
81: ; preds = %63
%82 = load ptr, ptr %8, align 8
%83 = call i32 @fclose(ptr noundef %82)
%84 = load ptr, ptr %17, align 8
%85 = getelementptr inbounds double, ptr %84, i64 0
%86 = load double, ptr %85, align 8
store double %86, ptr %11, align 8
%87 = load ptr, ptr %17, align 8
%88 = load i32, ptr %7, align 4
%89 = sub nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %87, i64 %90
%92 = load double, ptr %91, align 8
store double %92, ptr %12, align 8
%93 = load ptr, ptr %17, align 8
%94 = getelementptr inbounds double, ptr %93, i64 1
%95 = load double, ptr %94, align 8
%96 = load ptr, ptr %17, align 8
%97 = getelementptr inbounds double, ptr %96, i64 0
%98 = load double, ptr %97, align 8
%99 = fsub double %95, %98
store double %99, ptr %13, align 8
br label %100
100: ; preds = %361, %81
%101 = load double, ptr %11, align 8
%102 = load double, ptr %12, align 8
%103 = fcmp olt double %101, %102
br i1 %103, label %104, label %365
104: ; preds = %100
store double 0.000000e+00, ptr %22, align 8
%105 = load double, ptr %11, align 8
store double %105, ptr %10, align 8
%106 = load double, ptr %11, align 8
%107 = load ptr, ptr %17, align 8
%108 = getelementptr inbounds double, ptr %107, i64 0
%109 = load double, ptr %108, align 8
%110 = fsub double %106, %109
%111 = load double, ptr %13, align 8
%112 = fdiv double %110, %111
%113 = fptosi double %112 to i32
store i32 %113, ptr %6, align 4
br label %114
114: ; preds = %137, %104
%115 = load double, ptr %10, align 8
%116 = load double, ptr %12, align 8
%117 = fcmp olt double %115, %116
br i1 %117, label %118, label %143
118: ; preds = %114
%119 = load ptr, ptr %18, align 8
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
%123 = load double, ptr %122, align 8
%124 = fneg double %123
%125 = load double, ptr %19, align 8
%126 = fdiv double %124, %125
%127 = call double @exp(double noundef %126) #4
%128 = fsub double %127, 1.000000e+00
%129 = load double, ptr %10, align 8
%130 = call double @pow(double noundef %129, double noundef 2.000000e+00) #4
%131 = fmul double %128, %130
%132 = load double, ptr %13, align 8
%133 = fmul double %131, %132
store double %133, ptr %16, align 8
%134 = load double, ptr %16, align 8
%135 = load double, ptr %22, align 8
%136 = fadd double %135, %134
store double %136, ptr %22, align 8
br label %137
137: ; preds = %118
%138 = load double, ptr %13, align 8
%139 = load double, ptr %10, align 8
%140 = fadd double %139, %138
store double %140, ptr %10, align 8
%141 = load i32, ptr %6, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %6, align 4
br label %114, !llvm.loop !9
143: ; preds = %114
%144 = load double, ptr @M_PI, align 8
%145 = fmul double -2.000000e+00, %144
%146 = load double, ptr %22, align 8
%147 = fmul double %146, %145
store double %147, ptr %22, align 8
%148 = load double, ptr %22, align 8
%149 = fmul double %148, 0x3FE345569BEE07B0
store double %149, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
%150 = load double, ptr %11, align 8
store double %150, ptr %10, align 8
%151 = load double, ptr %11, align 8
%152 = load ptr, ptr %17, align 8
%153 = getelementptr inbounds double, ptr %152, i64 0
%154 = load double, ptr %153, align 8
%155 = fsub double %151, %154
%156 = load double, ptr %13, align 8
%157 = fdiv double %155, %156
%158 = fptosi double %157 to i32
store i32 %158, ptr %6, align 4
br label %159
159: ; preds = %198, %143
%160 = load double, ptr %10, align 8
%161 = load double, ptr %12, align 8
%162 = fcmp olt double %160, %161
br i1 %162, label %163, label %204
163: ; preds = %159
%164 = load ptr, ptr %18, align 8
%165 = load i32, ptr %6, align 4
%166 = add nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %164, i64 %167
%169 = load double, ptr %168, align 8
%170 = load ptr, ptr %18, align 8
%171 = load i32, ptr %6, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
%175 = fsub double %169, %174
%176 = fmul double 0x3B30B0E7DD0A406E, %175
%177 = load double, ptr %13, align 8
%178 = fdiv double %176, %177
store double %178, ptr %14, align 8
%179 = load ptr, ptr %18, align 8
%180 = load i32, ptr %6, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %179, i64 %181
%183 = load double, ptr %182, align 8
%184 = fneg double %183
%185 = load double, ptr %19, align 8
%186 = fdiv double %184, %185
%187 = call double @exp(double noundef %186) #4
%188 = load double, ptr %14, align 8
%189 = load double, ptr %10, align 8
%190 = fmul double %188, %189
%191 = call double @pow(double noundef %190, double noundef 2.000000e+00) #4
%192 = fmul double %187, %191
%193 = load double, ptr %13, align 8
%194 = fmul double %192, %193
store double %194, ptr %16, align 8
%195 = load double, ptr %16, align 8
%196 = load double, ptr %23, align 8
%197 = fadd double %196, %195
store double %197, ptr %23, align 8
br label %198
198: ; preds = %163
%199 = load double, ptr %13, align 8
%200 = load double, ptr %10, align 8
%201 = fadd double %200, %199
store double %201, ptr %10, align 8
%202 = load i32, ptr %6, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %6, align 4
br label %159, !llvm.loop !10
204: ; preds = %159
%205 = load double, ptr @M_PI, align 8
%206 = fmul double 2.400000e+01, %205
%207 = load double, ptr %19, align 8
%208 = fmul double 0x3B30B0E7DD0A406E, %207
%209 = call double @pow(double noundef %208, double noundef 3.000000e+00) #4
%210 = fmul double %206, %209
%211 = fdiv double 0x37A6D8EB94C8BF7D, %210
%212 = load double, ptr %23, align 8
%213 = fmul double %212, %211
store double %213, ptr %23, align 8
%214 = load double, ptr %23, align 8
%215 = fmul double %214, 0x440A1DEB8F01930C
store double %215, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
%216 = load double, ptr %11, align 8
store double %216, ptr %10, align 8
%217 = load double, ptr %11, align 8
%218 = load ptr, ptr %17, align 8
%219 = getelementptr inbounds double, ptr %218, i64 0
%220 = load double, ptr %219, align 8
%221 = fsub double %217, %220
%222 = load double, ptr %13, align 8
%223 = fdiv double %221, %222
%224 = fptosi double %223 to i32
store i32 %224, ptr %6, align 4
br label %225
225: ; preds = %315, %204
%226 = load double, ptr %10, align 8
%227 = load double, ptr %12, align 8
%228 = load double, ptr %13, align 8
%229 = fsub double %227, %228
%230 = fcmp olt double %226, %229
br i1 %230, label %231, label %321
231: ; preds = %225
%232 = load ptr, ptr %18, align 8
%233 = load i32, ptr %6, align 4
%234 = add nsw i32 %233, 1
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, ptr %232, i64 %235
%237 = load double, ptr %236, align 8
%238 = load ptr, ptr %18, align 8
%239 = load i32, ptr %6, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds double, ptr %238, i64 %240
%242 = load double, ptr %241, align 8
%243 = fsub double %237, %242
%244 = fmul double 0x3B30B0E7DD0A406E, %243
%245 = load double, ptr %13, align 8
%246 = fdiv double %244, %245
store double %246, ptr %14, align 8
%247 = load ptr, ptr %18, align 8
%248 = load i32, ptr %6, align 4
%249 = add nsw i32 %248, 2
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %247, i64 %250
%252 = load double, ptr %251, align 8
%253 = load ptr, ptr %18, align 8
%254 = load i32, ptr %6, align 4
%255 = add nsw i32 %254, 1
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %253, i64 %256
%258 = load double, ptr %257, align 8
%259 = fsub double %252, %258
%260 = load double, ptr %13, align 8
%261 = fdiv double %259, %260
%262 = load double, ptr %14, align 8
%263 = fsub double %261, %262
%264 = fmul double 0x3B30B0E7DD0A406E, %263
%265 = load double, ptr %13, align 8
%266 = fdiv double %264, %265
store double %266, ptr %15, align 8
%267 = load double, ptr %15, align 8
%268 = call double @pow(double noundef %267, double noundef 2.000000e+00) #4
%269 = load double, ptr %14, align 8
%270 = load double, ptr %10, align 8
%271 = fdiv double %269, %270
%272 = call double @pow(double noundef %271, double noundef 2.000000e+00) #4
%273 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %272, double %268)
store double %273, ptr %16, align 8
%274 = load double, ptr %19, align 8
%275 = fmul double 0x3B62C704D8AB887C, %274
%276 = fdiv double 1.000000e+01, %275
%277 = load double, ptr %14, align 8
%278 = call double @pow(double noundef %277, double noundef 3.000000e+00) #4
%279 = fmul double %276, %278
%280 = load double, ptr %10, align 8
%281 = fdiv double %279, %280
%282 = load double, ptr %16, align 8
%283 = fadd double %282, %281
store double %283, ptr %16, align 8
%284 = load double, ptr %19, align 8
%285 = fmul double 0x3B30B0E7DD0A406E, %284
%286 = call double @pow(double noundef %285, double noundef 2.000000e+00) #4
%287 = fmul double 3.600000e+01, %286
%288 = fdiv double 5.000000e+00, %287
%289 = load double, ptr %14, align 8
%290 = call double @pow(double noundef %289, double noundef 4.000000e+00) #4
%291 = fmul double %288, %290
%292 = load double, ptr %10, align 8
%293 = fdiv double %291, %292
%294 = load double, ptr %16, align 8
%295 = fsub double %294, %293
store double %295, ptr %16, align 8
%296 = load ptr, ptr %18, align 8
%297 = load i32, ptr %6, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds double, ptr %296, i64 %298
%300 = load double, ptr %299, align 8
%301 = fneg double %300
%302 = load double, ptr %19, align 8
%303 = fdiv double %301, %302
%304 = call double @exp(double noundef %303) #4
%305 = load double, ptr %10, align 8
%306 = call double @pow(double noundef %305, double noundef 2.000000e+00) #4
%307 = fmul double %304, %306
%308 = load double, ptr %13, align 8
%309 = fmul double %307, %308
%310 = load double, ptr %16, align 8
%311 = fmul double %310, %309
store double %311, ptr %16, align 8
%312 = load double, ptr %16, align 8
%313 = load double, ptr %24, align 8
%314 = fadd double %313, %312
store double %314, ptr %24, align 8
br label %315
315: ; preds = %231
%316 = load double, ptr %13, align 8
%317 = load double, ptr %10, align 8
%318 = fadd double %317, %316
store double %318, ptr %10, align 8
%319 = load i32, ptr %6, align 4
%320 = add nsw i32 %319, 1
store i32 %320, ptr %6, align 4
br label %225, !llvm.loop !11
321: ; preds = %225
%322 = call double @pow(double noundef 0x37A6D8EB94C8BF7D, double noundef 2.000000e+00) #4
%323 = load double, ptr @M_PI, align 8
%324 = fmul double 9.600000e+02, %323
%325 = load double, ptr @M_PI, align 8
%326 = fmul double %324, %325
%327 = load double, ptr @M_PI, align 8
%328 = fmul double %326, %327
%329 = load double, ptr %19, align 8
%330 = fmul double 0x3B30B0E7DD0A406E, %329
%331 = call double @pow(double noundef %330, double noundef 4.000000e+00) #4
%332 = fmul double %328, %331
%333 = fdiv double %322, %332
%334 = load double, ptr %24, align 8
%335 = fmul double %334, %333
store double %335, ptr %24, align 8
%336 = load double, ptr %24, align 8
%337 = fmul double %336, 0xC727324A3D09052B
store double %337, ptr %24, align 8
%338 = load double, ptr @M_PI, align 8
%339 = fmul double 2.000000e+00, %338
%340 = fmul double %339, 3.348000e-27
%341 = fmul double %340, 0x3B30B0E7DD0A406E
%342 = load double, ptr %19, align 8
%343 = fmul double %341, %342
%344 = fdiv double 0x3227AC64884C3B77, %343
%345 = call double @pow(double noundef %344, double noundef 1.500000e+00) #4
%346 = fmul double 0xC4DFE1860C116C00, %345
%347 = call double @pow(double noundef 2.000000e+00, double noundef -2.500000e+00) #4
%348 = fmul double %346, %347
store double %348, ptr %25, align 8
%349 = load double, ptr %25, align 8
%350 = fmul double %349, 1.000000e+06
store double %350, ptr %25, align 8
%351 = load double, ptr %22, align 8
%352 = load double, ptr %23, align 8
%353 = fadd double %351, %352
%354 = load double, ptr %24, align 8
%355 = fadd double %353, %354
%356 = load double, ptr %25, align 8
%357 = fadd double %355, %356
store double %357, ptr %21, align 8
%358 = load double, ptr %11, align 8
%359 = load double, ptr %21, align 8
%360 = call i32 @printf(ptr noundef @.str.2, double noundef %358, double noundef %359)
br label %361
361: ; preds = %321
%362 = load double, ptr %13, align 8
%363 = load double, ptr %11, align 8
%364 = fadd double %363, %362
store double %364, ptr %11, align 8
br label %100, !llvm.loop !12
365: ; preds = %100
ret i32 0
}
declare i32 @usage(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @printf(ptr noundef, 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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr8buhzvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%lg %lg\0A\00", align 1
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\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 ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca double, align 8
%20 = alloca [256 x i8], align 16
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%26 = load i32, ptr %4, align 4
%27 = icmp ne i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @usage(ptr noundef %31)
br label %33
33: ; preds = %28, %2
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call double @atof(ptr noundef %36)
store double %37, ptr %19, align 8
%38 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strcpy(ptr noundef %38, ptr noundef %41)
%43 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str)
store ptr %44, ptr %8, align 8
store i32 0, ptr %7, align 4
%45 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%46 = load ptr, ptr %8, align 8
%47 = call i64 @fgets(ptr noundef %45, i32 noundef 256, ptr noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %.lr.ph, label %56
.lr.ph: ; preds = %33
br label %49
49: ; preds = %.lr.ph, %50
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load ptr, ptr %8, align 8
%54 = call i64 @fgets(ptr noundef %45, i32 noundef 256, ptr noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %33
%57 = load ptr, ptr %8, align 8
%58 = call i32 @fclose(ptr noundef %57)
%59 = load i32, ptr %7, align 4
%60 = call ptr @calloc(i32 noundef %59, i32 noundef 8)
store ptr %60, ptr %17, align 8
%61 = load i32, ptr %7, align 4
%62 = call ptr @calloc(i32 noundef %61, i32 noundef 8)
store ptr %62, ptr %18, align 8
%63 = getelementptr inbounds [256 x i8], ptr %20, i64 0, i64 0
%64 = call ptr @fopen(ptr noundef %63, ptr noundef @.str)
store ptr %64, ptr %8, align 8
store i32 0, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %.lr.ph2, label %85
.lr.ph2: ; preds = %56
br label %68
68: ; preds = %.lr.ph2, %79
%69 = load ptr, ptr %8, align 8
%70 = load ptr, ptr %17, align 8
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load ptr, ptr %18, align 8
%75 = load i32, ptr %6, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = call i32 @fscanf(ptr noundef %69, ptr noundef @.str.1, ptr noundef %73, ptr noundef %77)
br label %79
79: ; preds = %68
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %68, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %56
%86 = load ptr, ptr %8, align 8
%87 = call i32 @fclose(ptr noundef %86)
%88 = load ptr, ptr %17, align 8
%89 = getelementptr inbounds double, ptr %88, i64 0
%90 = load double, ptr %89, align 8
store double %90, ptr %11, align 8
%91 = load ptr, ptr %17, align 8
%92 = load i32, ptr %7, align 4
%93 = sub nsw i32 %92, 1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %91, i64 %94
%96 = load double, ptr %95, align 8
store double %96, ptr %12, align 8
%97 = load ptr, ptr %17, align 8
%98 = getelementptr inbounds double, ptr %97, i64 1
%99 = load double, ptr %98, align 8
%100 = load ptr, ptr %17, align 8
%101 = getelementptr inbounds double, ptr %100, i64 0
%102 = load double, ptr %101, align 8
%103 = fsub double %99, %102
store double %103, ptr %13, align 8
%104 = load double, ptr %11, align 8
%105 = load double, ptr %12, align 8
%106 = fcmp olt double %104, %105
br i1 %106, label %.lr.ph14, label %379
.lr.ph14: ; preds = %85
br label %107
107: ; preds = %.lr.ph14, %372
store double 0.000000e+00, ptr %22, align 8
%108 = load double, ptr %11, align 8
store double %108, ptr %10, align 8
%109 = load double, ptr %11, align 8
%110 = load ptr, ptr %17, align 8
%111 = getelementptr inbounds double, ptr %110, i64 0
%112 = load double, ptr %111, align 8
%113 = fsub double %109, %112
%114 = load double, ptr %13, align 8
%115 = fdiv double %113, %114
%116 = fptosi double %115 to i32
store i32 %116, ptr %6, align 4
%117 = load double, ptr %10, align 8
%118 = load double, ptr %12, align 8
%119 = fcmp olt double %117, %118
br i1 %119, label %.lr.ph5, label %148
.lr.ph5: ; preds = %107
br label %120
120: ; preds = %.lr.ph5, %139
%121 = load ptr, ptr %18, align 8
%122 = load i32, ptr %6, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = fneg double %125
%127 = load double, ptr %19, align 8
%128 = fdiv double %126, %127
%129 = call double @exp(double noundef %128) #4
%130 = fsub double %129, 1.000000e+00
%131 = load double, ptr %10, align 8
%132 = call double @pow(double noundef %131, double noundef 2.000000e+00) #4
%133 = fmul double %130, %132
%134 = load double, ptr %13, align 8
%135 = fmul double %133, %134
store double %135, ptr %16, align 8
%136 = load double, ptr %16, align 8
%137 = load double, ptr %22, align 8
%138 = fadd double %137, %136
store double %138, ptr %22, align 8
br label %139
139: ; preds = %120
%140 = load double, ptr %13, align 8
%141 = load double, ptr %10, align 8
%142 = fadd double %141, %140
store double %142, ptr %10, align 8
%143 = load i32, ptr %6, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %6, align 4
%145 = load double, ptr %10, align 8
%146 = load double, ptr %12, align 8
%147 = fcmp olt double %145, %146
br i1 %147, label %120, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %139
br label %148
148: ; preds = %._crit_edge6, %107
%149 = load double, ptr @M_PI, align 8
%150 = fmul double -2.000000e+00, %149
%151 = load double, ptr %22, align 8
%152 = fmul double %151, %150
store double %152, ptr %22, align 8
%153 = load double, ptr %22, align 8
%154 = fmul double %153, 0x3FE345569BEE07B0
store double %154, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
%155 = load double, ptr %11, align 8
store double %155, ptr %10, align 8
%156 = load double, ptr %11, align 8
%157 = load ptr, ptr %17, align 8
%158 = getelementptr inbounds double, ptr %157, i64 0
%159 = load double, ptr %158, align 8
%160 = fsub double %156, %159
%161 = load double, ptr %13, align 8
%162 = fdiv double %160, %161
%163 = fptosi double %162 to i32
store i32 %163, ptr %6, align 4
%164 = load double, ptr %10, align 8
%165 = load double, ptr %12, align 8
%166 = fcmp olt double %164, %165
br i1 %166, label %.lr.ph8, label %211
.lr.ph8: ; preds = %148
br label %167
167: ; preds = %.lr.ph8, %202
%168 = load ptr, ptr %18, align 8
%169 = load i32, ptr %6, align 4
%170 = add nsw i32 %169, 1
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds double, ptr %168, i64 %171
%173 = load double, ptr %172, align 8
%174 = load ptr, ptr %18, align 8
%175 = load i32, ptr %6, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds double, ptr %174, i64 %176
%178 = load double, ptr %177, align 8
%179 = fsub double %173, %178
%180 = fmul double 0x3B30B0E7DD0A406E, %179
%181 = load double, ptr %13, align 8
%182 = fdiv double %180, %181
store double %182, ptr %14, align 8
%183 = load ptr, ptr %18, align 8
%184 = load i32, ptr %6, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
%187 = load double, ptr %186, align 8
%188 = fneg double %187
%189 = load double, ptr %19, align 8
%190 = fdiv double %188, %189
%191 = call double @exp(double noundef %190) #4
%192 = load double, ptr %14, align 8
%193 = load double, ptr %10, align 8
%194 = fmul double %192, %193
%195 = call double @pow(double noundef %194, double noundef 2.000000e+00) #4
%196 = fmul double %191, %195
%197 = load double, ptr %13, align 8
%198 = fmul double %196, %197
store double %198, ptr %16, align 8
%199 = load double, ptr %16, align 8
%200 = load double, ptr %23, align 8
%201 = fadd double %200, %199
store double %201, ptr %23, align 8
br label %202
202: ; preds = %167
%203 = load double, ptr %13, align 8
%204 = load double, ptr %10, align 8
%205 = fadd double %204, %203
store double %205, ptr %10, align 8
%206 = load i32, ptr %6, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %6, align 4
%208 = load double, ptr %10, align 8
%209 = load double, ptr %12, align 8
%210 = fcmp olt double %208, %209
br i1 %210, label %167, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %202
br label %211
211: ; preds = %._crit_edge9, %148
%212 = load double, ptr @M_PI, align 8
%213 = fmul double 2.400000e+01, %212
%214 = load double, ptr %19, align 8
%215 = fmul double 0x3B30B0E7DD0A406E, %214
%216 = call double @pow(double noundef %215, double noundef 3.000000e+00) #4
%217 = fmul double %213, %216
%218 = fdiv double 0x37A6D8EB94C8BF7D, %217
%219 = load double, ptr %23, align 8
%220 = fmul double %219, %218
store double %220, ptr %23, align 8
%221 = load double, ptr %23, align 8
%222 = fmul double %221, 0x440A1DEB8F01930C
store double %222, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
%223 = load double, ptr %11, align 8
store double %223, ptr %10, align 8
%224 = load double, ptr %11, align 8
%225 = load ptr, ptr %17, align 8
%226 = getelementptr inbounds double, ptr %225, i64 0
%227 = load double, ptr %226, align 8
%228 = fsub double %224, %227
%229 = load double, ptr %13, align 8
%230 = fdiv double %228, %229
%231 = fptosi double %230 to i32
store i32 %231, ptr %6, align 4
%232 = load double, ptr %10, align 8
%233 = load double, ptr %12, align 8
%234 = load double, ptr %13, align 8
%235 = fsub double %233, %234
%236 = fcmp olt double %232, %235
br i1 %236, label %.lr.ph11, label %332
.lr.ph11: ; preds = %211
br label %237
237: ; preds = %.lr.ph11, %321
%238 = load ptr, ptr %18, align 8
%239 = load i32, ptr %6, align 4
%240 = add nsw i32 %239, 1
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, ptr %238, i64 %241
%243 = load double, ptr %242, align 8
%244 = load ptr, ptr %18, align 8
%245 = load i32, ptr %6, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %244, i64 %246
%248 = load double, ptr %247, align 8
%249 = fsub double %243, %248
%250 = fmul double 0x3B30B0E7DD0A406E, %249
%251 = load double, ptr %13, align 8
%252 = fdiv double %250, %251
store double %252, ptr %14, align 8
%253 = load ptr, ptr %18, align 8
%254 = load i32, ptr %6, align 4
%255 = add nsw i32 %254, 2
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %253, i64 %256
%258 = load double, ptr %257, align 8
%259 = load ptr, ptr %18, align 8
%260 = load i32, ptr %6, align 4
%261 = add nsw i32 %260, 1
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, ptr %259, i64 %262
%264 = load double, ptr %263, align 8
%265 = fsub double %258, %264
%266 = load double, ptr %13, align 8
%267 = fdiv double %265, %266
%268 = load double, ptr %14, align 8
%269 = fsub double %267, %268
%270 = fmul double 0x3B30B0E7DD0A406E, %269
%271 = load double, ptr %13, align 8
%272 = fdiv double %270, %271
store double %272, ptr %15, align 8
%273 = load double, ptr %15, align 8
%274 = call double @pow(double noundef %273, double noundef 2.000000e+00) #4
%275 = load double, ptr %14, align 8
%276 = load double, ptr %10, align 8
%277 = fdiv double %275, %276
%278 = call double @pow(double noundef %277, double noundef 2.000000e+00) #4
%279 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %278, double %274)
store double %279, ptr %16, align 8
%280 = load double, ptr %19, align 8
%281 = fmul double 0x3B62C704D8AB887C, %280
%282 = fdiv double 1.000000e+01, %281
%283 = load double, ptr %14, align 8
%284 = call double @pow(double noundef %283, double noundef 3.000000e+00) #4
%285 = fmul double %282, %284
%286 = load double, ptr %10, align 8
%287 = fdiv double %285, %286
%288 = load double, ptr %16, align 8
%289 = fadd double %288, %287
store double %289, ptr %16, align 8
%290 = load double, ptr %19, align 8
%291 = fmul double 0x3B30B0E7DD0A406E, %290
%292 = call double @pow(double noundef %291, double noundef 2.000000e+00) #4
%293 = fmul double 3.600000e+01, %292
%294 = fdiv double 5.000000e+00, %293
%295 = load double, ptr %14, align 8
%296 = call double @pow(double noundef %295, double noundef 4.000000e+00) #4
%297 = fmul double %294, %296
%298 = load double, ptr %10, align 8
%299 = fdiv double %297, %298
%300 = load double, ptr %16, align 8
%301 = fsub double %300, %299
store double %301, ptr %16, align 8
%302 = load ptr, ptr %18, align 8
%303 = load i32, ptr %6, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds double, ptr %302, i64 %304
%306 = load double, ptr %305, align 8
%307 = fneg double %306
%308 = load double, ptr %19, align 8
%309 = fdiv double %307, %308
%310 = call double @exp(double noundef %309) #4
%311 = load double, ptr %10, align 8
%312 = call double @pow(double noundef %311, double noundef 2.000000e+00) #4
%313 = fmul double %310, %312
%314 = load double, ptr %13, align 8
%315 = fmul double %313, %314
%316 = load double, ptr %16, align 8
%317 = fmul double %316, %315
store double %317, ptr %16, align 8
%318 = load double, ptr %16, align 8
%319 = load double, ptr %24, align 8
%320 = fadd double %319, %318
store double %320, ptr %24, align 8
br label %321
321: ; preds = %237
%322 = load double, ptr %13, align 8
%323 = load double, ptr %10, align 8
%324 = fadd double %323, %322
store double %324, ptr %10, align 8
%325 = load i32, ptr %6, align 4
%326 = add nsw i32 %325, 1
store i32 %326, ptr %6, align 4
%327 = load double, ptr %10, align 8
%328 = load double, ptr %12, align 8
%329 = load double, ptr %13, align 8
%330 = fsub double %328, %329
%331 = fcmp olt double %327, %330
br i1 %331, label %237, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %321
br label %332
332: ; preds = %._crit_edge12, %211
%333 = call double @pow(double noundef 0x37A6D8EB94C8BF7D, double noundef 2.000000e+00) #4
%334 = load double, ptr @M_PI, align 8
%335 = fmul double 9.600000e+02, %334
%336 = load double, ptr @M_PI, align 8
%337 = fmul double %335, %336
%338 = load double, ptr @M_PI, align 8
%339 = fmul double %337, %338
%340 = load double, ptr %19, align 8
%341 = fmul double 0x3B30B0E7DD0A406E, %340
%342 = call double @pow(double noundef %341, double noundef 4.000000e+00) #4
%343 = fmul double %339, %342
%344 = fdiv double %333, %343
%345 = load double, ptr %24, align 8
%346 = fmul double %345, %344
store double %346, ptr %24, align 8
%347 = load double, ptr %24, align 8
%348 = fmul double %347, 0xC727324A3D09052B
store double %348, ptr %24, align 8
%349 = load double, ptr @M_PI, align 8
%350 = fmul double 2.000000e+00, %349
%351 = fmul double %350, 3.348000e-27
%352 = fmul double %351, 0x3B30B0E7DD0A406E
%353 = load double, ptr %19, align 8
%354 = fmul double %352, %353
%355 = fdiv double 0x3227AC64884C3B77, %354
%356 = call double @pow(double noundef %355, double noundef 1.500000e+00) #4
%357 = fmul double 0xC4DFE1860C116C00, %356
%358 = call double @pow(double noundef 2.000000e+00, double noundef -2.500000e+00) #4
%359 = fmul double %357, %358
store double %359, ptr %25, align 8
%360 = load double, ptr %25, align 8
%361 = fmul double %360, 1.000000e+06
store double %361, ptr %25, align 8
%362 = load double, ptr %22, align 8
%363 = load double, ptr %23, align 8
%364 = fadd double %362, %363
%365 = load double, ptr %24, align 8
%366 = fadd double %364, %365
%367 = load double, ptr %25, align 8
%368 = fadd double %366, %367
store double %368, ptr %21, align 8
%369 = load double, ptr %11, align 8
%370 = load double, ptr %21, align 8
%371 = call i32 @printf(ptr noundef @.str.2, double noundef %369, double noundef %370)
br label %372
372: ; preds = %332
%373 = load double, ptr %13, align 8
%374 = load double, ptr %11, align 8
%375 = fadd double %374, %373
store double %375, ptr %11, align 8
%376 = load double, ptr %11, align 8
%377 = load double, ptr %12, align 8
%378 = fcmp olt double %376, %377
br i1 %378, label %107, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %372
br label %379
379: ; preds = %._crit_edge15, %85
ret i32 0
}
declare i32 @usage(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @printf(ptr noundef, 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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp5w47etww.c'
source_filename = "/tmp/tmp5w47etww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clEnqueueCopyImageToBuffer(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [9 x i32], align 16
store i64 %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%20 = load i64, ptr %10, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
store i32 %21, ptr %22, align 16
%23 = load i64, ptr %11, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i64, ptr %12, align 8
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 2
store i32 %27, ptr %28, align 8
%29 = load ptr, ptr %13, align 8
%30 = ptrtoint ptr %29 to i32
%31 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 3
store i32 %30, ptr %31, align 4
%32 = load ptr, ptr %14, align 8
%33 = ptrtoint ptr %32 to i32
%34 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 4
store i32 %33, ptr %34, align 16
%35 = load i64, ptr %15, align 8
%36 = trunc i64 %35 to i32
%37 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 5
store i32 %36, ptr %37, align 4
%38 = load i64, ptr %16, align 8
%39 = trunc i64 %38 to i32
%40 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 6
store i32 %39, ptr %40, align 8
%41 = load ptr, ptr %17, align 8
%42 = ptrtoint ptr %41 to i32
%43 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 7
store i32 %42, ptr %43, align 4
%44 = load ptr, ptr %18, align 8
%45 = ptrtoint ptr %44 to i32
%46 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 8
store i32 %45, ptr %46, align 16
%47 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
%48 = call i32 @syscall(i32 noundef 325, i32 noundef 1062, ptr noundef %47)
ret i32 %48
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5w47etww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clEnqueueCopyImageToBuffer(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [9 x i32], align 16
store i64 %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%20 = load i64, ptr %10, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
store i32 %21, ptr %22, align 16
%23 = load i64, ptr %11, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i64, ptr %12, align 8
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 2
store i32 %27, ptr %28, align 8
%29 = load ptr, ptr %13, align 8
%30 = ptrtoint ptr %29 to i32
%31 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 3
store i32 %30, ptr %31, align 4
%32 = load ptr, ptr %14, align 8
%33 = ptrtoint ptr %32 to i32
%34 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 4
store i32 %33, ptr %34, align 16
%35 = load i64, ptr %15, align 8
%36 = trunc i64 %35 to i32
%37 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 5
store i32 %36, ptr %37, align 4
%38 = load i64, ptr %16, align 8
%39 = trunc i64 %38 to i32
%40 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 6
store i32 %39, ptr %40, align 8
%41 = load ptr, ptr %17, align 8
%42 = ptrtoint ptr %41 to i32
%43 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 7
store i32 %42, ptr %43, align 4
%44 = load ptr, ptr %18, align 8
%45 = ptrtoint ptr %44 to i32
%46 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 8
store i32 %45, ptr %46, align 16
%47 = getelementptr inbounds [9 x i32], ptr %19, i64 0, i64 0
%48 = call i32 @syscall(i32 noundef 325, i32 noundef 1062, ptr noundef %47)
ret i32 %48
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0pwpf9of.c'
source_filename = "/tmp/tmp0pwpf9of.c"
target datalayout = "e-m:e-p270: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/tmp0pwpf9of.c"
target datalayout = "e-m:e-p270: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/tmp2i3swfev.c'
source_filename = "/tmp/tmp2i3swfev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contestTable(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %57
14: ; preds = %5
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = getelementptr inbounds i32, ptr %23, i64 1
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %7, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %26, i64 %31
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %25, ptr %35, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %36, i64 %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %46, i64 %51
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = getelementptr inbounds i32, ptr %55, i64 1
store i32 %45, ptr %56, align 4
br label %96
57: ; preds = %5
%58 = load i32, ptr %8, align 4
%59 = sdiv i32 %58, 2
store i32 %59, ptr %11, align 4
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %10, align 4
call void @contestTable(ptr noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64)
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %69, %70
call void @contestTable(ptr noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %71)
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %77, %78
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %11, align 4
%82 = add nsw i32 %80, %81
%83 = call i32 @swapTable(ptr noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %79, i32 noundef %82)
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %88, %89
%91 = load i32, ptr %9, align 4
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %91, %92
%94 = load i32, ptr %10, align 4
%95 = call i32 @swapTable(ptr noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %90, i32 noundef %93, i32 noundef %94)
br label %96
96: ; preds = %57, %14
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %7, align 4
%100 = call i32 @printArray(ptr noundef %97, i32 noundef %98, i32 noundef %99)
ret void
}
declare i32 @swapTable(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(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/tmp2i3swfev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contestTable(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %57
14: ; preds = %5
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = getelementptr inbounds i32, ptr %23, i64 1
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %7, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %26, i64 %31
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %25, ptr %35, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %36, i64 %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %46, i64 %51
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = getelementptr inbounds i32, ptr %55, i64 1
store i32 %45, ptr %56, align 4
br label %96
57: ; preds = %5
%58 = load i32, ptr %8, align 4
%59 = sdiv i32 %58, 2
store i32 %59, ptr %11, align 4
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %10, align 4
call void @contestTable(ptr noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64)
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %69, %70
call void @contestTable(ptr noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %71)
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %77, %78
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %11, align 4
%82 = add nsw i32 %80, %81
%83 = call i32 @swapTable(ptr noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %79, i32 noundef %82)
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %88, %89
%91 = load i32, ptr %9, align 4
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %91, %92
%94 = load i32, ptr %10, align 4
%95 = call i32 @swapTable(ptr noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %90, i32 noundef %93, i32 noundef %94)
br label %96
96: ; preds = %57, %14
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %7, align 4
%100 = call i32 @printArray(ptr noundef %97, i32 noundef %98, i32 noundef %99)
ret void
}
declare i32 @swapTable(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(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/tmp_pwercz1.c'
source_filename = "/tmp/tmp_pwercz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_pwercz1.c"
target datalayout = "e-m:e-p270: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/tmp7pw3b6dk.c'
source_filename = "/tmp/tmp7pw3b6dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/foo/bar/baz\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"/foo/bar\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/foo\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"/foo/\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"foo/bar\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"./foo/bar\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_dirname_suite() #0 {
%1 = alloca [256 x i8], align 16
%2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @test_my_dirname(ptr noundef %4, ptr noundef @.str.1)
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str.1)
%8 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @test_my_dirname(ptr noundef %8, ptr noundef @.str.2)
%10 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.2)
%12 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @test_my_dirname(ptr noundef %12, ptr noundef @.str.3)
%14 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.4)
%16 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%17 = call i32 @test_my_dirname(ptr noundef %16, ptr noundef @.str.2)
%18 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.3)
%20 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%21 = call i32 @test_my_dirname(ptr noundef %20, ptr noundef @.str.3)
%22 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.5)
%24 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%25 = call i32 @test_my_dirname(ptr noundef %24, ptr noundef @.str.6)
%26 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.7)
%28 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%29 = call i32 @test_my_dirname(ptr noundef %28, ptr noundef @.str.5)
%30 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%31 = call i32 @strcpy(ptr noundef %30, ptr noundef @.str.8)
%32 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%33 = call i32 @test_my_dirname(ptr noundef %32, ptr noundef @.str.9)
%34 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.9)
%36 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%37 = call i32 @test_my_dirname(ptr noundef %36, ptr noundef @.str.6)
%38 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.6)
%40 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%41 = call i32 @test_my_dirname(ptr noundef %40, ptr noundef @.str.10)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @test_my_dirname(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/tmp7pw3b6dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/foo/bar/baz\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"/foo/bar\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/foo\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"/foo/\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"foo\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"foo/bar\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"./foo/bar\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_dirname_suite() #0 {
%1 = alloca [256 x i8], align 16
%2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @test_my_dirname(ptr noundef %4, ptr noundef @.str.1)
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str.1)
%8 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @test_my_dirname(ptr noundef %8, ptr noundef @.str.2)
%10 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.2)
%12 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @test_my_dirname(ptr noundef %12, ptr noundef @.str.3)
%14 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.4)
%16 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%17 = call i32 @test_my_dirname(ptr noundef %16, ptr noundef @.str.2)
%18 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.3)
%20 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%21 = call i32 @test_my_dirname(ptr noundef %20, ptr noundef @.str.3)
%22 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.5)
%24 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%25 = call i32 @test_my_dirname(ptr noundef %24, ptr noundef @.str.6)
%26 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.7)
%28 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%29 = call i32 @test_my_dirname(ptr noundef %28, ptr noundef @.str.5)
%30 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%31 = call i32 @strcpy(ptr noundef %30, ptr noundef @.str.8)
%32 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%33 = call i32 @test_my_dirname(ptr noundef %32, ptr noundef @.str.9)
%34 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.9)
%36 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%37 = call i32 @test_my_dirname(ptr noundef %36, ptr noundef @.str.6)
%38 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.6)
%40 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%41 = call i32 @test_my_dirname(ptr noundef %40, ptr noundef @.str.10)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @test_my_dirname(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/tmp1hw1bd5z.c'
source_filename = "/tmp/tmp1hw1bd5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qword_addint(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @snprintf(ptr noundef %9, i32 noundef %11, ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %14, %16
br i1 %17, label %18, label %21
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %18, %3
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %23, align 8
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %23, align 8
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %28, align 4
%30 = sub nsw i32 %29, %27
store i32 %30, ptr %28, align 4
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hw1bd5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qword_addint(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @snprintf(ptr noundef %9, i32 noundef %11, ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %14, %16
br i1 %17, label %18, label %21
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %18, %3
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %23, align 8
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %23, align 8
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %28, align 4
%30 = sub nsw i32 %29, %27
store i32 %30, ptr %28, align 4
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmq6l384.c'
source_filename = "/tmp/tmpsmq6l384.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Size of int is = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"a = %d, = %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 154, ptr %2, align 2
%3 = call i32 (ptr, i16, ...) @printf(ptr noundef @.str, i16 noundef signext 2)
%4 = load i16, ptr %2, align 2
%5 = load i16, ptr %2, align 2
%6 = sext i16 %5 to i32
%7 = call i32 (ptr, i16, ...) @printf(ptr noundef @.str.1, i16 noundef signext %4, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i16 noundef signext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmq6l384.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Size of int is = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"a = %d, = %x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 154, ptr %2, align 2
%3 = call i32 (ptr, i16, ...) @printf(ptr noundef @.str, i16 noundef signext 2)
%4 = load i16, ptr %2, align 2
%5 = load i16, ptr %2, align 2
%6 = sext i16 %5 to i32
%7 = call i32 (ptr, i16, ...) @printf(ptr noundef @.str.1, i16 noundef signext %4, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i16 noundef signext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi94189g0.c'
source_filename = "/tmp/tmpi94189g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero de elementos: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Introduza o %d\C2\BA elemento: \00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Vetor Original: \00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Numeros pares: \00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Numeros impares: \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 ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 4, %12
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %6, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %26
26: ; preds = %71, %0
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %74
30: ; preds = %26
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %37)
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = srem i32 %43, 2
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %58
46: ; preds = %30
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 %51, ptr %55, align 4
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %70
58: ; preds = %30
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 %63, ptr %67, align 4
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %3, align 4
br label %70
70: ; preds = %58, %46
br label %71
71: ; preds = %70
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
br label %26, !llvm.loop !6
74: ; preds = %26
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %3, align 4
%77 = sext i32 %76 to i64
%78 = mul i64 4, %77
%79 = trunc i64 %78 to i32
%80 = call ptr @realloc(ptr noundef %75, i32 noundef %79)
store ptr %80, ptr %6, align 8
%81 = load ptr, ptr %7, align 8
%82 = load i32, ptr %4, align 4
%83 = sext i32 %82 to i64
%84 = mul i64 4, %83
%85 = trunc i64 %84 to i32
%86 = call ptr @realloc(ptr noundef %81, i32 noundef %85)
store ptr %86, ptr %7, align 8
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %2, align 4
%90 = call i32 @PrintArray(ptr noundef %88, i32 noundef %89)
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %3, align 4
%94 = call i32 @PrintArray(ptr noundef %92, i32 noundef %93)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%96 = load ptr, ptr %7, align 8
%97 = load i32, ptr %4, align 4
%98 = call i32 @PrintArray(ptr noundef %96, i32 noundef %97)
%99 = load ptr, ptr %5, align 8
%100 = call i32 @free(ptr noundef %99)
%101 = load ptr, ptr %6, align 8
%102 = call i32 @free(ptr noundef %101)
%103 = load ptr, ptr %7, align 8
%104 = call i32 @free(ptr noundef %103)
%105 = load i32, ptr %1, align 4
ret i32 %105
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @PrintArray(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi94189g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero de elementos: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Introduza o %d\C2\BA elemento: \00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Vetor Original: \00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Numeros pares: \00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Numeros impares: \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 ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 4, %12
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %6, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %7, align 8
store i32 0, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %76
.lr.ph: ; preds = %0
br label %29
29: ; preds = %.lr.ph, %70
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %36)
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = srem i32 %42, 2
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %57
45: ; preds = %29
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 %50, ptr %54, align 4
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %69
57: ; preds = %29
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %3, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %62, ptr %66, align 4
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
br label %69
69: ; preds = %57, %45
br label %70
70: ; preds = %69
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
%73 = load i32, ptr %8, align 4
%74 = load i32, ptr %2, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %76
76: ; preds = %._crit_edge, %0
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %3, align 4
%79 = sext i32 %78 to i64
%80 = mul i64 4, %79
%81 = trunc i64 %80 to i32
%82 = call ptr @realloc(ptr noundef %77, i32 noundef %81)
store ptr %82, ptr %6, align 8
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %4, align 4
%85 = sext i32 %84 to i64
%86 = mul i64 4, %85
%87 = trunc i64 %86 to i32
%88 = call ptr @realloc(ptr noundef %83, i32 noundef %87)
store ptr %88, ptr %7, align 8
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %2, align 4
%92 = call i32 @PrintArray(ptr noundef %90, i32 noundef %91)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %3, align 4
%96 = call i32 @PrintArray(ptr noundef %94, i32 noundef %95)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %4, align 4
%100 = call i32 @PrintArray(ptr noundef %98, i32 noundef %99)
%101 = load ptr, ptr %5, align 8
%102 = call i32 @free(ptr noundef %101)
%103 = load ptr, ptr %6, align 8
%104 = call i32 @free(ptr noundef %103)
%105 = load ptr, ptr %7, align 8
%106 = call i32 @free(ptr noundef %105)
%107 = load i32, ptr %1, align 4
ret i32 %107
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @PrintArray(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa05f2wg_.c'
source_filename = "/tmp/tmpa05f2wg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assignFirstClassSeat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %8
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 1, ptr %19, align 4
store i32 1, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @printPass(i32 noundef %20)
br label %26
22: ; preds = %8
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %15, %5
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printPass(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/tmpa05f2wg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assignFirstClassSeat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %22
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %7
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 1, ptr %18, align 4
store i32 1, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @printPass(i32 noundef %19)
br label %27
21: ; preds = %7
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 5
br i1 %26, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %27
27: ; preds = %.loopexit, %14
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @printPass(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/tmpi80w32i2.c'
source_filename = "/tmp/tmpi80w32i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Integer square root of 46 should be 6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_46() #0 {
%1 = call i32 @isqrt(i32 noundef 46)
%2 = icmp eq i32 %1, 6
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 235, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpi80w32i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Integer square root of 46 should be 6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_46() #0 {
%1 = call i32 @isqrt(i32 noundef 46)
%2 = icmp eq i32 %1, 6
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 235, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpv8pgljsj.c'
source_filename = "/tmp/tmpv8pgljsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dir_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %35, %1
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
store i8 %14, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %38
17: ; preds = %9
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 47
br i1 %20, label %21, label %35
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %21
%31 = load ptr, ptr %3, align 8
store ptr %31, ptr %2, align 8
br label %68
32: ; preds = %21
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %32, %17
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %9, !llvm.loop !6
38: ; preds = %9
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = mul i64 1, %41
%43 = trunc i64 %42 to i32
%44 = call ptr @malloc(i32 noundef %43)
store ptr %44, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %45
45: ; preds = %59, %38
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %62
49: ; preds = %45
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 %54, ptr %58, align 1
br label %59
59: ; preds = %49
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
br label %45, !llvm.loop !8
62: ; preds = %45
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %7, align 8
store ptr %67, ptr %2, align 8
br label %68
68: ; preds = %62, %30
%69 = load ptr, ptr %2, align 8
ret ptr %69
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8pgljsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dir_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
store i8 %13, ptr %6, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %34
%17 = load i8, ptr %6, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 47
br i1 %19, label %20, label %34
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %20
%30 = load ptr, ptr %3, align 8
store ptr %30, ptr %2, align 8
br label %76
31: ; preds = %20
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31, %16
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
store i8 %41, ptr %6, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %44
44: ; preds = %._crit_edge, %1
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = mul i64 1, %47
%49 = trunc i64 %48 to i32
%50 = call ptr @malloc(i32 noundef %49)
store ptr %50, ptr %7, align 8
store i32 0, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph2, label %70
.lr.ph2: ; preds = %44
br label %54
54: ; preds = %.lr.ph2, %64
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
br label %64
64: ; preds = %54
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %70
70: ; preds = %._crit_edge3, %44
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
store i8 0, ptr %74, align 1
%75 = load ptr, ptr %7, align 8
store ptr %75, ptr %2, align 8
br label %76
76: ; preds = %70, %29
%77 = load ptr, ptr %2, align 8
ret ptr %77
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnvwb8srt.c'
source_filename = "/tmp/tmpnvwb8srt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skewness_double(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
%9 = alloca x86_fp80, align 16
%10 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
store x86_fp80 0xK00000000000000000000, ptr %7, align 16
store x86_fp80 0xK00000000000000000000, ptr %8, align 16
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %50, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %53
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
store double %20, ptr %10, align 8
%21 = load double, ptr %10, align 8
%22 = load i32, ptr %3, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %21, %23
%25 = fpext double %24 to x86_fp80
%26 = load x86_fp80, ptr %6, align 16
%27 = fadd x86_fp80 %26, %25
store x86_fp80 %27, ptr %6, align 16
%28 = load double, ptr %10, align 8
%29 = load double, ptr %10, align 8
%30 = fmul double %28, %29
%31 = fpext double %30 to x86_fp80
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fpext double %33 to x86_fp80
%35 = fdiv x86_fp80 %31, %34
%36 = load x86_fp80, ptr %7, align 16
%37 = fadd x86_fp80 %36, %35
store x86_fp80 %37, ptr %7, align 16
%38 = load double, ptr %10, align 8
%39 = load double, ptr %10, align 8
%40 = fmul double %38, %39
%41 = load double, ptr %10, align 8
%42 = fmul double %40, %41
%43 = fpext double %42 to x86_fp80
%44 = load i32, ptr %3, align 4
%45 = sitofp i32 %44 to double
%46 = fpext double %45 to x86_fp80
%47 = fdiv x86_fp80 %43, %46
%48 = load x86_fp80, ptr %8, align 16
%49 = fadd x86_fp80 %48, %47
store x86_fp80 %49, ptr %8, align 16
br label %50
50: ; preds = %15
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %11, !llvm.loop !6
53: ; preds = %11
%54 = load x86_fp80, ptr %7, align 16
%55 = load x86_fp80, ptr %6, align 16
%56 = load x86_fp80, ptr %6, align 16
%57 = fneg x86_fp80 %55
%58 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %57, x86_fp80 %56, x86_fp80 %54)
%59 = fptrunc x86_fp80 %58 to double
%60 = call x86_fp80 @pow(double noundef %59, double noundef 1.500000e+00)
store x86_fp80 %60, ptr %9, align 16
%61 = load x86_fp80, ptr %8, align 16
%62 = load x86_fp80, ptr %6, align 16
%63 = fmul x86_fp80 0xK4000C000000000000000, %62
%64 = load x86_fp80, ptr %7, align 16
%65 = fneg x86_fp80 %63
%66 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %65, x86_fp80 %64, x86_fp80 %61)
%67 = load x86_fp80, ptr %6, align 16
%68 = fmul x86_fp80 0xK40008000000000000000, %67
%69 = load x86_fp80, ptr %6, align 16
%70 = fmul x86_fp80 %68, %69
%71 = load x86_fp80, ptr %6, align 16
%72 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %70, x86_fp80 %71, x86_fp80 %66)
%73 = load x86_fp80, ptr %9, align 16
%74 = fdiv x86_fp80 %72, %73
%75 = fptrunc x86_fp80 %74 to double
ret double %75
}
declare x86_fp80 @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvwb8srt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skewness_double(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
%9 = alloca x86_fp80, align 16
%10 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
store x86_fp80 0xK00000000000000000000, ptr %7, align 16
store x86_fp80 0xK00000000000000000000, ptr %8, align 16
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %55
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %49
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
store double %19, ptr %10, align 8
%20 = load double, ptr %10, align 8
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double %20, %22
%24 = fpext double %23 to x86_fp80
%25 = load x86_fp80, ptr %6, align 16
%26 = fadd x86_fp80 %25, %24
store x86_fp80 %26, ptr %6, align 16
%27 = load double, ptr %10, align 8
%28 = load double, ptr %10, align 8
%29 = fmul double %27, %28
%30 = fpext double %29 to x86_fp80
%31 = load i32, ptr %3, align 4
%32 = sitofp i32 %31 to double
%33 = fpext double %32 to x86_fp80
%34 = fdiv x86_fp80 %30, %33
%35 = load x86_fp80, ptr %7, align 16
%36 = fadd x86_fp80 %35, %34
store x86_fp80 %36, ptr %7, align 16
%37 = load double, ptr %10, align 8
%38 = load double, ptr %10, align 8
%39 = fmul double %37, %38
%40 = load double, ptr %10, align 8
%41 = fmul double %39, %40
%42 = fpext double %41 to x86_fp80
%43 = load i32, ptr %3, align 4
%44 = sitofp i32 %43 to double
%45 = fpext double %44 to x86_fp80
%46 = fdiv x86_fp80 %42, %45
%47 = load x86_fp80, ptr %8, align 16
%48 = fadd x86_fp80 %47, %46
store x86_fp80 %48, ptr %8, align 16
br label %49
49: ; preds = %14
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %2
%56 = load x86_fp80, ptr %7, align 16
%57 = load x86_fp80, ptr %6, align 16
%58 = load x86_fp80, ptr %6, align 16
%59 = fneg x86_fp80 %57
%60 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %59, x86_fp80 %58, x86_fp80 %56)
%61 = fptrunc x86_fp80 %60 to double
%62 = call x86_fp80 @pow(double noundef %61, double noundef 1.500000e+00)
store x86_fp80 %62, ptr %9, align 16
%63 = load x86_fp80, ptr %8, align 16
%64 = load x86_fp80, ptr %6, align 16
%65 = fmul x86_fp80 0xK4000C000000000000000, %64
%66 = load x86_fp80, ptr %7, align 16
%67 = fneg x86_fp80 %65
%68 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %67, x86_fp80 %66, x86_fp80 %63)
%69 = load x86_fp80, ptr %6, align 16
%70 = fmul x86_fp80 0xK40008000000000000000, %69
%71 = load x86_fp80, ptr %6, align 16
%72 = fmul x86_fp80 %70, %71
%73 = load x86_fp80, ptr %6, align 16
%74 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %72, x86_fp80 %73, x86_fp80 %68)
%75 = load x86_fp80, ptr %9, align 16
%76 = fdiv x86_fp80 %74, %75
%77 = fptrunc x86_fp80 %76 to double
ret double %77
}
declare x86_fp80 @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp12p0i86b.c'
source_filename = "/tmp/tmp12p0i86b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"NOT IMPLEMENTED:pa_context_get_module_info_list\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_get_module_info_list() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12p0i86b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"NOT IMPLEMENTED:pa_context_get_module_info_list\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_get_module_info_list() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpti2vl23e.c'
source_filename = "/tmp/tmpti2vl23e.c"
target datalayout = "e-m:e-p270: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/tmpti2vl23e.c"
target datalayout = "e-m:e-p270: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/tmpr6038as1.c'
source_filename = "/tmp/tmpr6038as1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edge_lPrev(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 @edge_oNext(ptr noundef %3)
%5 = call ptr @edge_sym(i32 noundef %4)
ret ptr %5
}
declare ptr @edge_sym(i32 noundef) #1
declare i32 @edge_oNext(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6038as1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edge_lPrev(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 @edge_oNext(ptr noundef %3)
%5 = call ptr @edge_sym(i32 noundef %4)
ret ptr %5
}
declare ptr @edge_sym(i32 noundef) #1
declare i32 @edge_oNext(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4xi2nod9.c'
source_filename = "/tmp/tmp4xi2nod9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = shl i32 %9, 3
%11 = load i32, ptr %2, align 4
%12 = shl i32 %11, 2
%13 = add nsw i32 %10, %12
%14 = load i32, ptr %2, align 4
%15 = shl i32 %14, 1
%16 = add nsw i32 %13, %15
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = shl i32 %19, 1
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = shl i32 %25, 2
%27 = load i32, ptr %2, align 4
%28 = shl i32 %27, 1
%29 = add nsw i32 %26, %28
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = shl i32 %32, 5
%34 = load i32, ptr %2, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = shl i32 %38, 1
%40 = load i32, ptr %2, align 4
%41 = shl i32 %40, 3
%42 = sub nsw i32 %39, %41
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = shl i32 %45, 6
%47 = load i32, ptr %2, align 4
%48 = shl i32 %47, 3
%49 = sub nsw i32 %46, %48
%50 = load i32, ptr %2, align 4
%51 = sub nsw i32 %49, %50
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %54
}
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/tmp4xi2nod9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = shl i32 %9, 3
%11 = load i32, ptr %2, align 4
%12 = shl i32 %11, 2
%13 = add nsw i32 %10, %12
%14 = load i32, ptr %2, align 4
%15 = shl i32 %14, 1
%16 = add nsw i32 %13, %15
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = shl i32 %19, 1
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = shl i32 %25, 2
%27 = load i32, ptr %2, align 4
%28 = shl i32 %27, 1
%29 = add nsw i32 %26, %28
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = shl i32 %32, 5
%34 = load i32, ptr %2, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = shl i32 %38, 1
%40 = load i32, ptr %2, align 4
%41 = shl i32 %40, 3
%42 = sub nsw i32 %39, %41
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = shl i32 %45, 6
%47 = load i32, ptr %2, align 4
%48 = shl i32 %47, 3
%49 = sub nsw i32 %46, %48
%50 = load i32, ptr %2, align 4
%51 = sub nsw i32 %49, %50
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %54
}
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.