llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpvwl099k9.c'
source_filename = "/tmp/tmpvwl099k9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@blink_dummy_func.i = internal global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Counter = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blink_dummy_func() #0 {
%1 = load i32, ptr @blink_dummy_func.i, align 4
%2 = add nsw i32 %1, 1
store i32 %2, ptr @blink_dummy_func.i, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvwl099k9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@blink_dummy_func.i = internal global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Counter = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blink_dummy_func() #0 {
%1 = load i32, ptr @blink_dummy_func.i, align 4
%2 = add nsw i32 %1, 1
store i32 %2, ptr @blink_dummy_func.i, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqqcbieej.c'
source_filename = "/tmp/tmpqqcbieej.c"
target datalayout = "e-m:e-p270: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/tmpqqcbieej.c"
target datalayout = "e-m:e-p270: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/tmpnz0q9lzs.c'
source_filename = "/tmp/tmpnz0q9lzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PAPIF_SET_CMP_GRANULARITY(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @PAPI_set_cmp_granularity(i32 noundef %8, i32 noundef %10)
%12 = load ptr, ptr %6, align 8
store i32 %11, ptr %12, align 4
ret void
}
declare i32 @PAPI_set_cmp_granularity(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/tmpnz0q9lzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PAPIF_SET_CMP_GRANULARITY(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @PAPI_set_cmp_granularity(i32 noundef %8, i32 noundef %10)
%12 = load ptr, ptr %6, align 8
store i32 %11, ptr %12, align 4
ret void
}
declare i32 @PAPI_set_cmp_granularity(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/tmpbgh_q05h.c'
source_filename = "/tmp/tmpbgh_q05h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctr_mode(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%25 = load i32, ptr %16, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %22, align 8
%28 = alloca i32, i64 %26, align 16
store i64 %26, ptr %23, align 8
%29 = load i32, ptr %16, align 4
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %24, align 8
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %16, align 4
%34 = srem i32 %32, %33
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %8
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %16, align 4
%39 = sdiv i32 %37, %38
%40 = add nsw i32 %39, 1
br label %45
41: ; preds = %8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %16, align 4
%44 = sdiv i32 %42, %43
br label %45
45: ; preds = %41, %36
%46 = phi i32 [ %40, %36 ], [ %44, %41 ]
store i32 %46, ptr %19, align 4
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %14, align 4
%49 = sub nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %28, i64 %50
%52 = load ptr, ptr %13, align 8
%53 = load i32, ptr %14, align 4
%54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i32 noundef %53)
store i32 0, ptr %17, align 4
br label %55
55: ; preds = %111, %45
%56 = load i32, ptr %17, align 4
%57 = load i32, ptr %19, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %114
59: ; preds = %55
%60 = load i32, ptr %17, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %59
%63 = load i32, ptr %16, align 4
%64 = call i32 @inc_t(ptr noundef %28, i32 noundef %63)
br label %65
65: ; preds = %62, %59
%66 = load ptr, ptr %15, align 8
%67 = load ptr, ptr %12, align 8
call void %66(ptr noundef %28, ptr noundef %31, ptr noundef %67)
%68 = load i32, ptr %16, align 4
%69 = load i32, ptr %17, align 4
%70 = mul nsw i32 %68, %69
store i32 %70, ptr %20, align 4
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %20, align 4
%73 = sub nsw i32 %71, %72
%74 = load i32, ptr %16, align 4
%75 = icmp sge i32 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %65
%77 = load i32, ptr %16, align 4
br label %82
78: ; preds = %65
%79 = load i32, ptr %10, align 4
%80 = load i32, ptr %20, align 4
%81 = sub nsw i32 %79, %80
br label %82
82: ; preds = %78, %76
%83 = phi i32 [ %77, %76 ], [ %81, %78 ]
store i32 %83, ptr %21, align 4
store i32 0, ptr %18, align 4
br label %84
84: ; preds = %107, %82
%85 = load i32, ptr %18, align 4
%86 = load i32, ptr %21, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %110
88: ; preds = %84
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %20, align 4
%91 = load i32, ptr %18, align 4
%92 = add nsw i32 %90, %91
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %89, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %18, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %31, i64 %97
%99 = load i32, ptr %98, align 4
%100 = xor i32 %95, %99
%101 = load ptr, ptr %11, align 8
%102 = load i32, ptr %20, align 4
%103 = load i32, ptr %18, align 4
%104 = add nsw i32 %102, %103
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %101, i64 %105
store i32 %100, ptr %106, align 4
br label %107
107: ; preds = %88
%108 = load i32, ptr %18, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %18, align 4
br label %84, !llvm.loop !6
110: ; preds = %84
br label %111
111: ; preds = %110
%112 = load i32, ptr %17, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %17, align 4
br label %55, !llvm.loop !8
114: ; preds = %55
%115 = load ptr, ptr %22, align 8
call void @llvm.stackrestore(ptr %115)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @inc_t(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgh_q05h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctr_mode(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%25 = load i32, ptr %16, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %22, align 8
%28 = alloca i32, i64 %26, align 16
store i64 %26, ptr %23, align 8
%29 = load i32, ptr %16, align 4
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %24, align 8
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %16, align 4
%34 = srem i32 %32, %33
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %8
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %16, align 4
%39 = sdiv i32 %37, %38
%40 = add nsw i32 %39, 1
br label %45
41: ; preds = %8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %16, align 4
%44 = sdiv i32 %42, %43
br label %45
45: ; preds = %41, %36
%46 = phi i32 [ %40, %36 ], [ %44, %41 ]
store i32 %46, ptr %19, align 4
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %14, align 4
%49 = sub nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %28, i64 %50
%52 = load ptr, ptr %13, align 8
%53 = load i32, ptr %14, align 4
%54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i32 noundef %53)
store i32 0, ptr %17, align 4
%55 = load i32, ptr %17, align 4
%56 = load i32, ptr %19, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph2, label %118
.lr.ph2: ; preds = %45
br label %58
58: ; preds = %.lr.ph2, %112
%59 = load i32, ptr %17, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr %16, align 4
%63 = call i32 @inc_t(ptr noundef %28, i32 noundef %62)
br label %64
64: ; preds = %61, %58
%65 = load ptr, ptr %15, align 8
%66 = load ptr, ptr %12, align 8
call void %65(ptr noundef %28, ptr noundef %31, ptr noundef %66)
%67 = load i32, ptr %16, align 4
%68 = load i32, ptr %17, align 4
%69 = mul nsw i32 %67, %68
store i32 %69, ptr %20, align 4
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr %20, align 4
%72 = sub nsw i32 %70, %71
%73 = load i32, ptr %16, align 4
%74 = icmp sge i32 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %64
%76 = load i32, ptr %16, align 4
br label %81
77: ; preds = %64
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %20, align 4
%80 = sub nsw i32 %78, %79
br label %81
81: ; preds = %77, %75
%82 = phi i32 [ %76, %75 ], [ %80, %77 ]
store i32 %82, ptr %21, align 4
store i32 0, ptr %18, align 4
%83 = load i32, ptr %18, align 4
%84 = load i32, ptr %21, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %.lr.ph, label %111
.lr.ph: ; preds = %81
br label %86
86: ; preds = %.lr.ph, %105
%87 = load ptr, ptr %9, align 8
%88 = load i32, ptr %20, align 4
%89 = load i32, ptr %18, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %87, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load i32, ptr %18, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %31, i64 %95
%97 = load i32, ptr %96, align 4
%98 = xor i32 %93, %97
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %20, align 4
%101 = load i32, ptr %18, align 4
%102 = add nsw i32 %100, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %99, i64 %103
store i32 %98, ptr %104, align 4
br label %105
105: ; preds = %86
%106 = load i32, ptr %18, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %18, align 4
%108 = load i32, ptr %18, align 4
%109 = load i32, ptr %21, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %86, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %105
br label %111
111: ; preds = %._crit_edge, %81
br label %112
112: ; preds = %111
%113 = load i32, ptr %17, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %17, align 4
%115 = load i32, ptr %17, align 4
%116 = load i32, ptr %19, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %58, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %112
br label %118
118: ; preds = %._crit_edge3, %45
%119 = load ptr, ptr %22, align 8
call void @llvm.stackrestore(ptr %119)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @inc_t(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpztql34xy.c'
source_filename = "/tmp/tmpztql34xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_p_endutent() #0 {
%1 = call i32 (...) @endutent()
ret void
}
declare i32 @endutent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztql34xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_p_endutent() #0 {
%1 = call i32 (...) @endutent()
ret void
}
declare i32 @endutent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp27ba8tlc.c'
source_filename = "/tmp/tmp27ba8tlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coefficient_of_restitution_bridges(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @fabs(double noundef %6)
%8 = sitofp i32 %7 to double
%9 = fmul double %8, 1.000000e+02
%10 = fptosi double %9 to i32
%11 = call double @pow(i32 noundef %10, double noundef -2.340000e-01)
%12 = fmul double 3.200000e-01, %11
store double %12, ptr %5, align 8
%13 = load double, ptr %5, align 8
%14 = fcmp ogt double %13, 1.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %2
store double 1.000000e+00, ptr %5, align 8
br label %16
16: ; preds = %15, %2
%17 = load double, ptr %5, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %20
19: ; preds = %16
store double 0.000000e+00, ptr %5, align 8
br label %20
20: ; preds = %19, %16
%21 = load double, ptr %5, align 8
ret double %21
}
declare double @pow(i32 noundef, double noundef) #1
declare i32 @fabs(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/tmp27ba8tlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coefficient_of_restitution_bridges(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @fabs(double noundef %6)
%8 = sitofp i32 %7 to double
%9 = fmul double %8, 1.000000e+02
%10 = fptosi double %9 to i32
%11 = call double @pow(i32 noundef %10, double noundef -2.340000e-01)
%12 = fmul double 3.200000e-01, %11
store double %12, ptr %5, align 8
%13 = load double, ptr %5, align 8
%14 = fcmp ogt double %13, 1.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %2
store double 1.000000e+00, ptr %5, align 8
br label %16
16: ; preds = %15, %2
%17 = load double, ptr %5, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %20
19: ; preds = %16
store double 0.000000e+00, ptr %5, align 8
br label %20
20: ; preds = %19, %16
%21 = load double, ptr %5, align 8
ret double %21
}
declare double @pow(i32 noundef, double noundef) #1
declare i32 @fabs(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/tmp12rf8j5m.c'
source_filename = "/tmp/tmp12rf8j5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1)
ret void
}
declare i32 @write(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/tmp12rf8j5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1)
ret void
}
declare i32 @write(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/tmpzk2g4ikn.c'
source_filename = "/tmp/tmpzk2g4ikn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @salloc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @calloc(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzk2g4ikn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @salloc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call ptr @calloc(i32 noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfgievle1.c'
source_filename = "/tmp/tmpfgievle1.c"
target datalayout = "e-m:e-p270: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/tmpfgievle1.c"
target datalayout = "e-m:e-p270: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/tmptxhoye5h.c'
source_filename = "/tmp/tmptxhoye5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bessi0_salahat_exponScaled(double noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp olt double %4, 1.150000e+01
br i1 %5, label %6, label %24
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = fmul double %7, 0xBFCF8A0902DE00D0
%9 = call double @expl(double noundef %8)
%10 = load double, ptr %3, align 8
%11 = fmul double %10, 0xBF9AB9F559B3D080
%12 = call double @expl(double noundef %11)
%13 = fmul double 1.472000e-01, %12
%14 = call double @llvm.fmuladd.f64(double 1.682000e-01, double %9, double %13)
%15 = load double, ptr %3, align 8
%16 = fmul double %15, 0xBFFB70A3D70A3D70
%17 = call double @expl(double noundef %16)
%18 = call double @llvm.fmuladd.f64(double 4.450000e-01, double %17, double %14)
%19 = load double, ptr %3, align 8
%20 = fmul double %19, -7.657000e-01
%21 = call double @expl(double noundef %20)
%22 = call double @llvm.fmuladd.f64(double 2.382000e-01, double %21, double %18)
%23 = fpext double %22 to x86_fp80
store x86_fp80 %23, ptr %2, align 16
br label %84
24: ; preds = %1
%25 = load double, ptr %3, align 8
%26 = fcmp olt double %25, 2.000000e+01
br i1 %26, label %27, label %45
27: ; preds = %24
%28 = load double, ptr %3, align 8
%29 = fmul double %28, -5.290000e-01
%30 = call double @expl(double noundef %29)
%31 = load double, ptr %3, align 8
%32 = fmul double %31, -1.644000e+02
%33 = call double @expl(double noundef %32)
%34 = fmul double 4.916000e-01, %33
%35 = call double @llvm.fmuladd.f64(double 2.667000e-01, double %30, double %34)
%36 = load double, ptr %3, align 8
%37 = fmul double %36, 0xBF8E4F765FD8ADC0
%38 = call double @expl(double noundef %37)
%39 = call double @llvm.fmuladd.f64(double 1.110000e-01, double %38, double %35)
%40 = load double, ptr %3, align 8
%41 = fmul double %40, 0xBFC28240B780346C
%42 = call double @expl(double noundef %41)
%43 = call double @llvm.fmuladd.f64(double 1.304000e-01, double %42, double %39)
%44 = fpext double %43 to x86_fp80
store x86_fp80 %44, ptr %2, align 16
br label %84
45: ; preds = %24
%46 = load double, ptr %3, align 8
%47 = fcmp olt double %46, 3.725000e+01
br i1 %47, label %48, label %66
48: ; preds = %45
%49 = load double, ptr %3, align 8
%50 = fmul double %49, 0xBF93C36113404EA0
%51 = call double @expl(double noundef %50)
%52 = load double, ptr %3, align 8
%53 = fmul double %52, 0xBFC0FF9724745390
%54 = call double @expl(double noundef %53)
%55 = fmul double 1.055000e-01, %54
%56 = call double @llvm.fmuladd.f64(double 1.121000e-01, double %51, double %55)
%57 = load double, ptr %3, align 8
%58 = fmul double %57, 0x3FB45A1CAC083120
%59 = call double @expl(double noundef %58)
%60 = call double @llvm.fmuladd.f64(double -1.800000e-04, double %59, double %56)
%61 = load double, ptr %3, align 8
%62 = fmul double %61, 0x3FA3B645A1CAC080
%63 = call double @expl(double noundef %62)
%64 = call double @llvm.fmuladd.f64(double 3.260000e-03, double %63, double %60)
%65 = fpext double %64 to x86_fp80
store x86_fp80 %65, ptr %2, align 16
br label %84
66: ; preds = %45
%67 = load double, ptr %3, align 8
%68 = fmul double %67, 0x3FC26E978D4FDF38
%69 = call double @expl(double noundef %68)
%70 = load double, ptr %3, align 8
%71 = fmul double %70, 0xBF747AE147AE1480
%72 = call double @expl(double noundef %71)
%73 = fmul double 0x3FB14467381D7DBF, %72
%74 = call double @llvm.fmuladd.f64(double 2.410000e-09, double %69, double %73)
%75 = load double, ptr %3, align 8
%76 = fmul double %75, -4.314000e-01
%77 = call double @expl(double noundef %76)
%78 = call double @llvm.fmuladd.f64(double 5.471000e-02, double %77, double %74)
%79 = load double, ptr %3, align 8
%80 = fmul double %79, 0xBFABA5E353F7CEE0
%81 = call double @expl(double noundef %80)
%82 = call double @llvm.fmuladd.f64(double 0x3FB425072085B185, double %81, double %78)
%83 = fpext double %82 to x86_fp80
store x86_fp80 %83, ptr %2, align 16
br label %84
84: ; preds = %66, %48, %27, %6
%85 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %85
}
declare double @expl(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxhoye5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bessi0_salahat_exponScaled(double noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp olt double %4, 1.150000e+01
br i1 %5, label %6, label %24
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = fmul double %7, 0xBFCF8A0902DE00D0
%9 = call double @expl(double noundef %8)
%10 = load double, ptr %3, align 8
%11 = fmul double %10, 0xBF9AB9F559B3D080
%12 = call double @expl(double noundef %11)
%13 = fmul double 1.472000e-01, %12
%14 = call double @llvm.fmuladd.f64(double 1.682000e-01, double %9, double %13)
%15 = load double, ptr %3, align 8
%16 = fmul double %15, 0xBFFB70A3D70A3D70
%17 = call double @expl(double noundef %16)
%18 = call double @llvm.fmuladd.f64(double 4.450000e-01, double %17, double %14)
%19 = load double, ptr %3, align 8
%20 = fmul double %19, -7.657000e-01
%21 = call double @expl(double noundef %20)
%22 = call double @llvm.fmuladd.f64(double 2.382000e-01, double %21, double %18)
%23 = fpext double %22 to x86_fp80
store x86_fp80 %23, ptr %2, align 16
br label %84
24: ; preds = %1
%25 = load double, ptr %3, align 8
%26 = fcmp olt double %25, 2.000000e+01
br i1 %26, label %27, label %45
27: ; preds = %24
%28 = load double, ptr %3, align 8
%29 = fmul double %28, -5.290000e-01
%30 = call double @expl(double noundef %29)
%31 = load double, ptr %3, align 8
%32 = fmul double %31, -1.644000e+02
%33 = call double @expl(double noundef %32)
%34 = fmul double 4.916000e-01, %33
%35 = call double @llvm.fmuladd.f64(double 2.667000e-01, double %30, double %34)
%36 = load double, ptr %3, align 8
%37 = fmul double %36, 0xBF8E4F765FD8ADC0
%38 = call double @expl(double noundef %37)
%39 = call double @llvm.fmuladd.f64(double 1.110000e-01, double %38, double %35)
%40 = load double, ptr %3, align 8
%41 = fmul double %40, 0xBFC28240B780346C
%42 = call double @expl(double noundef %41)
%43 = call double @llvm.fmuladd.f64(double 1.304000e-01, double %42, double %39)
%44 = fpext double %43 to x86_fp80
store x86_fp80 %44, ptr %2, align 16
br label %84
45: ; preds = %24
%46 = load double, ptr %3, align 8
%47 = fcmp olt double %46, 3.725000e+01
br i1 %47, label %48, label %66
48: ; preds = %45
%49 = load double, ptr %3, align 8
%50 = fmul double %49, 0xBF93C36113404EA0
%51 = call double @expl(double noundef %50)
%52 = load double, ptr %3, align 8
%53 = fmul double %52, 0xBFC0FF9724745390
%54 = call double @expl(double noundef %53)
%55 = fmul double 1.055000e-01, %54
%56 = call double @llvm.fmuladd.f64(double 1.121000e-01, double %51, double %55)
%57 = load double, ptr %3, align 8
%58 = fmul double %57, 0x3FB45A1CAC083120
%59 = call double @expl(double noundef %58)
%60 = call double @llvm.fmuladd.f64(double -1.800000e-04, double %59, double %56)
%61 = load double, ptr %3, align 8
%62 = fmul double %61, 0x3FA3B645A1CAC080
%63 = call double @expl(double noundef %62)
%64 = call double @llvm.fmuladd.f64(double 3.260000e-03, double %63, double %60)
%65 = fpext double %64 to x86_fp80
store x86_fp80 %65, ptr %2, align 16
br label %84
66: ; preds = %45
%67 = load double, ptr %3, align 8
%68 = fmul double %67, 0x3FC26E978D4FDF38
%69 = call double @expl(double noundef %68)
%70 = load double, ptr %3, align 8
%71 = fmul double %70, 0xBF747AE147AE1480
%72 = call double @expl(double noundef %71)
%73 = fmul double 0x3FB14467381D7DBF, %72
%74 = call double @llvm.fmuladd.f64(double 2.410000e-09, double %69, double %73)
%75 = load double, ptr %3, align 8
%76 = fmul double %75, -4.314000e-01
%77 = call double @expl(double noundef %76)
%78 = call double @llvm.fmuladd.f64(double 5.471000e-02, double %77, double %74)
%79 = load double, ptr %3, align 8
%80 = fmul double %79, 0xBFABA5E353F7CEE0
%81 = call double @expl(double noundef %80)
%82 = call double @llvm.fmuladd.f64(double 0x3FB425072085B185, double %81, double %78)
%83 = fpext double %82 to x86_fp80
store x86_fp80 %83, ptr %2, align 16
br label %84
84: ; preds = %66, %48, %27, %6
%85 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %85
}
declare double @expl(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
|
; ModuleID = '/tmp/tmpstx248l7.c'
source_filename = "/tmp/tmpstx248l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MkOdPs done!\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"1 - %d : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @MkOdPs()
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 63999999
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = call i64 @IsPrime(i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %13, %9
br label %17
17: ; preds = %16
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 63999999, i32 noundef %21)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @MkOdPs(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @IsPrime(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/tmpstx248l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MkOdPs done!\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"1 - %d : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @MkOdPs()
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 63999999
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %16
%9 = load i32, ptr %2, align 4
%10 = call i64 @IsPrime(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %12, %8
br label %16
16: ; preds = %15
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %19, 63999999
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %3, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 63999999, i32 noundef %22)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @MkOdPs(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @IsPrime(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/tmp5mgybzc9.c'
source_filename = "/tmp/tmp5mgybzc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_TRUNC = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_TRUNC, align 4
%7 = load i32, ptr @O_CREAT, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_WRONLY, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i32 @open(ptr noundef %5, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @open(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/tmp5mgybzc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_TRUNC = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_TRUNC, align 4
%7 = load i32, ptr @O_CREAT, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_WRONLY, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i32 @open(ptr noundef %5, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @open(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/tmp7lhxjnpv.c'
source_filename = "/tmp/tmp7lhxjnpv.c"
target datalayout = "e-m:e-p270: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/tmp7lhxjnpv.c"
target datalayout = "e-m:e-p270: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/tmp3xtt_l70.c'
source_filename = "/tmp/tmp3xtt_l70.c"
target datalayout = "e-m:e-p270: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/tmp3xtt_l70.c"
target datalayout = "e-m:e-p270: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/tmp75ml7gkz.c'
source_filename = "/tmp/tmp75ml7gkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Level: %-2d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_level(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
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 @move_cursor_xy(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret void
}
declare i32 @move_cursor_xy(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp75ml7gkz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Level: %-2d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_level(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
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 @move_cursor_xy(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret void
}
declare i32 @move_cursor_xy(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf9aos3l6.c'
source_filename = "/tmp/tmpf9aos3l6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"g_spSkill\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"g_spScores%i\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"l%i\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UI_SetBestScore(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 8
br i1 %13, label %14, label %15
14: ; preds = %11, %2
br label %53
15: ; preds = %11
%16 = call i64 @trap_Cvar_VariableValue(ptr noundef @.str)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %23, label %20
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 5
br i1 %22, label %23, label %24
23: ; preds = %20, %15
br label %53
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = call i32 @va(ptr noundef @.str.1, i32 noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = call i32 @trap_Cvar_VariableStringBuffer(i32 noundef %26, ptr noundef %27, i32 noundef 1024)
%29 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @Com_sprintf(ptr noundef %29, i32 noundef 16, ptr noundef @.str.2, i32 noundef %30)
%32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%33 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @Info_ValueForKey(ptr noundef %32, ptr noundef %33)
%35 = call i32 @atoi(i32 noundef %34)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %24
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
br label %53
43: ; preds = %38, %24
%44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%45 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%46 = load i32, ptr %4, align 4
%47 = call i32 @va(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 @Info_SetValueForKey(ptr noundef %44, ptr noundef %45, i32 noundef %47)
%49 = load i32, ptr %5, align 4
%50 = call i32 @va(ptr noundef @.str.1, i32 noundef %49)
%51 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%52 = call i32 @trap_Cvar_Set(i32 noundef %50, ptr noundef %51)
br label %53
53: ; preds = %43, %42, %23, %14
ret void
}
declare i64 @trap_Cvar_VariableValue(ptr noundef) #1
declare i32 @trap_Cvar_VariableStringBuffer(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @va(ptr noundef, i32 noundef) #1
declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @Info_ValueForKey(ptr noundef, ptr noundef) #1
declare i32 @Info_SetValueForKey(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @trap_Cvar_Set(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/tmpf9aos3l6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"g_spSkill\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"g_spScores%i\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"l%i\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UI_SetBestScore(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 8
br i1 %13, label %14, label %15
14: ; preds = %11, %2
br label %53
15: ; preds = %11
%16 = call i64 @trap_Cvar_VariableValue(ptr noundef @.str)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %23, label %20
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 5
br i1 %22, label %23, label %24
23: ; preds = %20, %15
br label %53
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = call i32 @va(ptr noundef @.str.1, i32 noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = call i32 @trap_Cvar_VariableStringBuffer(i32 noundef %26, ptr noundef %27, i32 noundef 1024)
%29 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @Com_sprintf(ptr noundef %29, i32 noundef 16, ptr noundef @.str.2, i32 noundef %30)
%32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%33 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @Info_ValueForKey(ptr noundef %32, ptr noundef %33)
%35 = call i32 @atoi(i32 noundef %34)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %24
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
br label %53
43: ; preds = %38, %24
%44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%45 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%46 = load i32, ptr %4, align 4
%47 = call i32 @va(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 @Info_SetValueForKey(ptr noundef %44, ptr noundef %45, i32 noundef %47)
%49 = load i32, ptr %5, align 4
%50 = call i32 @va(ptr noundef @.str.1, i32 noundef %49)
%51 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%52 = call i32 @trap_Cvar_Set(i32 noundef %50, ptr noundef %51)
br label %53
53: ; preds = %43, %42, %23, %14
ret void
}
declare i64 @trap_Cvar_VariableValue(ptr noundef) #1
declare i32 @trap_Cvar_VariableStringBuffer(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @va(ptr noundef, i32 noundef) #1
declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @Info_ValueForKey(ptr noundef, ptr noundef) #1
declare i32 @Info_SetValueForKey(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @trap_Cvar_Set(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/tmpo2a5hzgi.c'
source_filename = "/tmp/tmpo2a5hzgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GJstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i64 @GJmalloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strcpy(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @GJmalloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @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/tmpo2a5hzgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GJstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i64 @GJmalloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strcpy(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @GJmalloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @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/tmptwqd6aj4.c'
source_filename = "/tmp/tmptwqd6aj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %14
14: ; preds = %123, %0
%15 = load i64, ptr %2, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %2, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %128
18: ; preds = %14
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%20 = load i64, ptr %5, align 8
%21 = add nsw i64 %20, 10
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %9, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %10, align 8
%24 = load i64, ptr %5, align 8
%25 = add nsw i64 %24, 10
%26 = alloca i8, i64 %25, align 16
store i64 %25, ptr %11, align 8
%27 = load i64, ptr %5, align 8
%28 = add nsw i64 %27, 10
%29 = alloca i64, i64 %28, align 16
store i64 %28, ptr %12, align 8
%30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23)
%31 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
store i64 0, ptr %6, align 8
br label %32
32: ; preds = %43, %18
%33 = load i64, ptr %6, align 8
%34 = load i64, ptr %5, align 8
%35 = icmp slt i64 %33, %34
br i1 %35, label %36, label %46
36: ; preds = %32
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %23, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i64
%41 = load i64, ptr %6, align 8
%42 = getelementptr inbounds i64, ptr %29, i64 %41
store i64 %40, ptr %42, align 8
br label %43
43: ; preds = %36
%44 = load i64, ptr %6, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %6, align 8
br label %32, !llvm.loop !6
46: ; preds = %32
%47 = load i64, ptr %5, align 8
%48 = sub nsw i64 %47, 1
%49 = call i32 @mergesort(ptr noundef %29, i32 noundef 0, i64 noundef %48)
store i64 0, ptr %6, align 8
br label %50
50: ; preds = %61, %46
%51 = load i64, ptr %6, align 8
%52 = load i64, ptr %5, align 8
%53 = icmp slt i64 %51, %52
br i1 %53, label %54, label %64
54: ; preds = %50
%55 = load i64, ptr %6, align 8
%56 = getelementptr inbounds i64, ptr %29, i64 %55
%57 = load i64, ptr %56, align 8
%58 = trunc i64 %57 to i8
%59 = load i64, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %23, i64 %59
store i8 %58, ptr %60, align 1
br label %61
61: ; preds = %54
%62 = load i64, ptr %6, align 8
%63 = add nsw i64 %62, 1
store i64 %63, ptr %6, align 8
br label %50, !llvm.loop !8
64: ; preds = %50
%65 = load i64, ptr %4, align 8
%66 = call i64 @log2(i64 noundef %65)
%67 = load i64, ptr %5, align 8
%68 = call i64 @log2(i64 noundef %67)
%69 = sdiv i64 %66, %68
store i64 %69, ptr %3, align 8
%70 = load i64, ptr %3, align 8
%71 = add nsw i64 %70, 1
store i64 %71, ptr %3, align 8
store i64 1, ptr %6, align 8
br label %72
72: ; preds = %82, %64
%73 = load i64, ptr %6, align 8
%74 = load i64, ptr %3, align 8
%75 = icmp slt i64 %73, %74
br i1 %75, label %76, label %85
76: ; preds = %72
%77 = load i64, ptr %5, align 8
%78 = load i64, ptr %6, align 8
%79 = call i64 @pw(i64 noundef %77, i64 noundef %78)
%80 = load i64, ptr %4, align 8
%81 = sub nsw i64 %80, %79
store i64 %81, ptr %4, align 8
br label %82
82: ; preds = %76
%83 = load i64, ptr %6, align 8
%84 = add nsw i64 %83, 1
store i64 %84, ptr %6, align 8
br label %72, !llvm.loop !9
85: ; preds = %72
store i64 0, ptr %8, align 8
%86 = load i64, ptr %3, align 8
%87 = sub nsw i64 %86, 1
store i64 %87, ptr %6, align 8
br label %88
88: ; preds = %120, %85
%89 = load i64, ptr %6, align 8
%90 = icmp sge i64 %89, 0
br i1 %90, label %91, label %123
91: ; preds = %88
%92 = load i64, ptr %4, align 8
%93 = load i64, ptr %5, align 8
%94 = load i64, ptr %6, align 8
%95 = call i64 @pw(i64 noundef %93, i64 noundef %94)
%96 = sdiv i64 %92, %95
store i64 %96, ptr %7, align 8
%97 = load i64, ptr %4, align 8
%98 = load i64, ptr %5, align 8
%99 = load i64, ptr %6, align 8
%100 = call i64 @pw(i64 noundef %98, i64 noundef %99)
%101 = srem i64 %97, %100
store i64 %101, ptr %4, align 8
%102 = load i64, ptr %6, align 8
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %111
104: ; preds = %91
%105 = load i64, ptr %7, align 8
%106 = sub nsw i64 %105, 1
%107 = getelementptr inbounds i8, ptr %23, i64 %106
%108 = load i8, ptr %107, align 1
%109 = load i64, ptr %8, align 8
%110 = getelementptr inbounds i8, ptr %26, i64 %109
store i8 %108, ptr %110, align 1
br label %117
111: ; preds = %91
%112 = load i64, ptr %7, align 8
%113 = getelementptr inbounds i8, ptr %23, i64 %112
%114 = load i8, ptr %113, align 1
%115 = load i64, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %26, i64 %115
store i8 %114, ptr %116, align 1
br label %117
117: ; preds = %111, %104
%118 = load i64, ptr %8, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %8, align 8
br label %120
120: ; preds = %117
%121 = load i64, ptr %6, align 8
%122 = add nsw i64 %121, -1
store i64 %122, ptr %6, align 8
br label %88, !llvm.loop !10
123: ; preds = %88
%124 = load i64, ptr %8, align 8
%125 = getelementptr inbounds i8, ptr %26, i64 %124
store i8 0, ptr %125, align 1
%126 = call i32 @printf(ptr noundef @.str.2, ptr noundef %26)
%127 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %127)
br label %14, !llvm.loop !11
128: ; preds = %14
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @mergesort(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @log2(i64 noundef) #1
declare i64 @pw(i64 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptwqd6aj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%14 = load i64, ptr %2, align 8
%15 = add nsw i64 %14, -1
store i64 %15, ptr %2, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %.lr.ph11, label %137
.lr.ph11: ; preds = %0
br label %17
17: ; preds = %.lr.ph11, %129
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%19 = load i64, ptr %5, align 8
%20 = add nsw i64 %19, 10
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %9, align 8
%22 = alloca i8, i64 %20, align 16
store i64 %20, ptr %10, align 8
%23 = load i64, ptr %5, align 8
%24 = add nsw i64 %23, 10
%25 = alloca i8, i64 %24, align 16
store i64 %24, ptr %11, align 8
%26 = load i64, ptr %5, align 8
%27 = add nsw i64 %26, 10
%28 = alloca i64, i64 %27, align 16
store i64 %27, ptr %12, align 8
%29 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
%30 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
store i64 0, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = load i64, ptr %5, align 8
%33 = icmp slt i64 %31, %32
br i1 %33, label %.lr.ph, label %47
.lr.ph: ; preds = %17
br label %34
34: ; preds = %.lr.ph, %41
%35 = load i64, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %22, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i64
%39 = load i64, ptr %6, align 8
%40 = getelementptr inbounds i64, ptr %28, i64 %39
store i64 %38, ptr %40, align 8
br label %41
41: ; preds = %34
%42 = load i64, ptr %6, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %5, align 8
%46 = icmp slt i64 %44, %45
br i1 %46, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %17
%48 = load i64, ptr %5, align 8
%49 = sub nsw i64 %48, 1
%50 = call i32 @mergesort(ptr noundef %28, i32 noundef 0, i64 noundef %49)
store i64 0, ptr %6, align 8
%51 = load i64, ptr %6, align 8
%52 = load i64, ptr %5, align 8
%53 = icmp slt i64 %51, %52
br i1 %53, label %.lr.ph2, label %67
.lr.ph2: ; preds = %47
br label %54
54: ; preds = %.lr.ph2, %61
%55 = load i64, ptr %6, align 8
%56 = getelementptr inbounds i64, ptr %28, i64 %55
%57 = load i64, ptr %56, align 8
%58 = trunc i64 %57 to i8
%59 = load i64, ptr %6, align 8
%60 = getelementptr inbounds i8, ptr %22, i64 %59
store i8 %58, ptr %60, align 1
br label %61
61: ; preds = %54
%62 = load i64, ptr %6, align 8
%63 = add nsw i64 %62, 1
store i64 %63, ptr %6, align 8
%64 = load i64, ptr %6, align 8
%65 = load i64, ptr %5, align 8
%66 = icmp slt i64 %64, %65
br i1 %66, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %67
67: ; preds = %._crit_edge3, %47
%68 = load i64, ptr %4, align 8
%69 = call i64 @log2(i64 noundef %68)
%70 = load i64, ptr %5, align 8
%71 = call i64 @log2(i64 noundef %70)
%72 = sdiv i64 %69, %71
store i64 %72, ptr %3, align 8
%73 = load i64, ptr %3, align 8
%74 = add nsw i64 %73, 1
store i64 %74, ptr %3, align 8
store i64 1, ptr %6, align 8
%75 = load i64, ptr %6, align 8
%76 = load i64, ptr %3, align 8
%77 = icmp slt i64 %75, %76
br i1 %77, label %.lr.ph5, label %90
.lr.ph5: ; preds = %67
br label %78
78: ; preds = %.lr.ph5, %84
%79 = load i64, ptr %5, align 8
%80 = load i64, ptr %6, align 8
%81 = call i64 @pw(i64 noundef %79, i64 noundef %80)
%82 = load i64, ptr %4, align 8
%83 = sub nsw i64 %82, %81
store i64 %83, ptr %4, align 8
br label %84
84: ; preds = %78
%85 = load i64, ptr %6, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %6, align 8
%87 = load i64, ptr %6, align 8
%88 = load i64, ptr %3, align 8
%89 = icmp slt i64 %87, %88
br i1 %89, label %78, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %84
br label %90
90: ; preds = %._crit_edge6, %67
store i64 0, ptr %8, align 8
%91 = load i64, ptr %3, align 8
%92 = sub nsw i64 %91, 1
store i64 %92, ptr %6, align 8
%93 = load i64, ptr %6, align 8
%94 = icmp sge i64 %93, 0
br i1 %94, label %.lr.ph8, label %129
.lr.ph8: ; preds = %90
br label %95
95: ; preds = %.lr.ph8, %124
%96 = load i64, ptr %4, align 8
%97 = load i64, ptr %5, align 8
%98 = load i64, ptr %6, align 8
%99 = call i64 @pw(i64 noundef %97, i64 noundef %98)
%100 = sdiv i64 %96, %99
store i64 %100, ptr %7, align 8
%101 = load i64, ptr %4, align 8
%102 = load i64, ptr %5, align 8
%103 = load i64, ptr %6, align 8
%104 = call i64 @pw(i64 noundef %102, i64 noundef %103)
%105 = srem i64 %101, %104
store i64 %105, ptr %4, align 8
%106 = load i64, ptr %6, align 8
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %115
108: ; preds = %95
%109 = load i64, ptr %7, align 8
%110 = sub nsw i64 %109, 1
%111 = getelementptr inbounds i8, ptr %22, i64 %110
%112 = load i8, ptr %111, align 1
%113 = load i64, ptr %8, align 8
%114 = getelementptr inbounds i8, ptr %25, i64 %113
store i8 %112, ptr %114, align 1
br label %121
115: ; preds = %95
%116 = load i64, ptr %7, align 8
%117 = getelementptr inbounds i8, ptr %22, i64 %116
%118 = load i8, ptr %117, align 1
%119 = load i64, ptr %8, align 8
%120 = getelementptr inbounds i8, ptr %25, i64 %119
store i8 %118, ptr %120, align 1
br label %121
121: ; preds = %115, %108
%122 = load i64, ptr %8, align 8
%123 = add nsw i64 %122, 1
store i64 %123, ptr %8, align 8
br label %124
124: ; preds = %121
%125 = load i64, ptr %6, align 8
%126 = add nsw i64 %125, -1
store i64 %126, ptr %6, align 8
%127 = load i64, ptr %6, align 8
%128 = icmp sge i64 %127, 0
br i1 %128, label %95, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %124
br label %129
129: ; preds = %._crit_edge9, %90
%130 = load i64, ptr %8, align 8
%131 = getelementptr inbounds i8, ptr %25, i64 %130
store i8 0, ptr %131, align 1
%132 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25)
%133 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %133)
%134 = load i64, ptr %2, align 8
%135 = add nsw i64 %134, -1
store i64 %135, ptr %2, align 8
%136 = icmp ne i64 %134, 0
br i1 %136, label %17, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %129
br label %137
137: ; preds = %._crit_edge12, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @mergesort(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @log2(i64 noundef) #1
declare i64 @pw(i64 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmplshu8k78.c'
source_filename = "/tmp/tmplshu8k78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnv1024UpdateString(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 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @fnv1024UpdateBuffer(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @fnv1024UpdateBuffer(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplshu8k78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnv1024UpdateString(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 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @fnv1024UpdateBuffer(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @fnv1024UpdateBuffer(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl0cjbnw4.c'
source_filename = "/tmp/tmpl0cjbnw4.c"
target datalayout = "e-m:e-p270: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/tmpl0cjbnw4.c"
target datalayout = "e-m:e-p270: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/tmptp8vze57.c'
source_filename = "/tmp/tmptp8vze57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tLog Aux Panel\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1
@.str.2 = private unnamed_addr constant [503 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsBlog version does not save delete (Del) operation data.<p><a href=unxsBlog.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ExttLogButtons() #0 {
%1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 (...) @LogSummary()
%5 = call i32 (...) @CloseFieldSet()
ret void
}
declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @LogSummary(...) #1
declare i32 @CloseFieldSet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptp8vze57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tLog Aux Panel\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1
@.str.2 = private unnamed_addr constant [503 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsBlog version does not save delete (Del) operation data.<p><a href=unxsBlog.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ExttLogButtons() #0 {
%1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 (...) @LogSummary()
%5 = call i32 (...) @CloseFieldSet()
ret void
}
declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @LogSummary(...) #1
declare i32 @CloseFieldSet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmput_omvk4.c'
source_filename = "/tmp/tmput_omvk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"this:%p offset:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(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/tmput_omvk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"this:%p offset:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(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/tmpc73j5jxr.c'
source_filename = "/tmp/tmpc73j5jxr.c"
target datalayout = "e-m:e-p270: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/tmpc73j5jxr.c"
target datalayout = "e-m:e-p270: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/tmp5jqjy64_.c'
source_filename = "/tmp/tmp5jqjy64_.c"
target datalayout = "e-m:e-p270: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/tmp5jqjy64_.c"
target datalayout = "e-m:e-p270: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/tmp18ce_xda.c'
source_filename = "/tmp/tmp18ce_xda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bytes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %23, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %15
15: ; preds = %13, %10
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %6, !llvm.loop !6
26: ; preds = %6
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp18ce_xda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bytes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4kcrru79.c'
source_filename = "/tmp/tmp4kcrru79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Bytewerk/uClinux-ipcam/refs/heads/master/buffer.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @string_mod(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %9, align 8
store i32 1, ptr %10, align 4
br label %13
13: ; preds = %4
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 @assert_failed(ptr noundef @.str, i32 noundef 779)
br label %18
18: ; preds = %16, %13
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19, %44
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %9, align 8
%23 = load i8, ptr %21, align 1
store i8 %23, ptr %11, align 1
%24 = load i8, ptr %11, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %20
%27 = load i8, ptr %11, align 1
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @char_inc_exc(i8 noundef signext %27, i32 noundef %28, i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %26
%33 = load i8, ptr %8, align 1
store i8 %33, ptr %11, align 1
store i32 0, ptr %10, align 4
br label %34
34: ; preds = %32, %26
%35 = load i8, ptr %11, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i8, ptr %11, align 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
store i8 %38, ptr %39, align 1
br label %41
41: ; preds = %37, %34
br label %44
42: ; preds = %20
%43 = load ptr, ptr %5, align 8
store i8 0, ptr %43, align 1
br label %45
44: ; preds = %41
br label %20
45: ; preds = %42
%46 = load i32, ptr %10, align 4
ret i32 %46
}
declare i32 @assert_failed(ptr noundef, i32 noundef) #1
declare i32 @char_inc_exc(i8 noundef signext, 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/tmp4kcrru79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Bytewerk/uClinux-ipcam/refs/heads/master/buffer.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @string_mod(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %9, align 8
store i32 1, ptr %10, align 4
br label %13
13: ; preds = %4
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 @assert_failed(ptr noundef @.str, i32 noundef 779)
br label %18
18: ; preds = %16, %13
br label %19
19: ; preds = %18
%20 = load ptr, ptr %9, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %9, align 8
%22 = load i8, ptr %20, align 1
store i8 %22, ptr %11, align 1
%23 = load i8, ptr %11, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %.lr.ph, label %41
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %43
%26 = load i8, ptr %11, align 1
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = call i32 @char_inc_exc(i8 noundef signext %26, i32 noundef %27, i32 noundef %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %25
%32 = load i8, ptr %8, align 1
store i8 %32, ptr %11, align 1
store i32 0, ptr %10, align 4
br label %33
33: ; preds = %31, %25
%34 = load i8, ptr %11, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = load i8, ptr %11, align 1
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %5, align 8
store i8 %37, ptr %38, align 1
br label %40
40: ; preds = %36, %33
br label %43
._crit_edge: ; preds = %43
br label %41
41: ; preds = %._crit_edge, %19
%42 = load ptr, ptr %5, align 8
store i8 0, ptr %42, align 1
br label %49
43: ; preds = %40
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %9, align 8
%46 = load i8, ptr %44, align 1
store i8 %46, ptr %11, align 1
%47 = load i8, ptr %11, align 1
%48 = icmp ne i8 %47, 0
br i1 %48, label %25, label %._crit_edge
49: ; preds = %41
%50 = load i32, ptr %10, align 4
ret i32 %50
}
declare i32 @assert_failed(ptr noundef, i32 noundef) #1
declare i32 @char_inc_exc(i8 noundef signext, 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/tmpr5o063h_.c'
source_filename = "/tmp/tmpr5o063h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio37/value\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Error en lectura\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @malloc(i32 noundef 1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i64 @g_read_file(ptr noundef @.str, ptr noundef %8, i32 noundef 1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare ptr @malloc(i32 noundef) #1
declare i64 @g_read_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5o063h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio37/value\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Error en lectura\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @malloc(i32 noundef 1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i64 @g_read_file(ptr noundef @.str, ptr noundef %8, i32 noundef 1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare ptr @malloc(i32 noundef) #1
declare i64 @g_read_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpszek6ag7.c'
source_filename = "/tmp/tmpszek6ag7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/dr/dr%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_SYNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @drp_value(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i32 -1, ptr %4, align 4
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = call i32 @snprintf(ptr noundef %6, i32 noundef 32, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr @O_RDWR, align 4
%11 = load i32, ptr @O_SYNC, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @read(i32 noundef %14, ptr noundef %5, i32 noundef 8)
%16 = load i32, ptr %4, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load i64, ptr %5, align 8
ret i64 %18
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, 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/tmpszek6ag7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/dr/dr%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_SYNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @drp_value(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i32 -1, ptr %4, align 4
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = call i32 @snprintf(ptr noundef %6, i32 noundef 32, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr @O_RDWR, align 4
%11 = load i32, ptr @O_SYNC, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @read(i32 noundef %14, ptr noundef %5, i32 noundef 8)
%16 = load i32, ptr %4, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load i64, ptr %5, align 8
ret i64 %18
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, 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/tmpyfglg8vj.c'
source_filename = "/tmp/tmpyfglg8vj.c"
target datalayout = "e-m:e-p270: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/tmpyfglg8vj.c"
target datalayout = "e-m:e-p270: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/tmp3a31bk2y.c'
source_filename = "/tmp/tmp3a31bk2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3a31bk2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_lp2e5iu.c'
source_filename = "/tmp/tmp_lp2e5iu.c"
target datalayout = "e-m:e-p270: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/tmp_lp2e5iu.c"
target datalayout = "e-m:e-p270: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/tmpekfcit76.c'
source_filename = "/tmp/tmpekfcit76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
store i32 %2, ptr %1, align 4
%3 = call i32 (...) @foo()
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, %3
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
ret i32 %6
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpekfcit76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
store i32 %2, ptr %1, align 4
%3 = call i32 (...) @foo()
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, %3
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
ret i32 %6
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuhezbz82.c'
source_filename = "/tmp/tmpuhezbz82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AUsage : tx_data_pause [ENABLE][TX_BUF_CNT]\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\0AOptions: ENABLE : 0 - Disable Tx data pause events\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0A 1 - Enable Tx data pause events\00", align 1
@.str.3 = private unnamed_addr constant [61 x i8] c"\0A TX_BUF_CNT: Max number of TX buffer for PS clients\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"\0A empty - get Tx data pause settings\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_txdatapause_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmpuhezbz82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0AUsage : tx_data_pause [ENABLE][TX_BUF_CNT]\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\0AOptions: ENABLE : 0 - Disable Tx data pause events\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0A 1 - Enable Tx data pause events\00", align 1
@.str.3 = private unnamed_addr constant [61 x i8] c"\0A TX_BUF_CNT: Max number of TX buffer for PS clients\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"\0A empty - get Tx data pause settings\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_txdatapause_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmpp_p7qmnr.c'
source_filename = "/tmp/tmpp_p7qmnr.c"
target datalayout = "e-m:e-p270: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/tmpp_p7qmnr.c"
target datalayout = "e-m:e-p270: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/tmplnqr1989.c'
source_filename = "/tmp/tmplnqr1989.c"
target datalayout = "e-m:e-p270: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/tmplnqr1989.c"
target datalayout = "e-m:e-p270: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/tmppylvk8m1.c'
source_filename = "/tmp/tmppylvk8m1.c"
target datalayout = "e-m:e-p270: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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @putc(i8 noundef signext 99, i32 noundef %6)
ret i32 %7
}
declare i32 @putc(i8 noundef signext, 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/tmppylvk8m1.c"
target datalayout = "e-m:e-p270: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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @putc(i8 noundef signext 99, i32 noundef %6)
ret i32 %7
}
declare i32 @putc(i8 noundef signext, 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/tmpmiy89onx.c'
source_filename = "/tmp/tmpmiy89onx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_fulldigit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %5
5: ; preds = %19, %1
%6 = load i64, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp ult i64 %6, %8
br i1 %9, label %10, label %22
10: ; preds = %5
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @isdigit(i8 noundef signext %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %10
store i32 0, ptr %2, align 4
br label %23
18: ; preds = %10
br label %19
19: ; preds = %18
%20 = load i64, ptr %4, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %4, align 8
br label %5, !llvm.loop !6
22: ; preds = %5
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i64 @strlen(ptr noundef) #1
declare i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmiy89onx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_fulldigit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = icmp ult i64 %5, %7
br i1 %8, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %18
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call i32 @isdigit(i8 noundef signext %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %9
store i32 0, ptr %2, align 4
br label %26
17: ; preds = %9
br label %18
18: ; preds = %17
%19 = load i64, ptr %4, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %4, align 8
%21 = load i64, ptr %4, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = icmp ult i64 %21, %23
br i1 %24, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %26
26: ; preds = %25, %16
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i64 @strlen(ptr noundef) #1
declare i32 @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"}
|
; ModuleID = '/tmp/tmpqece8wu7.c'
source_filename = "/tmp/tmpqece8wu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"BF51018480\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RSA2048_load_prikey_Q(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 %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @RSA2048_load(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef 128)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @RSA2048_load(i32 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/tmpqece8wu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"BF51018480\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RSA2048_load_prikey_Q(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 %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @RSA2048_load(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef 128)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @RSA2048_load(i32 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/tmph8zcyqmb.c'
source_filename = "/tmp/tmph8zcyqmb.c"
target datalayout = "e-m:e-p270: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/tmph8zcyqmb.c"
target datalayout = "e-m:e-p270: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/tmpn5f8brt1.c'
source_filename = "/tmp/tmpn5f8brt1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5f8brt1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbley6pmw.c'
source_filename = "/tmp/tmpbley6pmw.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c" Can not set SO_REUSEADDR option \00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"bind socket_serveur\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
store i32 1, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr @SOL_SOCKET, align 4
%17 = load i32, ptr @SO_REUSEADDR, align 4
%18 = call i32 @setsockopt(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %4, i32 noundef 4)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %14
%23 = call i32 (...) @initialiser_signaux()
%24 = load i32, ptr @AF_INET, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @htons(i32 noundef %26)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %27, ptr %28, align 4
%29 = load i32, ptr @INADDR_ANY, align 4
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @bind(i32 noundef %32, ptr noundef %5, i32 noundef 12)
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %38
35: ; preds = %22
%36 = call i32 @perror(ptr noundef @.str.2)
%37 = call i32 @exit(i32 noundef 2) #3
unreachable
38: ; preds = %22
%39 = load i32, ptr %3, align 4
%40 = call i32 @listen(i32 noundef %39, i32 noundef 10)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 3) #3
unreachable
45: ; preds = %38
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @initialiser_signaux(...) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbley6pmw.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c" Can not set SO_REUSEADDR option \00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"bind socket_serveur\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
store i32 1, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr @SOL_SOCKET, align 4
%17 = load i32, ptr @SO_REUSEADDR, align 4
%18 = call i32 @setsockopt(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %4, i32 noundef 4)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %14
%23 = call i32 (...) @initialiser_signaux()
%24 = load i32, ptr @AF_INET, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @htons(i32 noundef %26)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %27, ptr %28, align 4
%29 = load i32, ptr @INADDR_ANY, align 4
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @bind(i32 noundef %32, ptr noundef %5, i32 noundef 12)
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %38
35: ; preds = %22
%36 = call i32 @perror(ptr noundef @.str.2)
%37 = call i32 @exit(i32 noundef 2) #3
unreachable
38: ; preds = %22
%39 = load i32, ptr %3, align 4
%40 = call i32 @listen(i32 noundef %39, i32 noundef 10)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 3) #3
unreachable
45: ; preds = %38
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @initialiser_signaux(...) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_7unfc_z.c'
source_filename = "/tmp/tmp_7unfc_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qd_quick_three_accum(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, 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 double %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load double, ptr %11, align 8
%13 = load double, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
%15 = call double @dd_two_sum(double noundef %12, double noundef %13, ptr noundef %14)
store double %15, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load double, ptr %16, align 8
%18 = load double, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = call double @dd_two_sum(double noundef %17, double noundef %18, ptr noundef %19)
store double %20, ptr %8, align 8
%21 = load ptr, ptr %5, align 8
%22 = load double, ptr %21, align 8
%23 = fcmp une double %22, 0.000000e+00
%24 = zext i1 %23 to i64
%25 = select i1 %23, i32 1, i32 0
store i32 %25, ptr %9, align 4
%26 = load ptr, ptr %6, align 8
%27 = load double, ptr %26, align 8
%28 = fcmp une double %27, 0.000000e+00
%29 = zext i1 %28 to i64
%30 = select i1 %28, i32 1, i32 0
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %38
33: ; preds = %3
%34 = load i32, ptr %10, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = load double, ptr %8, align 8
store double %37, ptr %4, align 8
br label %51
38: ; preds = %33, %3
%39 = load i32, ptr %10, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
store double %43, ptr %44, align 8
%45 = load double, ptr %8, align 8
%46 = load ptr, ptr %5, align 8
store double %45, ptr %46, align 8
br label %50
47: ; preds = %38
%48 = load double, ptr %8, align 8
%49 = load ptr, ptr %5, align 8
store double %48, ptr %49, align 8
br label %50
50: ; preds = %47, %41
store double 0.000000e+00, ptr %4, align 8
br label %51
51: ; preds = %50, %36
%52 = load double, ptr %4, align 8
ret double %52
}
declare double @dd_two_sum(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7unfc_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qd_quick_three_accum(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, 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 double %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load double, ptr %11, align 8
%13 = load double, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
%15 = call double @dd_two_sum(double noundef %12, double noundef %13, ptr noundef %14)
store double %15, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load double, ptr %16, align 8
%18 = load double, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = call double @dd_two_sum(double noundef %17, double noundef %18, ptr noundef %19)
store double %20, ptr %8, align 8
%21 = load ptr, ptr %5, align 8
%22 = load double, ptr %21, align 8
%23 = fcmp une double %22, 0.000000e+00
%24 = zext i1 %23 to i64
%25 = select i1 %23, i32 1, i32 0
store i32 %25, ptr %9, align 4
%26 = load ptr, ptr %6, align 8
%27 = load double, ptr %26, align 8
%28 = fcmp une double %27, 0.000000e+00
%29 = zext i1 %28 to i64
%30 = select i1 %28, i32 1, i32 0
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %38
33: ; preds = %3
%34 = load i32, ptr %10, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = load double, ptr %8, align 8
store double %37, ptr %4, align 8
br label %51
38: ; preds = %33, %3
%39 = load i32, ptr %10, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
store double %43, ptr %44, align 8
%45 = load double, ptr %8, align 8
%46 = load ptr, ptr %5, align 8
store double %45, ptr %46, align 8
br label %50
47: ; preds = %38
%48 = load double, ptr %8, align 8
%49 = load ptr, ptr %5, align 8
store double %48, ptr %49, align 8
br label %50
50: ; preds = %47, %41
store double 0.000000e+00, ptr %4, align 8
br label %51
51: ; preds = %50, %36
%52 = load double, ptr %4, align 8
ret double %52
}
declare double @dd_two_sum(double noundef, double 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/tmpmy20zgxk.c'
source_filename = "/tmp/tmpmy20zgxk.c"
target datalayout = "e-m:e-p270: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/tmpmy20zgxk.c"
target datalayout = "e-m:e-p270: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/tmpnpou2spl.c'
source_filename = "/tmp/tmpnpou2spl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_alloc_l3align(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @mem_alloc(i32 noundef 64, i64 noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @mem_alloc(i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpou2spl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_alloc_l3align(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @mem_alloc(i32 noundef 64, i64 noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @mem_alloc(i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprhl75m51.c'
source_filename = "/tmp/tmprhl75m51.c"
target datalayout = "e-m:e-p270: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/tmprhl75m51.c"
target datalayout = "e-m:e-p270: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/tmpcu2mz_yl.c'
source_filename = "/tmp/tmpcu2mz_yl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"y\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"a: %p:%s b: %p:%s \00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"a: %p:%s b: %p:%s ret: %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"a: %p:%s b: %p:%s len: %d \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"ttttt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [80 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [80 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [80 x i8], align 16
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca [80 x i8], align 16
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca [80 x i8], align 16
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca [80 x i8], align 16
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca [80 x i8], align 16
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80, i1 false)
%29 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 0
store i8 120, ptr %29, align 16
%30 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 1
store i8 120, ptr %30, align 1
%31 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 2
store i8 120, ptr %31, align 2
store ptr @.str, ptr %3, align 8
%32 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
%37 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%38 = load ptr, ptr %3, align 8
%39 = call ptr @mastrcpy(ptr noundef %37, ptr noundef %38)
store ptr %39, ptr %4, align 8
%40 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%41 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %3, align 8
%43 = load ptr, ptr %3, align 8
%44 = load ptr, ptr %4, align 8
%45 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 80, i1 false)
%46 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 0
store i8 120, ptr %46, align 16
%47 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 1
store i8 120, ptr %47, align 1
%48 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 2
store i8 120, ptr %48, align 2
store ptr @.str, ptr %6, align 8
%49 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%50 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef 0)
%54 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%55 = load ptr, ptr %6, align 8
%56 = call ptr @mastrncpy(ptr noundef %54, ptr noundef %55, i32 noundef 0)
store ptr %56, ptr %7, align 8
%57 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%58 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%59 = load ptr, ptr %6, align 8
%60 = load ptr, ptr %6, align 8
%61 = load ptr, ptr %7, align 8
%62 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 80, i1 false)
%63 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 0
store i8 120, ptr %63, align 16
%64 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 1
store i8 120, ptr %64, align 1
%65 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 2
store i8 120, ptr %65, align 2
store ptr @.str, ptr %9, align 8
%66 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%67 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %9, align 8
%70 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, i32 noundef 1)
%71 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%72 = load ptr, ptr %9, align 8
%73 = call ptr @mastrncpy(ptr noundef %71, ptr noundef %72, i32 noundef 1)
store ptr %73, ptr %10, align 8
%74 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%75 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%76 = load ptr, ptr %9, align 8
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %10, align 8
%79 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 80, i1 false)
%80 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 0
store i8 120, ptr %80, align 16
%81 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 1
store i8 120, ptr %81, align 1
%82 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 2
store i8 120, ptr %82, align 2
store ptr @.str, ptr %12, align 8
%83 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%84 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %12, align 8
%87 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef 2)
%88 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%89 = load ptr, ptr %12, align 8
%90 = call ptr @mastrncpy(ptr noundef %88, ptr noundef %89, i32 noundef 2)
store ptr %90, ptr %13, align 8
%91 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%92 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%93 = load ptr, ptr %12, align 8
%94 = load ptr, ptr %12, align 8
%95 = load ptr, ptr %13, align 8
%96 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %91, ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 80, i1 false)
%97 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 0
store i8 120, ptr %97, align 16
%98 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 1
store i8 120, ptr %98, align 1
%99 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 2
store i8 120, ptr %99, align 2
store ptr @.str, ptr %15, align 8
%100 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%101 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%102 = load ptr, ptr %15, align 8
%103 = load ptr, ptr %15, align 8
%104 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, i32 noundef 3)
%105 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%106 = load ptr, ptr %15, align 8
%107 = call ptr @mastrncpy(ptr noundef %105, ptr noundef %106, i32 noundef 3)
store ptr %107, ptr %16, align 8
%108 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%109 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%110 = load ptr, ptr %15, align 8
%111 = load ptr, ptr %15, align 8
%112 = load ptr, ptr %16, align 8
%113 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112)
call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 80, i1 false)
%114 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 0
store i8 120, ptr %114, align 16
%115 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 1
store i8 120, ptr %115, align 1
%116 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 2
store i8 120, ptr %116, align 2
store ptr @.str.4, ptr %18, align 8
%117 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%118 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%119 = load ptr, ptr %18, align 8
%120 = load ptr, ptr %18, align 8
%121 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %117, ptr noundef %118, ptr noundef %119, ptr noundef %120, i32 noundef 0)
%122 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%123 = load ptr, ptr %18, align 8
%124 = call ptr @mastrncpy(ptr noundef %122, ptr noundef %123, i32 noundef 0)
store ptr %124, ptr %19, align 8
%125 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%126 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%127 = load ptr, ptr %18, align 8
%128 = load ptr, ptr %18, align 8
%129 = load ptr, ptr %19, align 8
%130 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129)
call void @llvm.memset.p0.i64(ptr align 16 %20, i8 0, i64 80, i1 false)
%131 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 0
store i8 120, ptr %131, align 16
%132 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 1
store i8 120, ptr %132, align 1
%133 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 2
store i8 120, ptr %133, align 2
store ptr @.str.4, ptr %21, align 8
%134 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%135 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%136 = load ptr, ptr %21, align 8
%137 = load ptr, ptr %21, align 8
%138 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, i32 noundef 1)
%139 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%140 = load ptr, ptr %21, align 8
%141 = call ptr @mastrncpy(ptr noundef %139, ptr noundef %140, i32 noundef 1)
store ptr %141, ptr %22, align 8
%142 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%143 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%144 = load ptr, ptr %21, align 8
%145 = load ptr, ptr %21, align 8
%146 = load ptr, ptr %22, align 8
%147 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, ptr noundef %146)
call void @llvm.memset.p0.i64(ptr align 16 %23, i8 0, i64 80, i1 false)
%148 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 0
store i8 120, ptr %148, align 16
%149 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 1
store i8 120, ptr %149, align 1
%150 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 2
store i8 120, ptr %150, align 2
store ptr @.str.4, ptr %24, align 8
%151 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%152 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%153 = load ptr, ptr %24, align 8
%154 = load ptr, ptr %24, align 8
%155 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154, i32 noundef 2)
%156 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%157 = load ptr, ptr %24, align 8
%158 = call ptr @mastrncpy(ptr noundef %156, ptr noundef %157, i32 noundef 2)
store ptr %158, ptr %25, align 8
%159 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%160 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%161 = load ptr, ptr %24, align 8
%162 = load ptr, ptr %24, align 8
%163 = load ptr, ptr %25, align 8
%164 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162, ptr noundef %163)
call void @llvm.memset.p0.i64(ptr align 16 %26, i8 0, i64 80, i1 false)
%165 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 0
store i8 120, ptr %165, align 16
%166 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 1
store i8 120, ptr %166, align 1
%167 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 2
store i8 120, ptr %167, align 2
store ptr @.str.4, ptr %27, align 8
%168 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%169 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%170 = load ptr, ptr %27, align 8
%171 = load ptr, ptr %27, align 8
%172 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171, i32 noundef 7)
%173 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%174 = load ptr, ptr %27, align 8
%175 = call ptr @mastrncpy(ptr noundef %173, ptr noundef %174, i32 noundef 7)
store ptr %175, ptr %28, align 8
%176 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%177 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%178 = load ptr, ptr %27, align 8
%179 = load ptr, ptr %27, align 8
%180 = load ptr, ptr %28, align 8
%181 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %176, ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef %180)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
declare ptr @mastrcpy(ptr noundef, ptr noundef) #2
declare ptr @mastrncpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu2mz_yl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"y\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"a: %p:%s b: %p:%s \00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"a: %p:%s b: %p:%s ret: %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"a: %p:%s b: %p:%s len: %d \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"ttttt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [80 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [80 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [80 x i8], align 16
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca [80 x i8], align 16
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca [80 x i8], align 16
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca [80 x i8], align 16
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca [80 x i8], align 16
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80, i1 false)
%29 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 0
store i8 120, ptr %29, align 16
%30 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 1
store i8 120, ptr %30, align 1
%31 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 2
store i8 120, ptr %31, align 2
store ptr @.str, ptr %3, align 8
%32 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
%37 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%38 = load ptr, ptr %3, align 8
%39 = call ptr @mastrcpy(ptr noundef %37, ptr noundef %38)
store ptr %39, ptr %4, align 8
%40 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%41 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %3, align 8
%43 = load ptr, ptr %3, align 8
%44 = load ptr, ptr %4, align 8
%45 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 80, i1 false)
%46 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 0
store i8 120, ptr %46, align 16
%47 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 1
store i8 120, ptr %47, align 1
%48 = getelementptr inbounds [80 x i8], ptr %5, i32 0, i32 2
store i8 120, ptr %48, align 2
store ptr @.str, ptr %6, align 8
%49 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%50 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef 0)
%54 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%55 = load ptr, ptr %6, align 8
%56 = call ptr @mastrncpy(ptr noundef %54, ptr noundef %55, i32 noundef 0)
store ptr %56, ptr %7, align 8
%57 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%58 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%59 = load ptr, ptr %6, align 8
%60 = load ptr, ptr %6, align 8
%61 = load ptr, ptr %7, align 8
%62 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 80, i1 false)
%63 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 0
store i8 120, ptr %63, align 16
%64 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 1
store i8 120, ptr %64, align 1
%65 = getelementptr inbounds [80 x i8], ptr %8, i32 0, i32 2
store i8 120, ptr %65, align 2
store ptr @.str, ptr %9, align 8
%66 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%67 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %9, align 8
%70 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, i32 noundef 1)
%71 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%72 = load ptr, ptr %9, align 8
%73 = call ptr @mastrncpy(ptr noundef %71, ptr noundef %72, i32 noundef 1)
store ptr %73, ptr %10, align 8
%74 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%75 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0
%76 = load ptr, ptr %9, align 8
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %10, align 8
%79 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 80, i1 false)
%80 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 0
store i8 120, ptr %80, align 16
%81 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 1
store i8 120, ptr %81, align 1
%82 = getelementptr inbounds [80 x i8], ptr %11, i32 0, i32 2
store i8 120, ptr %82, align 2
store ptr @.str, ptr %12, align 8
%83 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%84 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %12, align 8
%87 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef 2)
%88 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%89 = load ptr, ptr %12, align 8
%90 = call ptr @mastrncpy(ptr noundef %88, ptr noundef %89, i32 noundef 2)
store ptr %90, ptr %13, align 8
%91 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%92 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%93 = load ptr, ptr %12, align 8
%94 = load ptr, ptr %12, align 8
%95 = load ptr, ptr %13, align 8
%96 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %91, ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 80, i1 false)
%97 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 0
store i8 120, ptr %97, align 16
%98 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 1
store i8 120, ptr %98, align 1
%99 = getelementptr inbounds [80 x i8], ptr %14, i32 0, i32 2
store i8 120, ptr %99, align 2
store ptr @.str, ptr %15, align 8
%100 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%101 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%102 = load ptr, ptr %15, align 8
%103 = load ptr, ptr %15, align 8
%104 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, i32 noundef 3)
%105 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%106 = load ptr, ptr %15, align 8
%107 = call ptr @mastrncpy(ptr noundef %105, ptr noundef %106, i32 noundef 3)
store ptr %107, ptr %16, align 8
%108 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%109 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%110 = load ptr, ptr %15, align 8
%111 = load ptr, ptr %15, align 8
%112 = load ptr, ptr %16, align 8
%113 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112)
call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 80, i1 false)
%114 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 0
store i8 120, ptr %114, align 16
%115 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 1
store i8 120, ptr %115, align 1
%116 = getelementptr inbounds [80 x i8], ptr %17, i32 0, i32 2
store i8 120, ptr %116, align 2
store ptr @.str.4, ptr %18, align 8
%117 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%118 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%119 = load ptr, ptr %18, align 8
%120 = load ptr, ptr %18, align 8
%121 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %117, ptr noundef %118, ptr noundef %119, ptr noundef %120, i32 noundef 0)
%122 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%123 = load ptr, ptr %18, align 8
%124 = call ptr @mastrncpy(ptr noundef %122, ptr noundef %123, i32 noundef 0)
store ptr %124, ptr %19, align 8
%125 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%126 = getelementptr inbounds [80 x i8], ptr %17, i64 0, i64 0
%127 = load ptr, ptr %18, align 8
%128 = load ptr, ptr %18, align 8
%129 = load ptr, ptr %19, align 8
%130 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129)
call void @llvm.memset.p0.i64(ptr align 16 %20, i8 0, i64 80, i1 false)
%131 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 0
store i8 120, ptr %131, align 16
%132 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 1
store i8 120, ptr %132, align 1
%133 = getelementptr inbounds [80 x i8], ptr %20, i32 0, i32 2
store i8 120, ptr %133, align 2
store ptr @.str.4, ptr %21, align 8
%134 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%135 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%136 = load ptr, ptr %21, align 8
%137 = load ptr, ptr %21, align 8
%138 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, i32 noundef 1)
%139 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%140 = load ptr, ptr %21, align 8
%141 = call ptr @mastrncpy(ptr noundef %139, ptr noundef %140, i32 noundef 1)
store ptr %141, ptr %22, align 8
%142 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%143 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%144 = load ptr, ptr %21, align 8
%145 = load ptr, ptr %21, align 8
%146 = load ptr, ptr %22, align 8
%147 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, ptr noundef %146)
call void @llvm.memset.p0.i64(ptr align 16 %23, i8 0, i64 80, i1 false)
%148 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 0
store i8 120, ptr %148, align 16
%149 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 1
store i8 120, ptr %149, align 1
%150 = getelementptr inbounds [80 x i8], ptr %23, i32 0, i32 2
store i8 120, ptr %150, align 2
store ptr @.str.4, ptr %24, align 8
%151 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%152 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%153 = load ptr, ptr %24, align 8
%154 = load ptr, ptr %24, align 8
%155 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154, i32 noundef 2)
%156 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%157 = load ptr, ptr %24, align 8
%158 = call ptr @mastrncpy(ptr noundef %156, ptr noundef %157, i32 noundef 2)
store ptr %158, ptr %25, align 8
%159 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%160 = getelementptr inbounds [80 x i8], ptr %23, i64 0, i64 0
%161 = load ptr, ptr %24, align 8
%162 = load ptr, ptr %24, align 8
%163 = load ptr, ptr %25, align 8
%164 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162, ptr noundef %163)
call void @llvm.memset.p0.i64(ptr align 16 %26, i8 0, i64 80, i1 false)
%165 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 0
store i8 120, ptr %165, align 16
%166 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 1
store i8 120, ptr %166, align 1
%167 = getelementptr inbounds [80 x i8], ptr %26, i32 0, i32 2
store i8 120, ptr %167, align 2
store ptr @.str.4, ptr %27, align 8
%168 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%169 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%170 = load ptr, ptr %27, align 8
%171 = load ptr, ptr %27, align 8
%172 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171, i32 noundef 7)
%173 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%174 = load ptr, ptr %27, align 8
%175 = call ptr @mastrncpy(ptr noundef %173, ptr noundef %174, i32 noundef 7)
store ptr %175, ptr %28, align 8
%176 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%177 = getelementptr inbounds [80 x i8], ptr %26, i64 0, i64 0
%178 = load ptr, ptr %27, align 8
%179 = load ptr, ptr %27, align 8
%180 = load ptr, ptr %28, align 8
%181 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %176, ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef %180)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
declare ptr @mastrcpy(ptr noundef, ptr noundef) #2
declare ptr @mastrncpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprm88nd3v.c'
source_filename = "/tmp/tmprm88nd3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsConvertToMs(i64 %0, i64 %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.timespec, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %9, align 8
store ptr %2, ptr %6, align 8
store ptr %3, ptr %7, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %4
%14 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = mul nsw i64 %15, 1000
%17 = load ptr, ptr %6, align 8
store i64 %16, ptr %17, align 8
br label %20
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
store i64 0, ptr %19, align 8
br label %20
20: ; preds = %18, %13
%21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = sdiv i64 %26, 1000000
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %28, align 8
%30 = add nsw i64 %29, %27
store i64 %30, ptr %28, align 8
%31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = srem i64 %32, 1000000
%34 = load ptr, ptr %7, align 8
store i64 %33, ptr %34, align 8
br label %35
35: ; preds = %24, %20
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/tmprm88nd3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsConvertToMs(i64 %0, i64 %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.timespec, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %9, align 8
store ptr %2, ptr %6, align 8
store ptr %3, ptr %7, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %4
%14 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = mul nsw i64 %15, 1000
%17 = load ptr, ptr %6, align 8
store i64 %16, ptr %17, align 8
br label %20
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
store i64 0, ptr %19, align 8
br label %20
20: ; preds = %18, %13
%21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%22 = load i64, ptr %21, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = sdiv i64 %26, 1000000
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %28, align 8
%30 = add nsw i64 %29, %27
store i64 %30, ptr %28, align 8
%31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = srem i64 %32, 1000000
%34 = load ptr, ptr %7, align 8
store i64 %33, ptr %34, align 8
br label %35
35: ; preds = %24, %20
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/tmpajq_yzom.c'
source_filename = "/tmp/tmpajq_yzom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IdentityMatrix() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @calloc(i32 noundef 4, i32 noundef 16)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = getelementptr inbounds float, ptr %4, i64 0
store float 1.000000e+00, ptr %5, align 4
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds float, ptr %6, i64 1
store float 0.000000e+00, ptr %7, align 4
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds float, ptr %8, i64 2
store float 0.000000e+00, ptr %9, align 4
%10 = load ptr, ptr %1, align 8
%11 = getelementptr inbounds float, ptr %10, i64 3
store float 0.000000e+00, ptr %11, align 4
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds float, ptr %12, i64 4
store float 0.000000e+00, ptr %13, align 4
%14 = load ptr, ptr %1, align 8
%15 = getelementptr inbounds float, ptr %14, i64 5
store float 1.000000e+00, ptr %15, align 4
%16 = load ptr, ptr %1, align 8
%17 = getelementptr inbounds float, ptr %16, i64 6
store float 0.000000e+00, ptr %17, align 4
%18 = load ptr, ptr %1, align 8
%19 = getelementptr inbounds float, ptr %18, i64 7
store float 0.000000e+00, ptr %19, align 4
%20 = load ptr, ptr %1, align 8
%21 = getelementptr inbounds float, ptr %20, i64 8
store float 0.000000e+00, ptr %21, align 4
%22 = load ptr, ptr %1, align 8
%23 = getelementptr inbounds float, ptr %22, i64 9
store float 0.000000e+00, ptr %23, align 4
%24 = load ptr, ptr %1, align 8
%25 = getelementptr inbounds float, ptr %24, i64 10
store float 1.000000e+00, ptr %25, align 4
%26 = load ptr, ptr %1, align 8
%27 = getelementptr inbounds float, ptr %26, i64 11
store float 0.000000e+00, ptr %27, align 4
%28 = load ptr, ptr %1, align 8
%29 = getelementptr inbounds float, ptr %28, i64 12
store float 0.000000e+00, ptr %29, align 4
%30 = load ptr, ptr %1, align 8
%31 = getelementptr inbounds float, ptr %30, i64 13
store float 0.000000e+00, ptr %31, align 4
%32 = load ptr, ptr %1, align 8
%33 = getelementptr inbounds float, ptr %32, i64 14
store float 0.000000e+00, ptr %33, align 4
%34 = load ptr, ptr %1, align 8
%35 = getelementptr inbounds float, ptr %34, i64 15
store float 1.000000e+00, ptr %35, align 4
%36 = load ptr, ptr %1, align 8
ret ptr %36
}
declare i64 @calloc(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/tmpajq_yzom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IdentityMatrix() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @calloc(i32 noundef 4, i32 noundef 16)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = getelementptr inbounds float, ptr %4, i64 0
store float 1.000000e+00, ptr %5, align 4
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds float, ptr %6, i64 1
store float 0.000000e+00, ptr %7, align 4
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds float, ptr %8, i64 2
store float 0.000000e+00, ptr %9, align 4
%10 = load ptr, ptr %1, align 8
%11 = getelementptr inbounds float, ptr %10, i64 3
store float 0.000000e+00, ptr %11, align 4
%12 = load ptr, ptr %1, align 8
%13 = getelementptr inbounds float, ptr %12, i64 4
store float 0.000000e+00, ptr %13, align 4
%14 = load ptr, ptr %1, align 8
%15 = getelementptr inbounds float, ptr %14, i64 5
store float 1.000000e+00, ptr %15, align 4
%16 = load ptr, ptr %1, align 8
%17 = getelementptr inbounds float, ptr %16, i64 6
store float 0.000000e+00, ptr %17, align 4
%18 = load ptr, ptr %1, align 8
%19 = getelementptr inbounds float, ptr %18, i64 7
store float 0.000000e+00, ptr %19, align 4
%20 = load ptr, ptr %1, align 8
%21 = getelementptr inbounds float, ptr %20, i64 8
store float 0.000000e+00, ptr %21, align 4
%22 = load ptr, ptr %1, align 8
%23 = getelementptr inbounds float, ptr %22, i64 9
store float 0.000000e+00, ptr %23, align 4
%24 = load ptr, ptr %1, align 8
%25 = getelementptr inbounds float, ptr %24, i64 10
store float 1.000000e+00, ptr %25, align 4
%26 = load ptr, ptr %1, align 8
%27 = getelementptr inbounds float, ptr %26, i64 11
store float 0.000000e+00, ptr %27, align 4
%28 = load ptr, ptr %1, align 8
%29 = getelementptr inbounds float, ptr %28, i64 12
store float 0.000000e+00, ptr %29, align 4
%30 = load ptr, ptr %1, align 8
%31 = getelementptr inbounds float, ptr %30, i64 13
store float 0.000000e+00, ptr %31, align 4
%32 = load ptr, ptr %1, align 8
%33 = getelementptr inbounds float, ptr %32, i64 14
store float 0.000000e+00, ptr %33, align 4
%34 = load ptr, ptr %1, align 8
%35 = getelementptr inbounds float, ptr %34, i64 15
store float 1.000000e+00, ptr %35, align 4
%36 = load ptr, ptr %1, align 8
ret ptr %36
}
declare i64 @calloc(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/tmp9i0d04du.c'
source_filename = "/tmp/tmp9i0d04du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"can't fork\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"before yield\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"after yield\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %18, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %21
8: ; preds = %5
%9 = call i32 (...) @sys_fork()
store i32 %9, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @sys_puts(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %34
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
br label %21
17: ; preds = %13
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %5, !llvm.loop !6
21: ; preds = %16, %5
store i32 0, ptr %4, align 4
br label %22
22: ; preds = %30, %21
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %25, label %33
25: ; preds = %22
%26 = call i32 @sys_puts(ptr noundef @.str.1)
%27 = call i32 (...) @sys_yield()
%28 = call i32 @sys_puts(ptr noundef @.str.2)
%29 = call i32 (...) @pause()
br label %30
30: ; preds = %25
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %22, !llvm.loop !8
33: ; preds = %22
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %11
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare i32 @sys_fork(...) #1
declare i32 @sys_puts(ptr noundef) #1
declare i32 @sys_yield(...) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9i0d04du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"can't fork\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"before yield\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"after yield\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %17
%8 = call i32 (...) @sys_fork()
store i32 %8, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @sys_puts(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %36
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
br label %22
16: ; preds = %12
br label %17
17: ; preds = %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 2
br i1 %21, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %17
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %22
22: ; preds = %.loopexit, %15
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %.lr.ph1, label %35
.lr.ph1: ; preds = %22
br label %25
25: ; preds = %.lr.ph1, %30
%26 = call i32 @sys_puts(ptr noundef @.str.1)
%27 = call i32 (...) @sys_yield()
%28 = call i32 @sys_puts(ptr noundef @.str.2)
%29 = call i32 (...) @pause()
br label %30
30: ; preds = %25
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 10
br i1 %34, label %25, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %22
store i32 0, ptr %1, align 4
br label %36
36: ; preds = %35, %10
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @sys_fork(...) #1
declare i32 @sys_puts(ptr noundef) #1
declare i32 @sys_yield(...) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_wfdpc96.c'
source_filename = "/tmp/tmp_wfdpc96.c"
target datalayout = "e-m:e-p270: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_wfdpc96.c"
target datalayout = "e-m:e-p270: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/tmpaqnt5mzg.c'
source_filename = "/tmp/tmpaqnt5mzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_bym(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bym(i32 noundef %3)
%5 = call i32 (...) @add()
ret void
}
declare i32 @bym(i32 noundef) #1
declare i32 @add(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqnt5mzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_bym(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bym(i32 noundef %3)
%5 = call i32 (...) @add()
ret void
}
declare i32 @bym(i32 noundef) #1
declare i32 @add(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiomvw9ip.c'
source_filename = "/tmp/tmpiomvw9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"ERR: Invalid input packet_data or target str or offset\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pkt_memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr null, %13
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load ptr, ptr %7, align 8
%17 = icmp eq ptr null, %16
br i1 %17, label %18, label %20
18: ; preds = %15, %12, %4
%19 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %5, align 8
br label %28
20: ; preds = %15
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i64, ptr %9, align 8
%27 = call ptr @memcpy(ptr noundef %21, ptr noundef %25, i64 noundef %26)
store ptr %27, ptr %5, align 8
br label %28
28: ; preds = %20, %18
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare i32 @printf(ptr noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiomvw9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"ERR: Invalid input packet_data or target str or offset\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pkt_memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr null, %13
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load ptr, ptr %7, align 8
%17 = icmp eq ptr null, %16
br i1 %17, label %18, label %20
18: ; preds = %15, %12, %4
%19 = call i32 @printf(ptr noundef @.str)
store ptr null, ptr %5, align 8
br label %28
20: ; preds = %15
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i64, ptr %9, align 8
%27 = call ptr @memcpy(ptr noundef %21, ptr noundef %25, i64 noundef %26)
store ptr %27, ptr %5, align 8
br label %28
28: ; preds = %20, %18
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare i32 @printf(ptr noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdm7ed1jx.c'
source_filename = "/tmp/tmpdm7ed1jx.c"
target datalayout = "e-m:e-p270: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/tmpdm7ed1jx.c"
target datalayout = "e-m:e-p270: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/tmpu8qgajo7.c'
source_filename = "/tmp/tmpu8qgajo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoScan() #0 {
%1 = call i32 @Putb(i32 noundef 36, i32 noundef 3)
ret void
}
declare i32 @Putb(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/tmpu8qgajo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoScan() #0 {
%1 = call i32 @Putb(i32 noundef 36, i32 noundef 3)
ret void
}
declare i32 @Putb(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/tmpd5fpruxp.c'
source_filename = "/tmp/tmpd5fpruxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mynum is equal to %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"mysumdouble is equal to %f\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"mysumdouble is now equal to %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 float, align 4
%8 = alloca double, align 8
%9 = 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 float 0x4038666660000000, ptr %7, align 4
%10 = load float, ptr %7, align 4
%11 = fpext float %10 to double
%12 = call i32 @printf(ptr noundef @.str, double noundef %11)
store double 2.439500e+02, ptr %8, align 8
%13 = load double, ptr %8, align 8
%14 = fadd double 3.500000e+00, %13
store double %14, ptr %9, align 8
%15 = load double, ptr %9, align 8
%16 = call i32 @printf(ptr noundef @.str.1, double noundef %15)
store i32 3, ptr %6, align 4
%17 = load double, ptr %9, align 8
%18 = load i32, ptr %6, align 4
%19 = sitofp i32 %18 to double
%20 = fadd double %17, %19
store double %20, ptr %9, align 8
%21 = load double, ptr %9, align 8
%22 = call i32 @printf(ptr noundef @.str.2, double noundef %21)
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/tmpd5fpruxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mynum is equal to %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"mysumdouble is equal to %f\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"mysumdouble is now equal to %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 float, align 4
%8 = alloca double, align 8
%9 = 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 float 0x4038666660000000, ptr %7, align 4
%10 = load float, ptr %7, align 4
%11 = fpext float %10 to double
%12 = call i32 @printf(ptr noundef @.str, double noundef %11)
store double 2.439500e+02, ptr %8, align 8
%13 = load double, ptr %8, align 8
%14 = fadd double 3.500000e+00, %13
store double %14, ptr %9, align 8
%15 = load double, ptr %9, align 8
%16 = call i32 @printf(ptr noundef @.str.1, double noundef %15)
store i32 3, ptr %6, align 4
%17 = load double, ptr %9, align 8
%18 = load i32, ptr %6, align 4
%19 = sitofp i32 %18 to double
%20 = fadd double %17, %19
store double %20, ptr %9, align 8
%21 = load double, ptr %9, align 8
%22 = call i32 @printf(ptr noundef @.str.2, double noundef %21)
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/tmp69b04bpe.c'
source_filename = "/tmp/tmp69b04bpe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pypy_math_expm1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = fcmp olt double %6, 0x3FE6666666666666
br i1 %7, label %8, label %23
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = call double @exp(double noundef %9) #3
store double %10, ptr %4, align 8
%11 = load double, ptr %4, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load double, ptr %3, align 8
store double %14, ptr %2, align 8
br label %27
15: ; preds = %8
%16 = load double, ptr %4, align 8
%17 = fsub double %16, 1.000000e+00
%18 = load double, ptr %3, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = call double @log(double noundef %20) #3
%22 = fdiv double %19, %21
store double %22, ptr %2, align 8
br label %27
23: ; preds = %1
%24 = load double, ptr %3, align 8
%25 = call double @exp(double noundef %24) #3
%26 = fsub double %25, 1.000000e+00
store double %26, ptr %2, align 8
br label %27
27: ; preds = %23, %15, %13
%28 = load double, ptr %2, align 8
ret double %28
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp69b04bpe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pypy_math_expm1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = fcmp olt double %6, 0x3FE6666666666666
br i1 %7, label %8, label %23
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = call double @exp(double noundef %9) #3
store double %10, ptr %4, align 8
%11 = load double, ptr %4, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load double, ptr %3, align 8
store double %14, ptr %2, align 8
br label %27
15: ; preds = %8
%16 = load double, ptr %4, align 8
%17 = fsub double %16, 1.000000e+00
%18 = load double, ptr %3, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = call double @log(double noundef %20) #3
%22 = fdiv double %19, %21
store double %22, ptr %2, align 8
br label %27
23: ; preds = %1
%24 = load double, ptr %3, align 8
%25 = call double @exp(double noundef %24) #3
%26 = fsub double %25, 1.000000e+00
store double %26, ptr %2, align 8
br label %27
27: ; preds = %23, %15, %13
%28 = load double, ptr %2, align 8
ret double %28
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphorwh8ku.c'
source_filename = "/tmp/tmphorwh8ku.c"
target datalayout = "e-m:e-p270: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/tmphorwh8ku.c"
target datalayout = "e-m:e-p270: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/tmp1ztycapb.c'
source_filename = "/tmp/tmp1ztycapb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rollhash_arg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %8, %1
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %9, 256
%11 = srem i32 %10, 8355967
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ztycapb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rollhash_arg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %8, 256
%10 = srem i32 %9, 8355967
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %14
14: ; preds = %._crit_edge, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8pt4bz31.c'
source_filename = "/tmp/tmp8pt4bz31.c"
target datalayout = "e-m:e-p270: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/tmp8pt4bz31.c"
target datalayout = "e-m:e-p270: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/tmp7laiqlyn.c'
source_filename = "/tmp/tmp7laiqlyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHT_PROGBITS = dso_local global i64 0, align 8
@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/tmp7laiqlyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHT_PROGBITS = dso_local global i64 0, align 8
@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/tmp51pdqmpg.c'
source_filename = "/tmp/tmp51pdqmpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51pdqmpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1tg265dy.c'
source_filename = "/tmp/tmp1tg265dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REG_Base: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ebx\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"REG_Base: %d\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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1tg265dy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REG_Base: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"ebx\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"REG_Base: %d\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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 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"}
|
; ModuleID = '/tmp/tmpsb3g9mbg.c'
source_filename = "/tmp/tmpsb3g9mbg.c"
target datalayout = "e-m:e-p270: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/tmpsb3g9mbg.c"
target datalayout = "e-m:e-p270: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/tmpia4f3yx5.c'
source_filename = "/tmp/tmpia4f3yx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_create(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpia4f3yx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_create(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppf93dqxm.c'
source_filename = "/tmp/tmppf93dqxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readn(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
store i64 %10, ptr %8, align 8
br label %11
11: ; preds = %31, %3
%12 = load i64, ptr %8, align 8
%13 = icmp ugt i64 %12, 0
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %8, align 8
%18 = call i32 @read(i32 noundef %15, ptr noundef %16, i64 noundef %17)
store i32 %18, ptr %9, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %14
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr %7, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 -1, ptr %4, align 4
br label %45
25: ; preds = %20
br label %40
26: ; preds = %14
%27 = load i32, ptr %9, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26
br label %40
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %8, align 8
%35 = sub i64 %34, %33
store i64 %35, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = load ptr, ptr %6, align 8
%38 = sext i32 %36 to i64
%39 = getelementptr i8, ptr %37, i64 %38
store ptr %39, ptr %6, align 8
br label %11, !llvm.loop !6
40: ; preds = %29, %25, %11
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %8, align 8
%43 = sub i64 %41, %42
%44 = trunc i64 %43 to i32
store i32 %44, ptr %4, align 4
br label %45
45: ; preds = %40, %24
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppf93dqxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readn(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ugt i64 %11, 0
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %30
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %8, align 8
%17 = call i32 @read(i32 noundef %14, ptr noundef %15, i64 noundef %16)
store i32 %17, ptr %9, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr %7, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 -1, ptr %4, align 4
br label %46
24: ; preds = %19
br label %41
25: ; preds = %13
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
br label %41
29: ; preds = %25
br label %30
30: ; preds = %29
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = load i64, ptr %8, align 8
%34 = sub i64 %33, %32
store i64 %34, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = load ptr, ptr %6, align 8
%37 = sext i32 %35 to i64
%38 = getelementptr i8, ptr %36, i64 %37
store ptr %38, ptr %6, align 8
%39 = load i64, ptr %8, align 8
%40 = icmp ugt i64 %39, 0
br i1 %40, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %30
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %41
41: ; preds = %.loopexit, %28, %24
%42 = load i64, ptr %7, align 8
%43 = load i64, ptr %8, align 8
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
store i32 %45, ptr %4, align 4
br label %46
46: ; preds = %41, %23
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuvql0gws.c'
source_filename = "/tmp/tmpuvql0gws.c"
target datalayout = "e-m:e-p270: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/tmpuvql0gws.c"
target datalayout = "e-m:e-p270: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/tmpv1y7fyhx.c'
source_filename = "/tmp/tmpv1y7fyhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @MFRC522_Anticoll2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i8 0, ptr %5, align 1
%7 = call i32 @Write_MFRC522(i32 noundef 13, i32 noundef 0)
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 -107, ptr %9, align 1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store i8 32, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = call zeroext i8 @MFRC522_ToCard(i32 noundef 12, ptr noundef %12, i32 noundef 2, ptr noundef %13, ptr noundef %6)
store i8 %14, ptr %3, align 1
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %1
store i8 0, ptr %4, align 1
br label %19
19: ; preds = %34, %18
%20 = load i8, ptr %4, align 1
%21 = zext i8 %20 to i32
%22 = icmp slt i32 %21, 4
br i1 %22, label %23, label %37
23: ; preds = %19
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %4, align 1
%26 = zext i8 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = load i8, ptr %5, align 1
%31 = zext i8 %30 to i32
%32 = xor i32 %31, %29
%33 = trunc i32 %32 to i8
store i8 %33, ptr %5, align 1
br label %34
34: ; preds = %23
%35 = load i8, ptr %4, align 1
%36 = add i8 %35, 1
store i8 %36, ptr %4, align 1
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = load i8, ptr %5, align 1
%39 = zext i8 %38 to i32
%40 = load ptr, ptr %2, align 8
%41 = load i8, ptr %4, align 1
%42 = zext i8 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = icmp ne i32 %39, %45
br i1 %46, label %47, label %48
47: ; preds = %37
store i8 2, ptr %3, align 1
br label %48
48: ; preds = %47, %37
br label %49
49: ; preds = %48, %1
%50 = load i8, ptr %3, align 1
ret i8 %50
}
declare i32 @Write_MFRC522(i32 noundef, i32 noundef) #1
declare zeroext i8 @MFRC522_ToCard(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1y7fyhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @MFRC522_Anticoll2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i8 0, ptr %5, align 1
%7 = call i32 @Write_MFRC522(i32 noundef 13, i32 noundef 0)
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 -107, ptr %9, align 1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store i8 32, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = call zeroext i8 @MFRC522_ToCard(i32 noundef 12, ptr noundef %12, i32 noundef 2, ptr noundef %13, ptr noundef %6)
store i8 %14, ptr %3, align 1
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %51
18: ; preds = %1
store i8 0, ptr %4, align 1
%19 = load i8, ptr %4, align 1
%20 = zext i8 %19 to i32
%21 = icmp slt i32 %20, 4
br i1 %21, label %.lr.ph, label %39
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %33
%23 = load ptr, ptr %2, align 8
%24 = load i8, ptr %4, align 1
%25 = zext i8 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = load i8, ptr %5, align 1
%30 = zext i8 %29 to i32
%31 = xor i32 %30, %28
%32 = trunc i32 %31 to i8
store i8 %32, ptr %5, align 1
br label %33
33: ; preds = %22
%34 = load i8, ptr %4, align 1
%35 = add i8 %34, 1
store i8 %35, ptr %4, align 1
%36 = load i8, ptr %4, align 1
%37 = zext i8 %36 to i32
%38 = icmp slt i32 %37, 4
br i1 %38, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %18
%40 = load i8, ptr %5, align 1
%41 = zext i8 %40 to i32
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %4, align 1
%44 = zext i8 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp ne i32 %41, %47
br i1 %48, label %49, label %50
49: ; preds = %39
store i8 2, ptr %3, align 1
br label %50
50: ; preds = %49, %39
br label %51
51: ; preds = %50, %1
%52 = load i8, ptr %3, align 1
ret i8 %52
}
declare i32 @Write_MFRC522(i32 noundef, i32 noundef) #1
declare zeroext i8 @MFRC522_ToCard(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmtdzsctn.c'
source_filename = "/tmp/tmpmtdzsctn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%2 = call i32 @outb(i32 noundef 1019, i32 noundef 128)
%3 = call i32 @outb(i32 noundef 1016, i32 noundef 3)
%4 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%5 = call i32 @outb(i32 noundef 1019, i32 noundef 3)
%6 = call i32 @outb(i32 noundef 1018, i32 noundef 199)
%7 = call i32 @outb(i32 noundef 1020, i32 noundef 1)
ret void
}
declare i32 @outb(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/tmpmtdzsctn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%2 = call i32 @outb(i32 noundef 1019, i32 noundef 128)
%3 = call i32 @outb(i32 noundef 1016, i32 noundef 3)
%4 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%5 = call i32 @outb(i32 noundef 1019, i32 noundef 3)
%6 = call i32 @outb(i32 noundef 1018, i32 noundef 199)
%7 = call i32 @outb(i32 noundef 1020, i32 noundef 1)
ret void
}
declare i32 @outb(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/tmp44jvu2u9.c'
source_filename = "/tmp/tmp44jvu2u9.c"
target datalayout = "e-m:e-p270: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 { %struct.in_addr, i32, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"uso: clienteUDP dirIPServidor\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Teclea un mensaje: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Envia %d bytes a %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 %struct.sockaddr_in, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #4
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @gethostbyname(ptr noundef %22)
store ptr %23, ptr %9, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #4
unreachable
28: ; preds = %19
%29 = load i32, ptr @AF_INET, align 4
%30 = load i32, ptr @SOCK_DGRAM, align 4
%31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0)
store i32 %31, ptr %6, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = call i32 @perror(ptr noundef @.str.2)
%35 = call i32 @exit(i32 noundef 1) #4
unreachable
36: ; preds = %28
%37 = load i32, ptr @AF_INET, align 4
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 3
store i32 %37, ptr %38, align 4
%39 = call i32 @htons(i32 noundef 60000)
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %39, ptr %40, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds %struct.hostent, ptr %42, i32 0, i32 0
%44 = load i64, ptr %43, align 8
%45 = inttoptr i64 %44 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %45, i64 4, i1 false)
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%47 = call i32 @memset(ptr noundef %46, i8 noundef signext 0, i32 noundef 8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%49 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 80, i32 noundef %50)
%52 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 %55
store i8 0, ptr %56, align 1
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%60 = call i32 @strlen(ptr noundef %59)
%61 = call i32 @sendto(i32 noundef %57, ptr noundef %58, i32 noundef %60, i32 noundef 0, ptr noundef %7, i32 noundef 4)
store i32 %61, ptr %10, align 4
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %66
63: ; preds = %36
%64 = call i32 @perror(ptr noundef @.str.4)
%65 = call i32 @exit(i32 noundef 1) #4
unreachable
66: ; preds = %36
%67 = load i32, ptr %10, align 4
%68 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%69 = getelementptr inbounds %struct.in_addr, ptr %68, i32 0, i32 0
%70 = load i32, ptr %69, align 4
%71 = call ptr @inet_ntoa(i32 %70)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @close(i32 noundef %73)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_ntoa(i32) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp44jvu2u9.c"
target datalayout = "e-m:e-p270: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 { %struct.in_addr, i32, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"uso: clienteUDP dirIPServidor\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Teclea un mensaje: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Envia %d bytes a %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 %struct.sockaddr_in, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #4
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @gethostbyname(ptr noundef %22)
store ptr %23, ptr %9, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = call i32 @perror(ptr noundef @.str.1)
%27 = call i32 @exit(i32 noundef 1) #4
unreachable
28: ; preds = %19
%29 = load i32, ptr @AF_INET, align 4
%30 = load i32, ptr @SOCK_DGRAM, align 4
%31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0)
store i32 %31, ptr %6, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = call i32 @perror(ptr noundef @.str.2)
%35 = call i32 @exit(i32 noundef 1) #4
unreachable
36: ; preds = %28
%37 = load i32, ptr @AF_INET, align 4
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 3
store i32 %37, ptr %38, align 4
%39 = call i32 @htons(i32 noundef 60000)
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %39, ptr %40, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds %struct.hostent, ptr %42, i32 0, i32 0
%44 = load i64, ptr %43, align 8
%45 = inttoptr i64 %44 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %45, i64 4, i1 false)
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%47 = call i32 @memset(ptr noundef %46, i8 noundef signext 0, i32 noundef 8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%49 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 80, i32 noundef %50)
%52 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 %55
store i8 0, ptr %56, align 1
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%60 = call i32 @strlen(ptr noundef %59)
%61 = call i32 @sendto(i32 noundef %57, ptr noundef %58, i32 noundef %60, i32 noundef 0, ptr noundef %7, i32 noundef 4)
store i32 %61, ptr %10, align 4
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %66
63: ; preds = %36
%64 = call i32 @perror(ptr noundef @.str.4)
%65 = call i32 @exit(i32 noundef 1) #4
unreachable
66: ; preds = %36
%67 = load i32, ptr %10, align 4
%68 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%69 = getelementptr inbounds %struct.in_addr, ptr %68, i32 0, i32 0
%70 = load i32, ptr %69, align 4
%71 = call ptr @inet_ntoa(i32 %70)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %67, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @close(i32 noundef %73)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_ntoa(i32) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2duacuzb.c'
source_filename = "/tmp/tmp2duacuzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscoll(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 @wcscmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @wcscmp(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/tmp2duacuzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscoll(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 @wcscmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @wcscmp(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/tmpayjni1ft.c'
source_filename = "/tmp/tmpayjni1ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"from baz foo foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_foo_foo() #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/tmpayjni1ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"from baz foo foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_foo_foo() #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/tmp01e8h3wa.c'
source_filename = "/tmp/tmp01e8h3wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@RAND_MAX = dso_local global float 0.000000e+00, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"normalize2_c = [%.2f, %.2f]\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"normalize2_neon = [%.2f, %.2f]\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"normalize2: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"normalize3_c = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"normalize3_neon = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"normalize3: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"cross3_c = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c"cross3_neon = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"cross3: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"normalize4_c = [%.2f, %.2f, %.2f, %.2f]\0A\00", align 1
@.str.11 = private unnamed_addr constant [44 x i8] c"normalize4_neon = [%.2f, %.2f, %.2f, %.2f]\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"normalize4: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_vectorfunc() #0 {
%1 = alloca [4 x float], align 16
%2 = alloca [4 x float], align 16
%3 = alloca [4 x float], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.rusage, align 4
%7 = alloca [3 x i32], align 4
%8 = alloca [3 x i32], align 4
%9 = alloca [3 x i32], align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %47, %0
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 4
br i1 %21, label %22, label %50
22: ; preds = %19
%23 = call float (...) @rand()
%24 = load float, ptr @RAND_MAX, align 4
%25 = fadd float %24, 1.000000e+00
%26 = fdiv float %23, %25
%27 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %26, float -5.000000e+00)
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 %29
store float %27, ptr %30, align 4
%31 = call float (...) @rand()
%32 = load float, ptr @RAND_MAX, align 4
%33 = fadd float %32, 1.000000e+00
%34 = fdiv float %31, %33
%35 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %34, float -5.000000e+00)
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %37
store float %35, ptr %38, align 4
%39 = call float (...) @rand()
%40 = load float, ptr @RAND_MAX, align 4
%41 = fadd float %40, 1.000000e+00
%42 = fdiv float %39, %41
%43 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %42, float -5.000000e+00)
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 %45
store float %43, ptr %46, align 4
br label %47
47: ; preds = %22
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
br label %19, !llvm.loop !6
50: ; preds = %19
store i32 5000000, ptr %5, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%52 = load i32, ptr @RUSAGE_SELF, align 4
%53 = call i32 @getrusage(i32 noundef %52, ptr noundef %6)
%54 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%55 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = mul nsw i32 %56, 1000000
%58 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%59 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i32 0, i32 1
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %57, %60
%62 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
store i32 %61, ptr %62, align 4
store i32 0, ptr %11, align 4
br label %63
63: ; preds = %71, %50
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %74
67: ; preds = %63
%68 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%69 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%70 = call i32 @normalize2_c(ptr noundef %68, ptr noundef %69)
br label %71
71: ; preds = %67
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %11, align 4
br label %63, !llvm.loop !8
74: ; preds = %63
%75 = load i32, ptr @RUSAGE_SELF, align 4
%76 = call i32 @getrusage(i32 noundef %75, ptr noundef %6)
%77 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%78 = getelementptr inbounds %struct.TYPE_2__, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = mul nsw i32 %79, 1000000
%81 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%82 = getelementptr inbounds %struct.TYPE_2__, ptr %81, i32 0, i32 1
%83 = load i32, ptr %82, align 4
%84 = add nsw i32 %80, %83
%85 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
store i32 %84, ptr %85, align 4
store i32 0, ptr %12, align 4
br label %86
86: ; preds = %94, %74
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %5, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %97
90: ; preds = %86
%91 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%92 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%93 = call i32 @normalize2_neon(ptr noundef %91, ptr noundef %92)
br label %94
94: ; preds = %90
%95 = load i32, ptr %12, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %12, align 4
br label %86, !llvm.loop !9
97: ; preds = %86
%98 = load i32, ptr @RUSAGE_SELF, align 4
%99 = call i32 @getrusage(i32 noundef %98, ptr noundef %6)
%100 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%101 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i32 0, i32 0
%102 = load i32, ptr %101, align 4
%103 = mul nsw i32 %102, 1000000
%104 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%105 = getelementptr inbounds %struct.TYPE_2__, ptr %104, i32 0, i32 1
%106 = load i32, ptr %105, align 4
%107 = add nsw i32 %103, %106
%108 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
store i32 %107, ptr %108, align 4
%109 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%110 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%111 = call i32 @normalize2_c(ptr noundef %109, ptr noundef %110)
%112 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%113 = load float, ptr %112, align 16
%114 = fpext float %113 to double
%115 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%116 = load float, ptr %115, align 4
%117 = fpext float %116 to double
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %114, double noundef %117)
%119 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%120 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%121 = call i32 @normalize2_neon(ptr noundef %119, ptr noundef %120)
%122 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%123 = load float, ptr %122, align 16
%124 = fpext float %123 to double
%125 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%126 = load float, ptr %125, align 4
%127 = fpext float %126 to double
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %124, double noundef %127)
%129 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%130 = load i32, ptr %129, align 4
%131 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%132 = load i32, ptr %131, align 4
%133 = sub nsw i32 %130, %132
%134 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
%135 = load i32, ptr %134, align 4
%136 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%137 = load i32, ptr %136, align 4
%138 = sub nsw i32 %135, %137
%139 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%140 = load i32, ptr %139, align 4
%141 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%142 = load i32, ptr %141, align 4
%143 = sub nsw i32 %140, %142
%144 = sitofp i32 %143 to float
%145 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
%146 = load i32, ptr %145, align 4
%147 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%148 = load i32, ptr %147, align 4
%149 = sub nsw i32 %146, %148
%150 = sitofp i32 %149 to float
%151 = fdiv float %144, %150
%152 = fpext float %151 to double
%153 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %133, i32 noundef %138, double noundef %152)
%154 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%155 = load i32, ptr @RUSAGE_SELF, align 4
%156 = call i32 @getrusage(i32 noundef %155, ptr noundef %6)
%157 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%158 = getelementptr inbounds %struct.TYPE_2__, ptr %157, i32 0, i32 0
%159 = load i32, ptr %158, align 4
%160 = mul nsw i32 %159, 1000000
%161 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%162 = getelementptr inbounds %struct.TYPE_2__, ptr %161, i32 0, i32 1
%163 = load i32, ptr %162, align 4
%164 = add nsw i32 %160, %163
%165 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
store i32 %164, ptr %165, align 4
store i32 0, ptr %13, align 4
br label %166
166: ; preds = %174, %97
%167 = load i32, ptr %13, align 4
%168 = load i32, ptr %5, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %177
170: ; preds = %166
%171 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%172 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%173 = call i32 @normalize3_c(ptr noundef %171, ptr noundef %172)
br label %174
174: ; preds = %170
%175 = load i32, ptr %13, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %13, align 4
br label %166, !llvm.loop !10
177: ; preds = %166
%178 = load i32, ptr @RUSAGE_SELF, align 4
%179 = call i32 @getrusage(i32 noundef %178, ptr noundef %6)
%180 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%181 = getelementptr inbounds %struct.TYPE_2__, ptr %180, i32 0, i32 0
%182 = load i32, ptr %181, align 4
%183 = mul nsw i32 %182, 1000000
%184 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%185 = getelementptr inbounds %struct.TYPE_2__, ptr %184, i32 0, i32 1
%186 = load i32, ptr %185, align 4
%187 = add nsw i32 %183, %186
%188 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
store i32 %187, ptr %188, align 4
store i32 0, ptr %14, align 4
br label %189
189: ; preds = %197, %177
%190 = load i32, ptr %14, align 4
%191 = load i32, ptr %5, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %193, label %200
193: ; preds = %189
%194 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%195 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%196 = call i32 @normalize3_neon(ptr noundef %194, ptr noundef %195)
br label %197
197: ; preds = %193
%198 = load i32, ptr %14, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %14, align 4
br label %189, !llvm.loop !11
200: ; preds = %189
%201 = load i32, ptr @RUSAGE_SELF, align 4
%202 = call i32 @getrusage(i32 noundef %201, ptr noundef %6)
%203 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%204 = getelementptr inbounds %struct.TYPE_2__, ptr %203, i32 0, i32 0
%205 = load i32, ptr %204, align 4
%206 = mul nsw i32 %205, 1000000
%207 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%208 = getelementptr inbounds %struct.TYPE_2__, ptr %207, i32 0, i32 1
%209 = load i32, ptr %208, align 4
%210 = add nsw i32 %206, %209
%211 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
store i32 %210, ptr %211, align 4
%212 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%213 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%214 = call i32 @normalize3_c(ptr noundef %212, ptr noundef %213)
%215 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%216 = load float, ptr %215, align 16
%217 = fpext float %216 to double
%218 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%219 = load float, ptr %218, align 4
%220 = fpext float %219 to double
%221 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%222 = load float, ptr %221, align 8
%223 = fpext float %222 to double
%224 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %217, double noundef %220, double noundef %223)
%225 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%226 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%227 = call i32 @normalize3_neon(ptr noundef %225, ptr noundef %226)
%228 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%229 = load float, ptr %228, align 16
%230 = fpext float %229 to double
%231 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%232 = load float, ptr %231, align 4
%233 = fpext float %232 to double
%234 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%235 = load float, ptr %234, align 8
%236 = fpext float %235 to double
%237 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %230, double noundef %233, double noundef %236)
%238 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%239 = load i32, ptr %238, align 4
%240 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%241 = load i32, ptr %240, align 4
%242 = sub nsw i32 %239, %241
%243 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%244 = load i32, ptr %243, align 4
%245 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%246 = load i32, ptr %245, align 4
%247 = sub nsw i32 %244, %246
%248 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%249 = load i32, ptr %248, align 4
%250 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%251 = load i32, ptr %250, align 4
%252 = sub nsw i32 %249, %251
%253 = sitofp i32 %252 to float
%254 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%255 = load i32, ptr %254, align 4
%256 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%257 = load i32, ptr %256, align 4
%258 = sub nsw i32 %255, %257
%259 = sitofp i32 %258 to float
%260 = fdiv float %253, %259
%261 = fpext float %260 to double
%262 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %242, i32 noundef %247, double noundef %261)
%263 = load i32, ptr @RUSAGE_SELF, align 4
%264 = call i32 @getrusage(i32 noundef %263, ptr noundef %6)
%265 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%266 = getelementptr inbounds %struct.TYPE_2__, ptr %265, i32 0, i32 0
%267 = load i32, ptr %266, align 4
%268 = mul nsw i32 %267, 1000000
%269 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%270 = getelementptr inbounds %struct.TYPE_2__, ptr %269, i32 0, i32 1
%271 = load i32, ptr %270, align 4
%272 = add nsw i32 %268, %271
%273 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
store i32 %272, ptr %273, align 4
store i32 0, ptr %15, align 4
br label %274
274: ; preds = %283, %200
%275 = load i32, ptr %15, align 4
%276 = load i32, ptr %5, align 4
%277 = icmp slt i32 %275, %276
br i1 %277, label %278, label %286
278: ; preds = %274
%279 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%280 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%281 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%282 = call i32 @cross3_c(ptr noundef %279, ptr noundef %280, ptr noundef %281)
br label %283
283: ; preds = %278
%284 = load i32, ptr %15, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %15, align 4
br label %274, !llvm.loop !12
286: ; preds = %274
%287 = load i32, ptr @RUSAGE_SELF, align 4
%288 = call i32 @getrusage(i32 noundef %287, ptr noundef %6)
%289 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%290 = getelementptr inbounds %struct.TYPE_2__, ptr %289, i32 0, i32 0
%291 = load i32, ptr %290, align 4
%292 = mul nsw i32 %291, 1000000
%293 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%294 = getelementptr inbounds %struct.TYPE_2__, ptr %293, i32 0, i32 1
%295 = load i32, ptr %294, align 4
%296 = add nsw i32 %292, %295
%297 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
store i32 %296, ptr %297, align 4
store i32 0, ptr %16, align 4
br label %298
298: ; preds = %307, %286
%299 = load i32, ptr %16, align 4
%300 = load i32, ptr %5, align 4
%301 = icmp slt i32 %299, %300
br i1 %301, label %302, label %310
302: ; preds = %298
%303 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%304 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%305 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%306 = call i32 @cross3_neon(ptr noundef %303, ptr noundef %304, ptr noundef %305)
br label %307
307: ; preds = %302
%308 = load i32, ptr %16, align 4
%309 = add nsw i32 %308, 1
store i32 %309, ptr %16, align 4
br label %298, !llvm.loop !13
310: ; preds = %298
%311 = load i32, ptr @RUSAGE_SELF, align 4
%312 = call i32 @getrusage(i32 noundef %311, ptr noundef %6)
%313 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%314 = getelementptr inbounds %struct.TYPE_2__, ptr %313, i32 0, i32 0
%315 = load i32, ptr %314, align 4
%316 = mul nsw i32 %315, 1000000
%317 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%318 = getelementptr inbounds %struct.TYPE_2__, ptr %317, i32 0, i32 1
%319 = load i32, ptr %318, align 4
%320 = add nsw i32 %316, %319
%321 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
store i32 %320, ptr %321, align 4
%322 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%323 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%324 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%325 = call i32 @cross3_c(ptr noundef %322, ptr noundef %323, ptr noundef %324)
%326 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%327 = load float, ptr %326, align 16
%328 = fpext float %327 to double
%329 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%330 = load float, ptr %329, align 4
%331 = fpext float %330 to double
%332 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%333 = load float, ptr %332, align 8
%334 = fpext float %333 to double
%335 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %328, double noundef %331, double noundef %334)
%336 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%337 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%338 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%339 = call i32 @cross3_neon(ptr noundef %336, ptr noundef %337, ptr noundef %338)
%340 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%341 = load float, ptr %340, align 16
%342 = fpext float %341 to double
%343 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%344 = load float, ptr %343, align 4
%345 = fpext float %344 to double
%346 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%347 = load float, ptr %346, align 8
%348 = fpext float %347 to double
%349 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %342, double noundef %345, double noundef %348)
%350 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%351 = load i32, ptr %350, align 4
%352 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%353 = load i32, ptr %352, align 4
%354 = sub nsw i32 %351, %353
%355 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%356 = load i32, ptr %355, align 4
%357 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%358 = load i32, ptr %357, align 4
%359 = sub nsw i32 %356, %358
%360 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%361 = load i32, ptr %360, align 4
%362 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%363 = load i32, ptr %362, align 4
%364 = sub nsw i32 %361, %363
%365 = sitofp i32 %364 to float
%366 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%367 = load i32, ptr %366, align 4
%368 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%369 = load i32, ptr %368, align 4
%370 = sub nsw i32 %367, %369
%371 = sitofp i32 %370 to float
%372 = fdiv float %365, %371
%373 = fpext float %372 to double
%374 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %354, i32 noundef %359, double noundef %373)
%375 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%376 = load i32, ptr @RUSAGE_SELF, align 4
%377 = call i32 @getrusage(i32 noundef %376, ptr noundef %6)
%378 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%379 = getelementptr inbounds %struct.TYPE_2__, ptr %378, i32 0, i32 0
%380 = load i32, ptr %379, align 4
%381 = mul nsw i32 %380, 1000000
%382 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%383 = getelementptr inbounds %struct.TYPE_2__, ptr %382, i32 0, i32 1
%384 = load i32, ptr %383, align 4
%385 = add nsw i32 %381, %384
%386 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
store i32 %385, ptr %386, align 4
store i32 0, ptr %17, align 4
br label %387
387: ; preds = %395, %310
%388 = load i32, ptr %17, align 4
%389 = load i32, ptr %5, align 4
%390 = icmp slt i32 %388, %389
br i1 %390, label %391, label %398
391: ; preds = %387
%392 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%393 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%394 = call i32 @normalize4_c(ptr noundef %392, ptr noundef %393)
br label %395
395: ; preds = %391
%396 = load i32, ptr %17, align 4
%397 = add nsw i32 %396, 1
store i32 %397, ptr %17, align 4
br label %387, !llvm.loop !14
398: ; preds = %387
%399 = load i32, ptr @RUSAGE_SELF, align 4
%400 = call i32 @getrusage(i32 noundef %399, ptr noundef %6)
%401 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%402 = getelementptr inbounds %struct.TYPE_2__, ptr %401, i32 0, i32 0
%403 = load i32, ptr %402, align 4
%404 = mul nsw i32 %403, 1000000
%405 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%406 = getelementptr inbounds %struct.TYPE_2__, ptr %405, i32 0, i32 1
%407 = load i32, ptr %406, align 4
%408 = add nsw i32 %404, %407
%409 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
store i32 %408, ptr %409, align 4
store i32 0, ptr %18, align 4
br label %410
410: ; preds = %418, %398
%411 = load i32, ptr %18, align 4
%412 = load i32, ptr %5, align 4
%413 = icmp slt i32 %411, %412
br i1 %413, label %414, label %421
414: ; preds = %410
%415 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%416 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%417 = call i32 @normalize4_neon(ptr noundef %415, ptr noundef %416)
br label %418
418: ; preds = %414
%419 = load i32, ptr %18, align 4
%420 = add nsw i32 %419, 1
store i32 %420, ptr %18, align 4
br label %410, !llvm.loop !15
421: ; preds = %410
%422 = load i32, ptr @RUSAGE_SELF, align 4
%423 = call i32 @getrusage(i32 noundef %422, ptr noundef %6)
%424 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%425 = getelementptr inbounds %struct.TYPE_2__, ptr %424, i32 0, i32 0
%426 = load i32, ptr %425, align 4
%427 = mul nsw i32 %426, 1000000
%428 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%429 = getelementptr inbounds %struct.TYPE_2__, ptr %428, i32 0, i32 1
%430 = load i32, ptr %429, align 4
%431 = add nsw i32 %427, %430
%432 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
store i32 %431, ptr %432, align 4
%433 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%434 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%435 = call i32 @normalize4_c(ptr noundef %433, ptr noundef %434)
%436 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%437 = load float, ptr %436, align 16
%438 = fpext float %437 to double
%439 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%440 = load float, ptr %439, align 4
%441 = fpext float %440 to double
%442 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%443 = load float, ptr %442, align 8
%444 = fpext float %443 to double
%445 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
%446 = load float, ptr %445, align 4
%447 = fpext float %446 to double
%448 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %438, double noundef %441, double noundef %444, double noundef %447)
%449 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%450 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%451 = call i32 @normalize4_neon(ptr noundef %449, ptr noundef %450)
%452 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%453 = load float, ptr %452, align 16
%454 = fpext float %453 to double
%455 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%456 = load float, ptr %455, align 4
%457 = fpext float %456 to double
%458 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%459 = load float, ptr %458, align 8
%460 = fpext float %459 to double
%461 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
%462 = load float, ptr %461, align 4
%463 = fpext float %462 to double
%464 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %454, double noundef %457, double noundef %460, double noundef %463)
%465 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%466 = load i32, ptr %465, align 4
%467 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%468 = load i32, ptr %467, align 4
%469 = sub nsw i32 %466, %468
%470 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
%471 = load i32, ptr %470, align 4
%472 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%473 = load i32, ptr %472, align 4
%474 = sub nsw i32 %471, %473
%475 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%476 = load i32, ptr %475, align 4
%477 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%478 = load i32, ptr %477, align 4
%479 = sub nsw i32 %476, %478
%480 = sitofp i32 %479 to float
%481 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
%482 = load i32, ptr %481, align 4
%483 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%484 = load i32, ptr %483, align 4
%485 = sub nsw i32 %482, %484
%486 = sitofp i32 %485 to float
%487 = fdiv float %480, %486
%488 = fpext float %487 to double
%489 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %469, i32 noundef %474, double noundef %488)
%490 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare float @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @normalize2_c(ptr noundef, ptr noundef) #1
declare i32 @normalize2_neon(ptr noundef, ptr noundef) #1
declare i32 @normalize3_c(ptr noundef, ptr noundef) #1
declare i32 @normalize3_neon(ptr noundef, ptr noundef) #1
declare i32 @cross3_c(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cross3_neon(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @normalize4_c(ptr noundef, ptr noundef) #1
declare i32 @normalize4_neon(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp01e8h3wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@RAND_MAX = dso_local global float 0.000000e+00, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"normalize2_c = [%.2f, %.2f]\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"normalize2_neon = [%.2f, %.2f]\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"normalize2: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"normalize3_c = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"normalize3_neon = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"normalize3: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"cross3_c = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c"cross3_neon = [%.2f, %.2f, %.2f]\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"cross3: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"normalize4_c = [%.2f, %.2f, %.2f, %.2f]\0A\00", align 1
@.str.11 = private unnamed_addr constant [44 x i8] c"normalize4_neon = [%.2f, %.2f, %.2f, %.2f]\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"normalize4: c=%i \09 neon=%i \09 rate=%.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_vectorfunc() #0 {
%1 = alloca [4 x float], align 16
%2 = alloca [4 x float], align 16
%3 = alloca [4 x float], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.rusage, align 4
%7 = alloca [3 x i32], align 4
%8 = alloca [3 x i32], align 4
%9 = alloca [3 x i32], align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 0, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 4
br i1 %20, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %46
%22 = call float (...) @rand()
%23 = load float, ptr @RAND_MAX, align 4
%24 = fadd float %23, 1.000000e+00
%25 = fdiv float %22, %24
%26 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %25, float -5.000000e+00)
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 %28
store float %26, ptr %29, align 4
%30 = call float (...) @rand()
%31 = load float, ptr @RAND_MAX, align 4
%32 = fadd float %31, 1.000000e+00
%33 = fdiv float %30, %32
%34 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %33, float -5.000000e+00)
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %36
store float %34, ptr %37, align 4
%38 = call float (...) @rand()
%39 = load float, ptr @RAND_MAX, align 4
%40 = fadd float %39, 1.000000e+00
%41 = fdiv float %38, %40
%42 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %41, float -5.000000e+00)
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 %44
store float %42, ptr %45, align 4
br label %46
46: ; preds = %21
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 4
br i1 %50, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %51
51: ; preds = %._crit_edge, %0
store i32 5000000, ptr %5, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%53 = load i32, ptr @RUSAGE_SELF, align 4
%54 = call i32 @getrusage(i32 noundef %53, ptr noundef %6)
%55 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%56 = getelementptr inbounds %struct.TYPE_2__, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = mul nsw i32 %57, 1000000
%59 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%60 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i32 0, i32 1
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %58, %61
%63 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
store i32 %62, ptr %63, align 4
store i32 0, ptr %11, align 4
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph2, label %77
.lr.ph2: ; preds = %51
br label %67
67: ; preds = %.lr.ph2, %71
%68 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%69 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%70 = call i32 @normalize2_c(ptr noundef %68, ptr noundef %69)
br label %71
71: ; preds = %67
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %11, align 4
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %5, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %77
77: ; preds = %._crit_edge3, %51
%78 = load i32, ptr @RUSAGE_SELF, align 4
%79 = call i32 @getrusage(i32 noundef %78, ptr noundef %6)
%80 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i32 0, i32 0
%82 = load i32, ptr %81, align 4
%83 = mul nsw i32 %82, 1000000
%84 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%85 = getelementptr inbounds %struct.TYPE_2__, ptr %84, i32 0, i32 1
%86 = load i32, ptr %85, align 4
%87 = add nsw i32 %83, %86
%88 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
store i32 %87, ptr %88, align 4
store i32 0, ptr %12, align 4
%89 = load i32, ptr %12, align 4
%90 = load i32, ptr %5, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %102
.lr.ph5: ; preds = %77
br label %92
92: ; preds = %.lr.ph5, %96
%93 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%94 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%95 = call i32 @normalize2_neon(ptr noundef %93, ptr noundef %94)
br label %96
96: ; preds = %92
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %12, align 4
%99 = load i32, ptr %12, align 4
%100 = load i32, ptr %5, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %96
br label %102
102: ; preds = %._crit_edge6, %77
%103 = load i32, ptr @RUSAGE_SELF, align 4
%104 = call i32 @getrusage(i32 noundef %103, ptr noundef %6)
%105 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%106 = getelementptr inbounds %struct.TYPE_2__, ptr %105, i32 0, i32 0
%107 = load i32, ptr %106, align 4
%108 = mul nsw i32 %107, 1000000
%109 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%110 = getelementptr inbounds %struct.TYPE_2__, ptr %109, i32 0, i32 1
%111 = load i32, ptr %110, align 4
%112 = add nsw i32 %108, %111
%113 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
store i32 %112, ptr %113, align 4
%114 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%115 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%116 = call i32 @normalize2_c(ptr noundef %114, ptr noundef %115)
%117 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%118 = load float, ptr %117, align 16
%119 = fpext float %118 to double
%120 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%121 = load float, ptr %120, align 4
%122 = fpext float %121 to double
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %119, double noundef %122)
%124 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%125 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%126 = call i32 @normalize2_neon(ptr noundef %124, ptr noundef %125)
%127 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%128 = load float, ptr %127, align 16
%129 = fpext float %128 to double
%130 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%131 = load float, ptr %130, align 4
%132 = fpext float %131 to double
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %129, double noundef %132)
%134 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%135 = load i32, ptr %134, align 4
%136 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%137 = load i32, ptr %136, align 4
%138 = sub nsw i32 %135, %137
%139 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
%140 = load i32, ptr %139, align 4
%141 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%142 = load i32, ptr %141, align 4
%143 = sub nsw i32 %140, %142
%144 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%145 = load i32, ptr %144, align 4
%146 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 0
%147 = load i32, ptr %146, align 4
%148 = sub nsw i32 %145, %147
%149 = sitofp i32 %148 to float
%150 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2
%151 = load i32, ptr %150, align 4
%152 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 1
%153 = load i32, ptr %152, align 4
%154 = sub nsw i32 %151, %153
%155 = sitofp i32 %154 to float
%156 = fdiv float %149, %155
%157 = fpext float %156 to double
%158 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %138, i32 noundef %143, double noundef %157)
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%160 = load i32, ptr @RUSAGE_SELF, align 4
%161 = call i32 @getrusage(i32 noundef %160, ptr noundef %6)
%162 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%163 = getelementptr inbounds %struct.TYPE_2__, ptr %162, i32 0, i32 0
%164 = load i32, ptr %163, align 4
%165 = mul nsw i32 %164, 1000000
%166 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%167 = getelementptr inbounds %struct.TYPE_2__, ptr %166, i32 0, i32 1
%168 = load i32, ptr %167, align 4
%169 = add nsw i32 %165, %168
%170 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
store i32 %169, ptr %170, align 4
store i32 0, ptr %13, align 4
%171 = load i32, ptr %13, align 4
%172 = load i32, ptr %5, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %.lr.ph8, label %184
.lr.ph8: ; preds = %102
br label %174
174: ; preds = %.lr.ph8, %178
%175 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%176 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%177 = call i32 @normalize3_c(ptr noundef %175, ptr noundef %176)
br label %178
178: ; preds = %174
%179 = load i32, ptr %13, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %13, align 4
%181 = load i32, ptr %13, align 4
%182 = load i32, ptr %5, align 4
%183 = icmp slt i32 %181, %182
br i1 %183, label %174, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %178
br label %184
184: ; preds = %._crit_edge9, %102
%185 = load i32, ptr @RUSAGE_SELF, align 4
%186 = call i32 @getrusage(i32 noundef %185, ptr noundef %6)
%187 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%188 = getelementptr inbounds %struct.TYPE_2__, ptr %187, i32 0, i32 0
%189 = load i32, ptr %188, align 4
%190 = mul nsw i32 %189, 1000000
%191 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%192 = getelementptr inbounds %struct.TYPE_2__, ptr %191, i32 0, i32 1
%193 = load i32, ptr %192, align 4
%194 = add nsw i32 %190, %193
%195 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
store i32 %194, ptr %195, align 4
store i32 0, ptr %14, align 4
%196 = load i32, ptr %14, align 4
%197 = load i32, ptr %5, align 4
%198 = icmp slt i32 %196, %197
br i1 %198, label %.lr.ph11, label %209
.lr.ph11: ; preds = %184
br label %199
199: ; preds = %.lr.ph11, %203
%200 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%201 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%202 = call i32 @normalize3_neon(ptr noundef %200, ptr noundef %201)
br label %203
203: ; preds = %199
%204 = load i32, ptr %14, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %14, align 4
%206 = load i32, ptr %14, align 4
%207 = load i32, ptr %5, align 4
%208 = icmp slt i32 %206, %207
br i1 %208, label %199, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %203
br label %209
209: ; preds = %._crit_edge12, %184
%210 = load i32, ptr @RUSAGE_SELF, align 4
%211 = call i32 @getrusage(i32 noundef %210, ptr noundef %6)
%212 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%213 = getelementptr inbounds %struct.TYPE_2__, ptr %212, i32 0, i32 0
%214 = load i32, ptr %213, align 4
%215 = mul nsw i32 %214, 1000000
%216 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%217 = getelementptr inbounds %struct.TYPE_2__, ptr %216, i32 0, i32 1
%218 = load i32, ptr %217, align 4
%219 = add nsw i32 %215, %218
%220 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
store i32 %219, ptr %220, align 4
%221 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%222 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%223 = call i32 @normalize3_c(ptr noundef %221, ptr noundef %222)
%224 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%225 = load float, ptr %224, align 16
%226 = fpext float %225 to double
%227 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%228 = load float, ptr %227, align 4
%229 = fpext float %228 to double
%230 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%231 = load float, ptr %230, align 8
%232 = fpext float %231 to double
%233 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %226, double noundef %229, double noundef %232)
%234 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%235 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%236 = call i32 @normalize3_neon(ptr noundef %234, ptr noundef %235)
%237 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%238 = load float, ptr %237, align 16
%239 = fpext float %238 to double
%240 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%241 = load float, ptr %240, align 4
%242 = fpext float %241 to double
%243 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%244 = load float, ptr %243, align 8
%245 = fpext float %244 to double
%246 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %239, double noundef %242, double noundef %245)
%247 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%248 = load i32, ptr %247, align 4
%249 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%250 = load i32, ptr %249, align 4
%251 = sub nsw i32 %248, %250
%252 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%253 = load i32, ptr %252, align 4
%254 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%255 = load i32, ptr %254, align 4
%256 = sub nsw i32 %253, %255
%257 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%258 = load i32, ptr %257, align 4
%259 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%260 = load i32, ptr %259, align 4
%261 = sub nsw i32 %258, %260
%262 = sitofp i32 %261 to float
%263 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%264 = load i32, ptr %263, align 4
%265 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%266 = load i32, ptr %265, align 4
%267 = sub nsw i32 %264, %266
%268 = sitofp i32 %267 to float
%269 = fdiv float %262, %268
%270 = fpext float %269 to double
%271 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %251, i32 noundef %256, double noundef %270)
%272 = load i32, ptr @RUSAGE_SELF, align 4
%273 = call i32 @getrusage(i32 noundef %272, ptr noundef %6)
%274 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%275 = getelementptr inbounds %struct.TYPE_2__, ptr %274, i32 0, i32 0
%276 = load i32, ptr %275, align 4
%277 = mul nsw i32 %276, 1000000
%278 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%279 = getelementptr inbounds %struct.TYPE_2__, ptr %278, i32 0, i32 1
%280 = load i32, ptr %279, align 4
%281 = add nsw i32 %277, %280
%282 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
store i32 %281, ptr %282, align 4
store i32 0, ptr %15, align 4
%283 = load i32, ptr %15, align 4
%284 = load i32, ptr %5, align 4
%285 = icmp slt i32 %283, %284
br i1 %285, label %.lr.ph14, label %297
.lr.ph14: ; preds = %209
br label %286
286: ; preds = %.lr.ph14, %291
%287 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%288 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%289 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%290 = call i32 @cross3_c(ptr noundef %287, ptr noundef %288, ptr noundef %289)
br label %291
291: ; preds = %286
%292 = load i32, ptr %15, align 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %15, align 4
%294 = load i32, ptr %15, align 4
%295 = load i32, ptr %5, align 4
%296 = icmp slt i32 %294, %295
br i1 %296, label %286, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %291
br label %297
297: ; preds = %._crit_edge15, %209
%298 = load i32, ptr @RUSAGE_SELF, align 4
%299 = call i32 @getrusage(i32 noundef %298, ptr noundef %6)
%300 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%301 = getelementptr inbounds %struct.TYPE_2__, ptr %300, i32 0, i32 0
%302 = load i32, ptr %301, align 4
%303 = mul nsw i32 %302, 1000000
%304 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%305 = getelementptr inbounds %struct.TYPE_2__, ptr %304, i32 0, i32 1
%306 = load i32, ptr %305, align 4
%307 = add nsw i32 %303, %306
%308 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
store i32 %307, ptr %308, align 4
store i32 0, ptr %16, align 4
%309 = load i32, ptr %16, align 4
%310 = load i32, ptr %5, align 4
%311 = icmp slt i32 %309, %310
br i1 %311, label %.lr.ph17, label %323
.lr.ph17: ; preds = %297
br label %312
312: ; preds = %.lr.ph17, %317
%313 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%314 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%315 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%316 = call i32 @cross3_neon(ptr noundef %313, ptr noundef %314, ptr noundef %315)
br label %317
317: ; preds = %312
%318 = load i32, ptr %16, align 4
%319 = add nsw i32 %318, 1
store i32 %319, ptr %16, align 4
%320 = load i32, ptr %16, align 4
%321 = load i32, ptr %5, align 4
%322 = icmp slt i32 %320, %321
br i1 %322, label %312, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %317
br label %323
323: ; preds = %._crit_edge18, %297
%324 = load i32, ptr @RUSAGE_SELF, align 4
%325 = call i32 @getrusage(i32 noundef %324, ptr noundef %6)
%326 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%327 = getelementptr inbounds %struct.TYPE_2__, ptr %326, i32 0, i32 0
%328 = load i32, ptr %327, align 4
%329 = mul nsw i32 %328, 1000000
%330 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%331 = getelementptr inbounds %struct.TYPE_2__, ptr %330, i32 0, i32 1
%332 = load i32, ptr %331, align 4
%333 = add nsw i32 %329, %332
%334 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
store i32 %333, ptr %334, align 4
%335 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%336 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%337 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%338 = call i32 @cross3_c(ptr noundef %335, ptr noundef %336, ptr noundef %337)
%339 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%340 = load float, ptr %339, align 16
%341 = fpext float %340 to double
%342 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%343 = load float, ptr %342, align 4
%344 = fpext float %343 to double
%345 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%346 = load float, ptr %345, align 8
%347 = fpext float %346 to double
%348 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %341, double noundef %344, double noundef %347)
%349 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%350 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
%351 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%352 = call i32 @cross3_neon(ptr noundef %349, ptr noundef %350, ptr noundef %351)
%353 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%354 = load float, ptr %353, align 16
%355 = fpext float %354 to double
%356 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%357 = load float, ptr %356, align 4
%358 = fpext float %357 to double
%359 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%360 = load float, ptr %359, align 8
%361 = fpext float %360 to double
%362 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %355, double noundef %358, double noundef %361)
%363 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%364 = load i32, ptr %363, align 4
%365 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%366 = load i32, ptr %365, align 4
%367 = sub nsw i32 %364, %366
%368 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%369 = load i32, ptr %368, align 4
%370 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%371 = load i32, ptr %370, align 4
%372 = sub nsw i32 %369, %371
%373 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%374 = load i32, ptr %373, align 4
%375 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0
%376 = load i32, ptr %375, align 4
%377 = sub nsw i32 %374, %376
%378 = sitofp i32 %377 to float
%379 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 2
%380 = load i32, ptr %379, align 4
%381 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 1
%382 = load i32, ptr %381, align 4
%383 = sub nsw i32 %380, %382
%384 = sitofp i32 %383 to float
%385 = fdiv float %378, %384
%386 = fpext float %385 to double
%387 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %367, i32 noundef %372, double noundef %386)
%388 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%389 = load i32, ptr @RUSAGE_SELF, align 4
%390 = call i32 @getrusage(i32 noundef %389, ptr noundef %6)
%391 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%392 = getelementptr inbounds %struct.TYPE_2__, ptr %391, i32 0, i32 0
%393 = load i32, ptr %392, align 4
%394 = mul nsw i32 %393, 1000000
%395 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%396 = getelementptr inbounds %struct.TYPE_2__, ptr %395, i32 0, i32 1
%397 = load i32, ptr %396, align 4
%398 = add nsw i32 %394, %397
%399 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
store i32 %398, ptr %399, align 4
store i32 0, ptr %17, align 4
%400 = load i32, ptr %17, align 4
%401 = load i32, ptr %5, align 4
%402 = icmp slt i32 %400, %401
br i1 %402, label %.lr.ph20, label %413
.lr.ph20: ; preds = %323
br label %403
403: ; preds = %.lr.ph20, %407
%404 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%405 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%406 = call i32 @normalize4_c(ptr noundef %404, ptr noundef %405)
br label %407
407: ; preds = %403
%408 = load i32, ptr %17, align 4
%409 = add nsw i32 %408, 1
store i32 %409, ptr %17, align 4
%410 = load i32, ptr %17, align 4
%411 = load i32, ptr %5, align 4
%412 = icmp slt i32 %410, %411
br i1 %412, label %403, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %407
br label %413
413: ; preds = %._crit_edge21, %323
%414 = load i32, ptr @RUSAGE_SELF, align 4
%415 = call i32 @getrusage(i32 noundef %414, ptr noundef %6)
%416 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%417 = getelementptr inbounds %struct.TYPE_2__, ptr %416, i32 0, i32 0
%418 = load i32, ptr %417, align 4
%419 = mul nsw i32 %418, 1000000
%420 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%421 = getelementptr inbounds %struct.TYPE_2__, ptr %420, i32 0, i32 1
%422 = load i32, ptr %421, align 4
%423 = add nsw i32 %419, %422
%424 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
store i32 %423, ptr %424, align 4
store i32 0, ptr %18, align 4
%425 = load i32, ptr %18, align 4
%426 = load i32, ptr %5, align 4
%427 = icmp slt i32 %425, %426
br i1 %427, label %.lr.ph23, label %438
.lr.ph23: ; preds = %413
br label %428
428: ; preds = %.lr.ph23, %432
%429 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%430 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%431 = call i32 @normalize4_neon(ptr noundef %429, ptr noundef %430)
br label %432
432: ; preds = %428
%433 = load i32, ptr %18, align 4
%434 = add nsw i32 %433, 1
store i32 %434, ptr %18, align 4
%435 = load i32, ptr %18, align 4
%436 = load i32, ptr %5, align 4
%437 = icmp slt i32 %435, %436
br i1 %437, label %428, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %432
br label %438
438: ; preds = %._crit_edge24, %413
%439 = load i32, ptr @RUSAGE_SELF, align 4
%440 = call i32 @getrusage(i32 noundef %439, ptr noundef %6)
%441 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%442 = getelementptr inbounds %struct.TYPE_2__, ptr %441, i32 0, i32 0
%443 = load i32, ptr %442, align 4
%444 = mul nsw i32 %443, 1000000
%445 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0
%446 = getelementptr inbounds %struct.TYPE_2__, ptr %445, i32 0, i32 1
%447 = load i32, ptr %446, align 4
%448 = add nsw i32 %444, %447
%449 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
store i32 %448, ptr %449, align 4
%450 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%451 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%452 = call i32 @normalize4_c(ptr noundef %450, ptr noundef %451)
%453 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%454 = load float, ptr %453, align 16
%455 = fpext float %454 to double
%456 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%457 = load float, ptr %456, align 4
%458 = fpext float %457 to double
%459 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%460 = load float, ptr %459, align 8
%461 = fpext float %460 to double
%462 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
%463 = load float, ptr %462, align 4
%464 = fpext float %463 to double
%465 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %455, double noundef %458, double noundef %461, double noundef %464)
%466 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 0
%467 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%468 = call i32 @normalize4_neon(ptr noundef %466, ptr noundef %467)
%469 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%470 = load float, ptr %469, align 16
%471 = fpext float %470 to double
%472 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
%473 = load float, ptr %472, align 4
%474 = fpext float %473 to double
%475 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
%476 = load float, ptr %475, align 8
%477 = fpext float %476 to double
%478 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
%479 = load float, ptr %478, align 4
%480 = fpext float %479 to double
%481 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %471, double noundef %474, double noundef %477, double noundef %480)
%482 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%483 = load i32, ptr %482, align 4
%484 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%485 = load i32, ptr %484, align 4
%486 = sub nsw i32 %483, %485
%487 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
%488 = load i32, ptr %487, align 4
%489 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%490 = load i32, ptr %489, align 4
%491 = sub nsw i32 %488, %490
%492 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%493 = load i32, ptr %492, align 4
%494 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%495 = load i32, ptr %494, align 4
%496 = sub nsw i32 %493, %495
%497 = sitofp i32 %496 to float
%498 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 2
%499 = load i32, ptr %498, align 4
%500 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 1
%501 = load i32, ptr %500, align 4
%502 = sub nsw i32 %499, %501
%503 = sitofp i32 %502 to float
%504 = fdiv float %497, %503
%505 = fpext float %504 to double
%506 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %486, i32 noundef %491, double noundef %505)
%507 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare float @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @normalize2_c(ptr noundef, ptr noundef) #1
declare i32 @normalize2_neon(ptr noundef, ptr noundef) #1
declare i32 @normalize3_c(ptr noundef, ptr noundef) #1
declare i32 @normalize3_neon(ptr noundef, ptr noundef) #1
declare i32 @cross3_c(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cross3_neon(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @normalize4_c(ptr noundef, ptr noundef) #1
declare i32 @normalize4_neon(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!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}
|
; ModuleID = '/tmp/tmpsn4ym5fo.c'
source_filename = "/tmp/tmpsn4ym5fo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @getchar()
store i32 %7, ptr %6, align 4
br label %8
8: ; preds = %12, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = call i32 @putchar(i32 noundef %13)
%15 = call i32 (...) @getchar()
store i32 %15, ptr %6, align 4
br label %8, !llvm.loop !6
16: ; preds = %8
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsn4ym5fo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @getchar()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %6, align 4
%13 = call i32 @putchar(i32 noundef %12)
%14 = call i32 (...) @getchar()
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr @EOF, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %18
18: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiqnnq79k.c'
source_filename = "/tmp/tmpiqnnq79k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpiqnnq79k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmp3bw_ug8r.c'
source_filename = "/tmp/tmp3bw_ug8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INFINITY = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @incr_eps(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
store i64 0, ptr %13, align 8
br label %19
19: ; preds = %124, %6
%20 = load i64, ptr %13, align 8
%21 = load i64, ptr %10, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %127
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load i64, ptr %13, align 8
%26 = getelementptr inbounds double, ptr %24, i64 %25
store double 0.000000e+00, ptr %26, align 8
store i64 0, ptr %14, align 8
br label %27
27: ; preds = %120, %23
%28 = load i64, ptr %14, align 8
%29 = load i64, ptr %11, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %31, label %123
31: ; preds = %27
%32 = load double, ptr @INFINITY, align 8
store double %32, ptr %15, align 8
store i64 0, ptr %16, align 8
br label %33
33: ; preds = %98, %31
%34 = load i64, ptr %16, align 8
%35 = load i64, ptr %13, align 8
%36 = add i64 %35, 1
%37 = icmp ult i64 %34, %36
br i1 %37, label %38, label %101
38: ; preds = %33
store double 0.000000e+00, ptr %17, align 8
store i64 0, ptr %18, align 8
br label %39
39: ; preds = %85, %38
%40 = load i64, ptr %18, align 8
%41 = load i64, ptr %12, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %88
43: ; preds = %39
%44 = load double, ptr %17, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i64, ptr %16, align 8
%47 = load i64, ptr %12, align 8
%48 = mul i64 %46, %47
%49 = load i64, ptr %18, align 8
%50 = add i64 %48, %49
%51 = getelementptr inbounds double, ptr %45, i64 %50
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %9, align 8
%54 = load i64, ptr %14, align 8
%55 = load i64, ptr %12, align 8
%56 = mul i64 %54, %55
%57 = load i64, ptr %18, align 8
%58 = add i64 %56, %57
%59 = getelementptr inbounds double, ptr %53, i64 %58
%60 = load double, ptr %59, align 8
%61 = fsub double %52, %60
%62 = fcmp ogt double %44, %61
br i1 %62, label %63, label %65
63: ; preds = %43
%64 = load double, ptr %17, align 8
br label %83
65: ; preds = %43
%66 = load ptr, ptr %8, align 8
%67 = load i64, ptr %16, align 8
%68 = load i64, ptr %12, align 8
%69 = mul i64 %67, %68
%70 = load i64, ptr %18, align 8
%71 = add i64 %69, %70
%72 = getelementptr inbounds double, ptr %66, i64 %71
%73 = load double, ptr %72, align 8
%74 = load ptr, ptr %9, align 8
%75 = load i64, ptr %14, align 8
%76 = load i64, ptr %12, align 8
%77 = mul i64 %75, %76
%78 = load i64, ptr %18, align 8
%79 = add i64 %77, %78
%80 = getelementptr inbounds double, ptr %74, i64 %79
%81 = load double, ptr %80, align 8
%82 = fsub double %73, %81
br label %83
83: ; preds = %65, %63
%84 = phi double [ %64, %63 ], [ %82, %65 ]
store double %84, ptr %17, align 8
br label %85
85: ; preds = %83
%86 = load i64, ptr %18, align 8
%87 = add i64 %86, 1
store i64 %87, ptr %18, align 8
br label %39, !llvm.loop !6
88: ; preds = %39
%89 = load double, ptr %15, align 8
%90 = load double, ptr %17, align 8
%91 = fcmp olt double %89, %90
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = load double, ptr %15, align 8
br label %96
94: ; preds = %88
%95 = load double, ptr %17, align 8
br label %96
96: ; preds = %94, %92
%97 = phi double [ %93, %92 ], [ %95, %94 ]
store double %97, ptr %15, align 8
br label %98
98: ; preds = %96
%99 = load i64, ptr %16, align 8
%100 = add i64 %99, 1
store i64 %100, ptr %16, align 8
br label %33, !llvm.loop !8
101: ; preds = %33
%102 = load ptr, ptr %7, align 8
%103 = load i64, ptr %13, align 8
%104 = getelementptr inbounds double, ptr %102, i64 %103
%105 = load double, ptr %104, align 8
%106 = load double, ptr %15, align 8
%107 = fcmp ogt double %105, %106
br i1 %107, label %108, label %113
108: ; preds = %101
%109 = load ptr, ptr %7, align 8
%110 = load i64, ptr %13, align 8
%111 = getelementptr inbounds double, ptr %109, i64 %110
%112 = load double, ptr %111, align 8
br label %115
113: ; preds = %101
%114 = load double, ptr %15, align 8
br label %115
115: ; preds = %113, %108
%116 = phi double [ %112, %108 ], [ %114, %113 ]
%117 = load ptr, ptr %7, align 8
%118 = load i64, ptr %13, align 8
%119 = getelementptr inbounds double, ptr %117, i64 %118
store double %116, ptr %119, align 8
br label %120
120: ; preds = %115
%121 = load i64, ptr %14, align 8
%122 = add i64 %121, 1
store i64 %122, ptr %14, align 8
br label %27, !llvm.loop !9
123: ; preds = %27
br label %124
124: ; preds = %123
%125 = load i64, ptr %13, align 8
%126 = add i64 %125, 1
store i64 %126, ptr %13, align 8
br label %19, !llvm.loop !10
127: ; preds = %19
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3bw_ug8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INFINITY = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @incr_eps(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
store i64 0, ptr %13, align 8
%19 = load i64, ptr %13, align 8
%20 = load i64, ptr %10, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %.lr.ph8, label %136
.lr.ph8: ; preds = %6
br label %22
22: ; preds = %.lr.ph8, %130
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %13, align 8
%25 = getelementptr inbounds double, ptr %23, i64 %24
store double 0.000000e+00, ptr %25, align 8
store i64 0, ptr %14, align 8
%26 = load i64, ptr %14, align 8
%27 = load i64, ptr %11, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %.lr.ph5, label %129
.lr.ph5: ; preds = %22
br label %29
29: ; preds = %.lr.ph5, %123
%30 = load double, ptr @INFINITY, align 8
store double %30, ptr %15, align 8
store i64 0, ptr %16, align 8
%31 = load i64, ptr %16, align 8
%32 = load i64, ptr %13, align 8
%33 = add i64 %32, 1
%34 = icmp ult i64 %31, %33
br i1 %34, label %.lr.ph2, label %104
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %97
store double 0.000000e+00, ptr %17, align 8
store i64 0, ptr %18, align 8
%36 = load i64, ptr %18, align 8
%37 = load i64, ptr %12, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %.lr.ph, label %87
.lr.ph: ; preds = %35
br label %39
39: ; preds = %.lr.ph, %81
%40 = load double, ptr %17, align 8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %16, align 8
%43 = load i64, ptr %12, align 8
%44 = mul i64 %42, %43
%45 = load i64, ptr %18, align 8
%46 = add i64 %44, %45
%47 = getelementptr inbounds double, ptr %41, i64 %46
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %9, align 8
%50 = load i64, ptr %14, align 8
%51 = load i64, ptr %12, align 8
%52 = mul i64 %50, %51
%53 = load i64, ptr %18, align 8
%54 = add i64 %52, %53
%55 = getelementptr inbounds double, ptr %49, i64 %54
%56 = load double, ptr %55, align 8
%57 = fsub double %48, %56
%58 = fcmp ogt double %40, %57
br i1 %58, label %59, label %61
59: ; preds = %39
%60 = load double, ptr %17, align 8
br label %79
61: ; preds = %39
%62 = load ptr, ptr %8, align 8
%63 = load i64, ptr %16, align 8
%64 = load i64, ptr %12, align 8
%65 = mul i64 %63, %64
%66 = load i64, ptr %18, align 8
%67 = add i64 %65, %66
%68 = getelementptr inbounds double, ptr %62, i64 %67
%69 = load double, ptr %68, align 8
%70 = load ptr, ptr %9, align 8
%71 = load i64, ptr %14, align 8
%72 = load i64, ptr %12, align 8
%73 = mul i64 %71, %72
%74 = load i64, ptr %18, align 8
%75 = add i64 %73, %74
%76 = getelementptr inbounds double, ptr %70, i64 %75
%77 = load double, ptr %76, align 8
%78 = fsub double %69, %77
br label %79
79: ; preds = %61, %59
%80 = phi double [ %60, %59 ], [ %78, %61 ]
store double %80, ptr %17, align 8
br label %81
81: ; preds = %79
%82 = load i64, ptr %18, align 8
%83 = add i64 %82, 1
store i64 %83, ptr %18, align 8
%84 = load i64, ptr %18, align 8
%85 = load i64, ptr %12, align 8
%86 = icmp ult i64 %84, %85
br i1 %86, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %87
87: ; preds = %._crit_edge, %35
%88 = load double, ptr %15, align 8
%89 = load double, ptr %17, align 8
%90 = fcmp olt double %88, %89
br i1 %90, label %91, label %93
91: ; preds = %87
%92 = load double, ptr %15, align 8
br label %95
93: ; preds = %87
%94 = load double, ptr %17, align 8
br label %95
95: ; preds = %93, %91
%96 = phi double [ %92, %91 ], [ %94, %93 ]
store double %96, ptr %15, align 8
br label %97
97: ; preds = %95
%98 = load i64, ptr %16, align 8
%99 = add i64 %98, 1
store i64 %99, ptr %16, align 8
%100 = load i64, ptr %16, align 8
%101 = load i64, ptr %13, align 8
%102 = add i64 %101, 1
%103 = icmp ult i64 %100, %102
br i1 %103, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %97
br label %104
104: ; preds = %._crit_edge3, %29
%105 = load ptr, ptr %7, align 8
%106 = load i64, ptr %13, align 8
%107 = getelementptr inbounds double, ptr %105, i64 %106
%108 = load double, ptr %107, align 8
%109 = load double, ptr %15, align 8
%110 = fcmp ogt double %108, %109
br i1 %110, label %111, label %116
111: ; preds = %104
%112 = load ptr, ptr %7, align 8
%113 = load i64, ptr %13, align 8
%114 = getelementptr inbounds double, ptr %112, i64 %113
%115 = load double, ptr %114, align 8
br label %118
116: ; preds = %104
%117 = load double, ptr %15, align 8
br label %118
118: ; preds = %116, %111
%119 = phi double [ %115, %111 ], [ %117, %116 ]
%120 = load ptr, ptr %7, align 8
%121 = load i64, ptr %13, align 8
%122 = getelementptr inbounds double, ptr %120, i64 %121
store double %119, ptr %122, align 8
br label %123
123: ; preds = %118
%124 = load i64, ptr %14, align 8
%125 = add i64 %124, 1
store i64 %125, ptr %14, align 8
%126 = load i64, ptr %14, align 8
%127 = load i64, ptr %11, align 8
%128 = icmp ult i64 %126, %127
br i1 %128, label %29, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %123
br label %129
129: ; preds = %._crit_edge6, %22
br label %130
130: ; preds = %129
%131 = load i64, ptr %13, align 8
%132 = add i64 %131, 1
store i64 %132, ptr %13, align 8
%133 = load i64, ptr %13, align 8
%134 = load i64, ptr %10, align 8
%135 = icmp ult i64 %133, %134
br i1 %135, label %22, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %130
br label %136
136: ; preds = %._crit_edge9, %6
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmptr5cgykn.c'
source_filename = "/tmp/tmptr5cgykn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = 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/tmptr5cgykn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = 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/tmpzmx4ryhq.c'
source_filename = "/tmp/tmpzmx4ryhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OPENSSL_INIT_LOAD_CRYPTO_STRINGS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FuzzerInitialize(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 @OPENSSL_INIT_LOAD_CRYPTO_STRINGS, align 4
%6 = call i32 @OPENSSL_init_crypto(i32 noundef %5, ptr noundef null)
%7 = call i32 @CRYPTO_free_ex_index(i32 noundef 0, i32 noundef -1)
%8 = call i32 (...) @ERR_get_state()
ret i32 1
}
declare i32 @OPENSSL_init_crypto(i32 noundef, ptr noundef) #1
declare i32 @CRYPTO_free_ex_index(i32 noundef, i32 noundef) #1
declare i32 @ERR_get_state(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmx4ryhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OPENSSL_INIT_LOAD_CRYPTO_STRINGS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FuzzerInitialize(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 @OPENSSL_INIT_LOAD_CRYPTO_STRINGS, align 4
%6 = call i32 @OPENSSL_init_crypto(i32 noundef %5, ptr noundef null)
%7 = call i32 @CRYPTO_free_ex_index(i32 noundef 0, i32 noundef -1)
%8 = call i32 (...) @ERR_get_state()
ret i32 1
}
declare i32 @OPENSSL_init_crypto(i32 noundef, ptr noundef) #1
declare i32 @CRYPTO_free_ex_index(i32 noundef, i32 noundef) #1
declare i32 @ERR_get_state(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1vn2s4yz.c'
source_filename = "/tmp/tmp1vn2s4yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %31
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %25, %10
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = srem i32 %17, 13
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %20, %16
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load i32, ptr %5, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %57
31: ; preds = %0
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp sgt i32 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load i32, ptr %2, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %50, %35
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = load i32, ptr %4, align 4
%43 = srem i32 %42, 13
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %41
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %45, %41
br label %50
50: ; preds = %49
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %4, align 4
br label %37, !llvm.loop !8
53: ; preds = %37
%54 = load i32, ptr %5, align 4
%55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %54)
br label %56
56: ; preds = %53, %31
br label %57
57: ; preds = %56, %28
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vn2s4yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %33
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph2, label %30
.lr.ph2: ; preds = %10
br label %15
15: ; preds = %.lr.ph2, %24
%16 = load i32, ptr %4, align 4
%17 = srem i32 %16, 13
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %19, %15
br label %24
24: ; preds = %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %15, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %24
br label %30
30: ; preds = %._crit_edge3, %10
%31 = load i32, ptr %5, align 4
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
br label %61
33: ; preds = %0
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp sgt i32 %34, %35
br i1 %36, label %37, label %60
37: ; preds = %33
%38 = load i32, ptr %2, align 4
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sge i32 %39, %40
br i1 %41, label %.lr.ph, label %57
.lr.ph: ; preds = %37
br label %42
42: ; preds = %.lr.ph, %51
%43 = load i32, ptr %4, align 4
%44 = srem i32 %43, 13
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %46, %42
br label %51
51: ; preds = %50
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %4, align 4
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp sge i32 %54, %55
br i1 %56, label %42, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %37
%58 = load i32, ptr %5, align 4
%59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58)
br label %60
60: ; preds = %57, %33
br label %61
61: ; preds = %60, %30
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqja5ml99.c'
source_filename = "/tmp/tmpqja5ml99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prtiarray(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 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %21
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %11
%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 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, 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 @printf(ptr noundef @.str.1, i32 noundef %26)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqja5ml99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prtiarray(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 = sub nsw i32 %7, 1
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%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 = sub nsw i32 %21, 1
%23 = icmp slt i32 %20, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb2id7hye.c'
source_filename = "/tmp/tmpb2id7hye.c"
target datalayout = "e-m:e-p270: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/tmpb2id7hye.c"
target datalayout = "e-m:e-p270: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/tmpjgwjmtga.c'
source_filename = "/tmp/tmpjgwjmtga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_flushed_tls(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjgwjmtga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_flushed_tls(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpca7io4w7.c'
source_filename = "/tmp/tmpca7io4w7.c"
target datalayout = "e-m:e-p270: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/tmpca7io4w7.c"
target datalayout = "e-m:e-p270: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/tmp0cjqtcsz.c'
source_filename = "/tmp/tmp0cjqtcsz.c"
target datalayout = "e-m:e-p270: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/tmp0cjqtcsz.c"
target datalayout = "e-m:e-p270: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/tmpy1qkhvi7.c'
source_filename = "/tmp/tmpy1qkhvi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"fork failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"execvp failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [2 x ptr], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %5, align 4
switch i32 %7, label %19 [
i32 -1, label %8
i32 0, label %10
]
8: ; preds = %2
%9 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %10
10: ; preds = %2, %8
%11 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %11, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 1
store ptr null, ptr %13, align 8
%14 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%15 = load ptr, ptr %14, align 16
%16 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%17 = call i32 @execvp(ptr noundef %15, ptr noundef %16)
%18 = call i32 @err(i32 noundef 1, ptr noundef @.str.1)
br label %19
19: ; preds = %2, %10
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @fork(...) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1qkhvi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"fork failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"execvp failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [2 x ptr], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %5, align 4
switch i32 %7, label %19 [
i32 -1, label %8
i32 0, label %10
]
8: ; preds = %2
%9 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %10
10: ; preds = %8, %2
%11 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %11, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 1
store ptr null, ptr %13, align 8
%14 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%15 = load ptr, ptr %14, align 16
%16 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%17 = call i32 @execvp(ptr noundef %15, ptr noundef %16)
%18 = call i32 @err(i32 noundef 1, ptr noundef @.str.1)
br label %19
19: ; preds = %10, %2
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @fork(...) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt_b8_l4p.c'
source_filename = "/tmp/tmpt_b8_l4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"%d catch SIGINT.\0A\00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%d catch SIGQUIT.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_sig(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 @SIGINT, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (...) @getpid()
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, i32 noundef %8)
br label %19
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @SIGQUIT, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (...) @getpid()
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %14, %10
br label %19
19: ; preds = %18, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_b8_l4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"%d catch SIGINT.\0A\00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%d catch SIGQUIT.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_sig(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 @SIGINT, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (...) @getpid()
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, i32 noundef %8)
br label %19
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @SIGQUIT, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (...) @getpid()
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %14, %10
br label %19
19: ; preds = %18, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx7nnp7o8.c'
source_filename = "/tmp/tmpx7nnp7o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__argz_create_sep(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = add nsw i32 %14, 1
%16 = sext i32 %15 to i64
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp ugt i64 %17, 1
br i1 %18, label %19, label %81
19: ; preds = %4
%20 = load i64, ptr %10, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %8, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %24, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = load i32, ptr @ENOMEM, align 4
store i32 %28, ptr %5, align 4
br label %85
29: ; preds = %19
%30 = load ptr, ptr %6, align 8
store ptr %30, ptr %11, align 8
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %12, align 8
br label %33
33: ; preds = %63, %29
%34 = load ptr, ptr %11, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %57
39: ; preds = %33
%40 = load ptr, ptr %12, align 8
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %41, align 8
%43 = icmp ugt ptr %40, %42
br i1 %43, label %44, label %53
44: ; preds = %39
%45 = load ptr, ptr %12, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 -1
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %44
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %12, align 8
store i8 0, ptr %51, align 1
br label %56
53: ; preds = %44, %39
%54 = load i64, ptr %10, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %10, align 8
br label %56
56: ; preds = %53, %50
br label %62
57: ; preds = %33
%58 = load ptr, ptr %11, align 8
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %12, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %12, align 8
store i8 %59, ptr %60, align 1
br label %62
62: ; preds = %57, %56
br label %63
63: ; preds = %62
%64 = load ptr, ptr %11, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %11, align 8
%66 = load i8, ptr %64, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br i1 %68, label %33, label %69, !llvm.loop !6
69: ; preds = %63
%70 = load i64, ptr %10, align 8
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %78
72: ; preds = %69
%73 = load ptr, ptr %8, align 8
%74 = load ptr, ptr %73, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %8, align 8
store ptr null, ptr %76, align 8
%77 = load ptr, ptr %9, align 8
store i64 0, ptr %77, align 8
br label %78
78: ; preds = %72, %69
%79 = load i64, ptr %10, align 8
%80 = load ptr, ptr %9, align 8
store i64 %79, ptr %80, align 8
br label %84
81: ; preds = %4
%82 = load ptr, ptr %8, align 8
store ptr null, ptr %82, align 8
%83 = load ptr, ptr %9, align 8
store i64 0, ptr %83, align 8
br label %84
84: ; preds = %81, %78
store i32 0, ptr %5, align 4
br label %85
85: ; preds = %84, %27
%86 = load i32, ptr %5, align 4
ret i32 %86
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i64 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/tmpx7nnp7o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__argz_create_sep(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = add nsw i32 %14, 1
%16 = sext i32 %15 to i64
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp ugt i64 %17, 1
br i1 %18, label %19, label %81
19: ; preds = %4
%20 = load i64, ptr %10, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %8, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %24, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = load i32, ptr @ENOMEM, align 4
store i32 %28, ptr %5, align 4
br label %85
29: ; preds = %19
%30 = load ptr, ptr %6, align 8
store ptr %30, ptr %11, align 8
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %12, align 8
br label %33
33: ; preds = %63, %29
%34 = load ptr, ptr %11, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %57
39: ; preds = %33
%40 = load ptr, ptr %12, align 8
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %41, align 8
%43 = icmp ugt ptr %40, %42
br i1 %43, label %44, label %53
44: ; preds = %39
%45 = load ptr, ptr %12, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 -1
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %44
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %12, align 8
store i8 0, ptr %51, align 1
br label %56
53: ; preds = %44, %39
%54 = load i64, ptr %10, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %10, align 8
br label %56
56: ; preds = %53, %50
br label %62
57: ; preds = %33
%58 = load ptr, ptr %11, align 8
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %12, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %12, align 8
store i8 %59, ptr %60, align 1
br label %62
62: ; preds = %57, %56
br label %63
63: ; preds = %62
%64 = load ptr, ptr %11, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %11, align 8
%66 = load i8, ptr %64, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br i1 %68, label %33, label %69, !llvm.loop !6
69: ; preds = %63
%70 = load i64, ptr %10, align 8
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %78
72: ; preds = %69
%73 = load ptr, ptr %8, align 8
%74 = load ptr, ptr %73, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %8, align 8
store ptr null, ptr %76, align 8
%77 = load ptr, ptr %9, align 8
store i64 0, ptr %77, align 8
br label %78
78: ; preds = %72, %69
%79 = load i64, ptr %10, align 8
%80 = load ptr, ptr %9, align 8
store i64 %79, ptr %80, align 8
br label %84
81: ; preds = %4
%82 = load ptr, ptr %8, align 8
store ptr null, ptr %82, align 8
%83 = load ptr, ptr %9, align 8
store i64 0, ptr %83, align 8
br label %84
84: ; preds = %81, %78
store i32 0, ptr %5, align 4
br label %85
85: ; preds = %84, %27
%86 = load i32, ptr %5, align 4
ret i32 %86
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i64 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/tmpjstlhyg9.c'
source_filename = "/tmp/tmpjstlhyg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbgsysUnloadLibrary(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 @dlclose(ptr noundef %3)
ret void
}
declare i32 @dlclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjstlhyg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbgsysUnloadLibrary(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 @dlclose(ptr noundef %3)
ret void
}
declare i32 @dlclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjb0_6ph8.c'
source_filename = "/tmp/tmpjb0_6ph8.c"
target datalayout = "e-m:e-p270: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/tmpjb0_6ph8.c"
target datalayout = "e-m:e-p270: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/tmpmurtsubk.c'
source_filename = "/tmp/tmpmurtsubk.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr }
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"Not a choice; choose 1-7, '(A)ll', '(i)ndex', or '(q)uit'\0A\00", align 1
@TCSAFLUSH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [65 x i8] c"Can't reset terminal?!; This would be a bug. Please report it.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = alloca %struct.termios, align 8
%2 = alloca %struct.termios, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @stdout, align 4
%5 = load i32, ptr @_IONBF, align 4
%6 = call i32 @setvbuf(i32 noundef %4, ptr noundef null, i32 noundef %5, i32 noundef 0)
%7 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %1)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %1, i64 16, i1 false)
%8 = load i32, ptr @ISIG, align 4
%9 = load i32, ptr @ICANON, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @ECHO, align 4
%12 = or i32 %10, %11
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 8
%17 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i64, ptr @VMIN, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 1, ptr %20, align 4
%21 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = load i64, ptr @VTIME, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
store i32 2, ptr %24, align 4
%25 = load i32, ptr @TCSANOW, align 4
%26 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %25, ptr noundef %2)
store i32 0, ptr %3, align 4
%27 = call i32 (...) @IndexScreen()
br label %28
28: ; preds = %71, %0
%29 = call i32 (...) @getchar()
store i32 %29, ptr %3, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %72
31: ; preds = %28
%32 = load i32, ptr %3, align 4
switch i32 %32, label %33 [
i32 105, label %36
i32 73, label %36
i32 10, label %38
i32 49, label %39
i32 50, label %41
i32 51, label %43
i32 52, label %45
i32 53, label %47
i32 54, label %49
i32 55, label %51
i32 113, label %53
i32 81, label %53
i32 65, label %63
i32 97, label %63
]
33: ; preds = %31
%34 = load i32, ptr @stdout, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str)
br label %71
36: ; preds = %31, %31
%37 = call i32 (...) @IndexScreen()
br label %71
38: ; preds = %31
br label %71
39: ; preds = %31
%40 = call i32 (...) @HelpScreen1()
br label %71
41: ; preds = %31
%42 = call i32 (...) @HelpScreen2()
br label %71
43: ; preds = %31
%44 = call i32 (...) @HelpScreen3()
br label %71
45: ; preds = %31
%46 = call i32 (...) @HelpScreen4()
br label %71
47: ; preds = %31
%48 = call i32 (...) @HelpScreen5()
br label %71
49: ; preds = %31
%50 = call i32 (...) @HelpScreen6()
br label %71
51: ; preds = %31
%52 = call i32 (...) @HelpScreen7()
br label %71
53: ; preds = %31, %31
%54 = load i32, ptr @TCSAFLUSH, align 4
%55 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %54, ptr noundef %1)
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = load i32, ptr @stderr, align 4
%59 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.1)
%60 = call i32 @exit(i32 noundef -1) #4
unreachable
61: ; preds = %53
%62 = call i32 @exit(i32 noundef 0) #4
unreachable
63: ; preds = %31, %31
%64 = call i32 (...) @HelpScreen1()
%65 = call i32 (...) @HelpScreen2()
%66 = call i32 (...) @HelpScreen3()
%67 = call i32 (...) @HelpScreen4()
%68 = call i32 (...) @HelpScreen5()
%69 = call i32 (...) @HelpScreen6()
%70 = call i32 (...) @HelpScreen7()
br label %71
71: ; preds = %63, %51, %49, %47, %45, %43, %41, %39, %38, %36, %33
br label %28, !llvm.loop !6
72: ; preds = %28
ret void
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @IndexScreen(...) #1
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @HelpScreen1(...) #1
declare i32 @HelpScreen2(...) #1
declare i32 @HelpScreen3(...) #1
declare i32 @HelpScreen4(...) #1
declare i32 @HelpScreen5(...) #1
declare i32 @HelpScreen6(...) #1
declare i32 @HelpScreen7(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmurtsubk.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr }
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"Not a choice; choose 1-7, '(A)ll', '(i)ndex', or '(q)uit'\0A\00", align 1
@TCSAFLUSH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [65 x i8] c"Can't reset terminal?!; This would be a bug. Please report it.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = alloca %struct.termios, align 8
%2 = alloca %struct.termios, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @stdout, align 4
%5 = load i32, ptr @_IONBF, align 4
%6 = call i32 @setvbuf(i32 noundef %4, ptr noundef null, i32 noundef %5, i32 noundef 0)
%7 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %1)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %1, i64 16, i1 false)
%8 = load i32, ptr @ISIG, align 4
%9 = load i32, ptr @ICANON, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @ECHO, align 4
%12 = or i32 %10, %11
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 8
%17 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i64, ptr @VMIN, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 1, ptr %20, align 4
%21 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
%23 = load i64, ptr @VTIME, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
store i32 2, ptr %24, align 4
%25 = load i32, ptr @TCSANOW, align 4
%26 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %25, ptr noundef %2)
store i32 0, ptr %3, align 4
%27 = call i32 (...) @IndexScreen()
%28 = call i32 (...) @getchar()
store i32 %28, ptr %3, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %.lr.ph, label %73
.lr.ph: ; preds = %0
br label %30
30: ; preds = %.lr.ph, %70
%31 = load i32, ptr %3, align 4
switch i32 %31, label %32 [
i32 105, label %35
i32 73, label %35
i32 10, label %37
i32 49, label %38
i32 50, label %40
i32 51, label %42
i32 52, label %44
i32 53, label %46
i32 54, label %48
i32 55, label %50
i32 113, label %52
i32 81, label %52
i32 65, label %62
i32 97, label %62
]
32: ; preds = %30
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str)
br label %70
35: ; preds = %30, %30
%36 = call i32 (...) @IndexScreen()
br label %70
37: ; preds = %30
br label %70
38: ; preds = %30
%39 = call i32 (...) @HelpScreen1()
br label %70
40: ; preds = %30
%41 = call i32 (...) @HelpScreen2()
br label %70
42: ; preds = %30
%43 = call i32 (...) @HelpScreen3()
br label %70
44: ; preds = %30
%45 = call i32 (...) @HelpScreen4()
br label %70
46: ; preds = %30
%47 = call i32 (...) @HelpScreen5()
br label %70
48: ; preds = %30
%49 = call i32 (...) @HelpScreen6()
br label %70
50: ; preds = %30
%51 = call i32 (...) @HelpScreen7()
br label %70
52: ; preds = %30, %30
%53 = load i32, ptr @TCSAFLUSH, align 4
%54 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %53, ptr noundef %1)
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i32, ptr @stderr, align 4
%58 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str.1)
%59 = call i32 @exit(i32 noundef -1) #4
unreachable
60: ; preds = %52
%61 = call i32 @exit(i32 noundef 0) #4
unreachable
62: ; preds = %30, %30
%63 = call i32 (...) @HelpScreen1()
%64 = call i32 (...) @HelpScreen2()
%65 = call i32 (...) @HelpScreen3()
%66 = call i32 (...) @HelpScreen4()
%67 = call i32 (...) @HelpScreen5()
%68 = call i32 (...) @HelpScreen6()
%69 = call i32 (...) @HelpScreen7()
br label %70
70: ; preds = %62, %50, %48, %46, %44, %42, %40, %38, %37, %35, %32
%71 = call i32 (...) @getchar()
store i32 %71, ptr %3, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %73
73: ; preds = %._crit_edge, %0
ret void
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @IndexScreen(...) #1
declare i32 @getchar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @HelpScreen1(...) #1
declare i32 @HelpScreen2(...) #1
declare i32 @HelpScreen3(...) #1
declare i32 @HelpScreen4(...) #1
declare i32 @HelpScreen5(...) #1
declare i32 @HelpScreen6(...) #1
declare i32 @HelpScreen7(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppsw7zcf9.c'
source_filename = "/tmp/tmppsw7zcf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"is-positive-zero\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmppsw7zcf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"is-positive-zero\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmpqosuvgh7.c'
source_filename = "/tmp/tmpqosuvgh7.c"
target datalayout = "e-m:e-p270: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 [93 x i8] c"Syntax: %s <command>, where <command> is:\0A init <size>\0A put <value>\0A get\0A length\0A dump\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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/tmpqosuvgh7.c"
target datalayout = "e-m:e-p270: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 [93 x i8] c"Syntax: %s <command>, where <command> is:\0A init <size>\0A put <value>\0A get\0A length\0A dump\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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/tmp_3wtt3np.c'
source_filename = "/tmp/tmp_3wtt3np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbl_not_equal_pass() #0 {
%1 = call i32 @assert_dbl_not_equal_(ptr noundef @.str, i32 noundef 42, double noundef 1.000000e+00, double noundef 1.150000e+00, double noundef 1.000000e-01)
ret void
}
declare i32 @assert_dbl_not_equal_(ptr noundef, i32 noundef, double 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_3wtt3np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hughbien/assertive/refs/heads/master/test/pass_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbl_not_equal_pass() #0 {
%1 = call i32 @assert_dbl_not_equal_(ptr noundef @.str, i32 noundef 42, double noundef 1.000000e+00, double noundef 1.150000e+00, double noundef 1.000000e-01)
ret void
}
declare i32 @assert_dbl_not_equal_(ptr noundef, i32 noundef, double 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc7mg5o0v.c'
source_filename = "/tmp/tmpc7mg5o0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64 }
@IsViewable = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_window_visible(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @XGetWindowAttributes(ptr noundef %7, i32 noundef %8, ptr noundef %6)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %18
12: ; preds = %2
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr @IsViewable, align 8
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
store i32 %17, ptr %3, align 4
br label %18
18: ; preds = %12, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @XGetWindowAttributes(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/tmpc7mg5o0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64 }
@IsViewable = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_window_visible(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @XGetWindowAttributes(ptr noundef %7, i32 noundef %8, ptr noundef %6)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %18
12: ; preds = %2
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr @IsViewable, align 8
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
store i32 %17, ptr %3, align 4
br label %18
18: ; preds = %12, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @XGetWindowAttributes(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/tmp9pszafm4.c'
source_filename = "/tmp/tmp9pszafm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Error: Name \22%s\22 is not defined.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zraiseNameNotDefined(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 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
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/tmp9pszafm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Error: Name \22%s\22 is not defined.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zraiseNameNotDefined(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 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
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/tmp4z_ugylo.c'
source_filename = "/tmp/tmp4z_ugylo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please specify source and target directories\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Cannot open directory %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Creating directory %s\0A\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IXUSR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"Copying files from %s to %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Please specify single file to backup\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"Cannot open directory\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Backing up %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i64 @hasDirectoryFlag(ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %73
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call ptr @opendir(ptr noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %32
26: ; preds = %19
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %19
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 3
%35 = load ptr, ptr %34, align 8
%36 = call ptr @opendir(ptr noundef %35)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %53
39: ; preds = %32
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 3
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr @S_IRUSR, align 4
%48 = load i32, ptr @S_IWUSR, align 4
%49 = or i32 %47, %48
%50 = load i32, ptr @S_IXUSR, align 4
%51 = or i32 %49, %50
%52 = call i32 @mkdir(ptr noundef %46, i32 noundef %51)
br label %53
53: ; preds = %39, %32
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 2
%56 = load ptr, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 3
%59 = load ptr, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %56, ptr noundef %59)
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 2
%64 = load ptr, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 3
%67 = load ptr, ptr %66, align 8
%68 = call i32 @processDirectory(ptr noundef %61, ptr noundef %64, ptr noundef %67)
%69 = load ptr, ptr %6, align 8
%70 = call i32 @closedir(ptr noundef %69)
%71 = load ptr, ptr %7, align 8
%72 = call i32 @closedir(ptr noundef %71)
br label %96
73: ; preds = %2
%74 = load i32, ptr %4, align 4
%75 = icmp ne i32 %74, 2
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%78 = call i32 @exit(i32 noundef 1) #3
unreachable
79: ; preds = %73
%80 = call ptr @opendir(ptr noundef @.str.5)
store ptr %80, ptr %6, align 8
%81 = load ptr, ptr %6, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%85 = call i32 @exit(i32 noundef 1) #3
unreachable
86: ; preds = %79
%87 = load ptr, ptr %5, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 1
%89 = load ptr, ptr %88, align 8
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %89)
%91 = load ptr, ptr %6, align 8
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds ptr, ptr %92, i64 1
%94 = load ptr, ptr %93, align 8
%95 = call i32 @processFile(ptr noundef %91, ptr noundef %94)
br label %96
96: ; preds = %86, %53
ret i32 0
}
declare i64 @hasDirectoryFlag(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @opendir(ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @processDirectory(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @processFile(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4z_ugylo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please specify source and target directories\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Cannot open directory %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Creating directory %s\0A\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IXUSR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [29 x i8] c"Copying files from %s to %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Please specify single file to backup\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"Cannot open directory\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Backing up %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i64 @hasDirectoryFlag(ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %73
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call ptr @opendir(ptr noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %32
26: ; preds = %19
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %19
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 3
%35 = load ptr, ptr %34, align 8
%36 = call ptr @opendir(ptr noundef %35)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %53
39: ; preds = %32
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 3
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr @S_IRUSR, align 4
%48 = load i32, ptr @S_IWUSR, align 4
%49 = or i32 %47, %48
%50 = load i32, ptr @S_IXUSR, align 4
%51 = or i32 %49, %50
%52 = call i32 @mkdir(ptr noundef %46, i32 noundef %51)
br label %53
53: ; preds = %39, %32
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 2
%56 = load ptr, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 3
%59 = load ptr, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %56, ptr noundef %59)
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 2
%64 = load ptr, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 3
%67 = load ptr, ptr %66, align 8
%68 = call i32 @processDirectory(ptr noundef %61, ptr noundef %64, ptr noundef %67)
%69 = load ptr, ptr %6, align 8
%70 = call i32 @closedir(ptr noundef %69)
%71 = load ptr, ptr %7, align 8
%72 = call i32 @closedir(ptr noundef %71)
br label %96
73: ; preds = %2
%74 = load i32, ptr %4, align 4
%75 = icmp ne i32 %74, 2
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%78 = call i32 @exit(i32 noundef 1) #3
unreachable
79: ; preds = %73
%80 = call ptr @opendir(ptr noundef @.str.5)
store ptr %80, ptr %6, align 8
%81 = load ptr, ptr %6, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%85 = call i32 @exit(i32 noundef 1) #3
unreachable
86: ; preds = %79
%87 = load ptr, ptr %5, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 1
%89 = load ptr, ptr %88, align 8
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %89)
%91 = load ptr, ptr %6, align 8
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds ptr, ptr %92, i64 1
%94 = load ptr, ptr %93, align 8
%95 = call i32 @processFile(ptr noundef %91, ptr noundef %94)
br label %96
96: ; preds = %86, %53
ret i32 0
}
declare i64 @hasDirectoryFlag(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @opendir(ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @processDirectory(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @processFile(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi5wwnqp1.c'
source_filename = "/tmp/tmpi5wwnqp1.c"
target datalayout = "e-m:e-p270: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/tmpi5wwnqp1.c"
target datalayout = "e-m:e-p270: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/tmpy0_o0iwa.c'
source_filename = "/tmp/tmpy0_o0iwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_get_volume_func\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_get_volume_func() #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/tmpy0_o0iwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_get_volume_func\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_get_volume_func() #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/tmp7bwfivrl.c'
source_filename = "/tmp/tmp7bwfivrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @_mm_extract_epi16(i32 noundef %3, i32 noundef 3)
%5 = trunc i64 %4 to i16
%6 = sext i16 %5 to i64
ret i64 %6
}
declare i64 @_mm_extract_epi16(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/tmp7bwfivrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @_mm_extract_epi16(i32 noundef %3, i32 noundef 3)
%5 = trunc i64 %4 to i16
%6 = sext i16 %5 to i64
ret i64 %6
}
declare i64 @_mm_extract_epi16(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/tmpexhj4i7f.c'
source_filename = "/tmp/tmpexhj4i7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ITIMER_REAL = 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/tmpexhj4i7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ITIMER_REAL = 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/tmpf7hx7xuc.c'
source_filename = "/tmp/tmpf7hx7xuc.c"
target datalayout = "e-m:e-p270: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/tmpf7hx7xuc.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.