llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpmfk6ttiy.c'
source_filename = "/tmp/tmpmfk6ttiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lsearch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i64, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call ptr @lwork(ptr noundef %11, ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef 1)
ret ptr %16
}
declare ptr @lwork(ptr noundef, ptr noundef, ptr noundef, i64 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/tmpmfk6ttiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lsearch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i64, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call ptr @lwork(ptr noundef %11, ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef 1)
ret ptr %16
}
declare ptr @lwork(ptr noundef, ptr noundef, ptr noundef, i64 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/tmp689ac95v.c'
source_filename = "/tmp/tmp689ac95v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i8 noundef signext 97, i32 noundef 1024)
%9 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef 1024)
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %24, %0
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 1024
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 97
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 1, ptr %1, align 4
br label %85
23: ; preds = %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
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = call i32 @memset(ptr noundef %28, i8 noundef signext 0, i32 noundef 1024)
%30 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 1
%32 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%33 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef 1023)
%34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%35 = load i8, ptr %34, align 16
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %27
store i32 1, ptr %1, align 4
br label %85
39: ; preds = %27
store i32 1, ptr %5, align 4
br label %40
40: ; preds = %52, %39
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 1024
br i1 %42, label %43, label %55
43: ; preds = %40
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 97
br i1 %49, label %50, label %51
50: ; preds = %43
store i32 1, ptr %1, align 4
br label %85
51: ; preds = %43
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
br label %40, !llvm.loop !8
55: ; preds = %40
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = call i32 @memset(ptr noundef %56, i8 noundef signext 0, i32 noundef 1024)
%58 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%59 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%60 = call i32 @memcpy(ptr noundef %58, ptr noundef %59, i32 noundef 1023)
%61 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 1023
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %55
store i32 1, ptr %1, align 4
br label %85
66: ; preds = %55
store i32 0, ptr %6, align 4
br label %67
67: ; preds = %79, %66
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %68, 1023
br i1 %69, label %70, label %82
70: ; preds = %67
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 97
br i1 %76, label %77, label %78
77: ; preds = %70
store i32 1, ptr %1, align 4
br label %85
78: ; preds = %70
br label %79
79: ; preds = %78
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
br label %67, !llvm.loop !9
82: ; preds = %67
%83 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%84 = call i32 @memset(ptr noundef %83, i8 noundef signext 0, i32 noundef 1024)
store i32 0, ptr %1, align 4
br label %85
85: ; preds = %82, %77, %65, %50, %38, %22
%86 = load i32, ptr %1, align 4
ret i32 %86
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp689ac95v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i8 noundef signext 97, i32 noundef 1024)
%9 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef 1024)
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 1024
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %23
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 97
br i1 %20, label %21, label %22
21: ; preds = %14
store i32 1, ptr %1, align 4
br label %88
22: ; preds = %14
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 1024
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @memset(ptr noundef %29, i8 noundef signext 0, i32 noundef 1024)
%31 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 1023)
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = load i8, ptr %35, align 16
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %28
store i32 1, ptr %1, align 4
br label %88
40: ; preds = %28
store i32 1, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 1024
br i1 %42, label %.lr.ph2, label %57
.lr.ph2: ; preds = %40
br label %43
43: ; preds = %.lr.ph2, %52
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 97
br i1 %49, label %50, label %51
50: ; preds = %43
store i32 1, ptr %1, align 4
br label %88
51: ; preds = %43
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %55, 1024
br i1 %56, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %40
%58 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%59 = call i32 @memset(ptr noundef %58, i8 noundef signext 0, i32 noundef 1024)
%60 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%61 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%62 = call i32 @memcpy(ptr noundef %60, ptr noundef %61, i32 noundef 1023)
%63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 1023
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %57
store i32 1, ptr %1, align 4
br label %88
68: ; preds = %57
store i32 0, ptr %6, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %69, 1023
br i1 %70, label %.lr.ph5, label %85
.lr.ph5: ; preds = %68
br label %71
71: ; preds = %.lr.ph5, %80
%72 = load i32, ptr %6, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 97
br i1 %77, label %78, label %79
78: ; preds = %71
store i32 1, ptr %1, align 4
br label %88
79: ; preds = %71
br label %80
80: ; preds = %79
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp slt i32 %83, 1023
br i1 %84, label %71, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %80
br label %85
85: ; preds = %._crit_edge6, %68
%86 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%87 = call i32 @memset(ptr noundef %86, i8 noundef signext 0, i32 noundef 1024)
store i32 0, ptr %1, align 4
br label %88
88: ; preds = %85, %78, %67, %50, %39, %21
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7yd0mwb3.c'
source_filename = "/tmp/tmp7yd0mwb3.c"
target datalayout = "e-m:e-p270: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/tmp7yd0mwb3.c"
target datalayout = "e-m:e-p270: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/tmplv5q6t4a.c'
source_filename = "/tmp/tmplv5q6t4a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i64 }
@ASN1_STRING_FLAG_NDEF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ASN1_STRING_clear_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %29
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 2
%9 = load i64, ptr %8, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %26
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = load i32, ptr @ASN1_STRING_FLAG_NDEF, align 4
%16 = and i32 %14, %15
%17 = icmp ne i32 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %11
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i32 0, i32 2
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @OPENSSL_cleanse(i64 noundef %21, i32 noundef %24)
br label %26
26: ; preds = %18, %11, %6
%27 = load ptr, ptr %2, align 8
%28 = call i32 @ASN1_STRING_free(ptr noundef %27)
br label %29
29: ; preds = %26, %5
ret void
}
declare i32 @OPENSSL_cleanse(i64 noundef, i32 noundef) #1
declare i32 @ASN1_STRING_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplv5q6t4a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i64 }
@ASN1_STRING_FLAG_NDEF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ASN1_STRING_clear_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %29
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i32 0, i32 2
%9 = load i64, ptr %8, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %26
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = load i32, ptr @ASN1_STRING_FLAG_NDEF, align 4
%16 = and i32 %14, %15
%17 = icmp ne i32 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %11
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i32 0, i32 2
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @OPENSSL_cleanse(i64 noundef %21, i32 noundef %24)
br label %26
26: ; preds = %18, %11, %6
%27 = load ptr, ptr %2, align 8
%28 = call i32 @ASN1_STRING_free(ptr noundef %27)
br label %29
29: ; preds = %26, %5
ret void
}
declare i32 @OPENSSL_cleanse(i64 noundef, i32 noundef) #1
declare i32 @ASN1_STRING_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsn0_rxls.c'
source_filename = "/tmp/tmpsn0_rxls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @get_options(i32 noundef %7, ptr noundef %8)
%10 = call i32 (...) @listening()
store i32 %10, ptr %6, align 4
%11 = call i32 (...) @daemonize()
%12 = load i32, ptr %6, align 4
%13 = call i32 @start_workers(i32 noundef %12)
%14 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %14
}
declare i32 @get_options(i32 noundef, ptr noundef) #1
declare i32 @listening(...) #1
declare i32 @daemonize(...) #1
declare i32 @start_workers(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/tmpsn0_rxls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @get_options(i32 noundef %7, ptr noundef %8)
%10 = call i32 (...) @listening()
store i32 %10, ptr %6, align 4
%11 = call i32 (...) @daemonize()
%12 = load i32, ptr %6, align 4
%13 = call i32 @start_workers(i32 noundef %12)
%14 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %14
}
declare i32 @get_options(i32 noundef, ptr noundef) #1
declare i32 @listening(...) #1
declare i32 @daemonize(...) #1
declare i32 @start_workers(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_nixn8x2.c'
source_filename = "/tmp/tmp_nixn8x2.c"
target datalayout = "e-m:e-p270: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_nixn8x2.c"
target datalayout = "e-m:e-p270: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/tmpuwk41fs1.c'
source_filename = "/tmp/tmpuwk41fs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_gettid = 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/tmpuwk41fs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_gettid = 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/tmp5zv0fd0d.c'
source_filename = "/tmp/tmp5zv0fd0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib(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 @_fib(i32 noundef 0, i32 noundef 1, i32 noundef %3)
ret i32 %4
}
declare i32 @_fib(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5zv0fd0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib(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 @_fib(i32 noundef 0, i32 noundef 1, i32 noundef %3)
ret i32 %4
}
declare i32 @_fib(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk4cxt1xs.c'
source_filename = "/tmp/tmpk4cxt1xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @NetworkingLayersTest()
ret i32 1
}
declare i32 @NetworkingLayersTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk4cxt1xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @NetworkingLayersTest()
ret i32 1
}
declare i32 @NetworkingLayersTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3930liw7.c'
source_filename = "/tmp/tmp3930liw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestValidParentheses(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
store i32 %13, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %75, %1
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %78
18: ; preds = %14
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %67, %18
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %70
23: ; preds = %19
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 40
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %66
34: ; preds = %23
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 41
br i1 %41, label %42, label %65
42: ; preds = %34
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
br label %64
48: ; preds = %42
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %5, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %63
52: ; preds = %48
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %6, align 4
%55 = sub nsw i32 %53, %54
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %52
%61 = load i32, ptr %10, align 4
store i32 %61, ptr %7, align 4
br label %62
62: ; preds = %60, %52
br label %63
63: ; preds = %62, %48
br label %64
64: ; preds = %63, %45
br label %65
65: ; preds = %64, %34
br label %66
66: ; preds = %65, %31
br label %67
67: ; preds = %66
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
br label %19, !llvm.loop !6
70: ; preds = %19
%71 = load ptr, ptr %2, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %2, align 8
%73 = load i32, ptr %3, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %75
75: ; preds = %70
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %8, align 4
br label %14, !llvm.loop !8
78: ; preds = %14
%79 = load i32, ptr %7, align 4
ret i32 %79
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3930liw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestValidParentheses(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
store i32 %13, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %82
.lr.ph2: ; preds = %1
br label %17
17: ; preds = %.lr.ph2, %76
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %71
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %65
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 40
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %64
32: ; preds = %21
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 41
br i1 %39, label %40, label %63
40: ; preds = %32
%41 = load i32, ptr %5, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %62
46: ; preds = %40
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %5, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %61
50: ; preds = %46
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %51, %52
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %60
58: ; preds = %50
%59 = load i32, ptr %10, align 4
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %58, %50
br label %61
61: ; preds = %60, %46
br label %62
62: ; preds = %61, %43
br label %63
63: ; preds = %62, %32
br label %64
64: ; preds = %63, %29
br label %65
65: ; preds = %64
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %17
%72 = load ptr, ptr %2, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %2, align 8
%74 = load i32, ptr %3, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %76
76: ; preds = %71
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %1
%83 = load i32, ptr %7, align 4
ret i32 %83
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphsytifmx.c'
source_filename = "/tmp/tmphsytifmx.c"
target datalayout = "e-m:e-p270: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/tmphsytifmx.c"
target datalayout = "e-m:e-p270: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/tmpjoj0k4m_.c'
source_filename = "/tmp/tmpjoj0k4m_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"-- libbar:bar() --\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"barLIb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @getNSGetExecutablePath(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getNSGetExecutablePath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjoj0k4m_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"-- libbar:bar() --\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"barLIb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @getNSGetExecutablePath(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getNSGetExecutablePath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq9wwtpgl.c'
source_filename = "/tmp/tmpq9wwtpgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdopendir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @ENOSYS, align 4
store i32 %3, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9wwtpgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdopendir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @ENOSYS, align 4
store i32 %3, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp81lle_dw.c'
source_filename = "/tmp/tmp81lle_dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skynet_context_reserve(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 @skynet_context_grab(ptr noundef %3)
%5 = call i32 (...) @context_dec()
ret void
}
declare i32 @skynet_context_grab(ptr noundef) #1
declare i32 @context_dec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp81lle_dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skynet_context_reserve(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 @skynet_context_grab(ptr noundef %3)
%5 = call i32 (...) @context_dec()
ret void
}
declare i32 @skynet_context_grab(ptr noundef) #1
declare i32 @context_dec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5bxmb4jg.c'
source_filename = "/tmp/tmp5bxmb4jg.c"
target datalayout = "e-m:e-p270: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/tmp5bxmb4jg.c"
target datalayout = "e-m:e-p270: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/tmphvm5z55h.c'
source_filename = "/tmp/tmphvm5z55h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpmScale2D(float noundef %0, float noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca ptr, align 8
%7 = alloca [16 x float], align 16
%8 = alloca [16 x float], align 16
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load float, ptr %4, align 4
%10 = load float, ptr %5, align 4
%11 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
%12 = call i32 @hpm2DScaling(float noundef %9, float noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds [16 x float], ptr %8, i64 0, i64 0
%16 = call i32 @hpmMultMat4(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds [16 x float], ptr %8, i64 0, i64 0
%19 = call i32 @copyMat4(ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @hpm2DScaling(float noundef, float noundef, ptr noundef) #1
declare i32 @hpmMultMat4(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @copyMat4(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/tmphvm5z55h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpmScale2D(float noundef %0, float noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca ptr, align 8
%7 = alloca [16 x float], align 16
%8 = alloca [16 x float], align 16
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load float, ptr %4, align 4
%10 = load float, ptr %5, align 4
%11 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
%12 = call i32 @hpm2DScaling(float noundef %9, float noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds [16 x float], ptr %8, i64 0, i64 0
%16 = call i32 @hpmMultMat4(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds [16 x float], ptr %8, i64 0, i64 0
%19 = call i32 @copyMat4(ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @hpm2DScaling(float noundef, float noundef, ptr noundef) #1
declare i32 @hpmMultMat4(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @copyMat4(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/tmp6wdy4apf.c'
source_filename = "/tmp/tmp6wdy4apf.c"
target datalayout = "e-m:e-p270: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/tmp6wdy4apf.c"
target datalayout = "e-m:e-p270: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/tmpb8187dya.c'
source_filename = "/tmp/tmpb8187dya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zresmstep() #0 {
%1 = call i32 (...) @gameframe()
ret void
}
declare i32 @gameframe(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8187dya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zresmstep() #0 {
%1 = call i32 (...) @gameframe()
ret void
}
declare i32 @gameframe(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppu8qxes5.c'
source_filename = "/tmp/tmppu8qxes5.c"
target datalayout = "e-m:e-p270: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/tmppu8qxes5.c"
target datalayout = "e-m:e-p270: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/tmpof_9j7c_.c'
source_filename = "/tmp/tmpof_9j7c_.c"
target datalayout = "e-m:e-p270: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/tmpof_9j7c_.c"
target datalayout = "e-m:e-p270: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/tmph694_1xh.c'
source_filename = "/tmp/tmph694_1xh.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"\0AFatal ERROR while allocating memory for: %s.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AbortIfMemoryAllocationFailed(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 = icmp eq ptr %7, null
br i1 %8, label %9, label %17
9: ; preds = %3
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef %14)
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph694_1xh.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"\0AFatal ERROR while allocating memory for: %s.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AbortIfMemoryAllocationFailed(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 = icmp eq ptr %7, null
br i1 %8, label %9, label %17
9: ; preds = %3
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef %14)
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %3
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfc_szs7_.c'
source_filename = "/tmp/tmpfc_szs7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [123 x i8] c"HTTP/1.1 %s\0AServer: pingpress\0ADate: %s\0AContent-type: text/plain\0AContent-Length: %d\0ALast-Modified: %s\0AConnection: close\0A\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_http_response(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr @.str, ptr %9, align 8
store i32 1, ptr %10, align 4
%11 = call ptr (...) @get_http_date_str()
store ptr %11, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %3
br label %33
14: ; preds = %3
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @asprintf(ptr noundef %8, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19, ptr noundef %20, ptr noundef %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %14
br label %33
25: ; preds = %14
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i32 @send(i32 noundef %26, ptr noundef %27, i32 noundef %29, i32 noundef 0)
%31 = icmp eq i32 %30, -1
%32 = zext i1 %31 to i32
store i32 %32, ptr %10, align 4
br label %33
33: ; preds = %25, %24, %13
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load i32, ptr %10, align 4
ret i32 %38
}
declare ptr @get_http_date_str(...) #1
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfc_szs7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [123 x i8] c"HTTP/1.1 %s\0AServer: pingpress\0ADate: %s\0AContent-type: text/plain\0AContent-Length: %d\0ALast-Modified: %s\0AConnection: close\0A\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_http_response(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr @.str, ptr %9, align 8
store i32 1, ptr %10, align 4
%11 = call ptr (...) @get_http_date_str()
store ptr %11, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %3
br label %33
14: ; preds = %3
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @asprintf(ptr noundef %8, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19, ptr noundef %20, ptr noundef %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %14
br label %33
25: ; preds = %14
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i32 @send(i32 noundef %26, ptr noundef %27, i32 noundef %29, i32 noundef 0)
%31 = icmp eq i32 %30, -1
%32 = zext i1 %31 to i32
store i32 %32, ptr %10, align 4
br label %33
33: ; preds = %25, %24, %13
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @free(ptr noundef %36)
%38 = load i32, ptr %10, align 4
ret i32 %38
}
declare ptr @get_http_date_str(...) #1
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2dk5u38.c'
source_filename = "/tmp/tmph2dk5u38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpos() #0 {
%1 = call i64 (...) @GetPos71()
ret i64 %1
}
declare i64 @GetPos71(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2dk5u38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpos() #0 {
%1 = call i64 (...) @GetPos71()
ret i64 %1
}
declare i64 @GetPos71(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfw4f4ekc.c'
source_filename = "/tmp/tmpfw4f4ekc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_write = 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/tmpfw4f4ekc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_write = 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/tmpc8nztbh_.c'
source_filename = "/tmp/tmpc8nztbh_.c"
target datalayout = "e-m:e-p270: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/tmpc8nztbh_.c"
target datalayout = "e-m:e-p270: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/tmps206yn26.c'
source_filename = "/tmp/tmps206yn26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2d_qsort(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br label %20
20: ; preds = %17, %4
%21 = phi i1 [ false, %4 ], [ %19, %17 ]
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load i64, ptr %6, align 8
%25 = icmp ule i64 %24, 1
br i1 %25, label %26, label %27
26: ; preds = %20
br label %110
27: ; preds = %20
%28 = load i64, ptr %6, align 8
%29 = icmp ult i64 %28, 16
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i64, ptr %6, align 8
store i64 %31, ptr %10, align 8
br label %37
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = load i64, ptr %6, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @i2d_qrec(ptr noundef %33, i64 noundef %34, ptr noundef %35)
store i64 15, ptr %10, align 8
br label %37
37: ; preds = %32, %30
%38 = load ptr, ptr %5, align 8
store ptr %38, ptr %12, align 8
store ptr %38, ptr %11, align 8
br label %39
39: ; preds = %60, %37
%40 = load i64, ptr %10, align 8
%41 = add i64 %40, -1
store i64 %41, ptr %10, align 8
%42 = icmp ugt i64 %41, 0
br i1 %42, label %43, label %61
43: ; preds = %39
%44 = load ptr, ptr %8, align 8
%45 = load ptr, ptr %12, align 8
%46 = getelementptr inbounds i32, ptr %45, i32 1
store ptr %46, ptr %12, align 8
%47 = load i32, ptr %46, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %44, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %52, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
%56 = load double, ptr %55, align 8
%57 = fcmp olt double %50, %56
br i1 %57, label %58, label %60
58: ; preds = %43
%59 = load ptr, ptr %12, align 8
store ptr %59, ptr %11, align 8
br label %60
60: ; preds = %58, %43
br label %39, !llvm.loop !6
61: ; preds = %39
%62 = load ptr, ptr %5, align 8
store ptr %62, ptr %12, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %63, align 4
store i32 %64, ptr %13, align 4
%65 = load ptr, ptr %12, align 8
%66 = load i32, ptr %65, align 4
%67 = load ptr, ptr %11, align 8
store i32 %66, ptr %67, align 4
%68 = load i32, ptr %13, align 4
%69 = load ptr, ptr %12, align 8
store i32 %68, ptr %69, align 4
%70 = load i64, ptr %6, align 8
store i64 %70, ptr %9, align 8
br label %71
71: ; preds = %99, %61
%72 = load i64, ptr %9, align 8
%73 = add i64 %72, -1
store i64 %73, ptr %9, align 8
%74 = icmp ugt i64 %73, 0
br i1 %74, label %75, label %103
75: ; preds = %71
%76 = load ptr, ptr %8, align 8
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds i32, ptr %77, i32 1
store ptr %78, ptr %12, align 8
%79 = load i32, ptr %78, align 4
store i32 %79, ptr %13, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %76, i64 %80
%82 = load double, ptr %81, align 8
store double %82, ptr %14, align 8
%83 = load ptr, ptr %12, align 8
store ptr %83, ptr %11, align 8
br label %84
84: ; preds = %94, %75
%85 = load ptr, ptr %8, align 8
%86 = load ptr, ptr %11, align 8
%87 = getelementptr inbounds i32, ptr %86, i32 -1
store ptr %87, ptr %11, align 8
%88 = load i32, ptr %87, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %85, i64 %89
%91 = load double, ptr %90, align 8
%92 = load double, ptr %14, align 8
%93 = fcmp ogt double %91, %92
br i1 %93, label %94, label %99
94: ; preds = %84
%95 = load ptr, ptr %11, align 8
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %11, align 8
%98 = getelementptr inbounds i32, ptr %97, i64 1
store i32 %96, ptr %98, align 4
br label %84, !llvm.loop !8
99: ; preds = %84
%100 = load i32, ptr %13, align 4
%101 = load ptr, ptr %11, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 1
store i32 %100, ptr %102, align 4
br label %71, !llvm.loop !9
103: ; preds = %71
%104 = load i32, ptr %7, align 4
%105 = icmp slt i32 %104, 0
br i1 %105, label %106, label %110
106: ; preds = %103
%107 = load ptr, ptr %5, align 8
%108 = load i64, ptr %6, align 8
%109 = call i32 @int_reverse(ptr noundef %107, i64 noundef %108)
br label %110
110: ; preds = %26, %106, %103
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @i2d_qrec(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @int_reverse(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps206yn26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2d_qsort(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br label %20
20: ; preds = %17, %4
%21 = phi i1 [ false, %4 ], [ %19, %17 ]
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load i64, ptr %6, align 8
%25 = icmp ule i64 %24, 1
br i1 %25, label %26, label %27
26: ; preds = %20
br label %122
27: ; preds = %20
%28 = load i64, ptr %6, align 8
%29 = icmp ult i64 %28, 16
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i64, ptr %6, align 8
store i64 %31, ptr %10, align 8
br label %37
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = load i64, ptr %6, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @i2d_qrec(ptr noundef %33, i64 noundef %34, ptr noundef %35)
store i64 15, ptr %10, align 8
br label %37
37: ; preds = %32, %30
%38 = load ptr, ptr %5, align 8
store ptr %38, ptr %12, align 8
store ptr %38, ptr %11, align 8
%39 = load i64, ptr %10, align 8
%40 = add i64 %39, -1
store i64 %40, ptr %10, align 8
%41 = icmp ugt i64 %40, 0
br i1 %41, label %.lr.ph, label %63
.lr.ph: ; preds = %37
br label %42
42: ; preds = %.lr.ph, %59
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds i32, ptr %44, i32 1
store ptr %45, ptr %12, align 8
%46 = load i32, ptr %45, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %43, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %51, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = fcmp olt double %49, %55
br i1 %56, label %57, label %59
57: ; preds = %42
%58 = load ptr, ptr %12, align 8
store ptr %58, ptr %11, align 8
br label %59
59: ; preds = %57, %42
%60 = load i64, ptr %10, align 8
%61 = add i64 %60, -1
store i64 %61, ptr %10, align 8
%62 = icmp ugt i64 %61, 0
br i1 %62, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %63
63: ; preds = %._crit_edge, %37
%64 = load ptr, ptr %5, align 8
store ptr %64, ptr %12, align 8
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %13, align 4
%67 = load ptr, ptr %12, align 8
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %11, align 8
store i32 %68, ptr %69, align 4
%70 = load i32, ptr %13, align 4
%71 = load ptr, ptr %12, align 8
store i32 %70, ptr %71, align 4
%72 = load i64, ptr %6, align 8
store i64 %72, ptr %9, align 8
%73 = load i64, ptr %9, align 8
%74 = add i64 %73, -1
store i64 %74, ptr %9, align 8
%75 = icmp ugt i64 %74, 0
br i1 %75, label %.lr.ph5, label %115
.lr.ph5: ; preds = %63
br label %76
76: ; preds = %.lr.ph5, %108
%77 = load ptr, ptr %8, align 8
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds i32, ptr %78, i32 1
store ptr %79, ptr %12, align 8
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %13, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %77, i64 %81
%83 = load double, ptr %82, align 8
store double %83, ptr %14, align 8
%84 = load ptr, ptr %12, align 8
store ptr %84, ptr %11, align 8
%85 = load ptr, ptr %8, align 8
%86 = load ptr, ptr %11, align 8
%87 = getelementptr inbounds i32, ptr %86, i32 -1
store ptr %87, ptr %11, align 8
%88 = load i32, ptr %87, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %85, i64 %89
%91 = load double, ptr %90, align 8
%92 = load double, ptr %14, align 8
%93 = fcmp ogt double %91, %92
br i1 %93, label %.lr.ph2, label %108
.lr.ph2: ; preds = %76
br label %94
94: ; preds = %.lr.ph2, %94
%95 = load ptr, ptr %11, align 8
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %11, align 8
%98 = getelementptr inbounds i32, ptr %97, i64 1
store i32 %96, ptr %98, align 4
%99 = load ptr, ptr %8, align 8
%100 = load ptr, ptr %11, align 8
%101 = getelementptr inbounds i32, ptr %100, i32 -1
store ptr %101, ptr %11, align 8
%102 = load i32, ptr %101, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %99, i64 %103
%105 = load double, ptr %104, align 8
%106 = load double, ptr %14, align 8
%107 = fcmp ogt double %105, %106
br i1 %107, label %94, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %108
108: ; preds = %._crit_edge3, %76
%109 = load i32, ptr %13, align 4
%110 = load ptr, ptr %11, align 8
%111 = getelementptr inbounds i32, ptr %110, i64 1
store i32 %109, ptr %111, align 4
%112 = load i64, ptr %9, align 8
%113 = add i64 %112, -1
store i64 %113, ptr %9, align 8
%114 = icmp ugt i64 %113, 0
br i1 %114, label %76, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %108
br label %115
115: ; preds = %._crit_edge6, %63
%116 = load i32, ptr %7, align 4
%117 = icmp slt i32 %116, 0
br i1 %117, label %118, label %122
118: ; preds = %115
%119 = load ptr, ptr %5, align 8
%120 = load i64, ptr %6, align 8
%121 = call i32 @int_reverse(ptr noundef %119, i64 noundef %120)
br label %122
122: ; preds = %118, %115, %26
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @i2d_qrec(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @int_reverse(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpuk2m5iba.c'
source_filename = "/tmp/tmpuk2m5iba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gds_write_path.count = internal global i16 0, align 2
@gds_write_path.token = internal global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gds_write_path(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i16 4, ptr @gds_write_path.count, align 2
%3 = call i32 @gds_swap2bytes(ptr noundef @gds_write_path.count)
%4 = load i32, ptr %2, align 4
%5 = call i32 @write(i32 noundef %4, ptr noundef @gds_write_path.count, i32 noundef 2)
store i16 2304, ptr @gds_write_path.token, align 2
%6 = call i32 @gds_swap2bytes(ptr noundef @gds_write_path.token)
%7 = load i32, ptr %2, align 4
%8 = call i32 @write(i32 noundef %7, ptr noundef @gds_write_path.token, i32 noundef 2)
ret void
}
declare i32 @gds_swap2bytes(ptr noundef) #1
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/tmpuk2m5iba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gds_write_path.count = internal global i16 0, align 2
@gds_write_path.token = internal global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gds_write_path(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i16 4, ptr @gds_write_path.count, align 2
%3 = call i32 @gds_swap2bytes(ptr noundef @gds_write_path.count)
%4 = load i32, ptr %2, align 4
%5 = call i32 @write(i32 noundef %4, ptr noundef @gds_write_path.count, i32 noundef 2)
store i16 2304, ptr @gds_write_path.token, align 2
%6 = call i32 @gds_swap2bytes(ptr noundef @gds_write_path.token)
%7 = load i32, ptr %2, align 4
%8 = call i32 @write(i32 noundef %7, ptr noundef @gds_write_path.token, i32 noundef 2)
ret void
}
declare i32 @gds_swap2bytes(ptr noundef) #1
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/tmpgsctpess.c'
source_filename = "/tmp/tmpgsctpess.c"
target datalayout = "e-m:e-p270: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/tmpgsctpess.c"
target datalayout = "e-m:e-p270: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/tmp0bgpihsu.c'
source_filename = "/tmp/tmp0bgpihsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Informe a: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Informe b: \00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Informe c: \00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%14 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%15 = call i32 @ordena(ptr noundef %12, ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17, i32 noundef %19, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @ordena(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bgpihsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Informe a: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Informe b: \00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Informe c: \00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%14 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%15 = call i32 @ordena(ptr noundef %12, ptr noundef %13, ptr noundef %14)
%16 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17, i32 noundef %19, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @ordena(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7dqr189b.c'
source_filename = "/tmp/tmp7dqr189b.c"
target datalayout = "e-m:e-p270: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/tmp7dqr189b.c"
target datalayout = "e-m:e-p270: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/tmpgu_usdq7.c'
source_filename = "/tmp/tmpgu_usdq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_reset() #0 {
%1 = call i32 (...) @buffer_init()
ret void
}
declare i32 @buffer_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgu_usdq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_reset() #0 {
%1 = call i32 (...) @buffer_init()
ret void
}
declare i32 @buffer_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp34d028c_.c'
source_filename = "/tmp/tmp34d028c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_pattern_in_memory(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = call ptr @memmem(ptr noundef %10, i64 noundef %11, ptr noundef %12, i64 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
ret ptr %15
}
declare ptr @memmem(ptr noundef, i64 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/tmp34d028c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_pattern_in_memory(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = call ptr @memmem(ptr noundef %10, i64 noundef %11, ptr noundef %12, i64 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
ret ptr %15
}
declare ptr @memmem(ptr noundef, i64 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/tmpdssvumet.c'
source_filename = "/tmp/tmpdssvumet.c"
target datalayout = "e-m:e-p270: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/tmpdssvumet.c"
target datalayout = "e-m:e-p270: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/tmpwkh5nn8t.c'
source_filename = "/tmp/tmpwkh5nn8t.c"
target datalayout = "e-m:e-p270: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/tmpwkh5nn8t.c"
target datalayout = "e-m:e-p270: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/tmp6zitwf3_.c'
source_filename = "/tmp/tmp6zitwf3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"%s,%s extract ngram tokens from textdata\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"ngram\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"%s [-n [INT|INT-INT] [-u] [-c] [-s] [-S] [-i] [-l] [-d STRING]\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" -h print this help\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -n [INT|INT-INT] build ngrams of length N or within range N-N\0A\00", align 1
@.str.6 = private unnamed_addr constant [78 x i8] c" -u uniq, discard all but one of successive identical ngrams\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" -c count, prefix ngrams by the number of occurrences\0A\00", align 1
@.str.8 = private unnamed_addr constant [81 x i8] c" -s write sorted concatenation of all ngrams to standard output\0A\00", align 1
@.str.9 = private unnamed_addr constant [55 x i8] c" -S reverse the result of comparisons\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" -i ignore words shorter as ngram length\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c" -l lower case input before processing. May decrease performance\0A\00", align 1
@.str.12 = private unnamed_addr constant [52 x i8] c" -d [STRING] use STRING as word delimiters\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c" Example: %s -n 4 -u -c -S < TEXT.FILE\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6zitwf3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"%s,%s extract ngram tokens from textdata\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"ngram\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"%s [-n [INT|INT-INT] [-u] [-c] [-s] [-S] [-i] [-l] [-d STRING]\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" -h print this help\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -n [INT|INT-INT] build ngrams of length N or within range N-N\0A\00", align 1
@.str.6 = private unnamed_addr constant [78 x i8] c" -u uniq, discard all but one of successive identical ngrams\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" -c count, prefix ngrams by the number of occurrences\0A\00", align 1
@.str.8 = private unnamed_addr constant [81 x i8] c" -s write sorted concatenation of all ngrams to standard output\0A\00", align 1
@.str.9 = private unnamed_addr constant [55 x i8] c" -S reverse the result of comparisons\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" -i ignore words shorter as ngram length\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c" -l lower case input before processing. May decrease performance\0A\00", align 1
@.str.12 = private unnamed_addr constant [52 x i8] c" -d [STRING] use STRING as word delimiters\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c" Example: %s -n 4 -u -c -S < TEXT.FILE\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmposmkstfv.c'
source_filename = "/tmp/tmposmkstfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reporting_path_tracker(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [4 x i32], align 16
%16 = alloca [2 x i32], align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%18 = load i32, ptr %8, align 4
%19 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %20, align 4
%22 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
%24 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @_ada_use_c2phc(i32 noundef 156, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %17, align 4
%27 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %9, align 8
store i32 %28, ptr %29, align 4
%30 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
%31 = load i32, ptr %30, align 16
%32 = load ptr, ptr %11, align 8
store i32 %31, ptr %32, align 4
%33 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %12, align 8
store i32 %34, ptr %35, align 4
%36 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2
%37 = load i32, ptr %36, align 8
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %14, align 8
store i32 %40, ptr %41, align 4
%42 = load i32, ptr %17, align 4
ret i32 %42
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmposmkstfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reporting_path_tracker(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [4 x i32], align 16
%16 = alloca [2 x i32], align 4
%17 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%18 = load i32, ptr %8, align 4
%19 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %20, align 4
%22 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
%24 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @_ada_use_c2phc(i32 noundef 156, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %17, align 4
%27 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %9, align 8
store i32 %28, ptr %29, align 4
%30 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
%31 = load i32, ptr %30, align 16
%32 = load ptr, ptr %11, align 8
store i32 %31, ptr %32, align 4
%33 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %12, align 8
store i32 %34, ptr %35, align 4
%36 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2
%37 = load i32, ptr %36, align 8
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %14, align 8
store i32 %40, ptr %41, align 4
%42 = load i32, ptr %17, align 4
ret i32 %42
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn8slh83u.c'
source_filename = "/tmp/tmpn8slh83u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
@DT_LNK = dso_local global i64 0, align 8
@EINVAL = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@errno = 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/tmpn8slh83u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
@DT_LNK = dso_local global i64 0, align 8
@EINVAL = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@errno = 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/tmpkqqjgp89.c'
source_filename = "/tmp/tmpkqqjgp89.c"
target datalayout = "e-m:e-p270: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/tmpkqqjgp89.c"
target datalayout = "e-m:e-p270: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/tmpfnhxbffo.c'
source_filename = "/tmp/tmpfnhxbffo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = shl i32 %3, 8
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 8
%7 = or i32 %4, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfnhxbffo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = shl i32 %3, 8
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 8
%7 = or i32 %4, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpofeud84y.c'
source_filename = "/tmp/tmpofeud84y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_resolverKeyboardToUSB() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpofeud84y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_resolverKeyboardToUSB() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6o22e9gi.c'
source_filename = "/tmp/tmp6o22e9gi.c"
target datalayout = "e-m:e-p270: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/tmp6o22e9gi.c"
target datalayout = "e-m:e-p270: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/tmpgqu5pxh6.c'
source_filename = "/tmp/tmpgqu5pxh6.c"
target datalayout = "e-m:e-p270: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_9__ = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nnb_422_downsample_ag_rb_vectors_sse2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.TYPE_9__, align 4
%6 = alloca %struct.TYPE_9__, align 4
%7 = alloca %struct.TYPE_9__, align 4
%8 = alloca %struct.TYPE_9__, align 4
%9 = alloca %struct.TYPE_9__, align 4
%10 = alloca %struct.TYPE_9__, align 4
%11 = alloca %struct.TYPE_9__, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %14, i64 0
%16 = load i64, ptr %15, align 4
%17 = call i64 @_mm_shuffle_epi32(i64 %16, i32 noundef 216)
store i64 %17, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %6, i64 8, i1 false)
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds %struct.TYPE_9__, ptr %18, i64 2
%20 = load i64, ptr %19, align 4
%21 = call i64 @_mm_shuffle_epi32(i64 %20, i32 noundef 216)
store i64 %21, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %7, i64 8, i1 false)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_9__, ptr %22, i64 0
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0
%26 = load i64, ptr %25, align 4
%27 = load i64, ptr %5, align 4
%28 = call i64 @_mm_unpacklo_epi64(i64 %26, i64 %27)
store i64 %28, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %8, i64 8, i1 false)
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %29, i64 1
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %31, i64 1
%33 = load i64, ptr %32, align 4
%34 = call i64 @_mm_shuffle_epi32(i64 %33, i32 noundef 216)
store i64 %34, ptr %9, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %9, i64 8, i1 false)
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.TYPE_9__, ptr %35, i64 3
%37 = load i64, ptr %36, align 4
%38 = call i64 @_mm_shuffle_epi32(i64 %37, i32 noundef 216)
store i64 %38, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %10, i64 8, i1 false)
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.TYPE_9__, ptr %39, i64 1
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds %struct.TYPE_9__, ptr %41, i64 1
%43 = load i64, ptr %42, align 4
%44 = load i64, ptr %5, align 4
%45 = call i64 @_mm_unpacklo_epi64(i64 %43, i64 %44)
store i64 %45, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %11, i64 8, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @_mm_shuffle_epi32(i64, i32 noundef) #2
; 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 i64 @_mm_unpacklo_epi64(i64, i64) #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" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqu5pxh6.c"
target datalayout = "e-m:e-p270: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_9__ = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nnb_422_downsample_ag_rb_vectors_sse2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.TYPE_9__, align 4
%6 = alloca %struct.TYPE_9__, align 4
%7 = alloca %struct.TYPE_9__, align 4
%8 = alloca %struct.TYPE_9__, align 4
%9 = alloca %struct.TYPE_9__, align 4
%10 = alloca %struct.TYPE_9__, align 4
%11 = alloca %struct.TYPE_9__, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %14, i64 0
%16 = load i64, ptr %15, align 4
%17 = call i64 @_mm_shuffle_epi32(i64 %16, i32 noundef 216)
store i64 %17, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %6, i64 8, i1 false)
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds %struct.TYPE_9__, ptr %18, i64 2
%20 = load i64, ptr %19, align 4
%21 = call i64 @_mm_shuffle_epi32(i64 %20, i32 noundef 216)
store i64 %21, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %7, i64 8, i1 false)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_9__, ptr %22, i64 0
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0
%26 = load i64, ptr %25, align 4
%27 = load i64, ptr %5, align 4
%28 = call i64 @_mm_unpacklo_epi64(i64 %26, i64 %27)
store i64 %28, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %8, i64 8, i1 false)
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %29, i64 1
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %31, i64 1
%33 = load i64, ptr %32, align 4
%34 = call i64 @_mm_shuffle_epi32(i64 %33, i32 noundef 216)
store i64 %34, ptr %9, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %9, i64 8, i1 false)
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.TYPE_9__, ptr %35, i64 3
%37 = load i64, ptr %36, align 4
%38 = call i64 @_mm_shuffle_epi32(i64 %37, i32 noundef 216)
store i64 %38, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %10, i64 8, i1 false)
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.TYPE_9__, ptr %39, i64 1
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds %struct.TYPE_9__, ptr %41, i64 1
%43 = load i64, ptr %42, align 4
%44 = load i64, ptr %5, align 4
%45 = call i64 @_mm_unpacklo_epi64(i64 %43, i64 %44)
store i64 %45, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %11, i64 8, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @_mm_shuffle_epi32(i64, i32 noundef) #2
; 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 i64 @_mm_unpacklo_epi64(i64, i64) #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" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuolueatj.c'
source_filename = "/tmp/tmpuolueatj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load i8, ptr %8, align 1
%11 = sext i8 %10 to i32
%12 = call i32 @putch(i32 noundef %11)
br label %3, !llvm.loop !6
13: ; preds = %3
ret void
}
declare i32 @putch(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/tmpuolueatj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
%10 = sext i8 %9 to i32
%11 = call i32 @putch(i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @putch(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/tmpgngfp6l6.c'
source_filename = "/tmp/tmpgngfp6l6.c"
target datalayout = "e-m:e-p270: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/tmpgngfp6l6.c"
target datalayout = "e-m:e-p270: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/tmphysm5f3e.c'
source_filename = "/tmp/tmphysm5f3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %30, %3
%15 = load ptr, ptr %9, align 8
%16 = ptrtoint ptr %15 to i64
%17 = urem i64 %16, 4
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i64, ptr %7, align 8
%21 = icmp ne i64 %20, 0
br label %22
22: ; preds = %19, %14
%23 = phi i1 [ false, %14 ], [ %21, %19 ]
br i1 %23, label %24, label %33
24: ; preds = %22
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
%27 = load i8, ptr %25, align 1
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %8, align 8
store i8 %27, ptr %28, align 1
br label %30
30: ; preds = %24
%31 = load i64, ptr %7, align 8
%32 = add i64 %31, -1
store i64 %32, ptr %7, align 8
br label %14, !llvm.loop !6
33: ; preds = %22
%34 = load ptr, ptr %8, align 8
%35 = ptrtoint ptr %34 to i64
%36 = urem i64 %35, 4
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %128
38: ; preds = %33
br label %39
39: ; preds = %63, %38
%40 = load i64, ptr %7, align 8
%41 = icmp uge i64 %40, 16
br i1 %41, label %42, label %70
42: ; preds = %39
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
store i32 %45, ptr %47, align 4
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 4
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 4
store i32 %50, ptr %52, align 4
%53 = load ptr, ptr %9, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 8
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 8
store i32 %55, ptr %57, align 4
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 12
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 12
store i32 %60, ptr %62, align 4
br label %63
63: ; preds = %42
%64 = load ptr, ptr %9, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 16
store ptr %65, ptr %9, align 8
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 16
store ptr %67, ptr %8, align 8
%68 = load i64, ptr %7, align 8
%69 = sub i64 %68, 16
store i64 %69, ptr %7, align 8
br label %39, !llvm.loop !8
70: ; preds = %39
%71 = load i64, ptr %7, align 8
%72 = and i64 %71, 8
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %89
74: ; preds = %70
%75 = load ptr, ptr %9, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 0
%77 = load i32, ptr %76, align 4
%78 = load ptr, ptr %8, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 0
store i32 %77, ptr %79, align 4
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 4
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %8, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 4
store i32 %82, ptr %84, align 4
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds i8, ptr %85, i64 8
store ptr %86, ptr %8, align 8
%87 = load ptr, ptr %9, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 8
store ptr %88, ptr %9, align 8
br label %89
89: ; preds = %74, %70
%90 = load i64, ptr %7, align 8
%91 = and i64 %90, 4
%92 = icmp ne i64 %91, 0
br i1 %92, label %93, label %103
93: ; preds = %89
%94 = load ptr, ptr %9, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 0
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %8, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 0
store i32 %96, ptr %98, align 4
%99 = load ptr, ptr %8, align 8
%100 = getelementptr inbounds i8, ptr %99, i64 4
store ptr %100, ptr %8, align 8
%101 = load ptr, ptr %9, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 4
store ptr %102, ptr %9, align 8
br label %103
103: ; preds = %93, %89
%104 = load i64, ptr %7, align 8
%105 = and i64 %104, 2
%106 = icmp ne i64 %105, 0
br i1 %106, label %107, label %118
107: ; preds = %103
%108 = load ptr, ptr %9, align 8
%109 = getelementptr inbounds i8, ptr %108, i32 1
store ptr %109, ptr %9, align 8
%110 = load i8, ptr %108, align 1
%111 = load ptr, ptr %8, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %8, align 8
store i8 %110, ptr %111, align 1
%113 = load ptr, ptr %9, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %9, align 8
%115 = load i8, ptr %113, align 1
%116 = load ptr, ptr %8, align 8
%117 = getelementptr inbounds i8, ptr %116, i32 1
store ptr %117, ptr %8, align 8
store i8 %115, ptr %116, align 1
br label %118
118: ; preds = %107, %103
%119 = load i64, ptr %7, align 8
%120 = and i64 %119, 1
%121 = icmp ne i64 %120, 0
br i1 %121, label %122, label %126
122: ; preds = %118
%123 = load ptr, ptr %9, align 8
%124 = load i8, ptr %123, align 1
%125 = load ptr, ptr %8, align 8
store i8 %124, ptr %125, align 1
br label %126
126: ; preds = %122, %118
%127 = load ptr, ptr %5, align 8
store ptr %127, ptr %4, align 8
br label %517
128: ; preds = %33
%129 = load i64, ptr %7, align 8
%130 = icmp uge i64 %129, 32
br i1 %130, label %131, label %337
131: ; preds = %128
%132 = load ptr, ptr %8, align 8
%133 = ptrtoint ptr %132 to i64
%134 = urem i64 %133, 4
switch i64 %134, label %336 [
i64 1, label %135
i64 2, label %207
i64 3, label %274
]
135: ; preds = %131
%136 = load ptr, ptr %9, align 8
%137 = load i32, ptr %136, align 4
store i32 %137, ptr %10, align 4
%138 = load ptr, ptr %9, align 8
%139 = getelementptr inbounds i8, ptr %138, i32 1
store ptr %139, ptr %9, align 8
%140 = load i8, ptr %138, align 1
%141 = load ptr, ptr %8, align 8
%142 = getelementptr inbounds i8, ptr %141, i32 1
store ptr %142, ptr %8, align 8
store i8 %140, ptr %141, align 1
%143 = load ptr, ptr %9, align 8
%144 = getelementptr inbounds i8, ptr %143, i32 1
store ptr %144, ptr %9, align 8
%145 = load i8, ptr %143, align 1
%146 = load ptr, ptr %8, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %8, align 8
store i8 %145, ptr %146, align 1
%148 = load ptr, ptr %9, align 8
%149 = getelementptr inbounds i8, ptr %148, i32 1
store ptr %149, ptr %9, align 8
%150 = load i8, ptr %148, align 1
%151 = load ptr, ptr %8, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %8, align 8
store i8 %150, ptr %151, align 1
%153 = load i64, ptr %7, align 8
%154 = sub i64 %153, 3
store i64 %154, ptr %7, align 8
br label %155
155: ; preds = %199, %135
%156 = load i64, ptr %7, align 8
%157 = icmp uge i64 %156, 17
br i1 %157, label %158, label %206
158: ; preds = %155
%159 = load ptr, ptr %9, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 1
%161 = load i32, ptr %160, align 4
store i32 %161, ptr %11, align 4
%162 = load i32, ptr %10, align 4
%163 = ashr i32 %162, 24
%164 = load i32, ptr %11, align 4
%165 = shl i32 %164, 8
%166 = or i32 %163, %165
%167 = load ptr, ptr %8, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 0
store i32 %166, ptr %168, align 4
%169 = load ptr, ptr %9, align 8
%170 = getelementptr inbounds i8, ptr %169, i64 5
%171 = load i32, ptr %170, align 4
store i32 %171, ptr %10, align 4
%172 = load i32, ptr %11, align 4
%173 = ashr i32 %172, 24
%174 = load i32, ptr %10, align 4
%175 = shl i32 %174, 8
%176 = or i32 %173, %175
%177 = load ptr, ptr %8, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 4
store i32 %176, ptr %178, align 4
%179 = load ptr, ptr %9, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 9
%181 = load i32, ptr %180, align 4
store i32 %181, ptr %11, align 4
%182 = load i32, ptr %10, align 4
%183 = ashr i32 %182, 24
%184 = load i32, ptr %11, align 4
%185 = shl i32 %184, 8
%186 = or i32 %183, %185
%187 = load ptr, ptr %8, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 8
store i32 %186, ptr %188, align 4
%189 = load ptr, ptr %9, align 8
%190 = getelementptr inbounds i8, ptr %189, i64 13
%191 = load i32, ptr %190, align 4
store i32 %191, ptr %10, align 4
%192 = load i32, ptr %11, align 4
%193 = ashr i32 %192, 24
%194 = load i32, ptr %10, align 4
%195 = shl i32 %194, 8
%196 = or i32 %193, %195
%197 = load ptr, ptr %8, align 8
%198 = getelementptr inbounds i8, ptr %197, i64 12
store i32 %196, ptr %198, align 4
br label %199
199: ; preds = %158
%200 = load ptr, ptr %9, align 8
%201 = getelementptr inbounds i8, ptr %200, i64 16
store ptr %201, ptr %9, align 8
%202 = load ptr, ptr %8, align 8
%203 = getelementptr inbounds i8, ptr %202, i64 16
store ptr %203, ptr %8, align 8
%204 = load i64, ptr %7, align 8
%205 = sub i64 %204, 16
store i64 %205, ptr %7, align 8
br label %155, !llvm.loop !9
206: ; preds = %155
br label %336
207: ; preds = %131
%208 = load ptr, ptr %9, align 8
%209 = load i32, ptr %208, align 4
store i32 %209, ptr %10, align 4
%210 = load ptr, ptr %9, align 8
%211 = getelementptr inbounds i8, ptr %210, i32 1
store ptr %211, ptr %9, align 8
%212 = load i8, ptr %210, align 1
%213 = load ptr, ptr %8, align 8
%214 = getelementptr inbounds i8, ptr %213, i32 1
store ptr %214, ptr %8, align 8
store i8 %212, ptr %213, align 1
%215 = load ptr, ptr %9, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %9, align 8
%217 = load i8, ptr %215, align 1
%218 = load ptr, ptr %8, align 8
%219 = getelementptr inbounds i8, ptr %218, i32 1
store ptr %219, ptr %8, align 8
store i8 %217, ptr %218, align 1
%220 = load i64, ptr %7, align 8
%221 = sub i64 %220, 2
store i64 %221, ptr %7, align 8
br label %222
222: ; preds = %266, %207
%223 = load i64, ptr %7, align 8
%224 = icmp uge i64 %223, 18
br i1 %224, label %225, label %273
225: ; preds = %222
%226 = load ptr, ptr %9, align 8
%227 = getelementptr inbounds i8, ptr %226, i64 2
%228 = load i32, ptr %227, align 4
store i32 %228, ptr %11, align 4
%229 = load i32, ptr %10, align 4
%230 = ashr i32 %229, 16
%231 = load i32, ptr %11, align 4
%232 = shl i32 %231, 16
%233 = or i32 %230, %232
%234 = load ptr, ptr %8, align 8
%235 = getelementptr inbounds i8, ptr %234, i64 0
store i32 %233, ptr %235, align 4
%236 = load ptr, ptr %9, align 8
%237 = getelementptr inbounds i8, ptr %236, i64 6
%238 = load i32, ptr %237, align 4
store i32 %238, ptr %10, align 4
%239 = load i32, ptr %11, align 4
%240 = ashr i32 %239, 16
%241 = load i32, ptr %10, align 4
%242 = shl i32 %241, 16
%243 = or i32 %240, %242
%244 = load ptr, ptr %8, align 8
%245 = getelementptr inbounds i8, ptr %244, i64 4
store i32 %243, ptr %245, align 4
%246 = load ptr, ptr %9, align 8
%247 = getelementptr inbounds i8, ptr %246, i64 10
%248 = load i32, ptr %247, align 4
store i32 %248, ptr %11, align 4
%249 = load i32, ptr %10, align 4
%250 = ashr i32 %249, 16
%251 = load i32, ptr %11, align 4
%252 = shl i32 %251, 16
%253 = or i32 %250, %252
%254 = load ptr, ptr %8, align 8
%255 = getelementptr inbounds i8, ptr %254, i64 8
store i32 %253, ptr %255, align 4
%256 = load ptr, ptr %9, align 8
%257 = getelementptr inbounds i8, ptr %256, i64 14
%258 = load i32, ptr %257, align 4
store i32 %258, ptr %10, align 4
%259 = load i32, ptr %11, align 4
%260 = ashr i32 %259, 16
%261 = load i32, ptr %10, align 4
%262 = shl i32 %261, 16
%263 = or i32 %260, %262
%264 = load ptr, ptr %8, align 8
%265 = getelementptr inbounds i8, ptr %264, i64 12
store i32 %263, ptr %265, align 4
br label %266
266: ; preds = %225
%267 = load ptr, ptr %9, align 8
%268 = getelementptr inbounds i8, ptr %267, i64 16
store ptr %268, ptr %9, align 8
%269 = load ptr, ptr %8, align 8
%270 = getelementptr inbounds i8, ptr %269, i64 16
store ptr %270, ptr %8, align 8
%271 = load i64, ptr %7, align 8
%272 = sub i64 %271, 16
store i64 %272, ptr %7, align 8
br label %222, !llvm.loop !10
273: ; preds = %222
br label %336
274: ; preds = %131
%275 = load ptr, ptr %9, align 8
%276 = load i32, ptr %275, align 4
store i32 %276, ptr %10, align 4
%277 = load ptr, ptr %9, align 8
%278 = getelementptr inbounds i8, ptr %277, i32 1
store ptr %278, ptr %9, align 8
%279 = load i8, ptr %277, align 1
%280 = load ptr, ptr %8, align 8
%281 = getelementptr inbounds i8, ptr %280, i32 1
store ptr %281, ptr %8, align 8
store i8 %279, ptr %280, align 1
%282 = load i64, ptr %7, align 8
%283 = sub i64 %282, 1
store i64 %283, ptr %7, align 8
br label %284
284: ; preds = %328, %274
%285 = load i64, ptr %7, align 8
%286 = icmp uge i64 %285, 19
br i1 %286, label %287, label %335
287: ; preds = %284
%288 = load ptr, ptr %9, align 8
%289 = getelementptr inbounds i8, ptr %288, i64 3
%290 = load i32, ptr %289, align 4
store i32 %290, ptr %11, align 4
%291 = load i32, ptr %10, align 4
%292 = ashr i32 %291, 8
%293 = load i32, ptr %11, align 4
%294 = shl i32 %293, 24
%295 = or i32 %292, %294
%296 = load ptr, ptr %8, align 8
%297 = getelementptr inbounds i8, ptr %296, i64 0
store i32 %295, ptr %297, align 4
%298 = load ptr, ptr %9, align 8
%299 = getelementptr inbounds i8, ptr %298, i64 7
%300 = load i32, ptr %299, align 4
store i32 %300, ptr %10, align 4
%301 = load i32, ptr %11, align 4
%302 = ashr i32 %301, 8
%303 = load i32, ptr %10, align 4
%304 = shl i32 %303, 24
%305 = or i32 %302, %304
%306 = load ptr, ptr %8, align 8
%307 = getelementptr inbounds i8, ptr %306, i64 4
store i32 %305, ptr %307, align 4
%308 = load ptr, ptr %9, align 8
%309 = getelementptr inbounds i8, ptr %308, i64 11
%310 = load i32, ptr %309, align 4
store i32 %310, ptr %11, align 4
%311 = load i32, ptr %10, align 4
%312 = ashr i32 %311, 8
%313 = load i32, ptr %11, align 4
%314 = shl i32 %313, 24
%315 = or i32 %312, %314
%316 = load ptr, ptr %8, align 8
%317 = getelementptr inbounds i8, ptr %316, i64 8
store i32 %315, ptr %317, align 4
%318 = load ptr, ptr %9, align 8
%319 = getelementptr inbounds i8, ptr %318, i64 15
%320 = load i32, ptr %319, align 4
store i32 %320, ptr %10, align 4
%321 = load i32, ptr %11, align 4
%322 = ashr i32 %321, 8
%323 = load i32, ptr %10, align 4
%324 = shl i32 %323, 24
%325 = or i32 %322, %324
%326 = load ptr, ptr %8, align 8
%327 = getelementptr inbounds i8, ptr %326, i64 12
store i32 %325, ptr %327, align 4
br label %328
328: ; preds = %287
%329 = load ptr, ptr %9, align 8
%330 = getelementptr inbounds i8, ptr %329, i64 16
store ptr %330, ptr %9, align 8
%331 = load ptr, ptr %8, align 8
%332 = getelementptr inbounds i8, ptr %331, i64 16
store ptr %332, ptr %8, align 8
%333 = load i64, ptr %7, align 8
%334 = sub i64 %333, 16
store i64 %334, ptr %7, align 8
br label %284, !llvm.loop !11
335: ; preds = %284
br label %336
336: ; preds = %131, %335, %273, %206
br label %337
337: ; preds = %336, %128
%338 = load i64, ptr %7, align 8
%339 = and i64 %338, 16
%340 = icmp ne i64 %339, 0
br i1 %340, label %341, label %422
341: ; preds = %337
%342 = load ptr, ptr %9, align 8
%343 = getelementptr inbounds i8, ptr %342, i32 1
store ptr %343, ptr %9, align 8
%344 = load i8, ptr %342, align 1
%345 = load ptr, ptr %8, align 8
%346 = getelementptr inbounds i8, ptr %345, i32 1
store ptr %346, ptr %8, align 8
store i8 %344, ptr %345, align 1
%347 = load ptr, ptr %9, align 8
%348 = getelementptr inbounds i8, ptr %347, i32 1
store ptr %348, ptr %9, align 8
%349 = load i8, ptr %347, align 1
%350 = load ptr, ptr %8, align 8
%351 = getelementptr inbounds i8, ptr %350, i32 1
store ptr %351, ptr %8, align 8
store i8 %349, ptr %350, align 1
%352 = load ptr, ptr %9, align 8
%353 = getelementptr inbounds i8, ptr %352, i32 1
store ptr %353, ptr %9, align 8
%354 = load i8, ptr %352, align 1
%355 = load ptr, ptr %8, align 8
%356 = getelementptr inbounds i8, ptr %355, i32 1
store ptr %356, ptr %8, align 8
store i8 %354, ptr %355, align 1
%357 = load ptr, ptr %9, align 8
%358 = getelementptr inbounds i8, ptr %357, i32 1
store ptr %358, ptr %9, align 8
%359 = load i8, ptr %357, align 1
%360 = load ptr, ptr %8, align 8
%361 = getelementptr inbounds i8, ptr %360, i32 1
store ptr %361, ptr %8, align 8
store i8 %359, ptr %360, align 1
%362 = load ptr, ptr %9, align 8
%363 = getelementptr inbounds i8, ptr %362, i32 1
store ptr %363, ptr %9, align 8
%364 = load i8, ptr %362, align 1
%365 = load ptr, ptr %8, align 8
%366 = getelementptr inbounds i8, ptr %365, i32 1
store ptr %366, ptr %8, align 8
store i8 %364, ptr %365, align 1
%367 = load ptr, ptr %9, align 8
%368 = getelementptr inbounds i8, ptr %367, i32 1
store ptr %368, ptr %9, align 8
%369 = load i8, ptr %367, align 1
%370 = load ptr, ptr %8, align 8
%371 = getelementptr inbounds i8, ptr %370, i32 1
store ptr %371, ptr %8, align 8
store i8 %369, ptr %370, align 1
%372 = load ptr, ptr %9, align 8
%373 = getelementptr inbounds i8, ptr %372, i32 1
store ptr %373, ptr %9, align 8
%374 = load i8, ptr %372, align 1
%375 = load ptr, ptr %8, align 8
%376 = getelementptr inbounds i8, ptr %375, i32 1
store ptr %376, ptr %8, align 8
store i8 %374, ptr %375, align 1
%377 = load ptr, ptr %9, align 8
%378 = getelementptr inbounds i8, ptr %377, i32 1
store ptr %378, ptr %9, align 8
%379 = load i8, ptr %377, align 1
%380 = load ptr, ptr %8, align 8
%381 = getelementptr inbounds i8, ptr %380, i32 1
store ptr %381, ptr %8, align 8
store i8 %379, ptr %380, align 1
%382 = load ptr, ptr %9, align 8
%383 = getelementptr inbounds i8, ptr %382, i32 1
store ptr %383, ptr %9, align 8
%384 = load i8, ptr %382, align 1
%385 = load ptr, ptr %8, align 8
%386 = getelementptr inbounds i8, ptr %385, i32 1
store ptr %386, ptr %8, align 8
store i8 %384, ptr %385, align 1
%387 = load ptr, ptr %9, align 8
%388 = getelementptr inbounds i8, ptr %387, i32 1
store ptr %388, ptr %9, align 8
%389 = load i8, ptr %387, align 1
%390 = load ptr, ptr %8, align 8
%391 = getelementptr inbounds i8, ptr %390, i32 1
store ptr %391, ptr %8, align 8
store i8 %389, ptr %390, align 1
%392 = load ptr, ptr %9, align 8
%393 = getelementptr inbounds i8, ptr %392, i32 1
store ptr %393, ptr %9, align 8
%394 = load i8, ptr %392, align 1
%395 = load ptr, ptr %8, align 8
%396 = getelementptr inbounds i8, ptr %395, i32 1
store ptr %396, ptr %8, align 8
store i8 %394, ptr %395, align 1
%397 = load ptr, ptr %9, align 8
%398 = getelementptr inbounds i8, ptr %397, i32 1
store ptr %398, ptr %9, align 8
%399 = load i8, ptr %397, align 1
%400 = load ptr, ptr %8, align 8
%401 = getelementptr inbounds i8, ptr %400, i32 1
store ptr %401, ptr %8, align 8
store i8 %399, ptr %400, align 1
%402 = load ptr, ptr %9, align 8
%403 = getelementptr inbounds i8, ptr %402, i32 1
store ptr %403, ptr %9, align 8
%404 = load i8, ptr %402, align 1
%405 = load ptr, ptr %8, align 8
%406 = getelementptr inbounds i8, ptr %405, i32 1
store ptr %406, ptr %8, align 8
store i8 %404, ptr %405, align 1
%407 = load ptr, ptr %9, align 8
%408 = getelementptr inbounds i8, ptr %407, i32 1
store ptr %408, ptr %9, align 8
%409 = load i8, ptr %407, align 1
%410 = load ptr, ptr %8, align 8
%411 = getelementptr inbounds i8, ptr %410, i32 1
store ptr %411, ptr %8, align 8
store i8 %409, ptr %410, align 1
%412 = load ptr, ptr %9, align 8
%413 = getelementptr inbounds i8, ptr %412, i32 1
store ptr %413, ptr %9, align 8
%414 = load i8, ptr %412, align 1
%415 = load ptr, ptr %8, align 8
%416 = getelementptr inbounds i8, ptr %415, i32 1
store ptr %416, ptr %8, align 8
store i8 %414, ptr %415, align 1
%417 = load ptr, ptr %9, align 8
%418 = getelementptr inbounds i8, ptr %417, i32 1
store ptr %418, ptr %9, align 8
%419 = load i8, ptr %417, align 1
%420 = load ptr, ptr %8, align 8
%421 = getelementptr inbounds i8, ptr %420, i32 1
store ptr %421, ptr %8, align 8
store i8 %419, ptr %420, align 1
br label %422
422: ; preds = %341, %337
%423 = load i64, ptr %7, align 8
%424 = and i64 %423, 8
%425 = icmp ne i64 %424, 0
br i1 %425, label %426, label %467
426: ; preds = %422
%427 = load ptr, ptr %9, align 8
%428 = getelementptr inbounds i8, ptr %427, i32 1
store ptr %428, ptr %9, align 8
%429 = load i8, ptr %427, align 1
%430 = load ptr, ptr %8, align 8
%431 = getelementptr inbounds i8, ptr %430, i32 1
store ptr %431, ptr %8, align 8
store i8 %429, ptr %430, align 1
%432 = load ptr, ptr %9, align 8
%433 = getelementptr inbounds i8, ptr %432, i32 1
store ptr %433, ptr %9, align 8
%434 = load i8, ptr %432, align 1
%435 = load ptr, ptr %8, align 8
%436 = getelementptr inbounds i8, ptr %435, i32 1
store ptr %436, ptr %8, align 8
store i8 %434, ptr %435, align 1
%437 = load ptr, ptr %9, align 8
%438 = getelementptr inbounds i8, ptr %437, i32 1
store ptr %438, ptr %9, align 8
%439 = load i8, ptr %437, align 1
%440 = load ptr, ptr %8, align 8
%441 = getelementptr inbounds i8, ptr %440, i32 1
store ptr %441, ptr %8, align 8
store i8 %439, ptr %440, align 1
%442 = load ptr, ptr %9, align 8
%443 = getelementptr inbounds i8, ptr %442, i32 1
store ptr %443, ptr %9, align 8
%444 = load i8, ptr %442, align 1
%445 = load ptr, ptr %8, align 8
%446 = getelementptr inbounds i8, ptr %445, i32 1
store ptr %446, ptr %8, align 8
store i8 %444, ptr %445, align 1
%447 = load ptr, ptr %9, align 8
%448 = getelementptr inbounds i8, ptr %447, i32 1
store ptr %448, ptr %9, align 8
%449 = load i8, ptr %447, align 1
%450 = load ptr, ptr %8, align 8
%451 = getelementptr inbounds i8, ptr %450, i32 1
store ptr %451, ptr %8, align 8
store i8 %449, ptr %450, align 1
%452 = load ptr, ptr %9, align 8
%453 = getelementptr inbounds i8, ptr %452, i32 1
store ptr %453, ptr %9, align 8
%454 = load i8, ptr %452, align 1
%455 = load ptr, ptr %8, align 8
%456 = getelementptr inbounds i8, ptr %455, i32 1
store ptr %456, ptr %8, align 8
store i8 %454, ptr %455, align 1
%457 = load ptr, ptr %9, align 8
%458 = getelementptr inbounds i8, ptr %457, i32 1
store ptr %458, ptr %9, align 8
%459 = load i8, ptr %457, align 1
%460 = load ptr, ptr %8, align 8
%461 = getelementptr inbounds i8, ptr %460, i32 1
store ptr %461, ptr %8, align 8
store i8 %459, ptr %460, align 1
%462 = load ptr, ptr %9, align 8
%463 = getelementptr inbounds i8, ptr %462, i32 1
store ptr %463, ptr %9, align 8
%464 = load i8, ptr %462, align 1
%465 = load ptr, ptr %8, align 8
%466 = getelementptr inbounds i8, ptr %465, i32 1
store ptr %466, ptr %8, align 8
store i8 %464, ptr %465, align 1
br label %467
467: ; preds = %426, %422
%468 = load i64, ptr %7, align 8
%469 = and i64 %468, 4
%470 = icmp ne i64 %469, 0
br i1 %470, label %471, label %492
471: ; preds = %467
%472 = load ptr, ptr %9, align 8
%473 = getelementptr inbounds i8, ptr %472, i32 1
store ptr %473, ptr %9, align 8
%474 = load i8, ptr %472, align 1
%475 = load ptr, ptr %8, align 8
%476 = getelementptr inbounds i8, ptr %475, i32 1
store ptr %476, ptr %8, align 8
store i8 %474, ptr %475, align 1
%477 = load ptr, ptr %9, align 8
%478 = getelementptr inbounds i8, ptr %477, i32 1
store ptr %478, ptr %9, align 8
%479 = load i8, ptr %477, align 1
%480 = load ptr, ptr %8, align 8
%481 = getelementptr inbounds i8, ptr %480, i32 1
store ptr %481, ptr %8, align 8
store i8 %479, ptr %480, align 1
%482 = load ptr, ptr %9, align 8
%483 = getelementptr inbounds i8, ptr %482, i32 1
store ptr %483, ptr %9, align 8
%484 = load i8, ptr %482, align 1
%485 = load ptr, ptr %8, align 8
%486 = getelementptr inbounds i8, ptr %485, i32 1
store ptr %486, ptr %8, align 8
store i8 %484, ptr %485, align 1
%487 = load ptr, ptr %9, align 8
%488 = getelementptr inbounds i8, ptr %487, i32 1
store ptr %488, ptr %9, align 8
%489 = load i8, ptr %487, align 1
%490 = load ptr, ptr %8, align 8
%491 = getelementptr inbounds i8, ptr %490, i32 1
store ptr %491, ptr %8, align 8
store i8 %489, ptr %490, align 1
br label %492
492: ; preds = %471, %467
%493 = load i64, ptr %7, align 8
%494 = and i64 %493, 2
%495 = icmp ne i64 %494, 0
br i1 %495, label %496, label %507
496: ; preds = %492
%497 = load ptr, ptr %9, align 8
%498 = getelementptr inbounds i8, ptr %497, i32 1
store ptr %498, ptr %9, align 8
%499 = load i8, ptr %497, align 1
%500 = load ptr, ptr %8, align 8
%501 = getelementptr inbounds i8, ptr %500, i32 1
store ptr %501, ptr %8, align 8
store i8 %499, ptr %500, align 1
%502 = load ptr, ptr %9, align 8
%503 = getelementptr inbounds i8, ptr %502, i32 1
store ptr %503, ptr %9, align 8
%504 = load i8, ptr %502, align 1
%505 = load ptr, ptr %8, align 8
%506 = getelementptr inbounds i8, ptr %505, i32 1
store ptr %506, ptr %8, align 8
store i8 %504, ptr %505, align 1
br label %507
507: ; preds = %496, %492
%508 = load i64, ptr %7, align 8
%509 = and i64 %508, 1
%510 = icmp ne i64 %509, 0
br i1 %510, label %511, label %515
511: ; preds = %507
%512 = load ptr, ptr %9, align 8
%513 = load i8, ptr %512, align 1
%514 = load ptr, ptr %8, align 8
store i8 %513, ptr %514, align 1
br label %515
515: ; preds = %511, %507
%516 = load ptr, ptr %5, align 8
store ptr %516, ptr %4, align 8
br label %517
517: ; preds = %515, %126
%518 = load ptr, ptr %4, align 8
ret ptr %518
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphysm5f3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %30, %3
%15 = load ptr, ptr %9, align 8
%16 = ptrtoint ptr %15 to i64
%17 = urem i64 %16, 4
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i64, ptr %7, align 8
%21 = icmp ne i64 %20, 0
br label %22
22: ; preds = %19, %14
%23 = phi i1 [ false, %14 ], [ %21, %19 ]
br i1 %23, label %24, label %33
24: ; preds = %22
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
%27 = load i8, ptr %25, align 1
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %8, align 8
store i8 %27, ptr %28, align 1
br label %30
30: ; preds = %24
%31 = load i64, ptr %7, align 8
%32 = add i64 %31, -1
store i64 %32, ptr %7, align 8
br label %14, !llvm.loop !6
33: ; preds = %22
%34 = load ptr, ptr %8, align 8
%35 = ptrtoint ptr %34 to i64
%36 = urem i64 %35, 4
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %129
38: ; preds = %33
%39 = load i64, ptr %7, align 8
%40 = icmp uge i64 %39, 16
br i1 %40, label %.lr.ph8, label %71
.lr.ph8: ; preds = %38
br label %41
41: ; preds = %.lr.ph8, %62
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 0
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 0
store i32 %44, ptr %46, align 4
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 4
store i32 %49, ptr %51, align 4
%52 = load ptr, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 8
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 8
store i32 %54, ptr %56, align 4
%57 = load ptr, ptr %9, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 12
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 12
store i32 %59, ptr %61, align 4
br label %62
62: ; preds = %41
%63 = load ptr, ptr %9, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 16
store ptr %64, ptr %9, align 8
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 16
store ptr %66, ptr %8, align 8
%67 = load i64, ptr %7, align 8
%68 = sub i64 %67, 16
store i64 %68, ptr %7, align 8
%69 = load i64, ptr %7, align 8
%70 = icmp uge i64 %69, 16
br i1 %70, label %41, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %62
br label %71
71: ; preds = %._crit_edge9, %38
%72 = load i64, ptr %7, align 8
%73 = and i64 %72, 8
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %90
75: ; preds = %71
%76 = load ptr, ptr %9, align 8
%77 = getelementptr inbounds i8, ptr %76, i64 0
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %8, align 8
%80 = getelementptr inbounds i8, ptr %79, i64 0
store i32 %78, ptr %80, align 4
%81 = load ptr, ptr %9, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 4
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %8, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 4
store i32 %83, ptr %85, align 4
%86 = load ptr, ptr %8, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 8
store ptr %87, ptr %8, align 8
%88 = load ptr, ptr %9, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 8
store ptr %89, ptr %9, align 8
br label %90
90: ; preds = %75, %71
%91 = load i64, ptr %7, align 8
%92 = and i64 %91, 4
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %104
94: ; preds = %90
%95 = load ptr, ptr %9, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 0
%97 = load i32, ptr %96, align 4
%98 = load ptr, ptr %8, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 0
store i32 %97, ptr %99, align 4
%100 = load ptr, ptr %8, align 8
%101 = getelementptr inbounds i8, ptr %100, i64 4
store ptr %101, ptr %8, align 8
%102 = load ptr, ptr %9, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 4
store ptr %103, ptr %9, align 8
br label %104
104: ; preds = %94, %90
%105 = load i64, ptr %7, align 8
%106 = and i64 %105, 2
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %119
108: ; preds = %104
%109 = load ptr, ptr %9, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %9, align 8
%111 = load i8, ptr %109, align 1
%112 = load ptr, ptr %8, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 1
store ptr %113, ptr %8, align 8
store i8 %111, ptr %112, align 1
%114 = load ptr, ptr %9, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %9, align 8
%116 = load i8, ptr %114, align 1
%117 = load ptr, ptr %8, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %8, align 8
store i8 %116, ptr %117, align 1
br label %119
119: ; preds = %108, %104
%120 = load i64, ptr %7, align 8
%121 = and i64 %120, 1
%122 = icmp ne i64 %121, 0
br i1 %122, label %123, label %127
123: ; preds = %119
%124 = load ptr, ptr %9, align 8
%125 = load i8, ptr %124, align 1
%126 = load ptr, ptr %8, align 8
store i8 %125, ptr %126, align 1
br label %127
127: ; preds = %123, %119
%128 = load ptr, ptr %5, align 8
store ptr %128, ptr %4, align 8
br label %521
129: ; preds = %33
%130 = load i64, ptr %7, align 8
%131 = icmp uge i64 %130, 32
br i1 %131, label %132, label %341
132: ; preds = %129
%133 = load ptr, ptr %8, align 8
%134 = ptrtoint ptr %133 to i64
%135 = urem i64 %134, 4
switch i64 %135, label %340 [
i64 1, label %136
i64 2, label %209
i64 3, label %277
]
136: ; preds = %132
%137 = load ptr, ptr %9, align 8
%138 = load i32, ptr %137, align 4
store i32 %138, ptr %10, align 4
%139 = load ptr, ptr %9, align 8
%140 = getelementptr inbounds i8, ptr %139, i32 1
store ptr %140, ptr %9, align 8
%141 = load i8, ptr %139, align 1
%142 = load ptr, ptr %8, align 8
%143 = getelementptr inbounds i8, ptr %142, i32 1
store ptr %143, ptr %8, align 8
store i8 %141, ptr %142, align 1
%144 = load ptr, ptr %9, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %9, align 8
%146 = load i8, ptr %144, align 1
%147 = load ptr, ptr %8, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %8, align 8
store i8 %146, ptr %147, align 1
%149 = load ptr, ptr %9, align 8
%150 = getelementptr inbounds i8, ptr %149, i32 1
store ptr %150, ptr %9, align 8
%151 = load i8, ptr %149, align 1
%152 = load ptr, ptr %8, align 8
%153 = getelementptr inbounds i8, ptr %152, i32 1
store ptr %153, ptr %8, align 8
store i8 %151, ptr %152, align 1
%154 = load i64, ptr %7, align 8
%155 = sub i64 %154, 3
store i64 %155, ptr %7, align 8
%156 = load i64, ptr %7, align 8
%157 = icmp uge i64 %156, 17
br i1 %157, label %.lr.ph5, label %208
.lr.ph5: ; preds = %136
br label %158
158: ; preds = %.lr.ph5, %199
%159 = load ptr, ptr %9, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 1
%161 = load i32, ptr %160, align 4
store i32 %161, ptr %11, align 4
%162 = load i32, ptr %10, align 4
%163 = ashr i32 %162, 24
%164 = load i32, ptr %11, align 4
%165 = shl i32 %164, 8
%166 = or i32 %163, %165
%167 = load ptr, ptr %8, align 8
%168 = getelementptr inbounds i8, ptr %167, i64 0
store i32 %166, ptr %168, align 4
%169 = load ptr, ptr %9, align 8
%170 = getelementptr inbounds i8, ptr %169, i64 5
%171 = load i32, ptr %170, align 4
store i32 %171, ptr %10, align 4
%172 = load i32, ptr %11, align 4
%173 = ashr i32 %172, 24
%174 = load i32, ptr %10, align 4
%175 = shl i32 %174, 8
%176 = or i32 %173, %175
%177 = load ptr, ptr %8, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 4
store i32 %176, ptr %178, align 4
%179 = load ptr, ptr %9, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 9
%181 = load i32, ptr %180, align 4
store i32 %181, ptr %11, align 4
%182 = load i32, ptr %10, align 4
%183 = ashr i32 %182, 24
%184 = load i32, ptr %11, align 4
%185 = shl i32 %184, 8
%186 = or i32 %183, %185
%187 = load ptr, ptr %8, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 8
store i32 %186, ptr %188, align 4
%189 = load ptr, ptr %9, align 8
%190 = getelementptr inbounds i8, ptr %189, i64 13
%191 = load i32, ptr %190, align 4
store i32 %191, ptr %10, align 4
%192 = load i32, ptr %11, align 4
%193 = ashr i32 %192, 24
%194 = load i32, ptr %10, align 4
%195 = shl i32 %194, 8
%196 = or i32 %193, %195
%197 = load ptr, ptr %8, align 8
%198 = getelementptr inbounds i8, ptr %197, i64 12
store i32 %196, ptr %198, align 4
br label %199
199: ; preds = %158
%200 = load ptr, ptr %9, align 8
%201 = getelementptr inbounds i8, ptr %200, i64 16
store ptr %201, ptr %9, align 8
%202 = load ptr, ptr %8, align 8
%203 = getelementptr inbounds i8, ptr %202, i64 16
store ptr %203, ptr %8, align 8
%204 = load i64, ptr %7, align 8
%205 = sub i64 %204, 16
store i64 %205, ptr %7, align 8
%206 = load i64, ptr %7, align 8
%207 = icmp uge i64 %206, 17
br i1 %207, label %158, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %199
br label %208
208: ; preds = %._crit_edge6, %136
br label %340
209: ; preds = %132
%210 = load ptr, ptr %9, align 8
%211 = load i32, ptr %210, align 4
store i32 %211, ptr %10, align 4
%212 = load ptr, ptr %9, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 1
store ptr %213, ptr %9, align 8
%214 = load i8, ptr %212, align 1
%215 = load ptr, ptr %8, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %8, align 8
store i8 %214, ptr %215, align 1
%217 = load ptr, ptr %9, align 8
%218 = getelementptr inbounds i8, ptr %217, i32 1
store ptr %218, ptr %9, align 8
%219 = load i8, ptr %217, align 1
%220 = load ptr, ptr %8, align 8
%221 = getelementptr inbounds i8, ptr %220, i32 1
store ptr %221, ptr %8, align 8
store i8 %219, ptr %220, align 1
%222 = load i64, ptr %7, align 8
%223 = sub i64 %222, 2
store i64 %223, ptr %7, align 8
%224 = load i64, ptr %7, align 8
%225 = icmp uge i64 %224, 18
br i1 %225, label %.lr.ph2, label %276
.lr.ph2: ; preds = %209
br label %226
226: ; preds = %.lr.ph2, %267
%227 = load ptr, ptr %9, align 8
%228 = getelementptr inbounds i8, ptr %227, i64 2
%229 = load i32, ptr %228, align 4
store i32 %229, ptr %11, align 4
%230 = load i32, ptr %10, align 4
%231 = ashr i32 %230, 16
%232 = load i32, ptr %11, align 4
%233 = shl i32 %232, 16
%234 = or i32 %231, %233
%235 = load ptr, ptr %8, align 8
%236 = getelementptr inbounds i8, ptr %235, i64 0
store i32 %234, ptr %236, align 4
%237 = load ptr, ptr %9, align 8
%238 = getelementptr inbounds i8, ptr %237, i64 6
%239 = load i32, ptr %238, align 4
store i32 %239, ptr %10, align 4
%240 = load i32, ptr %11, align 4
%241 = ashr i32 %240, 16
%242 = load i32, ptr %10, align 4
%243 = shl i32 %242, 16
%244 = or i32 %241, %243
%245 = load ptr, ptr %8, align 8
%246 = getelementptr inbounds i8, ptr %245, i64 4
store i32 %244, ptr %246, align 4
%247 = load ptr, ptr %9, align 8
%248 = getelementptr inbounds i8, ptr %247, i64 10
%249 = load i32, ptr %248, align 4
store i32 %249, ptr %11, align 4
%250 = load i32, ptr %10, align 4
%251 = ashr i32 %250, 16
%252 = load i32, ptr %11, align 4
%253 = shl i32 %252, 16
%254 = or i32 %251, %253
%255 = load ptr, ptr %8, align 8
%256 = getelementptr inbounds i8, ptr %255, i64 8
store i32 %254, ptr %256, align 4
%257 = load ptr, ptr %9, align 8
%258 = getelementptr inbounds i8, ptr %257, i64 14
%259 = load i32, ptr %258, align 4
store i32 %259, ptr %10, align 4
%260 = load i32, ptr %11, align 4
%261 = ashr i32 %260, 16
%262 = load i32, ptr %10, align 4
%263 = shl i32 %262, 16
%264 = or i32 %261, %263
%265 = load ptr, ptr %8, align 8
%266 = getelementptr inbounds i8, ptr %265, i64 12
store i32 %264, ptr %266, align 4
br label %267
267: ; preds = %226
%268 = load ptr, ptr %9, align 8
%269 = getelementptr inbounds i8, ptr %268, i64 16
store ptr %269, ptr %9, align 8
%270 = load ptr, ptr %8, align 8
%271 = getelementptr inbounds i8, ptr %270, i64 16
store ptr %271, ptr %8, align 8
%272 = load i64, ptr %7, align 8
%273 = sub i64 %272, 16
store i64 %273, ptr %7, align 8
%274 = load i64, ptr %7, align 8
%275 = icmp uge i64 %274, 18
br i1 %275, label %226, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %267
br label %276
276: ; preds = %._crit_edge3, %209
br label %340
277: ; preds = %132
%278 = load ptr, ptr %9, align 8
%279 = load i32, ptr %278, align 4
store i32 %279, ptr %10, align 4
%280 = load ptr, ptr %9, align 8
%281 = getelementptr inbounds i8, ptr %280, i32 1
store ptr %281, ptr %9, align 8
%282 = load i8, ptr %280, align 1
%283 = load ptr, ptr %8, align 8
%284 = getelementptr inbounds i8, ptr %283, i32 1
store ptr %284, ptr %8, align 8
store i8 %282, ptr %283, align 1
%285 = load i64, ptr %7, align 8
%286 = sub i64 %285, 1
store i64 %286, ptr %7, align 8
%287 = load i64, ptr %7, align 8
%288 = icmp uge i64 %287, 19
br i1 %288, label %.lr.ph, label %339
.lr.ph: ; preds = %277
br label %289
289: ; preds = %.lr.ph, %330
%290 = load ptr, ptr %9, align 8
%291 = getelementptr inbounds i8, ptr %290, i64 3
%292 = load i32, ptr %291, align 4
store i32 %292, ptr %11, align 4
%293 = load i32, ptr %10, align 4
%294 = ashr i32 %293, 8
%295 = load i32, ptr %11, align 4
%296 = shl i32 %295, 24
%297 = or i32 %294, %296
%298 = load ptr, ptr %8, align 8
%299 = getelementptr inbounds i8, ptr %298, i64 0
store i32 %297, ptr %299, align 4
%300 = load ptr, ptr %9, align 8
%301 = getelementptr inbounds i8, ptr %300, i64 7
%302 = load i32, ptr %301, align 4
store i32 %302, ptr %10, align 4
%303 = load i32, ptr %11, align 4
%304 = ashr i32 %303, 8
%305 = load i32, ptr %10, align 4
%306 = shl i32 %305, 24
%307 = or i32 %304, %306
%308 = load ptr, ptr %8, align 8
%309 = getelementptr inbounds i8, ptr %308, i64 4
store i32 %307, ptr %309, align 4
%310 = load ptr, ptr %9, align 8
%311 = getelementptr inbounds i8, ptr %310, i64 11
%312 = load i32, ptr %311, align 4
store i32 %312, ptr %11, align 4
%313 = load i32, ptr %10, align 4
%314 = ashr i32 %313, 8
%315 = load i32, ptr %11, align 4
%316 = shl i32 %315, 24
%317 = or i32 %314, %316
%318 = load ptr, ptr %8, align 8
%319 = getelementptr inbounds i8, ptr %318, i64 8
store i32 %317, ptr %319, align 4
%320 = load ptr, ptr %9, align 8
%321 = getelementptr inbounds i8, ptr %320, i64 15
%322 = load i32, ptr %321, align 4
store i32 %322, ptr %10, align 4
%323 = load i32, ptr %11, align 4
%324 = ashr i32 %323, 8
%325 = load i32, ptr %10, align 4
%326 = shl i32 %325, 24
%327 = or i32 %324, %326
%328 = load ptr, ptr %8, align 8
%329 = getelementptr inbounds i8, ptr %328, i64 12
store i32 %327, ptr %329, align 4
br label %330
330: ; preds = %289
%331 = load ptr, ptr %9, align 8
%332 = getelementptr inbounds i8, ptr %331, i64 16
store ptr %332, ptr %9, align 8
%333 = load ptr, ptr %8, align 8
%334 = getelementptr inbounds i8, ptr %333, i64 16
store ptr %334, ptr %8, align 8
%335 = load i64, ptr %7, align 8
%336 = sub i64 %335, 16
store i64 %336, ptr %7, align 8
%337 = load i64, ptr %7, align 8
%338 = icmp uge i64 %337, 19
br i1 %338, label %289, label %._crit_edge, !llvm.loop !11
._crit_edge: ; preds = %330
br label %339
339: ; preds = %._crit_edge, %277
br label %340
340: ; preds = %339, %276, %208, %132
br label %341
341: ; preds = %340, %129
%342 = load i64, ptr %7, align 8
%343 = and i64 %342, 16
%344 = icmp ne i64 %343, 0
br i1 %344, label %345, label %426
345: ; preds = %341
%346 = load ptr, ptr %9, align 8
%347 = getelementptr inbounds i8, ptr %346, i32 1
store ptr %347, ptr %9, align 8
%348 = load i8, ptr %346, align 1
%349 = load ptr, ptr %8, align 8
%350 = getelementptr inbounds i8, ptr %349, i32 1
store ptr %350, ptr %8, align 8
store i8 %348, ptr %349, align 1
%351 = load ptr, ptr %9, align 8
%352 = getelementptr inbounds i8, ptr %351, i32 1
store ptr %352, ptr %9, align 8
%353 = load i8, ptr %351, align 1
%354 = load ptr, ptr %8, align 8
%355 = getelementptr inbounds i8, ptr %354, i32 1
store ptr %355, ptr %8, align 8
store i8 %353, ptr %354, align 1
%356 = load ptr, ptr %9, align 8
%357 = getelementptr inbounds i8, ptr %356, i32 1
store ptr %357, ptr %9, align 8
%358 = load i8, ptr %356, align 1
%359 = load ptr, ptr %8, align 8
%360 = getelementptr inbounds i8, ptr %359, i32 1
store ptr %360, ptr %8, align 8
store i8 %358, ptr %359, align 1
%361 = load ptr, ptr %9, align 8
%362 = getelementptr inbounds i8, ptr %361, i32 1
store ptr %362, ptr %9, align 8
%363 = load i8, ptr %361, align 1
%364 = load ptr, ptr %8, align 8
%365 = getelementptr inbounds i8, ptr %364, i32 1
store ptr %365, ptr %8, align 8
store i8 %363, ptr %364, align 1
%366 = load ptr, ptr %9, align 8
%367 = getelementptr inbounds i8, ptr %366, i32 1
store ptr %367, ptr %9, align 8
%368 = load i8, ptr %366, align 1
%369 = load ptr, ptr %8, align 8
%370 = getelementptr inbounds i8, ptr %369, i32 1
store ptr %370, ptr %8, align 8
store i8 %368, ptr %369, align 1
%371 = load ptr, ptr %9, align 8
%372 = getelementptr inbounds i8, ptr %371, i32 1
store ptr %372, ptr %9, align 8
%373 = load i8, ptr %371, align 1
%374 = load ptr, ptr %8, align 8
%375 = getelementptr inbounds i8, ptr %374, i32 1
store ptr %375, ptr %8, align 8
store i8 %373, ptr %374, align 1
%376 = load ptr, ptr %9, align 8
%377 = getelementptr inbounds i8, ptr %376, i32 1
store ptr %377, ptr %9, align 8
%378 = load i8, ptr %376, align 1
%379 = load ptr, ptr %8, align 8
%380 = getelementptr inbounds i8, ptr %379, i32 1
store ptr %380, ptr %8, align 8
store i8 %378, ptr %379, align 1
%381 = load ptr, ptr %9, align 8
%382 = getelementptr inbounds i8, ptr %381, i32 1
store ptr %382, ptr %9, align 8
%383 = load i8, ptr %381, align 1
%384 = load ptr, ptr %8, align 8
%385 = getelementptr inbounds i8, ptr %384, i32 1
store ptr %385, ptr %8, align 8
store i8 %383, ptr %384, align 1
%386 = load ptr, ptr %9, align 8
%387 = getelementptr inbounds i8, ptr %386, i32 1
store ptr %387, ptr %9, align 8
%388 = load i8, ptr %386, align 1
%389 = load ptr, ptr %8, align 8
%390 = getelementptr inbounds i8, ptr %389, i32 1
store ptr %390, ptr %8, align 8
store i8 %388, ptr %389, align 1
%391 = load ptr, ptr %9, align 8
%392 = getelementptr inbounds i8, ptr %391, i32 1
store ptr %392, ptr %9, align 8
%393 = load i8, ptr %391, align 1
%394 = load ptr, ptr %8, align 8
%395 = getelementptr inbounds i8, ptr %394, i32 1
store ptr %395, ptr %8, align 8
store i8 %393, ptr %394, align 1
%396 = load ptr, ptr %9, align 8
%397 = getelementptr inbounds i8, ptr %396, i32 1
store ptr %397, ptr %9, align 8
%398 = load i8, ptr %396, align 1
%399 = load ptr, ptr %8, align 8
%400 = getelementptr inbounds i8, ptr %399, i32 1
store ptr %400, ptr %8, align 8
store i8 %398, ptr %399, align 1
%401 = load ptr, ptr %9, align 8
%402 = getelementptr inbounds i8, ptr %401, i32 1
store ptr %402, ptr %9, align 8
%403 = load i8, ptr %401, align 1
%404 = load ptr, ptr %8, align 8
%405 = getelementptr inbounds i8, ptr %404, i32 1
store ptr %405, ptr %8, align 8
store i8 %403, ptr %404, align 1
%406 = load ptr, ptr %9, align 8
%407 = getelementptr inbounds i8, ptr %406, i32 1
store ptr %407, ptr %9, align 8
%408 = load i8, ptr %406, align 1
%409 = load ptr, ptr %8, align 8
%410 = getelementptr inbounds i8, ptr %409, i32 1
store ptr %410, ptr %8, align 8
store i8 %408, ptr %409, align 1
%411 = load ptr, ptr %9, align 8
%412 = getelementptr inbounds i8, ptr %411, i32 1
store ptr %412, ptr %9, align 8
%413 = load i8, ptr %411, align 1
%414 = load ptr, ptr %8, align 8
%415 = getelementptr inbounds i8, ptr %414, i32 1
store ptr %415, ptr %8, align 8
store i8 %413, ptr %414, align 1
%416 = load ptr, ptr %9, align 8
%417 = getelementptr inbounds i8, ptr %416, i32 1
store ptr %417, ptr %9, align 8
%418 = load i8, ptr %416, align 1
%419 = load ptr, ptr %8, align 8
%420 = getelementptr inbounds i8, ptr %419, i32 1
store ptr %420, ptr %8, align 8
store i8 %418, ptr %419, align 1
%421 = load ptr, ptr %9, align 8
%422 = getelementptr inbounds i8, ptr %421, i32 1
store ptr %422, ptr %9, align 8
%423 = load i8, ptr %421, align 1
%424 = load ptr, ptr %8, align 8
%425 = getelementptr inbounds i8, ptr %424, i32 1
store ptr %425, ptr %8, align 8
store i8 %423, ptr %424, align 1
br label %426
426: ; preds = %345, %341
%427 = load i64, ptr %7, align 8
%428 = and i64 %427, 8
%429 = icmp ne i64 %428, 0
br i1 %429, label %430, label %471
430: ; preds = %426
%431 = load ptr, ptr %9, align 8
%432 = getelementptr inbounds i8, ptr %431, i32 1
store ptr %432, ptr %9, align 8
%433 = load i8, ptr %431, align 1
%434 = load ptr, ptr %8, align 8
%435 = getelementptr inbounds i8, ptr %434, i32 1
store ptr %435, ptr %8, align 8
store i8 %433, ptr %434, align 1
%436 = load ptr, ptr %9, align 8
%437 = getelementptr inbounds i8, ptr %436, i32 1
store ptr %437, ptr %9, align 8
%438 = load i8, ptr %436, align 1
%439 = load ptr, ptr %8, align 8
%440 = getelementptr inbounds i8, ptr %439, i32 1
store ptr %440, ptr %8, align 8
store i8 %438, ptr %439, align 1
%441 = load ptr, ptr %9, align 8
%442 = getelementptr inbounds i8, ptr %441, i32 1
store ptr %442, ptr %9, align 8
%443 = load i8, ptr %441, align 1
%444 = load ptr, ptr %8, align 8
%445 = getelementptr inbounds i8, ptr %444, i32 1
store ptr %445, ptr %8, align 8
store i8 %443, ptr %444, align 1
%446 = load ptr, ptr %9, align 8
%447 = getelementptr inbounds i8, ptr %446, i32 1
store ptr %447, ptr %9, align 8
%448 = load i8, ptr %446, align 1
%449 = load ptr, ptr %8, align 8
%450 = getelementptr inbounds i8, ptr %449, i32 1
store ptr %450, ptr %8, align 8
store i8 %448, ptr %449, align 1
%451 = load ptr, ptr %9, align 8
%452 = getelementptr inbounds i8, ptr %451, i32 1
store ptr %452, ptr %9, align 8
%453 = load i8, ptr %451, align 1
%454 = load ptr, ptr %8, align 8
%455 = getelementptr inbounds i8, ptr %454, i32 1
store ptr %455, ptr %8, align 8
store i8 %453, ptr %454, align 1
%456 = load ptr, ptr %9, align 8
%457 = getelementptr inbounds i8, ptr %456, i32 1
store ptr %457, ptr %9, align 8
%458 = load i8, ptr %456, align 1
%459 = load ptr, ptr %8, align 8
%460 = getelementptr inbounds i8, ptr %459, i32 1
store ptr %460, ptr %8, align 8
store i8 %458, ptr %459, align 1
%461 = load ptr, ptr %9, align 8
%462 = getelementptr inbounds i8, ptr %461, i32 1
store ptr %462, ptr %9, align 8
%463 = load i8, ptr %461, align 1
%464 = load ptr, ptr %8, align 8
%465 = getelementptr inbounds i8, ptr %464, i32 1
store ptr %465, ptr %8, align 8
store i8 %463, ptr %464, align 1
%466 = load ptr, ptr %9, align 8
%467 = getelementptr inbounds i8, ptr %466, i32 1
store ptr %467, ptr %9, align 8
%468 = load i8, ptr %466, align 1
%469 = load ptr, ptr %8, align 8
%470 = getelementptr inbounds i8, ptr %469, i32 1
store ptr %470, ptr %8, align 8
store i8 %468, ptr %469, align 1
br label %471
471: ; preds = %430, %426
%472 = load i64, ptr %7, align 8
%473 = and i64 %472, 4
%474 = icmp ne i64 %473, 0
br i1 %474, label %475, label %496
475: ; preds = %471
%476 = load ptr, ptr %9, align 8
%477 = getelementptr inbounds i8, ptr %476, i32 1
store ptr %477, ptr %9, align 8
%478 = load i8, ptr %476, align 1
%479 = load ptr, ptr %8, align 8
%480 = getelementptr inbounds i8, ptr %479, i32 1
store ptr %480, ptr %8, align 8
store i8 %478, ptr %479, align 1
%481 = load ptr, ptr %9, align 8
%482 = getelementptr inbounds i8, ptr %481, i32 1
store ptr %482, ptr %9, align 8
%483 = load i8, ptr %481, align 1
%484 = load ptr, ptr %8, align 8
%485 = getelementptr inbounds i8, ptr %484, i32 1
store ptr %485, ptr %8, align 8
store i8 %483, ptr %484, align 1
%486 = load ptr, ptr %9, align 8
%487 = getelementptr inbounds i8, ptr %486, i32 1
store ptr %487, ptr %9, align 8
%488 = load i8, ptr %486, align 1
%489 = load ptr, ptr %8, align 8
%490 = getelementptr inbounds i8, ptr %489, i32 1
store ptr %490, ptr %8, align 8
store i8 %488, ptr %489, align 1
%491 = load ptr, ptr %9, align 8
%492 = getelementptr inbounds i8, ptr %491, i32 1
store ptr %492, ptr %9, align 8
%493 = load i8, ptr %491, align 1
%494 = load ptr, ptr %8, align 8
%495 = getelementptr inbounds i8, ptr %494, i32 1
store ptr %495, ptr %8, align 8
store i8 %493, ptr %494, align 1
br label %496
496: ; preds = %475, %471
%497 = load i64, ptr %7, align 8
%498 = and i64 %497, 2
%499 = icmp ne i64 %498, 0
br i1 %499, label %500, label %511
500: ; preds = %496
%501 = load ptr, ptr %9, align 8
%502 = getelementptr inbounds i8, ptr %501, i32 1
store ptr %502, ptr %9, align 8
%503 = load i8, ptr %501, align 1
%504 = load ptr, ptr %8, align 8
%505 = getelementptr inbounds i8, ptr %504, i32 1
store ptr %505, ptr %8, align 8
store i8 %503, ptr %504, align 1
%506 = load ptr, ptr %9, align 8
%507 = getelementptr inbounds i8, ptr %506, i32 1
store ptr %507, ptr %9, align 8
%508 = load i8, ptr %506, align 1
%509 = load ptr, ptr %8, align 8
%510 = getelementptr inbounds i8, ptr %509, i32 1
store ptr %510, ptr %8, align 8
store i8 %508, ptr %509, align 1
br label %511
511: ; preds = %500, %496
%512 = load i64, ptr %7, align 8
%513 = and i64 %512, 1
%514 = icmp ne i64 %513, 0
br i1 %514, label %515, label %519
515: ; preds = %511
%516 = load ptr, ptr %9, align 8
%517 = load i8, ptr %516, align 1
%518 = load ptr, ptr %8, align 8
store i8 %517, ptr %518, align 1
br label %519
519: ; preds = %515, %511
%520 = load ptr, ptr %5, align 8
store ptr %520, ptr %4, align 8
br label %521
521: ; preds = %519, %127
%522 = load ptr, ptr %4, align 8
ret ptr %522
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjei1zua9.c'
source_filename = "/tmp/tmpjei1zua9.c"
target datalayout = "e-m:e-p270: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/tmpjei1zua9.c"
target datalayout = "e-m:e-p270: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/tmp92jh6plf.c'
source_filename = "/tmp/tmp92jh6plf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.c = private unnamed_addr constant [2 x float] [float 0x3FF19999A0000000, float 0x40019999A0000000], 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
%7 = alloca i32, align 4
%8 = alloca [2 x float], align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %9
9: ; preds = %12, %2
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %14
12: ; preds = %9
store i32 2, ptr %6, align 4
%13 = call i32 @sum(i32 noundef 2, i32 noundef 1)
store i32 %13, ptr %6, align 4
br label %9, !llvm.loop !6
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 3
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load i32, ptr %6, align 4
br label %23
19: ; preds = %14
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 3
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %19, %17
store i32 0, ptr %7, align 4
%24 = load i32, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.c, i64 8, i1 false)
%25 = getelementptr inbounds [2 x float], ptr %8, i64 0, i64 0
%26 = load float, ptr %25, align 4
%27 = getelementptr inbounds [2 x float], ptr %8, i64 0, i64 0
%28 = load float, ptr %27, align 4
%29 = fpext float %28 to double
ret i32 1
}
declare i32 @sum(i32 noundef, 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) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp92jh6plf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.c = private unnamed_addr constant [2 x float] [float 0x3FF19999A0000000, float 0x40019999A0000000], 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
%7 = alloca i32, align 4
%8 = alloca [2 x float], align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %.lr.ph, label %15
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
store i32 2, ptr %6, align 4
%12 = call i32 @sum(i32 noundef 2, i32 noundef 1)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %13, 3
br i1 %14, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %15
15: ; preds = %._crit_edge, %2
%16 = load i32, ptr %6, align 4
%17 = icmp ne i32 %16, 3
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load i32, ptr %6, align 4
br label %24
20: ; preds = %15
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 3
%23 = zext i1 %22 to i32
br label %24
24: ; preds = %20, %18
store i32 0, ptr %7, align 4
%25 = load i32, ptr %7, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.c, i64 8, i1 false)
%26 = getelementptr inbounds [2 x float], ptr %8, i64 0, i64 0
%27 = load float, ptr %26, align 4
%28 = getelementptr inbounds [2 x float], ptr %8, i64 0, i64 0
%29 = load float, ptr %28, align 4
%30 = fpext float %29 to double
ret i32 1
}
declare i32 @sum(i32 noundef, 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) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdjtftwvb.c'
source_filename = "/tmp/tmpdjtftwvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lire_chaine_binaire(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @lire_int(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 0, ptr %15, align 1
ret void
}
declare i32 @lire_int(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdjtftwvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lire_chaine_binaire(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @lire_int(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 0, ptr %15, align 1
ret void
}
declare i32 @lire_int(ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpea7mz5y9.c'
source_filename = "/tmp/tmpea7mz5y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetAllDA() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %8, %0
%3 = load i32, ptr %1, align 4
%4 = icmp sle i32 %3, 4
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = call i32 @OutputDAchannel(i32 noundef %6, i32 noundef 255)
br label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
br label %2, !llvm.loop !6
11: ; preds = %2
ret void
}
declare i32 @OutputDAchannel(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/tmpea7mz5y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetAllDA() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sle i32 %2, 4
br i1 %3, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %7
%5 = load i32, ptr %1, align 4
%6 = call i32 @OutputDAchannel(i32 noundef %5, i32 noundef 255)
br label %7
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %10, 4
br i1 %11, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
ret void
}
declare i32 @OutputDAchannel(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/tmppts684qx.c'
source_filename = "/tmp/tmppts684qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"cs_CZ\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"error: not enought memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @heapsort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%9 = load i32, ptr @LC_ALL, align 4
%10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str)
%11 = load i64, ptr %4, align 8
%12 = sub i64 %11, 1
%13 = udiv i64 %12, 2
store i64 %13, ptr %6, align 8
br label %14
14: ; preds = %23, %2
%15 = load i64, ptr %6, align 8
%16 = icmp sge i64 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %4, align 8
%20 = sub i64 %19, 1
%21 = load i64, ptr %6, align 8
%22 = call i32 @sift(ptr noundef %18, i64 noundef %20, i64 noundef %21)
br label %23
23: ; preds = %17
%24 = load i64, ptr %6, align 8
%25 = add nsw i64 %24, -1
store i64 %25, ptr %6, align 8
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = load i64, ptr %4, align 8
%28 = sub i64 %27, 1
store i64 %28, ptr %7, align 8
br label %29
29: ; preds = %50, %26
%30 = load i64, ptr %7, align 8
%31 = icmp ugt i64 %30, 0
br i1 %31, label %32, label %53
32: ; preds = %29
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 0
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %5, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %7, align 8
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 0
store ptr %39, ptr %41, align 8
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds ptr, ptr %43, i64 %44
store ptr %42, ptr %45, align 8
%46 = load ptr, ptr %3, align 8
%47 = load i64, ptr %7, align 8
%48 = sub i64 %47, 1
%49 = call i32 @sift(ptr noundef %46, i64 noundef %48, i64 noundef 0)
br label %50
50: ; preds = %32
%51 = load i64, ptr %7, align 8
%52 = add i64 %51, -1
store i64 %52, ptr %7, align 8
br label %29, !llvm.loop !8
53: ; preds = %29
store ptr null, ptr %5, align 8
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = sext i32 %57 to i64
%59 = mul i64 1, %58
%60 = add i64 1, %59
%61 = trunc i64 %60 to i32
%62 = call i64 @malloc(i32 noundef %61)
%63 = inttoptr i64 %62 to ptr
store ptr %63, ptr %5, align 8
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %69
65: ; preds = %53
%66 = load i32, ptr @stderr, align 4
%67 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.1)
%68 = call i32 @exit(i32 noundef 1) #3
unreachable
69: ; preds = %53
%70 = load ptr, ptr %5, align 8
%71 = load ptr, ptr %3, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 0
%73 = load ptr, ptr %72, align 8
%74 = call i32 @strcpy(ptr noundef %70, ptr noundef %73)
%75 = load ptr, ptr %3, align 8
%76 = getelementptr inbounds ptr, ptr %75, i64 0
%77 = load ptr, ptr %76, align 8
%78 = call i32 @free(ptr noundef %77)
store i64 1, ptr %8, align 8
br label %79
79: ; preds = %115, %69
%80 = load i64, ptr %8, align 8
%81 = load i64, ptr %4, align 8
%82 = icmp ult i64 %80, %81
br i1 %82, label %83, label %118
83: ; preds = %79
%84 = load ptr, ptr %5, align 8
%85 = load ptr, ptr %3, align 8
%86 = load i64, ptr %8, align 8
%87 = getelementptr inbounds ptr, ptr %85, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = call i32 @strlen(ptr noundef %88)
%90 = load ptr, ptr %5, align 8
%91 = call i32 @strlen(ptr noundef %90)
%92 = add nsw i32 %89, %91
%93 = sext i32 %92 to i64
%94 = mul i64 1, %93
%95 = add i64 1, %94
%96 = trunc i64 %95 to i32
%97 = call ptr @realloc(ptr noundef %84, i32 noundef %96)
store ptr %97, ptr %5, align 8
%98 = icmp eq ptr %97, null
br i1 %98, label %99, label %103
99: ; preds = %83
%100 = load i32, ptr @stderr, align 4
%101 = call i32 @fprintf(i32 noundef %100, ptr noundef @.str.1)
%102 = call i32 @exit(i32 noundef 1) #3
unreachable
103: ; preds = %83
%104 = load ptr, ptr %5, align 8
%105 = load ptr, ptr %3, align 8
%106 = load i64, ptr %8, align 8
%107 = getelementptr inbounds ptr, ptr %105, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = call i32 @strcat(ptr noundef %104, ptr noundef %108)
%110 = load ptr, ptr %3, align 8
%111 = load i64, ptr %8, align 8
%112 = getelementptr inbounds ptr, ptr %110, i64 %111
%113 = load ptr, ptr %112, align 8
%114 = call i32 @free(ptr noundef %113)
br label %115
115: ; preds = %103
%116 = load i64, ptr %8, align 8
%117 = add i64 %116, 1
store i64 %117, ptr %8, align 8
br label %79, !llvm.loop !9
118: ; preds = %79
%119 = load ptr, ptr %5, align 8
ret ptr %119
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @sift(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppts684qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"cs_CZ\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"error: not enought memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @heapsort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%9 = load i32, ptr @LC_ALL, align 4
%10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str)
%11 = load i64, ptr %4, align 8
%12 = sub i64 %11, 1
%13 = udiv i64 %12, 2
store i64 %13, ptr %6, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp sge i64 %14, 0
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %22
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = sub i64 %18, 1
%20 = load i64, ptr %6, align 8
%21 = call i32 @sift(ptr noundef %17, i64 noundef %19, i64 noundef %20)
br label %22
22: ; preds = %16
%23 = load i64, ptr %6, align 8
%24 = add nsw i64 %23, -1
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp sge i64 %25, 0
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i64, ptr %4, align 8
%29 = sub i64 %28, 1
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp ugt i64 %30, 0
br i1 %31, label %.lr.ph2, label %55
.lr.ph2: ; preds = %27
br label %32
32: ; preds = %.lr.ph2, %50
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 0
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %5, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %7, align 8
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 0
store ptr %39, ptr %41, align 8
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds ptr, ptr %43, i64 %44
store ptr %42, ptr %45, align 8
%46 = load ptr, ptr %3, align 8
%47 = load i64, ptr %7, align 8
%48 = sub i64 %47, 1
%49 = call i32 @sift(ptr noundef %46, i64 noundef %48, i64 noundef 0)
br label %50
50: ; preds = %32
%51 = load i64, ptr %7, align 8
%52 = add i64 %51, -1
store i64 %52, ptr %7, align 8
%53 = load i64, ptr %7, align 8
%54 = icmp ugt i64 %53, 0
br i1 %54, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %55
55: ; preds = %._crit_edge3, %27
store ptr null, ptr %5, align 8
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = call i32 @strlen(ptr noundef %58)
%60 = sext i32 %59 to i64
%61 = mul i64 1, %60
%62 = add i64 1, %61
%63 = trunc i64 %62 to i32
%64 = call i64 @malloc(i32 noundef %63)
%65 = inttoptr i64 %64 to ptr
store ptr %65, ptr %5, align 8
%66 = icmp eq ptr %65, null
br i1 %66, label %67, label %71
67: ; preds = %55
%68 = load i32, ptr @stderr, align 4
%69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.1)
%70 = call i32 @exit(i32 noundef 1) #3
unreachable
71: ; preds = %55
%72 = load ptr, ptr %5, align 8
%73 = load ptr, ptr %3, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 0
%75 = load ptr, ptr %74, align 8
%76 = call i32 @strcpy(ptr noundef %72, ptr noundef %75)
%77 = load ptr, ptr %3, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 0
%79 = load ptr, ptr %78, align 8
%80 = call i32 @free(ptr noundef %79)
store i64 1, ptr %8, align 8
%81 = load i64, ptr %8, align 8
%82 = load i64, ptr %4, align 8
%83 = icmp ult i64 %81, %82
br i1 %83, label %.lr.ph5, label %122
.lr.ph5: ; preds = %71
br label %84
84: ; preds = %.lr.ph5, %116
%85 = load ptr, ptr %5, align 8
%86 = load ptr, ptr %3, align 8
%87 = load i64, ptr %8, align 8
%88 = getelementptr inbounds ptr, ptr %86, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = call i32 @strlen(ptr noundef %89)
%91 = load ptr, ptr %5, align 8
%92 = call i32 @strlen(ptr noundef %91)
%93 = add nsw i32 %90, %92
%94 = sext i32 %93 to i64
%95 = mul i64 1, %94
%96 = add i64 1, %95
%97 = trunc i64 %96 to i32
%98 = call ptr @realloc(ptr noundef %85, i32 noundef %97)
store ptr %98, ptr %5, align 8
%99 = icmp eq ptr %98, null
br i1 %99, label %100, label %104
100: ; preds = %84
%101 = load i32, ptr @stderr, align 4
%102 = call i32 @fprintf(i32 noundef %101, ptr noundef @.str.1)
%103 = call i32 @exit(i32 noundef 1) #3
unreachable
104: ; preds = %84
%105 = load ptr, ptr %5, align 8
%106 = load ptr, ptr %3, align 8
%107 = load i64, ptr %8, align 8
%108 = getelementptr inbounds ptr, ptr %106, i64 %107
%109 = load ptr, ptr %108, align 8
%110 = call i32 @strcat(ptr noundef %105, ptr noundef %109)
%111 = load ptr, ptr %3, align 8
%112 = load i64, ptr %8, align 8
%113 = getelementptr inbounds ptr, ptr %111, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = call i32 @free(ptr noundef %114)
br label %116
116: ; preds = %104
%117 = load i64, ptr %8, align 8
%118 = add i64 %117, 1
store i64 %118, ptr %8, align 8
%119 = load i64, ptr %8, align 8
%120 = load i64, ptr %4, align 8
%121 = icmp ult i64 %119, %120
br i1 %121, label %84, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %116
br label %122
122: ; preds = %._crit_edge6, %71
%123 = load ptr, ptr %5, align 8
ret ptr %123
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @sift(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpoyeyu94c.c'
source_filename = "/tmp/tmpoyeyu94c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slRandomLevel() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = call i32 (...) @random()
%4 = and i32 %3, 65535
%5 = sitofp i32 %4 to double
%6 = fcmp olt double %5, 0x40CFFFE000000000
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 32
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, ptr %1, align 4
br label %16
15: ; preds = %10
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %14, %13 ], [ 32, %15 ]
ret i32 %17
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpoyeyu94c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slRandomLevel() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = call i32 (...) @random()
%3 = and i32 %2, 65535
%4 = sitofp i32 %3 to double
%5 = fcmp olt double %4, 0x40CFFFE000000000
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = call i32 (...) @random()
%10 = and i32 %9, 65535
%11 = sitofp i32 %10 to double
%12 = fcmp olt double %11, 0x40CFFFE000000000
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %14, 32
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr %1, align 4
br label %19
18: ; preds = %13
br label %19
19: ; preds = %18, %16
%20 = phi i32 [ %17, %16 ], [ 32, %18 ]
ret i32 %20
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2cb2ko6z.c'
source_filename = "/tmp/tmp2cb2ko6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Prime\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Not prime\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i64 @is_prime(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.2)
br label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3)
br label %12
12: ; preds = %10, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_prime(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/tmp2cb2ko6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Prime\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Not prime\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i64 @is_prime(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.2)
br label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3)
br label %12
12: ; preds = %10, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_prime(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/tmpvn5le14d.c'
source_filename = "/tmp/tmpvn5le14d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_adjust_stack(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 @arch_adjust_stack(i32 noundef %3)
ret void
}
declare i32 @arch_adjust_stack(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/tmpvn5le14d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_adjust_stack(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 @arch_adjust_stack(i32 noundef %3)
ret void
}
declare i32 @arch_adjust_stack(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/tmpaa6g416u.c'
source_filename = "/tmp/tmpaa6g416u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initrand() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = trunc i64 %4 to i32
%6 = call i32 @srand(i32 noundef %5)
ret void
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @srand(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/tmpaa6g416u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initrand() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = trunc i64 %4 to i32
%6 = call i32 @srand(i32 noundef %5)
ret void
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @srand(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/tmp47px8dit.c'
source_filename = "/tmp/tmp47px8dit.c"
target datalayout = "e-m:e-p270: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/tmp47px8dit.c"
target datalayout = "e-m:e-p270: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/tmp6ptb1v9l.c'
source_filename = "/tmp/tmp6ptb1v9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @check_vect()
%3 = call i32 @main1(i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @check_vect(...) #1
declare i32 @main1(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/tmp6ptb1v9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @check_vect()
%3 = call i32 @main1(i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @check_vect(...) #1
declare i32 @main1(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/tmp2jbmabjf.c'
source_filename = "/tmp/tmp2jbmabjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paranoia_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2jbmabjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paranoia_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm39e36zk.c'
source_filename = "/tmp/tmpm39e36zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"close error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @perr_exit(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @perr_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm39e36zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"close error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @perr_exit(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @perr_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp95qjh8pu.c'
source_filename = "/tmp/tmp95qjh8pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_sin_xpx(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @track_stats(ptr noundef %5)
%7 = load double, ptr %3, align 8
%8 = call i64 @sin(double noundef %7)
%9 = sitofp i64 %8 to double
%10 = load double, ptr %3, align 8
%11 = fadd double %9, %10
%12 = fptosi double %11 to i64
%13 = call double @log(i64 noundef %12)
ret double %13
}
declare i32 @track_stats(ptr noundef) #1
declare double @log(i64 noundef) #1
declare i64 @sin(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/tmp95qjh8pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_sin_xpx(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @track_stats(ptr noundef %5)
%7 = load double, ptr %3, align 8
%8 = call i64 @sin(double noundef %7)
%9 = sitofp i64 %8 to double
%10 = load double, ptr %3, align 8
%11 = fadd double %9, %10
%12 = fptosi double %11 to i64
%13 = call double @log(i64 noundef %12)
ret double %13
}
declare i32 @track_stats(ptr noundef) #1
declare double @log(i64 noundef) #1
declare i64 @sin(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/tmp_7w2vbby.c'
source_filename = "/tmp/tmp_7w2vbby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_string_equal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7w2vbby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_string_equal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaiyrtxwb.c'
source_filename = "/tmp/tmpaiyrtxwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %13, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 100
br i1 %5, label %6, label %16
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %3, !llvm.loop !6
16: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaiyrtxwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 100
br i1 %4, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %12
%6 = load i32, ptr %2, align 4
%7 = srem i32 %6, 2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
br label %12
12: ; preds = %9, %5
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 100
br i1 %16, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1hbk2lg8.c'
source_filename = "/tmp/tmp1hbk2lg8.c"
target datalayout = "e-m:e-p270: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/tmp1hbk2lg8.c"
target datalayout = "e-m:e-p270: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/tmpxxchs1g6.c'
source_filename = "/tmp/tmpxxchs1g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10000 x i32], align 16
%9 = alloca [10000 x i32], align 16
%10 = alloca [10000 x i32], align 16
store i32 0, ptr %1, align 4
br label %11
11: ; preds = %116, %0
%12 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%13 = icmp sgt i64 %12, 0
br i1 %13, label %14, label %117
14: ; preds = %11
br label %15
15: ; preds = %114, %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
%18 = icmp ne i32 %16, 0
br i1 %18, label %19, label %116
19: ; preds = %15
%20 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40000, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40000, i1 false)
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %31, %19
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %34
25: ; preds = %21
%26 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 0
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %21, !llvm.loop !6
34: ; preds = %21
store i32 0, ptr %5, align 4
br label %35
35: ; preds = %45, %34
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 0
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %43)
br label %45
45: ; preds = %39
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
br label %35, !llvm.loop !8
48: ; preds = %35
%49 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 0
%50 = load i32, ptr %3, align 4
%51 = call i32 @swap(ptr noundef %49, i32 noundef %50)
%52 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 0
%53 = load i32, ptr %4, align 4
%54 = call i32 @swap(ptr noundef %52, i32 noundef %53)
%55 = load i32, ptr %3, align 4
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %3, align 4
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %4, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %48
%61 = load i32, ptr %4, align 4
store i32 %61, ptr %6, align 4
br label %62
62: ; preds = %60, %48
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = load i32, ptr %4, align 4
store i32 %67, ptr %7, align 4
br label %68
68: ; preds = %66, %62
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40000, i1 false)
store i32 0, ptr %5, align 4
br label %69
69: ; preds = %86, %68
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %73, label %89
73: ; preds = %69
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %5, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = add nsw i32 %77, %81
%83 = load i32, ptr %5, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %84
store i32 %82, ptr %85, align 4
br label %86
86: ; preds = %73
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %5, align 4
br label %69, !llvm.loop !9
89: ; preds = %69
%90 = load i32, ptr %6, align 4
store i32 %90, ptr %5, align 4
br label %91
91: ; preds = %111, %89
%92 = load i32, ptr %5, align 4
%93 = icmp sge i32 %92, 0
br i1 %93, label %94, label %114
94: ; preds = %91
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr %6, align 4
%97 = icmp eq i32 %95, %96
br i1 %97, label %98, label %104
98: ; preds = %94
%99 = load i32, ptr %5, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %100
%102 = load i32, ptr %101, align 4
%103 = call i32 @printf(ptr noundef @.str, i32 noundef %102)
br label %110
104: ; preds = %94
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = call i32 @printf(ptr noundef @.str.2, i32 noundef %108)
br label %110
110: ; preds = %104, %98
br label %111
111: ; preds = %110
%112 = load i32, ptr %5, align 4
%113 = add nsw i32 %112, -1
store i32 %113, ptr %5, align 4
br label %91, !llvm.loop !10
114: ; preds = %91
%115 = call i32 @putchar(i32 noundef 10)
br label %15, !llvm.loop !11
116: ; preds = %15
br label %11, !llvm.loop !12
117: ; preds = %11
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @swap(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxxchs1g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10000 x i32], align 16
%9 = alloca [10000 x i32], align 16
%10 = alloca [10000 x i32], align 16
store i32 0, ptr %1, align 4
%11 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%12 = icmp sgt i64 %11, 0
br i1 %12, label %.lr.ph14, label %127
.lr.ph14: ; preds = %0
br label %13
13: ; preds = %.lr.ph14, %124
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %2, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %.lr.ph11, label %124
.lr.ph11: ; preds = %13
br label %17
17: ; preds = %.lr.ph11, %119
%18 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40000, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40000, i1 false)
store i32 0, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %28
%23 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 0
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %17
store i32 0, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %.lr.ph2, label %50
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %44
%39 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 0
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %42)
br label %44
44: ; preds = %38
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %34
%51 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 0
%52 = load i32, ptr %3, align 4
%53 = call i32 @swap(ptr noundef %51, i32 noundef %52)
%54 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 0
%55 = load i32, ptr %4, align 4
%56 = call i32 @swap(ptr noundef %54, i32 noundef %55)
%57 = load i32, ptr %3, align 4
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %3, align 4
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %50
%63 = load i32, ptr %4, align 4
store i32 %63, ptr %6, align 4
br label %64
64: ; preds = %62, %50
%65 = load i32, ptr %7, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp sgt i32 %65, %66
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = load i32, ptr %4, align 4
store i32 %69, ptr %7, align 4
br label %70
70: ; preds = %68, %64
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40000, i1 false)
store i32 0, ptr %5, align 4
%71 = load i32, ptr %5, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp sle i32 %71, %72
br i1 %73, label %.lr.ph5, label %93
.lr.ph5: ; preds = %70
br label %74
74: ; preds = %.lr.ph5, %87
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [10000 x i32], ptr %8, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10000 x i32], ptr %9, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = add nsw i32 %78, %82
%84 = load i32, ptr %5, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %85
store i32 %83, ptr %86, align 4
br label %87
87: ; preds = %74
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %5, align 4
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp sle i32 %90, %91
br i1 %92, label %74, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %87
br label %93
93: ; preds = %._crit_edge6, %70
%94 = load i32, ptr %6, align 4
store i32 %94, ptr %5, align 4
%95 = load i32, ptr %5, align 4
%96 = icmp sge i32 %95, 0
br i1 %96, label %.lr.ph8, label %119
.lr.ph8: ; preds = %93
br label %97
97: ; preds = %.lr.ph8, %114
%98 = load i32, ptr %5, align 4
%99 = load i32, ptr %6, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %107
101: ; preds = %97
%102 = load i32, ptr %5, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %103
%105 = load i32, ptr %104, align 4
%106 = call i32 @printf(ptr noundef @.str, i32 noundef %105)
br label %113
107: ; preds = %97
%108 = load i32, ptr %5, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [10000 x i32], ptr %10, i64 0, i64 %109
%111 = load i32, ptr %110, align 4
%112 = call i32 @printf(ptr noundef @.str.2, i32 noundef %111)
br label %113
113: ; preds = %107, %101
br label %114
114: ; preds = %113
%115 = load i32, ptr %5, align 4
%116 = add nsw i32 %115, -1
store i32 %116, ptr %5, align 4
%117 = load i32, ptr %5, align 4
%118 = icmp sge i32 %117, 0
br i1 %118, label %97, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %114
br label %119
119: ; preds = %._crit_edge9, %93
%120 = call i32 @putchar(i32 noundef 10)
%121 = load i32, ptr %2, align 4
%122 = add nsw i32 %121, -1
store i32 %122, ptr %2, align 4
%123 = icmp ne i32 %121, 0
br i1 %123, label %17, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %119
br label %124
124: ; preds = %._crit_edge12, %13
%125 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%126 = icmp sgt i64 %125, 0
br i1 %126, label %13, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %124
br label %127
127: ; preds = %._crit_edge15, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @swap(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpiyiazhoa.c'
source_filename = "/tmp/tmpiyiazhoa.c"
target datalayout = "e-m:e-p270: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/tmpiyiazhoa.c"
target datalayout = "e-m:e-p270: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/tmp002wznqb.c'
source_filename = "/tmp/tmp002wznqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"\\bf %s & \\bf %s \\\\[0.5ex]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @latex_invoice_header_education_text_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call ptr @strdup(ptr noundef %10)
ret ptr %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp002wznqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"\\bf %s & \\bf %s \\\\[0.5ex]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @latex_invoice_header_education_text_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call ptr @strdup(ptr noundef %10)
ret ptr %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjyjzbb46.c'
source_filename = "/tmp/tmpjyjzbb46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_array(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %71, %2
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %74
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp eq i32 %19, %24
br i1 %25, label %26, label %70
26: ; preds = %13
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %27, i64 %30
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %31, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i64 @pow(i32 noundef 2, i32 noundef %39)
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = add nsw i64 %42, %40
%44 = trunc i64 %43 to i32
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %63, %26
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %49, align 4
%51 = icmp slt i32 %48, %50
br i1 %51, label %52, label %66
52: ; preds = %47
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %58, i64 %61
store i32 %57, ptr %62, align 4
br label %63
63: ; preds = %52
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
br label %47, !llvm.loop !6
66: ; preds = %47
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %67, align 4
%69 = sub nsw i32 %68, 1
store i32 %69, ptr %67, align 4
br label %70
70: ; preds = %66, %13
br label %71
71: ; preds = %70
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
br label %8, !llvm.loop !8
74: ; preds = %8
%75 = load i32, ptr %5, align 4
ret i32 %75
}
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjyjzbb46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_array(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %9, align 4
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph2, label %80
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %73
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %13, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %18, %23
br i1 %24, label %25, label %72
25: ; preds = %12
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %30, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %33, i64 %36
%38 = load i32, ptr %37, align 4
%39 = call i64 @pow(i32 noundef 2, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = add nsw i64 %41, %39
%43 = trunc i64 %42 to i32
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %47, align 4
%49 = icmp slt i32 %46, %48
br i1 %49, label %.lr.ph, label %68
.lr.ph: ; preds = %25
br label %50
50: ; preds = %.lr.ph, %61
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %7, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store i32 %55, ptr %60, align 4
br label %61
61: ; preds = %50
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %65, align 4
%67 = icmp slt i32 %64, %66
br i1 %67, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %68
68: ; preds = %._crit_edge, %25
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %69, align 4
%71 = sub nsw i32 %70, 1
store i32 %71, ptr %69, align 4
br label %72
72: ; preds = %68, %12
br label %73
73: ; preds = %72
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %77, align 4
%79 = icmp slt i32 %76, %78
br i1 %79, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %80
80: ; preds = %._crit_edge3, %2
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvtgij67t.c'
source_filename = "/tmp/tmpvtgij67t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safe_strtol(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
store i64 0, ptr @errno, align 8
%12 = load ptr, ptr %5, align 8
store i64 0, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strtol(ptr noundef %13, ptr noundef %6, i32 noundef 10)
store i64 %14, ptr %7, align 8
%15 = load i64, ptr @errno, align 8
%16 = load i64, ptr @ERANGE, align 8
%17 = icmp eq i64 %15, %16
br i1 %17, label %22, label %18
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18, %2
store i32 0, ptr %3, align 4
br label %41
23: ; preds = %18
%24 = load ptr, ptr %6, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %37, label %28
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %40
37: ; preds = %33, %23
%38 = load i64, ptr %7, align 8
%39 = load ptr, ptr %5, align 8
store i64 %38, ptr %39, align 8
store i32 1, ptr %3, align 4
br label %41
40: ; preds = %33, %28
store i32 0, ptr %3, align 4
br label %41
41: ; preds = %40, %37, %22
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @assert(i32 noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvtgij67t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safe_strtol(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
store i64 0, ptr @errno, align 8
%12 = load ptr, ptr %5, align 8
store i64 0, ptr %12, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strtol(ptr noundef %13, ptr noundef %6, i32 noundef 10)
store i64 %14, ptr %7, align 8
%15 = load i64, ptr @errno, align 8
%16 = load i64, ptr @ERANGE, align 8
%17 = icmp eq i64 %15, %16
br i1 %17, label %22, label %18
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18, %2
store i32 0, ptr %3, align 4
br label %41
23: ; preds = %18
%24 = load ptr, ptr %6, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %37, label %28
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %40
37: ; preds = %33, %23
%38 = load i64, ptr %7, align 8
%39 = load ptr, ptr %5, align 8
store i64 %38, ptr %39, align 8
store i32 1, ptr %3, align 4
br label %41
40: ; preds = %33, %28
store i32 0, ptr %3, align 4
br label %41
41: ; preds = %40, %37, %22
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @assert(i32 noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5j51di17.c'
source_filename = "/tmp/tmp5j51di17.c"
target datalayout = "e-m:e-p270: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/tmp5j51di17.c"
target datalayout = "e-m:e-p270: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/tmpax9u16f1.c'
source_filename = "/tmp/tmpax9u16f1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/beep\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"open:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @O_RDWR, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 0) #3
unreachable
10: ; preds = %0
br label %11
11: ; preds = %10, %11
%12 = load i32, ptr %2, align 4
%13 = call i32 @ioctl(i32 noundef %12, i32 noundef 0, i32 noundef 1)
%14 = call i32 @sleep(i32 noundef 1)
%15 = load i32, ptr %2, align 4
%16 = call i32 @ioctl(i32 noundef %15, i32 noundef 1, i32 noundef 1)
%17 = call i32 @sleep(i32 noundef 1)
br label %11
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpax9u16f1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/beep\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"open:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @O_RDWR, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 0) #3
unreachable
10: ; preds = %0
br label %11
11: ; preds = %11, %10
%12 = load i32, ptr %2, align 4
%13 = call i32 @ioctl(i32 noundef %12, i32 noundef 0, i32 noundef 1)
%14 = call i32 @sleep(i32 noundef 1)
%15 = load i32, ptr %2, align 4
%16 = call i32 @ioctl(i32 noundef %15, i32 noundef 1, i32 noundef 1)
%17 = call i32 @sleep(i32 noundef 1)
br label %11
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp80bww0h1.c'
source_filename = "/tmp/tmp80bww0h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Shutting down chip.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownChip() #0 {
%1 = call i32 @output(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @gpioSet(i32 noundef 81, i32 noundef 0)
%3 = call i32 @gpioSet(i32 noundef 3, i32 noundef 0)
%4 = call i32 @gpioSet(i32 noundef 53, i32 noundef 0)
%5 = call i32 @gpioSet(i32 noundef 71, i32 noundef 0)
%6 = call i32 @gpioSet(i32 noundef 124, i32 noundef 0)
%7 = call i32 @gpioSet(i32 noundef 114, i32 noundef 0)
ret void
}
declare i32 @output(i32 noundef, ptr noundef) #1
declare i32 @gpioSet(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/tmp80bww0h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Shutting down chip.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownChip() #0 {
%1 = call i32 @output(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @gpioSet(i32 noundef 81, i32 noundef 0)
%3 = call i32 @gpioSet(i32 noundef 3, i32 noundef 0)
%4 = call i32 @gpioSet(i32 noundef 53, i32 noundef 0)
%5 = call i32 @gpioSet(i32 noundef 71, i32 noundef 0)
%6 = call i32 @gpioSet(i32 noundef 124, i32 noundef 0)
%7 = call i32 @gpioSet(i32 noundef 114, i32 noundef 0)
ret void
}
declare i32 @output(i32 noundef, ptr noundef) #1
declare i32 @gpioSet(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/tmpxf88sr6y.c'
source_filename = "/tmp/tmpxf88sr6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@query_for_label.label = internal global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Cannot allocate the label\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Unespected End Of File\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"\0AWarning:: the name of the stored data exceeded the LABELSIZE\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Warning:: flushing the rest of the name\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Cannot expand the label\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"NOLABEL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @query_for_label(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i8 123, ptr %4, align 1
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 64, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = mul i64 %7, 1
%9 = call i64 @malloc(i64 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @query_for_label.label, align 8
%11 = load ptr, ptr @query_for_label.label, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @t_error(ptr noundef @.str)
br label %15
15: ; preds = %13, %1
%16 = load ptr, ptr %2, align 8
%17 = call i32 @skip_whitespaces(ptr noundef %16)
br label %18
18: ; preds = %130, %15
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = sub nsw i64 %20, 1
%22 = icmp slt i64 %19, %21
br i1 %22, label %23, label %42
23: ; preds = %18
%24 = load ptr, ptr %2, align 8
%25 = call signext i8 @fgetc(ptr noundef %24)
%26 = load ptr, ptr @query_for_label.label, align 8
%27 = load i64, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 %25, ptr %28, align 1
%29 = load ptr, ptr @query_for_label.label, align 8
%30 = load i64, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr @EOF, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %39
37: ; preds = %23
%38 = call i32 @t_error(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %23
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %40, 1
store i64 %41, ptr %5, align 8
br label %109
42: ; preds = %18
%43 = load i64, ptr %6, align 8
%44 = icmp eq i64 %43, 1024
br i1 %44, label %45, label %79
45: ; preds = %42
%46 = call i32 @printf(ptr noundef @.str.2)
%47 = call i32 @printf(ptr noundef @.str.3)
br label %48
48: ; preds = %63, %45
%49 = load ptr, ptr %2, align 8
%50 = call signext i8 @fgetc(ptr noundef %49)
store i8 %50, ptr %3, align 1
br label %51
51: ; preds = %48
%52 = load i8, ptr %3, align 1
%53 = sext i8 %52 to i32
%54 = load i8, ptr %4, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %53, %55
br i1 %56, label %57, label %63
57: ; preds = %51
%58 = load i8, ptr %3, align 1
%59 = sext i8 %58 to i32
%60 = load i8, ptr @EOF, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %59, %61
br label %63
63: ; preds = %57, %51
%64 = phi i1 [ false, %51 ], [ %62, %57 ]
br i1 %64, label %48, label %65, !llvm.loop !6
65: ; preds = %63
%66 = load i8, ptr %3, align 1
%67 = sext i8 %66 to i32
%68 = load i8, ptr @EOF, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %67, %69
br i1 %70, label %71, label %73
71: ; preds = %65
%72 = call i32 @t_error(ptr noundef @.str.1)
br label %73
73: ; preds = %71, %65
%74 = load i8, ptr %3, align 1
%75 = load ptr, ptr @query_for_label.label, align 8
%76 = load i64, ptr %5, align 8
%77 = sub nsw i64 %76, 1
%78 = getelementptr inbounds i8, ptr %75, i64 %77
store i8 %74, ptr %78, align 1
br label %108
79: ; preds = %42
%80 = load i64, ptr %6, align 8
%81 = add nsw i64 %80, 64
%82 = icmp sgt i64 %81, 1024
br i1 %82, label %83, label %94
83: ; preds = %79
store i64 1024, ptr %6, align 8
%84 = load ptr, ptr @query_for_label.label, align 8
%85 = load i64, ptr %6, align 8
%86 = mul i64 %85, 1
%87 = call i64 @realloc(ptr noundef %84, i64 noundef %86)
%88 = inttoptr i64 %87 to ptr
store ptr %88, ptr @query_for_label.label, align 8
%89 = load ptr, ptr @query_for_label.label, align 8
%90 = icmp eq ptr %89, null
br i1 %90, label %91, label %93
91: ; preds = %83
%92 = call i32 @t_error(ptr noundef @.str.4)
br label %93
93: ; preds = %91, %83
br label %107
94: ; preds = %79
%95 = load i64, ptr %6, align 8
%96 = add nsw i64 %95, 64
store i64 %96, ptr %6, align 8
%97 = load ptr, ptr @query_for_label.label, align 8
%98 = load i64, ptr %6, align 8
%99 = mul i64 %98, 1
%100 = call i64 @realloc(ptr noundef %97, i64 noundef %99)
%101 = inttoptr i64 %100 to ptr
store ptr %101, ptr @query_for_label.label, align 8
%102 = load ptr, ptr @query_for_label.label, align 8
%103 = icmp eq ptr %102, null
br i1 %103, label %104, label %106
104: ; preds = %94
%105 = call i32 @t_error(ptr noundef @.str.4)
br label %106
106: ; preds = %104, %94
br label %107
107: ; preds = %106, %93
br label %108
108: ; preds = %107, %73
br label %109
109: ; preds = %108, %39
br label %110
110: ; preds = %109
%111 = load ptr, ptr @query_for_label.label, align 8
%112 = load i64, ptr %5, align 8
%113 = sub nsw i64 %112, 1
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = load i8, ptr @EOF, align 1
%118 = sext i8 %117 to i32
%119 = icmp ne i32 %116, %118
br i1 %119, label %120, label %130
120: ; preds = %110
%121 = load ptr, ptr @query_for_label.label, align 8
%122 = load i64, ptr %5, align 8
%123 = sub nsw i64 %122, 1
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = load i8, ptr %4, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %126, %128
br label %130
130: ; preds = %120, %110
%131 = phi i1 [ false, %110 ], [ %129, %120 ]
br i1 %131, label %18, label %132, !llvm.loop !8
132: ; preds = %130
%133 = load ptr, ptr @query_for_label.label, align 8
%134 = load i64, ptr %5, align 8
%135 = sub nsw i64 %134, 1
%136 = getelementptr inbounds i8, ptr %133, i64 %135
%137 = load i8, ptr %136, align 1
%138 = load ptr, ptr %2, align 8
%139 = call i32 @ungetc(i8 noundef signext %137, ptr noundef %138)
%140 = load ptr, ptr @query_for_label.label, align 8
%141 = load i64, ptr %5, align 8
%142 = sub nsw i64 %141, 1
%143 = getelementptr inbounds i8, ptr %140, i64 %142
store i8 0, ptr %143, align 1
%144 = load ptr, ptr @query_for_label.label, align 8
%145 = load i64, ptr %5, align 8
%146 = getelementptr inbounds i8, ptr %144, i64 %145
store i8 0, ptr %146, align 1
%147 = load i64, ptr %5, align 8
%148 = sub nsw i64 %147, 2
store i64 %148, ptr %5, align 8
br label %149
149: ; preds = %156, %132
%150 = load ptr, ptr @query_for_label.label, align 8
%151 = load i64, ptr %5, align 8
%152 = getelementptr inbounds i8, ptr %150, i64 %151
%153 = load i8, ptr %152, align 1
%154 = call i64 @isspace(i8 noundef signext %153)
%155 = icmp ne i64 %154, 0
br i1 %155, label %156, label %162
156: ; preds = %149
%157 = load ptr, ptr @query_for_label.label, align 8
%158 = load i64, ptr %5, align 8
%159 = getelementptr inbounds i8, ptr %157, i64 %158
store i8 0, ptr %159, align 1
%160 = load i64, ptr %5, align 8
%161 = add nsw i64 %160, -1
store i64 %161, ptr %5, align 8
br label %149, !llvm.loop !9
162: ; preds = %149
%163 = load i64, ptr %5, align 8
%164 = add nsw i64 %163, 1
store i64 %164, ptr %5, align 8
%165 = load i64, ptr %5, align 8
%166 = icmp sle i64 %165, 0
br i1 %166, label %167, label %168
167: ; preds = %162
store ptr @.str.5, ptr @query_for_label.label, align 8
br label %168
168: ; preds = %167, %162
%169 = load ptr, ptr @query_for_label.label, align 8
ret ptr %169
}
declare i64 @malloc(i64 noundef) #1
declare i32 @t_error(ptr noundef) #1
declare i32 @skip_whitespaces(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @ungetc(i8 noundef signext, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxf88sr6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@query_for_label.label = internal global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Cannot allocate the label\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Unespected End Of File\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"\0AWarning:: the name of the stored data exceeded the LABELSIZE\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Warning:: flushing the rest of the name\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Cannot expand the label\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"NOLABEL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @query_for_label(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i8 123, ptr %4, align 1
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 64, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = mul i64 %7, 1
%9 = call i64 @malloc(i64 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @query_for_label.label, align 8
%11 = load ptr, ptr @query_for_label.label, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @t_error(ptr noundef @.str)
br label %15
15: ; preds = %13, %1
%16 = load ptr, ptr %2, align 8
%17 = call i32 @skip_whitespaces(ptr noundef %16)
br label %18
18: ; preds = %130, %15
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = sub nsw i64 %20, 1
%22 = icmp slt i64 %19, %21
br i1 %22, label %23, label %42
23: ; preds = %18
%24 = load ptr, ptr %2, align 8
%25 = call signext i8 @fgetc(ptr noundef %24)
%26 = load ptr, ptr @query_for_label.label, align 8
%27 = load i64, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 %25, ptr %28, align 1
%29 = load ptr, ptr @query_for_label.label, align 8
%30 = load i64, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr @EOF, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %39
37: ; preds = %23
%38 = call i32 @t_error(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %23
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %40, 1
store i64 %41, ptr %5, align 8
br label %109
42: ; preds = %18
%43 = load i64, ptr %6, align 8
%44 = icmp eq i64 %43, 1024
br i1 %44, label %45, label %79
45: ; preds = %42
%46 = call i32 @printf(ptr noundef @.str.2)
%47 = call i32 @printf(ptr noundef @.str.3)
br label %48
48: ; preds = %63, %45
%49 = load ptr, ptr %2, align 8
%50 = call signext i8 @fgetc(ptr noundef %49)
store i8 %50, ptr %3, align 1
br label %51
51: ; preds = %48
%52 = load i8, ptr %3, align 1
%53 = sext i8 %52 to i32
%54 = load i8, ptr %4, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %53, %55
br i1 %56, label %57, label %63
57: ; preds = %51
%58 = load i8, ptr %3, align 1
%59 = sext i8 %58 to i32
%60 = load i8, ptr @EOF, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %59, %61
br label %63
63: ; preds = %57, %51
%64 = phi i1 [ false, %51 ], [ %62, %57 ]
br i1 %64, label %48, label %65, !llvm.loop !6
65: ; preds = %63
%66 = load i8, ptr %3, align 1
%67 = sext i8 %66 to i32
%68 = load i8, ptr @EOF, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %67, %69
br i1 %70, label %71, label %73
71: ; preds = %65
%72 = call i32 @t_error(ptr noundef @.str.1)
br label %73
73: ; preds = %71, %65
%74 = load i8, ptr %3, align 1
%75 = load ptr, ptr @query_for_label.label, align 8
%76 = load i64, ptr %5, align 8
%77 = sub nsw i64 %76, 1
%78 = getelementptr inbounds i8, ptr %75, i64 %77
store i8 %74, ptr %78, align 1
br label %108
79: ; preds = %42
%80 = load i64, ptr %6, align 8
%81 = add nsw i64 %80, 64
%82 = icmp sgt i64 %81, 1024
br i1 %82, label %83, label %94
83: ; preds = %79
store i64 1024, ptr %6, align 8
%84 = load ptr, ptr @query_for_label.label, align 8
%85 = load i64, ptr %6, align 8
%86 = mul i64 %85, 1
%87 = call i64 @realloc(ptr noundef %84, i64 noundef %86)
%88 = inttoptr i64 %87 to ptr
store ptr %88, ptr @query_for_label.label, align 8
%89 = load ptr, ptr @query_for_label.label, align 8
%90 = icmp eq ptr %89, null
br i1 %90, label %91, label %93
91: ; preds = %83
%92 = call i32 @t_error(ptr noundef @.str.4)
br label %93
93: ; preds = %91, %83
br label %107
94: ; preds = %79
%95 = load i64, ptr %6, align 8
%96 = add nsw i64 %95, 64
store i64 %96, ptr %6, align 8
%97 = load ptr, ptr @query_for_label.label, align 8
%98 = load i64, ptr %6, align 8
%99 = mul i64 %98, 1
%100 = call i64 @realloc(ptr noundef %97, i64 noundef %99)
%101 = inttoptr i64 %100 to ptr
store ptr %101, ptr @query_for_label.label, align 8
%102 = load ptr, ptr @query_for_label.label, align 8
%103 = icmp eq ptr %102, null
br i1 %103, label %104, label %106
104: ; preds = %94
%105 = call i32 @t_error(ptr noundef @.str.4)
br label %106
106: ; preds = %104, %94
br label %107
107: ; preds = %106, %93
br label %108
108: ; preds = %107, %73
br label %109
109: ; preds = %108, %39
br label %110
110: ; preds = %109
%111 = load ptr, ptr @query_for_label.label, align 8
%112 = load i64, ptr %5, align 8
%113 = sub nsw i64 %112, 1
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = load i8, ptr @EOF, align 1
%118 = sext i8 %117 to i32
%119 = icmp ne i32 %116, %118
br i1 %119, label %120, label %130
120: ; preds = %110
%121 = load ptr, ptr @query_for_label.label, align 8
%122 = load i64, ptr %5, align 8
%123 = sub nsw i64 %122, 1
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = load i8, ptr %4, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %126, %128
br label %130
130: ; preds = %120, %110
%131 = phi i1 [ false, %110 ], [ %129, %120 ]
br i1 %131, label %18, label %132, !llvm.loop !8
132: ; preds = %130
%133 = load ptr, ptr @query_for_label.label, align 8
%134 = load i64, ptr %5, align 8
%135 = sub nsw i64 %134, 1
%136 = getelementptr inbounds i8, ptr %133, i64 %135
%137 = load i8, ptr %136, align 1
%138 = load ptr, ptr %2, align 8
%139 = call i32 @ungetc(i8 noundef signext %137, ptr noundef %138)
%140 = load ptr, ptr @query_for_label.label, align 8
%141 = load i64, ptr %5, align 8
%142 = sub nsw i64 %141, 1
%143 = getelementptr inbounds i8, ptr %140, i64 %142
store i8 0, ptr %143, align 1
%144 = load ptr, ptr @query_for_label.label, align 8
%145 = load i64, ptr %5, align 8
%146 = getelementptr inbounds i8, ptr %144, i64 %145
store i8 0, ptr %146, align 1
%147 = load i64, ptr %5, align 8
%148 = sub nsw i64 %147, 2
store i64 %148, ptr %5, align 8
%149 = load ptr, ptr @query_for_label.label, align 8
%150 = load i64, ptr %5, align 8
%151 = getelementptr inbounds i8, ptr %149, i64 %150
%152 = load i8, ptr %151, align 1
%153 = call i64 @isspace(i8 noundef signext %152)
%154 = icmp ne i64 %153, 0
br i1 %154, label %.lr.ph, label %167
.lr.ph: ; preds = %132
br label %155
155: ; preds = %.lr.ph, %155
%156 = load ptr, ptr @query_for_label.label, align 8
%157 = load i64, ptr %5, align 8
%158 = getelementptr inbounds i8, ptr %156, i64 %157
store i8 0, ptr %158, align 1
%159 = load i64, ptr %5, align 8
%160 = add nsw i64 %159, -1
store i64 %160, ptr %5, align 8
%161 = load ptr, ptr @query_for_label.label, align 8
%162 = load i64, ptr %5, align 8
%163 = getelementptr inbounds i8, ptr %161, i64 %162
%164 = load i8, ptr %163, align 1
%165 = call i64 @isspace(i8 noundef signext %164)
%166 = icmp ne i64 %165, 0
br i1 %166, label %155, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %155
br label %167
167: ; preds = %._crit_edge, %132
%168 = load i64, ptr %5, align 8
%169 = add nsw i64 %168, 1
store i64 %169, ptr %5, align 8
%170 = load i64, ptr %5, align 8
%171 = icmp sle i64 %170, 0
br i1 %171, label %172, label %173
172: ; preds = %167
store ptr @.str.5, ptr @query_for_label.label, align 8
br label %173
173: ; preds = %172, %167
%174 = load ptr, ptr @query_for_label.label, align 8
ret ptr %174
}
declare i64 @malloc(i64 noundef) #1
declare i32 @t_error(ptr noundef) #1
declare i32 @skip_whitespaces(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @ungetc(i8 noundef signext, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpqnqa11p9.c'
source_filename = "/tmp/tmpqnqa11p9.c"
target datalayout = "e-m:e-p270: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/tmpqnqa11p9.c"
target datalayout = "e-m:e-p270: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/tmpgezftkvn.c'
source_filename = "/tmp/tmpgezftkvn.c"
target datalayout = "e-m:e-p270: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/tmpgezftkvn.c"
target datalayout = "e-m:e-p270: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/tmp2fcrm73a.c'
source_filename = "/tmp/tmp2fcrm73a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load ptr, ptr %2, align 8
store ptr %3, ptr %1, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fcrm73a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load ptr, ptr %2, align 8
store ptr %3, ptr %1, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnwcn2o38.c'
source_filename = "/tmp/tmpnwcn2o38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AEnter %d elements into the array\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnReadArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %18, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %12
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %8, !llvm.loop !6
21: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnwcn2o38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AEnter %d elements into the array\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnReadArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %17
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %11
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkp38_dcr.c'
source_filename = "/tmp/tmpkp38_dcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @USB0_NEEDCLK_IRQHandler() #0 {
%1 = call i32 (...) @USB0_NEEDCLK_DriverIRQHandler()
ret void
}
declare i32 @USB0_NEEDCLK_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkp38_dcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @USB0_NEEDCLK_IRQHandler() #0 {
%1 = call i32 (...) @USB0_NEEDCLK_DriverIRQHandler()
ret void
}
declare i32 @USB0_NEEDCLK_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm4cus_0y.c'
source_filename = "/tmp/tmpm4cus_0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%lf%lf%lf%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"Impossible.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"%.10lf %.10lf %.10lf %.10lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %32, %30, %0
%13 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%14 = load i64, ptr @EOF, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %66
16: ; preds = %12
%17 = load double, ptr %2, align 8
%18 = load double, ptr %4, align 8
%19 = fsub double %17, %18
%20 = call i32 @fabs(double noundef %19)
%21 = sitofp i32 %20 to double
%22 = fcmp olt double %21, 1.000000e-08
br i1 %22, label %23, label %32
23: ; preds = %16
%24 = load double, ptr %3, align 8
%25 = load double, ptr %5, align 8
%26 = fsub double %24, %25
%27 = call i32 @fabs(double noundef %26)
%28 = sitofp i32 %27 to double
%29 = fcmp olt double %28, 1.000000e-08
br i1 %29, label %30, label %32
30: ; preds = %23
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %12, !llvm.loop !6
32: ; preds = %23, %16
%33 = load double, ptr %3, align 8
%34 = load double, ptr %5, align 8
%35 = fsub double %33, %34
%36 = load double, ptr %4, align 8
%37 = fadd double %35, %36
%38 = load double, ptr %2, align 8
%39 = fsub double %37, %38
%40 = fdiv double %39, 2.000000e+00
store double %40, ptr %10, align 8
%41 = load double, ptr %3, align 8
%42 = load double, ptr %5, align 8
%43 = fsub double %41, %42
%44 = load double, ptr %4, align 8
%45 = fsub double %43, %44
%46 = load double, ptr %2, align 8
%47 = fadd double %45, %46
%48 = fdiv double %47, 2.000000e+00
store double %48, ptr %11, align 8
%49 = load double, ptr %4, align 8
%50 = load double, ptr %10, align 8
%51 = fsub double %49, %50
store double %51, ptr %6, align 8
%52 = load double, ptr %5, align 8
%53 = load double, ptr %11, align 8
%54 = fadd double %52, %53
store double %54, ptr %7, align 8
%55 = load double, ptr %4, align 8
%56 = load double, ptr %11, align 8
%57 = fadd double %55, %56
store double %57, ptr %8, align 8
%58 = load double, ptr %5, align 8
%59 = load double, ptr %10, align 8
%60 = fadd double %58, %59
store double %60, ptr %9, align 8
%61 = load double, ptr %6, align 8
%62 = load double, ptr %7, align 8
%63 = load double, ptr %8, align 8
%64 = load double, ptr %9, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %61, double noundef %62, double noundef %63, double noundef %64)
br label %12, !llvm.loop !6
66: ; preds = %12
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fabs(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4cus_0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%lf%lf%lf%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"Impossible.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"%.10lf %.10lf %.10lf %.10lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 0, ptr %1, align 4
%12 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%13 = load i64, ptr @EOF, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %.lr.ph, label %68
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load double, ptr %2, align 8
%17 = load double, ptr %4, align 8
%18 = fsub double %16, %17
%19 = call i32 @fabs(double noundef %18)
%20 = sitofp i32 %19 to double
%21 = fcmp olt double %20, 1.000000e-08
br i1 %21, label %22, label %34
22: ; preds = %15
%23 = load double, ptr %3, align 8
%24 = load double, ptr %5, align 8
%25 = fsub double %23, %24
%26 = call i32 @fabs(double noundef %25)
%27 = sitofp i32 %26 to double
%28 = fcmp olt double %27, 1.000000e-08
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %.backedge
.backedge: ; preds = %29, %34
%31 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%32 = load i64, ptr @EOF, align 8
%33 = icmp ne i64 %31, %32
br i1 %33, label %15, label %._crit_edge, !llvm.loop !6
34: ; preds = %22, %15
%35 = load double, ptr %3, align 8
%36 = load double, ptr %5, align 8
%37 = fsub double %35, %36
%38 = load double, ptr %4, align 8
%39 = fadd double %37, %38
%40 = load double, ptr %2, align 8
%41 = fsub double %39, %40
%42 = fdiv double %41, 2.000000e+00
store double %42, ptr %10, align 8
%43 = load double, ptr %3, align 8
%44 = load double, ptr %5, align 8
%45 = fsub double %43, %44
%46 = load double, ptr %4, align 8
%47 = fsub double %45, %46
%48 = load double, ptr %2, align 8
%49 = fadd double %47, %48
%50 = fdiv double %49, 2.000000e+00
store double %50, ptr %11, align 8
%51 = load double, ptr %4, align 8
%52 = load double, ptr %10, align 8
%53 = fsub double %51, %52
store double %53, ptr %6, align 8
%54 = load double, ptr %5, align 8
%55 = load double, ptr %11, align 8
%56 = fadd double %54, %55
store double %56, ptr %7, align 8
%57 = load double, ptr %4, align 8
%58 = load double, ptr %11, align 8
%59 = fadd double %57, %58
store double %59, ptr %8, align 8
%60 = load double, ptr %5, align 8
%61 = load double, ptr %10, align 8
%62 = fadd double %60, %61
store double %62, ptr %9, align 8
%63 = load double, ptr %6, align 8
%64 = load double, ptr %7, align 8
%65 = load double, ptr %8, align 8
%66 = load double, ptr %9, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %63, double noundef %64, double noundef %65, double noundef %66)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %68
68: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fabs(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphr17n3g6.c'
source_filename = "/tmp/tmphr17n3g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f_4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_4(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = 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/tmphr17n3g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f_4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_4(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = 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/tmp0y7gpeog.c'
source_filename = "/tmp/tmp0y7gpeog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xff\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xff() #0 {
%1 = call i64 @ispunct(i32 noundef 255)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1280, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0y7gpeog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xff\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xff() #0 {
%1 = call i64 @ispunct(i32 noundef 255)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1280, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqzywc_r_.c'
source_filename = "/tmp/tmpqzywc_r_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myrand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @srand(i32 noundef %6)
br label %8
8: ; preds = %5, %1
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 32768
%11 = sitofp i32 %10 to double
%12 = fdiv double %11, 3.276700e+04
ret double %12
}
declare i32 @srand(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqzywc_r_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myrand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @srand(i32 noundef %6)
br label %8
8: ; preds = %5, %1
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 32768
%11 = sitofp i32 %10 to double
%12 = fdiv double %11, 3.276700e+04
ret double %12
}
declare i32 @srand(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvgjxmh5m.c'
source_filename = "/tmp/tmpvgjxmh5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpsimple_6j(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%23 = load i32, ptr %9, align 4
store i32 %23, ptr %15, align 4
%24 = load i32, ptr %10, align 4
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %13, align 4
store i32 %25, ptr %17, align 4
%26 = load i32, ptr %12, align 4
store i32 %26, ptr %18, align 4
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %19, align 4
%28 = load i32, ptr %14, align 4
store i32 %28, ptr %20, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = load i32, ptr %14, align 4
%35 = call i32 @fpsimple_factor_6j(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %21)
store double 1.000000e+00, ptr %22, align 8
%36 = load i32, ptr %15, align 4
%37 = load i32, ptr %16, align 4
%38 = load i32, ptr %19, align 4
%39 = call i32 @fpsimple_delta_coeff(i32 noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef %22)
%40 = load i32, ptr %17, align 4
%41 = load i32, ptr %18, align 4
%42 = load i32, ptr %19, align 4
%43 = call i32 @fpsimple_delta_coeff(i32 noundef %40, i32 noundef %41, i32 noundef %42, ptr noundef %22)
%44 = load i32, ptr %15, align 4
%45 = load i32, ptr %17, align 4
%46 = load i32, ptr %20, align 4
%47 = call i32 @fpsimple_delta_coeff(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %22)
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %18, align 4
%50 = load i32, ptr %20, align 4
%51 = call i32 @fpsimple_delta_coeff(i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %22)
%52 = load double, ptr %22, align 8
%53 = call double @sqrt(double noundef %52) #3
%54 = load double, ptr %21, align 8
%55 = fmul double %53, %54
%56 = load ptr, ptr %8, align 8
store double %55, ptr %56, align 8
ret void
}
declare i32 @fpsimple_factor_6j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fpsimple_delta_coeff(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpvgjxmh5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpsimple_6j(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%23 = load i32, ptr %9, align 4
store i32 %23, ptr %15, align 4
%24 = load i32, ptr %10, align 4
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %13, align 4
store i32 %25, ptr %17, align 4
%26 = load i32, ptr %12, align 4
store i32 %26, ptr %18, align 4
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %19, align 4
%28 = load i32, ptr %14, align 4
store i32 %28, ptr %20, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = load i32, ptr %14, align 4
%35 = call i32 @fpsimple_factor_6j(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %21)
store double 1.000000e+00, ptr %22, align 8
%36 = load i32, ptr %15, align 4
%37 = load i32, ptr %16, align 4
%38 = load i32, ptr %19, align 4
%39 = call i32 @fpsimple_delta_coeff(i32 noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef %22)
%40 = load i32, ptr %17, align 4
%41 = load i32, ptr %18, align 4
%42 = load i32, ptr %19, align 4
%43 = call i32 @fpsimple_delta_coeff(i32 noundef %40, i32 noundef %41, i32 noundef %42, ptr noundef %22)
%44 = load i32, ptr %15, align 4
%45 = load i32, ptr %17, align 4
%46 = load i32, ptr %20, align 4
%47 = call i32 @fpsimple_delta_coeff(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %22)
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %18, align 4
%50 = load i32, ptr %20, align 4
%51 = call i32 @fpsimple_delta_coeff(i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %22)
%52 = load double, ptr %22, align 8
%53 = call double @sqrt(double noundef %52) #3
%54 = load double, ptr %21, align 8
%55 = fmul double %53, %54
%56 = load ptr, ptr %8, align 8
store double %55, ptr %56, align 8
ret void
}
declare i32 @fpsimple_factor_6j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fpsimple_delta_coeff(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpzooxshdk.c'
source_filename = "/tmp/tmpzooxshdk.c"
target datalayout = "e-m:e-p270: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/tmpzooxshdk.c"
target datalayout = "e-m:e-p270: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/tmpbyv38jl3.c'
source_filename = "/tmp/tmpbyv38jl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atof(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 double @strtod(ptr noundef %3, ptr noundef null)
ret double %4
}
declare double @strtod(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/tmpbyv38jl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atof(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 double @strtod(ptr noundef %3, ptr noundef null)
ret double %4
}
declare double @strtod(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/tmpua7q_5ml.c'
source_filename = "/tmp/tmpua7q_5ml.c"
target datalayout = "e-m:e-p270: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/tmpua7q_5ml.c"
target datalayout = "e-m:e-p270: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/tmpeiu2i3xc.c'
source_filename = "/tmp/tmpeiu2i3xc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TD_OK = dso_local global i64 0, align 8
@TD_THR_UNKNOWN = dso_local global i64 0, align 8
@TD_THR_ZOMBIE = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeiu2i3xc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TD_OK = dso_local global i64 0, align 8
@TD_THR_UNKNOWN = dso_local global i64 0, align 8
@TD_THR_ZOMBIE = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8i5xqyj.c'
source_filename = "/tmp/tmpa8i5xqyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.sock\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hello Server\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Send %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"RECV %d '%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 [64 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @socket_unix_connect(ptr noundef @.str)
store i32 %9, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 1, ptr %3, align 4
br label %27
12: ; preds = %2
%13 = load i32, ptr %7, align 4
%14 = call i32 @send(i32 noundef %13, ptr noundef @.str.1, i32 noundef 13, i32 noundef 0)
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 64)
%19 = load i32, ptr %7, align 4
%20 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @recv(i32 noundef %19, ptr noundef %20, i32 noundef 64, i32 noundef 0)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr %7, align 4
%26 = call i32 @close(i32 noundef %25)
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %12, %11
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @socket_unix_connect(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 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/tmpa8i5xqyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.sock\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hello Server\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Send %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"RECV %d '%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 [64 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @socket_unix_connect(ptr noundef @.str)
store i32 %9, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 1, ptr %3, align 4
br label %27
12: ; preds = %2
%13 = load i32, ptr %7, align 4
%14 = call i32 @send(i32 noundef %13, ptr noundef @.str.1, i32 noundef 13, i32 noundef 0)
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 64)
%19 = load i32, ptr %7, align 4
%20 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @recv(i32 noundef %19, ptr noundef %20, i32 noundef 64, i32 noundef 0)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr %7, align 4
%26 = call i32 @close(i32 noundef %25)
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %12, %11
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @socket_unix_connect(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 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/tmpvf093e47.c'
source_filename = "/tmp/tmpvf093e47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qchisq(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double %6, 2.000000e+00
%8 = fptosi double %7 to i32
%9 = load double, ptr %3, align 8
%10 = fdiv double %9, 2.000000e+00
%11 = call double @gammq(i32 noundef %8, double noundef %10)
ret double %11
}
declare double @gammq(i32 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/tmpvf093e47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qchisq(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double %6, 2.000000e+00
%8 = fptosi double %7 to i32
%9 = load double, ptr %3, align 8
%10 = fdiv double %9, 2.000000e+00
%11 = call double @gammq(i32 noundef %8, double noundef %10)
ret double %11
}
declare double @gammq(i32 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/tmpg0vg9vvn.c'
source_filename = "/tmp/tmpg0vg9vvn.c"
target datalayout = "e-m:e-p270: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/tmpg0vg9vvn.c"
target datalayout = "e-m:e-p270: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/tmpa7u9_s3g.c'
source_filename = "/tmp/tmpa7u9_s3g.c"
target datalayout = "e-m:e-p270: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/tmpa7u9_s3g.c"
target datalayout = "e-m:e-p270: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/tmpnuy_5zlg.c'
source_filename = "/tmp/tmpnuy_5zlg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disable_allcall_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @read_byte_data(i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = and i32 %7, -2
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @write_byte_data(i32 noundef %9, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @read_byte_data(i32 noundef, i32 noundef) #1
declare i32 @write_byte_data(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnuy_5zlg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disable_allcall_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @read_byte_data(i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = and i32 %7, -2
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @write_byte_data(i32 noundef %9, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @read_byte_data(i32 noundef, i32 noundef) #1
declare i32 @write_byte_data(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpio2srp28.c'
source_filename = "/tmp/tmpio2srp28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(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 = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @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
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpio2srp28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbu2n3rwz.c'
source_filename = "/tmp/tmpbu2n3rwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A\09A+2\09A+4\09A+6\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d\09%d\09%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 3, ptr %2, align 4
br label %4
4: ; preds = %16, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 16
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 2
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 6
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 3
store i32 %18, ptr %2, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu2n3rwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A\09A+2\09A+4\09A+6\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d\09%d\09%d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 16
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 2
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 6
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13)
br label %15
15: ; preds = %6
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 3
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 16
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgu8m3ntu.c'
source_filename = "/tmp/tmpgu8m3ntu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PATH\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_pwd_to_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = call ptr @getenv(ptr noundef @.str)
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @realpath(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %1
br label %50
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strdup(ptr noundef %16)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15
br label %50
21: ; preds = %15
%22 = load ptr, ptr %6, align 8
%23 = call ptr @dirname(ptr noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = load ptr, ptr %8, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = add nsw i32 %25, %27
%29 = add nsw i32 %28, 2
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = call ptr @calloc(i32 noundef 1, i32 noundef %30)
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %35, label %34
34: ; preds = %21
br label %50
35: ; preds = %21
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %8, align 8
%39 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.1, ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = call i32 @setenv(ptr noundef @.str, ptr noundef %40, i32 noundef 1)
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %50, %35
%43 = load ptr, ptr %7, align 8
%44 = call i32 @free(ptr noundef %43)
%45 = load ptr, ptr %6, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load i32, ptr %3, align 4
ret i32 %49
50: ; preds = %34, %20, %14
store i32 -1, ptr %3, align 4
br label %42
}
declare ptr @getenv(ptr noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgu8m3ntu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PATH\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_pwd_to_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = call ptr @getenv(ptr noundef @.str)
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @realpath(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %1
br label %50
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strdup(ptr noundef %16)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15
br label %50
21: ; preds = %15
%22 = load ptr, ptr %6, align 8
%23 = call ptr @dirname(ptr noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = load ptr, ptr %8, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = add nsw i32 %25, %27
%29 = add nsw i32 %28, 2
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = call ptr @calloc(i32 noundef 1, i32 noundef %30)
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %35, label %34
34: ; preds = %21
br label %50
35: ; preds = %21
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %8, align 8
%39 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.1, ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = call i32 @setenv(ptr noundef @.str, ptr noundef %40, i32 noundef 1)
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %50, %35
%43 = load ptr, ptr %7, align 8
%44 = call i32 @free(ptr noundef %43)
%45 = load ptr, ptr %6, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load i32, ptr %3, align 4
ret i32 %49
50: ; preds = %34, %20, %14
store i32 -1, ptr %3, align 4
br label %42
}
declare ptr @getenv(ptr noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcfuuzmdj.c'
source_filename = "/tmp/tmpcfuuzmdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x72() #0 {
%1 = call i64 @ispunct(i32 noundef 114)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 575, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcfuuzmdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x72() #0 {
%1 = call i64 @ispunct(i32 noundef 114)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 575, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpst8a8hd3.c'
source_filename = "/tmp/tmpst8a8hd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalblnf(float noundef %0, i64 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i64, align 8
store float %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = call float (...) @__infer_nondet_float()
ret float %5
}
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpst8a8hd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalblnf(float noundef %0, i64 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i64, align 8
store float %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = call float (...) @__infer_nondet_float()
ret float %5
}
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgpsr15z3.c'
source_filename = "/tmp/tmpgpsr15z3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/XXXXXX\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Failed to create temporary file '%s': %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Failed to open temporary file '%s': %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Failed to hide temporary file '%s': %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makeTempFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load i32, ptr @PATH_MAX, align 4
%8 = add nsw i32 %7, 1
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %11, ptr noundef %15)
%17 = call i32 @strcat(ptr noundef %11, ptr noundef @.str)
br label %20
18: ; preds = %1
%19 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1)
br label %20
20: ; preds = %18, %14
store i64 0, ptr @errno, align 8
%21 = call i32 @mkstemp(ptr noundef %11)
store i32 %21, ptr %5, align 4
%22 = load i64, ptr @errno, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i32, ptr @stderr, align 4
%26 = load i64, ptr @errno, align 8
%27 = call ptr @strerror(i64 noundef %26)
%28 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %11, ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #4
unreachable
30: ; preds = %20
store i64 0, ptr @errno, align 8
%31 = load i32, ptr %5, align 4
%32 = call ptr @fdopen(i32 noundef %31, ptr noundef @.str.3)
store ptr %32, ptr %6, align 8
%33 = load i64, ptr @errno, align 8
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = load i32, ptr @stderr, align 4
%37 = load i64, ptr @errno, align 8
%38 = call ptr @strerror(i64 noundef %37)
%39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.4, ptr noundef %11, ptr noundef %38)
%40 = call i32 @exit(i32 noundef 1) #4
unreachable
41: ; preds = %30
store i64 0, ptr @errno, align 8
%42 = call i32 @unlink(ptr noundef %11)
%43 = load i64, ptr @errno, align 8
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = load i32, ptr @stderr, align 4
%47 = load i64, ptr @errno, align 8
%48 = call ptr @strerror(i64 noundef %47)
%49 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.5, ptr noundef %11, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #4
unreachable
51: ; preds = %41
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %53)
ret ptr %52
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @mkstemp(ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @strerror(i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgpsr15z3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/XXXXXX\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"Failed to create temporary file '%s': %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Failed to open temporary file '%s': %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Failed to hide temporary file '%s': %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makeTempFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load i32, ptr @PATH_MAX, align 4
%8 = add nsw i32 %7, 1
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %11, ptr noundef %15)
%17 = call i32 @strcat(ptr noundef %11, ptr noundef @.str)
br label %20
18: ; preds = %1
%19 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1)
br label %20
20: ; preds = %18, %14
store i64 0, ptr @errno, align 8
%21 = call i32 @mkstemp(ptr noundef %11)
store i32 %21, ptr %5, align 4
%22 = load i64, ptr @errno, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i32, ptr @stderr, align 4
%26 = load i64, ptr @errno, align 8
%27 = call ptr @strerror(i64 noundef %26)
%28 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %11, ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #4
unreachable
30: ; preds = %20
store i64 0, ptr @errno, align 8
%31 = load i32, ptr %5, align 4
%32 = call ptr @fdopen(i32 noundef %31, ptr noundef @.str.3)
store ptr %32, ptr %6, align 8
%33 = load i64, ptr @errno, align 8
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %30
%36 = load i32, ptr @stderr, align 4
%37 = load i64, ptr @errno, align 8
%38 = call ptr @strerror(i64 noundef %37)
%39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.4, ptr noundef %11, ptr noundef %38)
%40 = call i32 @exit(i32 noundef 1) #4
unreachable
41: ; preds = %30
store i64 0, ptr @errno, align 8
%42 = call i32 @unlink(ptr noundef %11)
%43 = load i64, ptr @errno, align 8
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = load i32, ptr @stderr, align 4
%47 = load i64, ptr @errno, align 8
%48 = call ptr @strerror(i64 noundef %47)
%49 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.5, ptr noundef %11, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #4
unreachable
51: ; preds = %41
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %53)
ret ptr %52
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @mkstemp(ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @strerror(i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
|
; ModuleID = '/tmp/tmph2htyu1e.c'
source_filename = "/tmp/tmph2htyu1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %28, %3
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %26
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %16, %19
br i1 %20, label %21, label %26
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %6, align 8
%25 = icmp ult i64 %23, %24
br label %26
26: ; preds = %21, %13, %8
%27 = phi i1 [ false, %13 ], [ false, %8 ], [ %25, %21 ]
br i1 %27, label %28, label %35
28: ; preds = %26
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %8, !llvm.loop !6
35: ; preds = %26
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = sub nsw i32 %38, %41
ret i32 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2htyu1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %28, %3
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %26
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %16, %19
br i1 %20, label %21, label %26
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %6, align 8
%25 = icmp ult i64 %23, %24
br label %26
26: ; preds = %21, %13, %8
%27 = phi i1 [ false, %13 ], [ false, %8 ], [ %25, %21 ]
br i1 %27, label %28, label %35
28: ; preds = %26
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %8, !llvm.loop !6
35: ; preds = %26
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = sub nsw i32 %38, %41
ret i32 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyiaz89yv.c'
source_filename = "/tmp/tmpyiaz89yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_send3(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca [3 x i8], align 1
store i8 %0, ptr %5, align 1
store i8 %1, ptr %6, align 1
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%10 = load i8, ptr %6, align 1
%11 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
store i8 %10, ptr %11, align 1
%12 = load i8, ptr %7, align 1
%13 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1
store i8 %12, ptr %13, align 1
%14 = load i8, ptr %8, align 1
%15 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 %14, ptr %15, align 1
%16 = load i8, ptr %5, align 1
%17 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%18 = call zeroext i8 @msg_send(i8 noundef zeroext %16, ptr noundef %17, i32 noundef 3)
ret i8 %18
}
declare zeroext i8 @msg_send(i8 noundef zeroext, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyiaz89yv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_send3(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca [3 x i8], align 1
store i8 %0, ptr %5, align 1
store i8 %1, ptr %6, align 1
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%10 = load i8, ptr %6, align 1
%11 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
store i8 %10, ptr %11, align 1
%12 = load i8, ptr %7, align 1
%13 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1
store i8 %12, ptr %13, align 1
%14 = load i8, ptr %8, align 1
%15 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 %14, ptr %15, align 1
%16 = load i8, ptr %5, align 1
%17 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%18 = call zeroext i8 @msg_send(i8 noundef zeroext %16, ptr noundef %17, i32 noundef 3)
ret i8 %18
}
declare zeroext i8 @msg_send(i8 noundef zeroext, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp45gfbjrz.c'
source_filename = "/tmp/tmp45gfbjrz.c"
target datalayout = "e-m:e-p270: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/tmp45gfbjrz.c"
target datalayout = "e-m:e-p270: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/tmpo1vo0z3v.c'
source_filename = "/tmp/tmpo1vo0z3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"if-1-win \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"if-2-win\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"if-2-lose\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"if-1-lose\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
store i8 %11, ptr %6, align 1
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = icmp sgt i32 %13, 63
br i1 %14, label %15, label %25
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i8, ptr %6, align 1
%18 = zext i8 %17 to i32
%19 = icmp sgt i32 %18, 127
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @printf(ptr noundef @.str.1)
br label %24
22: ; preds = %15
%23 = call i32 @printf(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %20
br label %27
25: ; preds = %2
%26 = call i32 @printf(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %24
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/tmpo1vo0z3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"if-1-win \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"if-2-win\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"if-2-lose\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"if-1-lose\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 i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
store i8 %11, ptr %6, align 1
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = icmp sgt i32 %13, 63
br i1 %14, label %15, label %25
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i8, ptr %6, align 1
%18 = zext i8 %17 to i32
%19 = icmp sgt i32 %18, 127
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @printf(ptr noundef @.str.1)
br label %24
22: ; preds = %15
%23 = call i32 @printf(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %20
br label %27
25: ; preds = %2
%26 = call i32 @printf(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %24
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.