llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpehule19d.c'
source_filename = "/tmp/tmpehule19d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergePass(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %11
11: ; preds = %19, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = mul nsw i32 2, %14
%16 = sub nsw i32 %13, %15
%17 = add nsw i32 %16, 1
%18 = icmp sle i32 %12, %17
br i1 %18, label %19, label %37
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %23, %24
%26 = sub nsw i32 %25, 1
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %7, align 4
%29 = mul nsw i32 2, %28
%30 = add nsw i32 %27, %29
%31 = sub nsw i32 %30, 1
%32 = call i32 @Merge(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %26, i32 noundef %31)
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 2, %34
%36 = add nsw i32 %33, %35
store i32 %36, ptr %9, align 4
br label %11, !llvm.loop !6
37: ; preds = %11
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = sub nsw i32 %39, %40
%42 = add nsw i32 %41, 1
%43 = icmp slt i32 %38, %42
br i1 %43, label %44, label %54
44: ; preds = %37
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %48, %49
%51 = sub nsw i32 %50, 1
%52 = load i32, ptr %8, align 4
%53 = call i32 @Merge(ptr noundef %45, ptr noundef %46, i32 noundef %47, i32 noundef %51, i32 noundef %52)
br label %74
54: ; preds = %37
%55 = load i32, ptr %9, align 4
store i32 %55, ptr %10, align 4
br label %56
56: ; preds = %70, %54
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %60, label %73
60: ; preds = %56
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
store i32 %65, ptr %69, align 4
br label %70
70: ; preds = %60
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %10, align 4
br label %56, !llvm.loop !8
73: ; preds = %56
br label %74
74: ; preds = %73, %44
ret void
}
declare i32 @Merge(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpehule19d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergePass(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = mul nsw i32 2, %13
%15 = sub nsw i32 %12, %14
%16 = add nsw i32 %15, 1
%17 = icmp sle i32 %11, %16
br i1 %17, label %.lr.ph, label %43
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %22, %23
%25 = sub nsw i32 %24, 1
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = mul nsw i32 2, %27
%29 = add nsw i32 %26, %28
%30 = sub nsw i32 %29, 1
%31 = call i32 @Merge(ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %25, i32 noundef %30)
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = mul nsw i32 2, %33
%35 = add nsw i32 %32, %34
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 2, %38
%40 = sub nsw i32 %37, %39
%41 = add nsw i32 %40, 1
%42 = icmp sle i32 %36, %41
br i1 %42, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %43
43: ; preds = %._crit_edge, %4
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %45, %46
%48 = add nsw i32 %47, 1
%49 = icmp slt i32 %44, %48
br i1 %49, label %50, label %60
50: ; preds = %43
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %54, %55
%57 = sub nsw i32 %56, 1
%58 = load i32, ptr %8, align 4
%59 = call i32 @Merge(ptr noundef %51, ptr noundef %52, i32 noundef %53, i32 noundef %57, i32 noundef %58)
br label %82
60: ; preds = %43
%61 = load i32, ptr %9, align 4
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %.lr.ph2, label %81
.lr.ph2: ; preds = %60
br label %65
65: ; preds = %.lr.ph2, %75
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %10, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %70, ptr %74, align 4
br label %75
75: ; preds = %65
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %8, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %65, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %81
81: ; preds = %._crit_edge3, %60
br label %82
82: ; preds = %81, %50
ret void
}
declare i32 @Merge(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaiv16tkk.c'
source_filename = "/tmp/tmpaiv16tkk.c"
target datalayout = "e-m:e-p270: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/tmpaiv16tkk.c"
target datalayout = "e-m:e-p270: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/tmpaxe50vu4.c'
source_filename = "/tmp/tmpaxe50vu4.c"
target datalayout = "e-m:e-p270: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/tmpaxe50vu4.c"
target datalayout = "e-m:e-p270: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/tmpapekiyu0.c'
source_filename = "/tmp/tmpapekiyu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodpd1() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @set42(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @free(ptr noundef %6)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @set42(ptr 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/tmpapekiyu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodpd1() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @set42(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @free(ptr noundef %6)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @set42(ptr 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/tmpbj1grqzr.c'
source_filename = "/tmp/tmpbj1grqzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum_n(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
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %13, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbj1grqzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum_n(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
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %12
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, %9
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i32, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ca32slm.c'
source_filename = "/tmp/tmp_ca32slm.c"
target datalayout = "e-m:e-p270: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 void @key(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %26 [
i32 97, label %9
i32 98, label %11
i32 104, label %13
i32 109, label %15
i32 115, label %17
i32 116, label %19
i32 120, label %21
i32 27, label %23
]
9: ; preds = %3
%10 = call i32 (...) @afunc()
br label %27
11: ; preds = %3
%12 = call i32 (...) @bfunc()
br label %27
13: ; preds = %3
%14 = call i32 (...) @help()
br label %27
15: ; preds = %3
%16 = call i32 (...) @mfunc()
br label %27
17: ; preds = %3
%18 = call i32 (...) @sfunc()
br label %27
19: ; preds = %3
%20 = call i32 (...) @tfunc()
br label %27
21: ; preds = %3
%22 = call i32 (...) @xfunc()
br label %27
23: ; preds = %3
%24 = load i32, ptr @EXIT_SUCCESS, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %3
br label %27
27: ; preds = %26, %21, %19, %17, %15, %13, %11, %9
%28 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @afunc(...) #1
declare i32 @bfunc(...) #1
declare i32 @help(...) #1
declare i32 @mfunc(...) #1
declare i32 @sfunc(...) #1
declare i32 @tfunc(...) #1
declare i32 @xfunc(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp_ca32slm.c"
target datalayout = "e-m:e-p270: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 void @key(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %26 [
i32 97, label %9
i32 98, label %11
i32 104, label %13
i32 109, label %15
i32 115, label %17
i32 116, label %19
i32 120, label %21
i32 27, label %23
]
9: ; preds = %3
%10 = call i32 (...) @afunc()
br label %27
11: ; preds = %3
%12 = call i32 (...) @bfunc()
br label %27
13: ; preds = %3
%14 = call i32 (...) @help()
br label %27
15: ; preds = %3
%16 = call i32 (...) @mfunc()
br label %27
17: ; preds = %3
%18 = call i32 (...) @sfunc()
br label %27
19: ; preds = %3
%20 = call i32 (...) @tfunc()
br label %27
21: ; preds = %3
%22 = call i32 (...) @xfunc()
br label %27
23: ; preds = %3
%24 = load i32, ptr @EXIT_SUCCESS, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %3
br label %27
27: ; preds = %26, %21, %19, %17, %15, %13, %11, %9
%28 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @afunc(...) #1
declare i32 @bfunc(...) #1
declare i32 @help(...) #1
declare i32 @mfunc(...) #1
declare i32 @sfunc(...) #1
declare i32 @tfunc(...) #1
declare i32 @xfunc(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpe1atb95k.c'
source_filename = "/tmp/tmpe1atb95k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sound_Init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @DAC_Init()
store volatile i32 0, ptr inttoptr (i64 3758153744 to ptr), align 4
store volatile i32 2389, ptr inttoptr (i64 3758153748 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 3758153752 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 3758157088 to ptr), align 4
%5 = and i32 %4, 16777215
%6 = or i32 %5, 536870912
store volatile i32 %6, ptr inttoptr (i64 3758157088 to ptr), align 4
store volatile i32 7, ptr inttoptr (i64 3758153744 to ptr), align 4
ret void
}
declare i32 @DAC_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/tmpe1atb95k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sound_Init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @DAC_Init()
store volatile i32 0, ptr inttoptr (i64 3758153744 to ptr), align 4
store volatile i32 2389, ptr inttoptr (i64 3758153748 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 3758153752 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 3758157088 to ptr), align 4
%5 = and i32 %4, 16777215
%6 = or i32 %5, 536870912
store volatile i32 %6, ptr inttoptr (i64 3758157088 to ptr), align 4
store volatile i32 7, ptr inttoptr (i64 3758153744 to ptr), align 4
ret void
}
declare i32 @DAC_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/tmp87onxky4.c'
source_filename = "/tmp/tmp87onxky4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_reverse_string_again() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call ptr @malloc(i32 noundef 400)
store ptr %4, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %15, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 400
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = trunc i32 %9 to i8
%11 = load ptr, ptr %1, align 8
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 %10, ptr %14, align 1
br label %15
15: ; preds = %8
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = load ptr, ptr %1, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = call ptr @reverse_string(ptr noundef @.str)
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @reverse_string(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87onxky4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_reverse_string_again() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call ptr @malloc(i32 noundef 400)
store ptr %4, ptr %1, align 8
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 400
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %14
%8 = load i32, ptr %2, align 4
%9 = trunc i32 %8 to i8
%10 = load ptr, ptr %1, align 8
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store i8 %9, ptr %13, align 1
br label %14
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 400
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = load ptr, ptr %1, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = call ptr @reverse_string(ptr noundef @.str)
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @reverse_string(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnvice1_n.c'
source_filename = "/tmp/tmpnvice1_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"ioctl I2C_SLAVE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oled_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @open(ptr noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @perror(ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr @I2C_SLAVE, align 4
%17 = load i32, ptr %2, align 4
%18 = call i64 @ioctl(i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvice1_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"ioctl I2C_SLAVE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oled_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @open(ptr noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @perror(ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %1
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr @I2C_SLAVE, align 4
%17 = load i32, ptr %2, align 4
%18 = call i64 @ioctl(i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgwkg_9un.c'
source_filename = "/tmp/tmpgwkg_9un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M304_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M304_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgwkg_9un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M304_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M304_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplkcc9wxo.c'
source_filename = "/tmp/tmplkcc9wxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca [40 x [1024 x i8]], align 16
%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %10)
br label %20
20: ; preds = %72, %2
%21 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i64 @fgets(ptr noundef %21, i32 noundef 1024, ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %73
25: ; preds = %20
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
store i32 0, ptr %11, align 4
br label %28
28: ; preds = %69, %25
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %72
32: ; preds = %28
%33 = load i32, ptr %11, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %34
%36 = getelementptr inbounds [1024 x i8], ptr %35, i64 0, i64 0
%37 = call i64 @strlen(ptr noundef %36)
%38 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%39 = call i64 @strlen(ptr noundef %38)
%40 = icmp slt i64 %37, %39
br i1 %40, label %41, label %68
41: ; preds = %32
%42 = load i32, ptr %9, align 4
store i32 %42, ptr %12, align 4
br label %43
43: ; preds = %58, %41
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %11, align 4
%46 = icmp sge i32 %44, %45
br i1 %46, label %47, label %61
47: ; preds = %43
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %49
%51 = getelementptr inbounds [1024 x i8], ptr %50, i64 0, i64 0
%52 = load i32, ptr %12, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %54
%56 = getelementptr inbounds [1024 x i8], ptr %55, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %51, ptr noundef %56)
br label %58
58: ; preds = %47
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %12, align 4
br label %43, !llvm.loop !6
61: ; preds = %43
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %63
%65 = getelementptr inbounds [1024 x i8], ptr %64, i64 0, i64 0
%66 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
br label %72
68: ; preds = %32
br label %69
69: ; preds = %68
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
br label %28, !llvm.loop !8
72: ; preds = %61, %28
br label %20, !llvm.loop !9
73: ; preds = %20
store i32 0, ptr %13, align 4
br label %74
74: ; preds = %84, %73
%75 = load i32, ptr %13, align 4
%76 = load i32, ptr %10, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %87
78: ; preds = %74
%79 = load i32, ptr %13, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %80
%82 = getelementptr inbounds [1024 x i8], ptr %81, i64 0, i64 0
%83 = call i32 @printf(ptr noundef @.str.2, ptr noundef %82)
br label %84
84: ; preds = %78
%85 = load i32, ptr %13, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %13, align 4
br label %74, !llvm.loop !10
87: ; preds = %74
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplkcc9wxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca [40 x [1024 x i8]], align 16
%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %10)
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = load ptr, ptr %6, align 8
%22 = call i64 @fgets(ptr noundef %20, i32 noundef 1024, ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %.lr.ph3, label %79
.lr.ph3: ; preds = %2
br label %24
24: ; preds = %.lr.ph3, %75
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
store i32 0, ptr %11, align 4
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %24
br label %30
30: ; preds = %.lr.ph, %69
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %32
%34 = getelementptr inbounds [1024 x i8], ptr %33, i64 0, i64 0
%35 = call i64 @strlen(ptr noundef %34)
%36 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%37 = call i64 @strlen(ptr noundef %36)
%38 = icmp slt i64 %35, %37
br i1 %38, label %39, label %68
39: ; preds = %30
%40 = load i32, ptr %9, align 4
store i32 %40, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = load i32, ptr %11, align 4
%43 = icmp sge i32 %41, %42
br i1 %43, label %.lr.ph1, label %61
.lr.ph1: ; preds = %39
br label %44
44: ; preds = %.lr.ph1, %55
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %46
%48 = getelementptr inbounds [1024 x i8], ptr %47, i64 0, i64 0
%49 = load i32, ptr %12, align 4
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %51
%53 = getelementptr inbounds [1024 x i8], ptr %52, i64 0, i64 0
%54 = call i32 @strcpy(ptr noundef %48, ptr noundef %53)
br label %55
55: ; preds = %44
%56 = load i32, ptr %12, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp sge i32 %58, %59
br i1 %60, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %39
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %63
%65 = getelementptr inbounds [1024 x i8], ptr %64, i64 0, i64 0
%66 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
br label %75
68: ; preds = %30
br label %69
69: ; preds = %68
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %9, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %30, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %69
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %24
br label %75
75: ; preds = %.loopexit, %61
%76 = load ptr, ptr %6, align 8
%77 = call i64 @fgets(ptr noundef %20, i32 noundef 1024, ptr noundef %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %24, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %75
br label %79
79: ; preds = %._crit_edge4, %2
store i32 0, ptr %13, align 4
%80 = load i32, ptr %13, align 4
%81 = load i32, ptr %10, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %.lr.ph6, label %95
.lr.ph6: ; preds = %79
br label %83
83: ; preds = %.lr.ph6, %89
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [40 x [1024 x i8]], ptr %8, i64 0, i64 %85
%87 = getelementptr inbounds [1024 x i8], ptr %86, i64 0, i64 0
%88 = call i32 @printf(ptr noundef @.str.2, ptr noundef %87)
br label %89
89: ; preds = %83
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %13, align 4
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %10, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %83, label %._crit_edge7, !llvm.loop !10
._crit_edge7: ; preds = %89
br label %95
95: ; preds = %._crit_edge7, %79
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpv8bc4gei.c'
source_filename = "/tmp/tmpv8bc4gei.c"
target datalayout = "e-m:e-p270: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/tmpv8bc4gei.c"
target datalayout = "e-m:e-p270: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/tmpo5ogomxi.c'
source_filename = "/tmp/tmpo5ogomxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pause(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @clear_buffer()
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @clear_buffer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5ogomxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pause(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @clear_buffer()
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @clear_buffer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyfdvt7py.c'
source_filename = "/tmp/tmpyfdvt7py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sp_access(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @sp_find(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @sp_find(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/tmpyfdvt7py.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sp_access(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @sp_find(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @sp_find(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/tmpc68kb0ci.c'
source_filename = "/tmp/tmpc68kb0ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckGoTo(double noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%16 = load double, ptr %5, align 8
store double %16, ptr %9, align 8
%17 = load double, ptr %6, align 8
store double %17, ptr %11, align 8
%18 = load double, ptr %9, align 8
%19 = load double, ptr %11, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @PointingToTel(ptr noundef %8, ptr noundef %10, double noundef %18, double noundef %19, i32 noundef %20)
%22 = load double, ptr %8, align 8
store double %22, ptr %5, align 8
%23 = load double, ptr %10, align 8
store double %23, ptr %6, align 8
%24 = call i32 (...) @GetSlewStatus()
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %27
26: ; preds = %3
store i32 0, ptr %4, align 4
br label %45
27: ; preds = %3
%28 = load i32, ptr %7, align 4
%29 = call i32 @GetTel(ptr noundef %14, ptr noundef %15, i32 noundef %28)
%30 = load double, ptr %14, align 8
%31 = load double, ptr %5, align 8
%32 = fsub double %30, %31
store double %32, ptr %12, align 8
%33 = load double, ptr %15, align 8
%34 = load double, ptr %6, align 8
%35 = fsub double %33, %34
store double %35, ptr %13, align 8
%36 = load double, ptr %12, align 8
%37 = call double @llvm.fabs.f64(double %36)
%38 = fcmp ogt double %37, 0x3F7B4E81B4E81B4F
br i1 %38, label %43, label %39
39: ; preds = %27
%40 = load double, ptr %13, align 8
%41 = call double @llvm.fabs.f64(double %40)
%42 = fcmp ogt double %41, 1.000000e-01
br i1 %42, label %43, label %44
43: ; preds = %39, %27
store i32 2, ptr %4, align 4
br label %45
44: ; preds = %39
store i32 1, ptr %4, align 4
br label %45
45: ; preds = %44, %43, %26
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @PointingToTel(ptr noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1
declare i32 @GetSlewStatus(...) #1
declare i32 @GetTel(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc68kb0ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CheckGoTo(double noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%16 = load double, ptr %5, align 8
store double %16, ptr %9, align 8
%17 = load double, ptr %6, align 8
store double %17, ptr %11, align 8
%18 = load double, ptr %9, align 8
%19 = load double, ptr %11, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @PointingToTel(ptr noundef %8, ptr noundef %10, double noundef %18, double noundef %19, i32 noundef %20)
%22 = load double, ptr %8, align 8
store double %22, ptr %5, align 8
%23 = load double, ptr %10, align 8
store double %23, ptr %6, align 8
%24 = call i32 (...) @GetSlewStatus()
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %27
26: ; preds = %3
store i32 0, ptr %4, align 4
br label %45
27: ; preds = %3
%28 = load i32, ptr %7, align 4
%29 = call i32 @GetTel(ptr noundef %14, ptr noundef %15, i32 noundef %28)
%30 = load double, ptr %14, align 8
%31 = load double, ptr %5, align 8
%32 = fsub double %30, %31
store double %32, ptr %12, align 8
%33 = load double, ptr %15, align 8
%34 = load double, ptr %6, align 8
%35 = fsub double %33, %34
store double %35, ptr %13, align 8
%36 = load double, ptr %12, align 8
%37 = call double @llvm.fabs.f64(double %36)
%38 = fcmp ogt double %37, 0x3F7B4E81B4E81B4F
br i1 %38, label %43, label %39
39: ; preds = %27
%40 = load double, ptr %13, align 8
%41 = call double @llvm.fabs.f64(double %40)
%42 = fcmp ogt double %41, 1.000000e-01
br i1 %42, label %43, label %44
43: ; preds = %39, %27
store i32 2, ptr %4, align 4
br label %45
44: ; preds = %39
store i32 1, ptr %4, align 4
br label %45
45: ; preds = %44, %43, %26
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @PointingToTel(ptr noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1
declare i32 @GetSlewStatus(...) #1
declare i32 @GetTel(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxg_kap2p.c'
source_filename = "/tmp/tmpxg_kap2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pollen_parts_Led1_on__E() #0 {
%1 = call i32 (...) @local_mcu_Pin1_set__E()
ret void
}
declare i32 @local_mcu_Pin1_set__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxg_kap2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pollen_parts_Led1_on__E() #0 {
%1 = call i32 (...) @local_mcu_Pin1_set__E()
ret void
}
declare i32 @local_mcu_Pin1_set__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp87duwwm3.c'
source_filename = "/tmp/tmp87duwwm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ju\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cpu_freq() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call i32 @pscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %2)
%4 = icmp ne i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %0
store ptr null, ptr %1, align 8
br label %10
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = mul nsw i32 %7, 1000
%9 = call ptr @fmt_human(i32 noundef %8, i32 noundef 1000)
store ptr %9, ptr %1, align 8
br label %10
10: ; preds = %6, %5
%11 = load ptr, ptr %1, align 8
ret ptr %11
}
declare i32 @pscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fmt_human(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/tmp87duwwm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ju\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cpu_freq() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call i32 @pscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %2)
%4 = icmp ne i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %0
store ptr null, ptr %1, align 8
br label %10
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = mul nsw i32 %7, 1000
%9 = call ptr @fmt_human(i32 noundef %8, i32 noundef 1000)
store ptr %9, ptr %1, align 8
br label %10
10: ; preds = %6, %5
%11 = load ptr, ptr %1, align 8
ret ptr %11
}
declare i32 @pscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fmt_human(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/tmpdanus714.c'
source_filename = "/tmp/tmpdanus714.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"missing argument: need a path to an image\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"=> benchmark %s: %.2fms\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 2
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call double @benchmark_image_resize(i32 noundef 20, ptr noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, double noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @benchmark_image_resize(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdanus714.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"missing argument: need a path to an image\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"=> benchmark %s: %.2fms\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 2
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call double @benchmark_image_resize(i32 noundef 20, ptr noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, double noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @benchmark_image_resize(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxt2_b1_p.c'
source_filename = "/tmp/tmpxt2_b1_p.c"
target datalayout = "e-m:e-p270: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/tmpxt2_b1_p.c"
target datalayout = "e-m:e-p270: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/tmpk31hmeu6.c'
source_filename = "/tmp/tmpk31hmeu6.c"
target datalayout = "e-m:e-p270: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.array_test_ver1_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_expect_ver1_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_test_ver2_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_expect_ver2_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x i32], align 16
%5 = alloca [10 x i32], align 16
%6 = alloca [10 x i32], align 16
%7 = alloca [10 x i32], align 16
%8 = alloca [10 x i32], align 16
%9 = alloca [10 x i32], align 16
%10 = alloca [10 x i32], align 16
%11 = alloca [10 x i32], align 16
%12 = alloca [10 x i32], align 16
%13 = alloca [10 x i32], align 16
%14 = alloca [10 x i32], align 16
%15 = alloca [10 x i32], align 16
%16 = alloca [10 x i32], align 16
%17 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false)
%18 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 0
store i32 1, ptr %18, align 16
%19 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 1
store i32 1, ptr %19, align 4
%20 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 2
store i32 1, ptr %20, align 8
%21 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 3
store i32 1, ptr %21, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false)
%22 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 6
store i32 1, ptr %22, align 8
%23 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 7
store i32 1, ptr %23, align 4
%24 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 8
store i32 1, ptr %24, align 16
%25 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 9
store i32 1, ptr %25, align 4
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%27 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %26, i32 noundef 10)
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%30 = call i64 @memcmp(ptr noundef %28, ptr noundef %29, i32 noundef 40)
%31 = icmp eq i64 %30, 0
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x i32], ptr %4, i32 0, i32 0
store i32 1, ptr %34, align 16
%35 = getelementptr inbounds [10 x i32], ptr %4, i32 0, i32 3
store i32 1, ptr %35, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x i32], ptr %5, i32 0, i32 8
store i32 1, ptr %36, align 16
%37 = getelementptr inbounds [10 x i32], ptr %5, i32 0, i32 9
store i32 1, ptr %37, align 4
%38 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%39 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %38, i32 noundef 10)
%40 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%41 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0
%42 = call i64 @memcmp(ptr noundef %40, ptr noundef %41, i32 noundef 40)
%43 = icmp eq i64 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
%46 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%47 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %46, i32 noundef 10)
%48 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%50 = call i64 @memcmp(ptr noundef %48, ptr noundef %49, i32 noundef 40)
%51 = icmp eq i64 %50, 0
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.array_test_ver1_4, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.array_expect_ver1_4, i64 40, i1 false)
%54 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%55 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %54, i32 noundef 10)
%56 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%57 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
%58 = call i64 @memcmp(ptr noundef %56, ptr noundef %57, i32 noundef 40)
%59 = icmp eq i64 %58, 0
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 noundef %60)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%62 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 0
store i32 1, ptr %62, align 16
%63 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 1
store i32 1, ptr %63, align 4
%64 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 2
store i32 1, ptr %64, align 8
%65 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 3
store i32 1, ptr %65, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
%66 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 6
store i32 1, ptr %66, align 8
%67 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 7
store i32 1, ptr %67, align 4
%68 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 8
store i32 1, ptr %68, align 16
%69 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 9
store i32 1, ptr %69, align 4
%70 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%71 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %70, i32 noundef 10)
%72 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%73 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 0
%74 = call i64 @memcmp(ptr noundef %72, ptr noundef %73, i32 noundef 40)
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 noundef %76)
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false)
%78 = getelementptr inbounds [10 x i32], ptr %12, i32 0, i32 0
store i32 1, ptr %78, align 16
%79 = getelementptr inbounds [10 x i32], ptr %12, i32 0, i32 3
store i32 1, ptr %79, align 4
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false)
%80 = getelementptr inbounds [10 x i32], ptr %13, i32 0, i32 8
store i32 1, ptr %80, align 16
%81 = getelementptr inbounds [10 x i32], ptr %13, i32 0, i32 9
store i32 1, ptr %81, align 4
%82 = getelementptr inbounds [10 x i32], ptr %12, i64 0, i64 0
%83 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %82, i32 noundef 10)
%84 = getelementptr inbounds [10 x i32], ptr %12, i64 0, i64 0
%85 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%86 = call i64 @memcmp(ptr noundef %84, ptr noundef %85, i32 noundef 40)
%87 = icmp eq i64 %86, 0
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 noundef %88)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 40, i1 false)
%90 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0
%91 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %90, i32 noundef 10)
%92 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0
%93 = getelementptr inbounds [10 x i32], ptr %15, i64 0, i64 0
%94 = call i64 @memcmp(ptr noundef %92, ptr noundef %93, i32 noundef 40)
%95 = icmp eq i64 %94, 0
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 noundef %96)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.array_test_ver2_4, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.array_expect_ver2_4, i64 40, i1 false)
%98 = getelementptr inbounds [10 x i32], ptr %16, i64 0, i64 0
%99 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %98, i32 noundef 10)
%100 = getelementptr inbounds [10 x i32], ptr %16, i64 0, i64 0
%101 = getelementptr inbounds [10 x i32], ptr %17, i64 0, i64 0
%102 = call i64 @memcmp(ptr noundef %100, ptr noundef %101, i32 noundef 40)
%103 = icmp eq i64 %102, 0
%104 = zext i1 %103 to i32
%105 = call i32 @assert(i32 noundef %104)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, 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 i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpk31hmeu6.c"
target datalayout = "e-m:e-p270: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.array_test_ver1_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_expect_ver1_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_test_ver2_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@__const.main.array_expect_ver2_4 = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x i32], align 16
%5 = alloca [10 x i32], align 16
%6 = alloca [10 x i32], align 16
%7 = alloca [10 x i32], align 16
%8 = alloca [10 x i32], align 16
%9 = alloca [10 x i32], align 16
%10 = alloca [10 x i32], align 16
%11 = alloca [10 x i32], align 16
%12 = alloca [10 x i32], align 16
%13 = alloca [10 x i32], align 16
%14 = alloca [10 x i32], align 16
%15 = alloca [10 x i32], align 16
%16 = alloca [10 x i32], align 16
%17 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false)
%18 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 0
store i32 1, ptr %18, align 16
%19 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 1
store i32 1, ptr %19, align 4
%20 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 2
store i32 1, ptr %20, align 8
%21 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 3
store i32 1, ptr %21, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false)
%22 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 6
store i32 1, ptr %22, align 8
%23 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 7
store i32 1, ptr %23, align 4
%24 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 8
store i32 1, ptr %24, align 16
%25 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 9
store i32 1, ptr %25, align 4
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%27 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %26, i32 noundef 10)
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%30 = call i64 @memcmp(ptr noundef %28, ptr noundef %29, i32 noundef 40)
%31 = icmp eq i64 %30, 0
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false)
%34 = getelementptr inbounds [10 x i32], ptr %4, i32 0, i32 0
store i32 1, ptr %34, align 16
%35 = getelementptr inbounds [10 x i32], ptr %4, i32 0, i32 3
store i32 1, ptr %35, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x i32], ptr %5, i32 0, i32 8
store i32 1, ptr %36, align 16
%37 = getelementptr inbounds [10 x i32], ptr %5, i32 0, i32 9
store i32 1, ptr %37, align 4
%38 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%39 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %38, i32 noundef 10)
%40 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0
%41 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0
%42 = call i64 @memcmp(ptr noundef %40, ptr noundef %41, i32 noundef 40)
%43 = icmp eq i64 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
%46 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%47 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %46, i32 noundef 10)
%48 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%50 = call i64 @memcmp(ptr noundef %48, ptr noundef %49, i32 noundef 40)
%51 = icmp eq i64 %50, 0
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.array_test_ver1_4, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.array_expect_ver1_4, i64 40, i1 false)
%54 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%55 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %54, i32 noundef 10)
%56 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%57 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
%58 = call i64 @memcmp(ptr noundef %56, ptr noundef %57, i32 noundef 40)
%59 = icmp eq i64 %58, 0
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 noundef %60)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%62 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 0
store i32 1, ptr %62, align 16
%63 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 1
store i32 1, ptr %63, align 4
%64 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 2
store i32 1, ptr %64, align 8
%65 = getelementptr inbounds [10 x i32], ptr %10, i32 0, i32 3
store i32 1, ptr %65, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
%66 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 6
store i32 1, ptr %66, align 8
%67 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 7
store i32 1, ptr %67, align 4
%68 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 8
store i32 1, ptr %68, align 16
%69 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 9
store i32 1, ptr %69, align 4
%70 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%71 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %70, i32 noundef 10)
%72 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%73 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 0
%74 = call i64 @memcmp(ptr noundef %72, ptr noundef %73, i32 noundef 40)
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 noundef %76)
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false)
%78 = getelementptr inbounds [10 x i32], ptr %12, i32 0, i32 0
store i32 1, ptr %78, align 16
%79 = getelementptr inbounds [10 x i32], ptr %12, i32 0, i32 3
store i32 1, ptr %79, align 4
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false)
%80 = getelementptr inbounds [10 x i32], ptr %13, i32 0, i32 8
store i32 1, ptr %80, align 16
%81 = getelementptr inbounds [10 x i32], ptr %13, i32 0, i32 9
store i32 1, ptr %81, align 4
%82 = getelementptr inbounds [10 x i32], ptr %12, i64 0, i64 0
%83 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %82, i32 noundef 10)
%84 = getelementptr inbounds [10 x i32], ptr %12, i64 0, i64 0
%85 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%86 = call i64 @memcmp(ptr noundef %84, ptr noundef %85, i32 noundef 40)
%87 = icmp eq i64 %86, 0
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 noundef %88)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 40, i1 false)
%90 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0
%91 = call i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef %90, i32 noundef 10)
%92 = getelementptr inbounds [10 x i32], ptr %14, i64 0, i64 0
%93 = getelementptr inbounds [10 x i32], ptr %15, i64 0, i64 0
%94 = call i64 @memcmp(ptr noundef %92, ptr noundef %93, i32 noundef 40)
%95 = icmp eq i64 %94, 0
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 noundef %96)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.array_test_ver2_4, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.array_expect_ver2_4, i64 40, i1 false)
%98 = getelementptr inbounds [10 x i32], ptr %16, i64 0, i64 0
%99 = call i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef %98, i32 noundef 10)
%100 = getelementptr inbounds [10 x i32], ptr %16, i64 0, i64 0
%101 = getelementptr inbounds [10 x i32], ptr %17, i64 0, i64 0
%102 = call i64 @memcmp(ptr noundef %100, ptr noundef %101, i32 noundef 40)
%103 = icmp eq i64 %102, 0
%104 = zext i1 %103 to i32
%105 = call i32 @assert(i32 noundef %104)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sort_array_of_zeros_and_ones_ver1(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, 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 i32 @sort_array_of_zeros_and_ones_ver2(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpk8hvmtty.c'
source_filename = "/tmp/tmpk8hvmtty.c"
target datalayout = "e-m:e-p270: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/tmpk8hvmtty.c"
target datalayout = "e-m:e-p270: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/tmp896_c6hx.c'
source_filename = "/tmp/tmp896_c6hx.c"
target datalayout = "e-m:e-p270: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/tmp896_c6hx.c"
target datalayout = "e-m:e-p270: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/tmpxawizry8.c'
source_filename = "/tmp/tmpxawizry8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float64WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 8)
ret i64 %7
}
declare i64 @write_FP_BE(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxawizry8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float64WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 8)
ret i64 %7
}
declare i64 @write_FP_BE(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybyo84my.c'
source_filename = "/tmp/tmpybyo84my.c"
target datalayout = "e-m:e-p270: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/tmpybyo84my.c"
target datalayout = "e-m:e-p270: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/tmp9dqodylc.c'
source_filename = "/tmp/tmp9dqodylc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xbd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xbd() #0 {
%1 = call i64 @isgraph(i32 noundef 189)
%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 950, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmp9dqodylc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xbd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xbd() #0 {
%1 = call i64 @isgraph(i32 noundef 189)
%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 950, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpo8i4n9nb.c'
source_filename = "/tmp/tmpo8i4n9nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"can't fopen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @stbi_loadf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %12, align 8
%16 = load ptr, ptr %12, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %5
%19 = call i64 @stbi__err(ptr noundef @.str.1)
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr null, ptr null
store ptr %22, ptr %6, align 8
br label %33
23: ; preds = %5
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %11, align 4
%29 = call ptr @stbi_loadf_from_file(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28)
store ptr %29, ptr %13, align 8
%30 = load ptr, ptr %12, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load ptr, ptr %13, align 8
store ptr %32, ptr %6, align 8
br label %33
33: ; preds = %23, %18
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @stbi__err(ptr noundef) #1
declare ptr @stbi_loadf_from_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8i4n9nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"can't fopen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @stbi_loadf(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %12, align 8
%16 = load ptr, ptr %12, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %5
%19 = call i64 @stbi__err(ptr noundef @.str.1)
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr null, ptr null
store ptr %22, ptr %6, align 8
br label %33
23: ; preds = %5
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %11, align 4
%29 = call ptr @stbi_loadf_from_file(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28)
store ptr %29, ptr %13, align 8
%30 = load ptr, ptr %12, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load ptr, ptr %13, align 8
store ptr %32, ptr %6, align 8
br label %33
33: ; preds = %23, %18
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @stbi__err(ptr noundef) #1
declare ptr @stbi_loadf_from_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmq7nskgp.c'
source_filename = "/tmp/tmpmq7nskgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pass Process ID as command line argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Victim %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Target: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"New time slice: %lu\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 i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i64 @atol(ptr noundef %15)
store i64 %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i64 @atol(ptr noundef %19)
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %21)
%23 = load i64, ptr %6, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %23)
%25 = load i64, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = call i64 @syscall(i32 noundef 288, i64 noundef %25, i64 noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %27)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %12, %10
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmq7nskgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pass Process ID as command line argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Victim %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Target: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"New time slice: %lu\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 i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i64 @atol(ptr noundef %15)
store i64 %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i64 @atol(ptr noundef %19)
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %21)
%23 = load i64, ptr %6, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %23)
%25 = load i64, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = call i64 @syscall(i32 noundef 288, i64 noundef %25, i64 noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %27)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %12, %10
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpok0eugxp.c'
source_filename = "/tmp/tmpok0eugxp.c"
target datalayout = "e-m:e-p270: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/tmpok0eugxp.c"
target datalayout = "e-m:e-p270: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/tmp51u44tnd.c'
source_filename = "/tmp/tmp51u44tnd.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [6 x i8] c"ABCDE\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Enter the card_name: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"I don't understand that value!\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca [6 x i8], align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str, i64 6, i1 false)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef 6)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
br label %8
8: ; preds = %48, %0
%9 = call i32 @puts(ptr noundef @.str.1)
%10 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %10)
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
switch i32 %14, label %18 [
i32 75, label %15
i32 81, label %15
i32 74, label %15
i32 65, label %16
i32 88, label %17
]
15: ; preds = %8, %8, %8
store i32 10, ptr %5, align 4
br label %29
16: ; preds = %8
store i32 11, ptr %5, align 4
br label %29
17: ; preds = %8
br label %48
18: ; preds = %8
%19 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = icmp sgt i32 %24, 10
br i1 %25, label %26, label %28
26: ; preds = %23, %18
%27 = call i32 @puts(ptr noundef @.str.3)
br label %48
28: ; preds = %23
br label %29
29: ; preds = %28, %16, %15
%30 = load i32, ptr %5, align 4
%31 = icmp sgt i32 %30, 2
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 7
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %45
38: ; preds = %32, %29
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %3, align 4
br label %44
44: ; preds = %41, %38
br label %45
45: ; preds = %44, %35
%46 = load i32, ptr %3, align 4
%47 = call i32 @printf(ptr noundef @.str.4, i32 noundef %46)
br label %48
48: ; preds = %45, %26, %17
%49 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 88
br i1 %52, label %8, label %53, !llvm.loop !6
53: ; preds = %48
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51u44tnd.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [6 x i8] c"ABCDE\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Enter the card_name: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"I don't understand that value!\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca [6 x i8], align 1
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str, i64 6, i1 false)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef 6)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
br label %8
8: ; preds = %48, %0
%9 = call i32 @puts(ptr noundef @.str.1)
%10 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %10)
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
switch i32 %14, label %18 [
i32 75, label %15
i32 81, label %15
i32 74, label %15
i32 65, label %16
i32 88, label %17
]
15: ; preds = %8, %8, %8
store i32 10, ptr %5, align 4
br label %29
16: ; preds = %8
store i32 11, ptr %5, align 4
br label %29
17: ; preds = %8
br label %48
18: ; preds = %8
%19 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = icmp sgt i32 %24, 10
br i1 %25, label %26, label %28
26: ; preds = %23, %18
%27 = call i32 @puts(ptr noundef @.str.3)
br label %48
28: ; preds = %23
br label %29
29: ; preds = %28, %16, %15
%30 = load i32, ptr %5, align 4
%31 = icmp sgt i32 %30, 2
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 7
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %45
38: ; preds = %32, %29
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %3, align 4
br label %44
44: ; preds = %41, %38
br label %45
45: ; preds = %44, %35
%46 = load i32, ptr %3, align 4
%47 = call i32 @printf(ptr noundef @.str.4, i32 noundef %46)
br label %48
48: ; preds = %45, %26, %17
%49 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 88
br i1 %52, label %8, label %53, !llvm.loop !6
53: ; preds = %48
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb5lc1wd2.c'
source_filename = "/tmp/tmpb5lc1wd2.c"
target datalayout = "e-m:e-p270: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.ftp_url = private unnamed_addr constant [18 x i8] c"ftp://example.com\00", align 16
@.str = private unnamed_addr constant [29 x i8] c"FTP connection established.\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Could not open FTP connection!\0A\00", align 1
@__const.main.http_url = private unnamed_addr constant [19 x i8] c"http://example.com\00", align 16
@.str.2 = private unnamed_addr constant [30 x i8] c"HTTP connection established.\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Could not open HTTP connection!\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [18 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [19 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ftp_url, i64 18, i1 false)
store i32 21, ptr %3, align 4
%8 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @open(ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
%15 = load i32, ptr %4, align 4
%16 = call i32 @close(i32 noundef %15)
br label %19
17: ; preds = %0
%18 = call i32 @printf(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %13
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.http_url, i64 19, i1 false)
store i32 80, ptr %6, align 4
%20 = getelementptr inbounds [19 x i8], ptr %5, i64 0, i64 0
%21 = load i32, ptr %6, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = call i32 @printf(ptr noundef @.str.2)
%27 = load i32, ptr %7, align 4
%28 = call i32 @close(i32 noundef %27)
br label %31
29: ; preds = %19
%30 = call i32 @printf(ptr noundef @.str.3)
br label %31
31: ; preds = %29, %25
%32 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %32
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb5lc1wd2.c"
target datalayout = "e-m:e-p270: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.ftp_url = private unnamed_addr constant [18 x i8] c"ftp://example.com\00", align 16
@.str = private unnamed_addr constant [29 x i8] c"FTP connection established.\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Could not open FTP connection!\0A\00", align 1
@__const.main.http_url = private unnamed_addr constant [19 x i8] c"http://example.com\00", align 16
@.str.2 = private unnamed_addr constant [30 x i8] c"HTTP connection established.\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Could not open HTTP connection!\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [18 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [19 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ftp_url, i64 18, i1 false)
store i32 21, ptr %3, align 4
%8 = getelementptr inbounds [18 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @open(ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
%15 = load i32, ptr %4, align 4
%16 = call i32 @close(i32 noundef %15)
br label %19
17: ; preds = %0
%18 = call i32 @printf(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %13
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.http_url, i64 19, i1 false)
store i32 80, ptr %6, align 4
%20 = getelementptr inbounds [19 x i8], ptr %5, i64 0, i64 0
%21 = load i32, ptr %6, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %19
%26 = call i32 @printf(ptr noundef @.str.2)
%27 = load i32, ptr %7, align 4
%28 = call i32 @close(i32 noundef %27)
br label %31
29: ; preds = %19
%30 = call i32 @printf(ptr noundef @.str.3)
br label %31
31: ; preds = %29, %25
%32 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %32
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxnng0d02.c'
source_filename = "/tmp/tmpxnng0d02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @darray_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 ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 -2
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
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/tmpxnng0d02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @darray_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 ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 -2
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
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/tmpayu7ol5l.c'
source_filename = "/tmp/tmpayu7ol5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel134_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel134_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel134_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpayu7ol5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel134_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel134_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel134_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp088f4om0.c'
source_filename = "/tmp/tmp088f4om0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OOM3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @longestPalindrome2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %1
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 0, ptr %25, align 1
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
br label %26
26: ; preds = %43, %21
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %46
30: ; preds = %26
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = load i32, ptr %5, align 4
%35 = sub nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %31, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
br label %43
43: ; preds = %30
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %26, !llvm.loop !6
46: ; preds = %26
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %3, align 4
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %3, align 4
%51 = call ptr @longestCommonSubString(ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50)
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
ret ptr %52
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @longestCommonSubString(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp088f4om0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OOM3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @longestPalindrome2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %1
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 0, ptr %25, align 1
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %48
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %42
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sub nsw i32 %31, 1
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %30, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
br label %42
42: ; preds = %29
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %21
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %3, align 4
%53 = call ptr @longestCommonSubString(ptr noundef %49, i32 noundef %50, ptr noundef %51, i32 noundef %52)
store ptr %53, ptr %6, align 8
%54 = load ptr, ptr %6, align 8
ret ptr %54
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @longestCommonSubString(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
|
; ModuleID = '/tmp/tmp3ctxegxm.c'
source_filename = "/tmp/tmp3ctxegxm.c"
target datalayout = "e-m:e-p270: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/tmp3ctxegxm.c"
target datalayout = "e-m:e-p270: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/tmptuvfve8i.c'
source_filename = "/tmp/tmptuvfve8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%d;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @color(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 22, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 7
br i1 %7, label %8, label %11
8: ; preds = %2
store i32 1, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 8
store i32 %10, ptr %3, align 4
br label %11
11: ; preds = %8, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 30
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 40
%17 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %12, i32 noundef %14, i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuvfve8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%d;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @color(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 22, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 7
br i1 %7, label %8, label %11
8: ; preds = %2
store i32 1, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 8
store i32 %10, ptr %3, align 4
br label %11
11: ; preds = %8, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 30
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 40
%17 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %12, i32 noundef %14, i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplff15pz1.c'
source_filename = "/tmp/tmplff15pz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @err_sys(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplff15pz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @err_sys(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp92l3ono9.c'
source_filename = "/tmp/tmp92l3ono9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @printArgs(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @printArgs(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/tmp92l3ono9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @printArgs(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @printArgs(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/tmpung_0c3y.c'
source_filename = "/tmp/tmpung_0c3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpung_0c3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
|
; ModuleID = '/tmp/tmpk8fw24xz.c'
source_filename = "/tmp/tmpk8fw24xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8fw24xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxd871jfy.c'
source_filename = "/tmp/tmpxd871jfy.c"
target datalayout = "e-m:e-p270: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/tmpxd871jfy.c"
target datalayout = "e-m:e-p270: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/tmpaquv7mfo.c'
source_filename = "/tmp/tmpaquv7mfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpytrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isspace(i8 noundef zeroext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %2, align 8
%15 = call ptr @mh_xstrdup(ptr noundef %14)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
%21 = getelementptr inbounds i8, ptr %20, i64 -1
store ptr %21, ptr %4, align 8
br label %22
22: ; preds = %34, %13
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %3, align 8
%25 = icmp uge ptr %23, %24
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = load i8, ptr %27, align 1
%29 = call i64 @isspace(i8 noundef zeroext %28)
%30 = icmp ne i64 %29, 0
br label %31
31: ; preds = %26, %22
%32 = phi i1 [ false, %22 ], [ %30, %26 ]
br i1 %32, label %33, label %37
33: ; preds = %31
br label %34
34: ; preds = %33
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %4, align 8
store i8 0, ptr %35, align 1
br label %22, !llvm.loop !8
37: ; preds = %31
%38 = load ptr, ptr %3, align 8
store ptr %38, ptr %4, align 8
br label %39
39: ; preds = %51, %37
%40 = load ptr, ptr %4, align 8
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %39
%44 = load ptr, ptr %4, align 8
%45 = load i8, ptr %44, align 1
%46 = call i64 @isspace(i8 noundef zeroext %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load ptr, ptr %4, align 8
store i8 32, ptr %49, align 1
br label %50
50: ; preds = %48, %43
br label %51
51: ; preds = %50
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %4, align 8
br label %39, !llvm.loop !9
54: ; preds = %39
%55 = load ptr, ptr %3, align 8
ret ptr %55
}
declare i64 @isspace(i8 noundef zeroext) #1
declare ptr @mh_xstrdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaquv7mfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpytrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isspace(i8 noundef zeroext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef zeroext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = call ptr @mh_xstrdup(ptr noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = getelementptr inbounds i8, ptr %23, i64 -1
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %37, %16
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %3, align 8
%28 = icmp uge ptr %26, %27
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef zeroext %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %29, %25
%35 = phi i1 [ false, %25 ], [ %33, %29 ]
br i1 %35, label %36, label %40
36: ; preds = %34
br label %37
37: ; preds = %36
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 -1
store ptr %39, ptr %4, align 8
store i8 0, ptr %38, align 1
br label %25, !llvm.loop !8
40: ; preds = %34
%41 = load ptr, ptr %3, align 8
store ptr %41, ptr %4, align 8
%42 = load ptr, ptr %4, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %.lr.ph2, label %59
.lr.ph2: ; preds = %40
br label %45
45: ; preds = %.lr.ph2, %53
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = call i64 @isspace(i8 noundef zeroext %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %45
%51 = load ptr, ptr %4, align 8
store i8 32, ptr %51, align 1
br label %52
52: ; preds = %50, %45
br label %53
53: ; preds = %52
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %4, align 8
%56 = load ptr, ptr %4, align 8
%57 = load i8, ptr %56, align 1
%58 = icmp ne i8 %57, 0
br i1 %58, label %45, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %40
%60 = load ptr, ptr %3, align 8
ret ptr %60
}
declare i64 @isspace(i8 noundef zeroext) #1
declare ptr @mh_xstrdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzeqs_qik.c'
source_filename = "/tmp/tmpzeqs_qik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_hashFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %30, %1
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %33
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = shl i32 %13, 4
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = call i32 @tolower(i8 noundef signext %16)
%18 = add nsw i32 %14, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = and i32 %19, -268435456
store i32 %20, ptr %4, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %12
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = ashr i32 %24, 24
%26 = xor i32 %23, %25
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = xor i32 %27, %28
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %22, %12
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
br label %7, !llvm.loop !6
33: ; preds = %7
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzeqs_qik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_hashFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %29
%12 = load i32, ptr %3, align 4
%13 = shl i32 %12, 4
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @tolower(i8 noundef signext %15)
%17 = add nsw i32 %13, %16
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = and i32 %18, -268435456
store i32 %19, ptr %4, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %11
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = ashr i32 %23, 24
%25 = xor i32 %22, %24
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = xor i32 %26, %27
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %21, %11
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %1
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp961i_rm9.c'
source_filename = "/tmp/tmp961i_rm9.c"
target datalayout = "e-m:e-p270: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/tmp961i_rm9.c"
target datalayout = "e-m:e-p270: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/tmppmh5l0ri.c'
source_filename = "/tmp/tmppmh5l0ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putbe(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = ashr i32 %9, 3
store i32 %10, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %28, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %31
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %17, 1
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = shl i32 %20, 3
%22 = ashr i32 %16, %21
%23 = and i32 %22, 255
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 %23, ptr %27, align 4
br label %28
28: ; preds = %15
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load i32, ptr %8, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppmh5l0ri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putbe(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = ashr i32 %9, 3
store i32 %10, ptr %8, align 4
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %27
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %8, align 4
%17 = sub nsw i32 %16, 1
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %17, %18
%20 = shl i32 %19, 3
%21 = ashr i32 %15, %20
%22 = and i32 %21, 255
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 %22, ptr %26, align 4
br label %27
27: ; preds = %14
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %3
%34 = load i32, ptr %8, align 4
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu0k55jxx.c'
source_filename = "/tmp/tmpu0k55jxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putendl_fd(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
br label %5
5: ; preds = %9, %2
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef 1)
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load i32, ptr %4, align 4
%16 = call i32 @write(i32 noundef %15, ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu0k55jxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putendl_fd(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = call i32 @write(i32 noundef %9, ptr noundef %10, i32 noundef 1)
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %16
16: ; preds = %._crit_edge, %2
%17 = load i32, ptr %4, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvwrueaju.c'
source_filename = "/tmp/tmpvwrueaju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgb_to_hsv(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %10, align 4
%15 = sdiv i32 %14, 8
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %19
18: ; preds = %5
store i32 1, ptr %6, align 4
br label %75
19: ; preds = %5
store i32 0, ptr %12, align 4
br label %20
20: ; preds = %71, %19
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %22, %23
%25 = icmp slt i32 %21, %24
br i1 %25, label %26, label %74
26: ; preds = %20
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %12, align 4
%29 = load i32, ptr %13, align 4
%30 = mul nsw i32 %28, %29
%31 = add nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %27, i64 %32
%34 = load i8, ptr %33, align 1
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %13, align 4
%38 = mul nsw i32 %36, %37
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %35, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %13, align 4
%46 = mul nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %43, i64 %47
%49 = load i8, ptr %48, align 1
%50 = load ptr, ptr %11, align 8
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %13, align 4
%53 = mul nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %12, align 4
%58 = load i32, ptr %13, align 4
%59 = mul nsw i32 %57, %58
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %56, i64 %61
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %12, align 4
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 %64, %65
%67 = add nsw i32 %66, 2
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %63, i64 %68
%70 = call i32 @rgb_to_hsv_pixel(i8 noundef zeroext %34, i8 noundef zeroext %42, i8 noundef zeroext %49, ptr noundef %55, ptr noundef %62, ptr noundef %69)
br label %71
71: ; preds = %26
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %12, align 4
br label %20, !llvm.loop !6
74: ; preds = %20
store i32 0, ptr %6, align 4
br label %75
75: ; preds = %74, %18
%76 = load i32, ptr %6, align 4
ret i32 %76
}
declare i32 @rgb_to_hsv_pixel(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvwrueaju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgb_to_hsv(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %10, align 4
%15 = sdiv i32 %14, 8
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %19
18: ; preds = %5
store i32 1, ptr %6, align 4
br label %79
19: ; preds = %5
store i32 0, ptr %12, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = icmp slt i32 %20, %23
br i1 %24, label %.lr.ph, label %78
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %70
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %12, align 4
%28 = load i32, ptr %13, align 4
%29 = mul nsw i32 %27, %28
%30 = add nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %13, align 4
%37 = mul nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %34, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %12, align 4
%44 = load i32, ptr %13, align 4
%45 = mul nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %11, align 8
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %49, i64 %53
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %12, align 4
%57 = load i32, ptr %13, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %55, i64 %60
%62 = load ptr, ptr %11, align 8
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %13, align 4
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %65, 2
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %62, i64 %67
%69 = call i32 @rgb_to_hsv_pixel(i8 noundef zeroext %33, i8 noundef zeroext %41, i8 noundef zeroext %48, ptr noundef %54, ptr noundef %61, ptr noundef %68)
br label %70
70: ; preds = %25
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %12, align 4
%73 = load i32, ptr %12, align 4
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %9, align 4
%76 = mul nsw i32 %74, %75
%77 = icmp slt i32 %73, %76
br i1 %77, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %78
78: ; preds = %._crit_edge, %19
store i32 0, ptr %6, align 4
br label %79
79: ; preds = %78, %18
%80 = load i32, ptr %6, align 4
ret i32 %80
}
declare i32 @rgb_to_hsv_pixel(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1emwu7ee.c'
source_filename = "/tmp/tmp1emwu7ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Unable to create job file %s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"simq\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @WriteJobFile(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [240 x i8], align 16
%10 = alloca [240 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [240 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%15 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @getcwd(ptr noundef %19, i32 noundef 240)
br label %21
21: ; preds = %4
store i32 0, ptr %12, align 4
br label %22
22: ; preds = %40, %21
%23 = load i32, ptr %12, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %28, label %43
28: ; preds = %22
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 10
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %37
store i8 0, ptr %38, align 1
br label %43
39: ; preds = %28
br label %40
40: ; preds = %39
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
br label %22, !llvm.loop !6
43: ; preds = %35, %22
br label %44
44: ; preds = %43
%45 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%46 = call ptr @fopen(ptr noundef %45, ptr noundef @.str.1)
store ptr %46, ptr %11, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %72
48: ; preds = %44
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 0
%51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.2, ptr noundef %50)
store i32 0, ptr %13, align 4
br label %52
52: ; preds = %64, %48
%53 = load i32, ptr %13, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %67
56: ; preds = %52
%57 = load ptr, ptr %11, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.3, ptr noundef %62)
br label %64
64: ; preds = %56
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
br label %52, !llvm.loop !8
67: ; preds = %52
%68 = load ptr, ptr %11, align 8
%69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.4)
%70 = load ptr, ptr %11, align 8
%71 = call i32 @fclose(ptr noundef %70)
br label %78
72: ; preds = %44
%73 = getelementptr inbounds [240 x i8], ptr %14, i64 0, i64 0
%74 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%75 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.5, ptr noundef %74)
%76 = getelementptr inbounds [240 x i8], ptr %14, i64 0, i64 0
%77 = call i32 @Message(ptr noundef @.str.6, i32 noundef 3, ptr noundef %76)
br label %78
78: ; preds = %72, %67
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @Message(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1emwu7ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Unable to create job file %s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"simq\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @WriteJobFile(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [240 x i8], align 16
%10 = alloca [240 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [240 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%15 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @getcwd(ptr noundef %19, i32 noundef 240)
br label %21
21: ; preds = %4
store i32 0, ptr %12, align 4
%22 = load i32, ptr %12, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %21
br label %27
27: ; preds = %.lr.ph, %39
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %38
34: ; preds = %27
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %36
store i8 0, ptr %37, align 1
br label %47
38: ; preds = %27
br label %39
39: ; preds = %38
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = icmp ne i8 %45, 0
br i1 %46, label %27, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %39
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %47
47: ; preds = %.loopexit, %34
br label %48
48: ; preds = %47
%49 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.1)
store ptr %50, ptr %11, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %78
52: ; preds = %48
%53 = load ptr, ptr %11, align 8
%54 = getelementptr inbounds [240 x i8], ptr %10, i64 0, i64 0
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.2, ptr noundef %54)
store i32 0, ptr %13, align 4
%56 = load i32, ptr %13, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph1, label %73
.lr.ph1: ; preds = %52
br label %59
59: ; preds = %.lr.ph1, %67
%60 = load ptr, ptr %11, align 8
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.3, ptr noundef %65)
br label %67
67: ; preds = %59
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %13, align 4
%71 = load i32, ptr %8, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %59, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %67
br label %73
73: ; preds = %._crit_edge, %52
%74 = load ptr, ptr %11, align 8
%75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.4)
%76 = load ptr, ptr %11, align 8
%77 = call i32 @fclose(ptr noundef %76)
br label %84
78: ; preds = %48
%79 = getelementptr inbounds [240 x i8], ptr %14, i64 0, i64 0
%80 = getelementptr inbounds [240 x i8], ptr %9, i64 0, i64 0
%81 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %79, ptr noundef @.str.5, ptr noundef %80)
%82 = getelementptr inbounds [240 x i8], ptr %14, i64 0, i64 0
%83 = call i32 @Message(ptr noundef @.str.6, i32 noundef 3, ptr noundef %82)
br label %84
84: ; preds = %78, %73
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @Message(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt2au45a7.c'
source_filename = "/tmp/tmpt2au45a7.c"
target datalayout = "e-m:e-p270: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/tmpt2au45a7.c"
target datalayout = "e-m:e-p270: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/tmpg18hhhvq.c'
source_filename = "/tmp/tmpg18hhhvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_suite() #0 {
%1 = call i32 (...) @test_sanity()
ret void
}
declare i32 @test_sanity(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg18hhhvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_suite() #0 {
%1 = call i32 (...) @test_sanity()
ret void
}
declare i32 @test_sanity(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_0j1jx3.c'
source_filename = "/tmp/tmpm_0j1jx3.c"
target datalayout = "e-m:e-p270: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.sayilar = private unnamed_addr constant [10 x i32] [i32 2, i32 5, i32 1, i32 2, i32 7, i32 13, i32 15, i32 9, i32 4, i32 8], align 16
@.str = private unnamed_addr constant [35 x i8] c"+-------------------------------+\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"| Ortalama hesaplama fasilitesi |\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"| Aritmetik Ortalama : %.2f |\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"| Harmonik Ortalama : %.2f |\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"| Standart Sapma : %.2f |\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"| Mod : %.2f |\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"| Medyan : %.2f |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sayilar, i64 40, i1 false)
store i32 10, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call double @arithmeticAvg(ptr noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10)
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %4, align 4
%14 = call double @harmonicAvg(ptr noundef %12, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %14)
%16 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %4, align 4
%18 = call double @standartDeviation(ptr noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18)
%20 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%21 = load i32, ptr %4, align 4
%22 = call double @findMod(ptr noundef %20, i32 noundef %21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22)
%24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = call double @findMedian(ptr noundef %24, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare double @arithmeticAvg(ptr noundef, i32 noundef) #2
declare double @harmonicAvg(ptr noundef, i32 noundef) #2
declare double @standartDeviation(ptr noundef, i32 noundef) #2
declare double @findMod(ptr noundef, i32 noundef) #2
declare double @findMedian(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_0j1jx3.c"
target datalayout = "e-m:e-p270: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.sayilar = private unnamed_addr constant [10 x i32] [i32 2, i32 5, i32 1, i32 2, i32 7, i32 13, i32 15, i32 9, i32 4, i32 8], align 16
@.str = private unnamed_addr constant [35 x i8] c"+-------------------------------+\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"| Ortalama hesaplama fasilitesi |\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"| Aritmetik Ortalama : %.2f |\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"| Harmonik Ortalama : %.2f |\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"| Standart Sapma : %.2f |\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"| Mod : %.2f |\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"| Medyan : %.2f |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sayilar, i64 40, i1 false)
store i32 10, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call double @arithmeticAvg(ptr noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10)
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %4, align 4
%14 = call double @harmonicAvg(ptr noundef %12, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %14)
%16 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %4, align 4
%18 = call double @standartDeviation(ptr noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18)
%20 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%21 = load i32, ptr %4, align 4
%22 = call double @findMod(ptr noundef %20, i32 noundef %21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22)
%24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = call double @findMedian(ptr noundef %24, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare double @arithmeticAvg(ptr noundef, i32 noundef) #2
declare double @harmonicAvg(ptr noundef, i32 noundef) #2
declare double @standartDeviation(ptr noundef, i32 noundef) #2
declare double @findMod(ptr noundef, i32 noundef) #2
declare double @findMedian(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo6kzjfhr.c'
source_filename = "/tmp/tmpo6kzjfhr.c"
target datalayout = "e-m:e-p270: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/tmpo6kzjfhr.c"
target datalayout = "e-m:e-p270: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/tmpubu56irl.c'
source_filename = "/tmp/tmpubu56irl.c"
target datalayout = "e-m:e-p270: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/tmpubu56irl.c"
target datalayout = "e-m:e-p270: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/tmp3p13j7mu.c'
source_filename = "/tmp/tmp3p13j7mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"/sys/class/hwmon/hwmon0/device/temp%i_input\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_hwmon_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %27
15: ; preds = %2
%16 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%17 = load ptr, ptr %6, align 8
%18 = call ptr @fgets(ptr noundef %16, i32 noundef 1024, ptr noundef %17)
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @atoi(ptr noundef %21)
%23 = load ptr, ptr %3, align 8
store i32 %22, ptr %23, align 4
br label %24
24: ; preds = %20, %15
%25 = load ptr, ptr %6, align 8
%26 = call i32 @fclose(ptr noundef %25)
br label %27
27: ; preds = %24, %2
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3p13j7mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"/sys/class/hwmon/hwmon0/device/temp%i_input\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_hwmon_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %27
15: ; preds = %2
%16 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%17 = load ptr, ptr %6, align 8
%18 = call ptr @fgets(ptr noundef %16, i32 noundef 1024, ptr noundef %17)
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @atoi(ptr noundef %21)
%23 = load ptr, ptr %3, align 8
store i32 %22, ptr %23, align 4
br label %24
24: ; preds = %20, %15
%25 = load ptr, ptr %6, align 8
%26 = call i32 @fclose(ptr noundef %25)
br label %27
27: ; preds = %24, %2
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprssvq89d.c'
source_filename = "/tmp/tmprssvq89d.c"
target datalayout = "e-m:e-p270: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/tmprssvq89d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_51jo3ul.c'
source_filename = "/tmp/tmp_51jo3ul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_init() #0 {
%1 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%2 = call i32 @outb(i32 noundef 1019, i32 noundef 128)
%3 = call i32 @outb(i32 noundef 1016, i32 noundef 1)
%4 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%5 = call i32 @outb(i32 noundef 1019, i32 noundef 3)
ret void
}
declare i32 @outb(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_51jo3ul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_init() #0 {
%1 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%2 = call i32 @outb(i32 noundef 1019, i32 noundef 128)
%3 = call i32 @outb(i32 noundef 1016, i32 noundef 1)
%4 = call i32 @outb(i32 noundef 1017, i32 noundef 0)
%5 = call i32 @outb(i32 noundef 1019, i32 noundef 3)
ret void
}
declare i32 @outb(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpazy4wqvv.c'
source_filename = "/tmp/tmpazy4wqvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"WOMAN\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"GIRL\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"MAN\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"BOY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 70
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 18
%11 = zext i1 %10 to i64
%12 = select i1 %10, ptr @.str.1, ptr @.str.2
%13 = call i32 @printf(ptr noundef %12)
br label %25
14: ; preds = %0
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 77
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = icmp sge i32 %19, 18
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.3, ptr @.str.4
%23 = call i32 @printf(ptr noundef %22)
br label %24
24: ; preds = %18, %14
br label %25
25: ; preds = %24, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpazy4wqvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"WOMAN\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"GIRL\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"MAN\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"BOY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 70
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 18
%11 = zext i1 %10 to i64
%12 = select i1 %10, ptr @.str.1, ptr @.str.2
%13 = call i32 @printf(ptr noundef %12)
br label %25
14: ; preds = %0
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 77
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = icmp sge i32 %19, 18
%21 = zext i1 %20 to i64
%22 = select i1 %20, ptr @.str.3, ptr @.str.4
%23 = call i32 @printf(ptr noundef %22)
br label %24
24: ; preds = %18, %14
br label %25
25: ; preds = %24, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1q2hsg18.c'
source_filename = "/tmp/tmp1q2hsg18.c"
target datalayout = "e-m:e-p270: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/tmp1q2hsg18.c"
target datalayout = "e-m:e-p270: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/tmpt29r5bri.c'
source_filename = "/tmp/tmpt29r5bri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i64_i32_f32_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds float, ptr %15, i64 %17
%19 = load float, ptr %18, align 4
%20 = fcmp une float %19, 0.000000e+00
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt29r5bri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i64_i32_f32_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds float, ptr %14, i64 %16
%18 = load float, ptr %17, align 4
%19 = fcmp une float %18, 0.000000e+00
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwfyu4eon.c'
source_filename = "/tmp/tmpwfyu4eon.c"
target datalayout = "e-m:e-p270: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/tmpwfyu4eon.c"
target datalayout = "e-m:e-p270: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/tmpbf4koe9p.c'
source_filename = "/tmp/tmpbf4koe9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genrand_real1() #0 {
%1 = call i64 (...) @genrand_int32()
%2 = sitofp i64 %1 to double
%3 = fmul double %2, 0x3DF0000000100000
ret double %3
}
declare i64 @genrand_int32(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf4koe9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genrand_real1() #0 {
%1 = call i64 (...) @genrand_int32()
%2 = sitofp i64 %1 to double
%3 = fmul double %2, 0x3DF0000000100000
ret double %3
}
declare i64 @genrand_int32(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpowoqyzeh.c'
source_filename = "/tmp/tmpowoqyzeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Hello, \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"world\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpowoqyzeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Hello, \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"world\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk_rlbu3n.c'
source_filename = "/tmp/tmpk_rlbu3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @connect_to_nnserver()
%3 = call i32 (...) @wait_for_connecting()
%4 = call i32 @write_msg(ptr noundef @.str)
%5 = call i32 (...) @close_connection()
ret i32 0
}
declare i32 @connect_to_nnserver(...) #1
declare i32 @wait_for_connecting(...) #1
declare i32 @write_msg(ptr noundef) #1
declare i32 @close_connection(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk_rlbu3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @connect_to_nnserver()
%3 = call i32 (...) @wait_for_connecting()
%4 = call i32 @write_msg(ptr noundef @.str)
%5 = call i32 (...) @close_connection()
ret i32 0
}
declare i32 @connect_to_nnserver(...) #1
declare i32 @wait_for_connecting(...) #1
declare i32 @write_msg(ptr noundef) #1
declare i32 @close_connection(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy7uo_reb.c'
source_filename = "/tmp/tmpy7uo_reb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @APP_ISR_sw() #0 {
%1 = call i32 @led_toggle(i32 noundef 2)
%2 = call i32 @led_toggle(i32 noundef 3)
ret void
}
declare i32 @led_toggle(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/tmpy7uo_reb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @APP_ISR_sw() #0 {
%1 = call i32 @led_toggle(i32 noundef 2)
%2 = call i32 @led_toggle(i32 noundef 3)
ret void
}
declare i32 @led_toggle(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/tmptvcb4hdk.c'
source_filename = "/tmp/tmptvcb4hdk.c"
target datalayout = "e-m:e-p270: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/tmptvcb4hdk.c"
target datalayout = "e-m:e-p270: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/tmps2hcs050.c'
source_filename = "/tmp/tmps2hcs050.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"X\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"XL\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"LX\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"LXX\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"LXXX\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"XC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_tens(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 49
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %64
8: ; preds = %1
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 50
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %63
14: ; preds = %8
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 51
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.2)
br label %62
20: ; preds = %14
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 52
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.3)
br label %61
26: ; preds = %20
%27 = load i8, ptr %2, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 53
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str.4)
br label %60
32: ; preds = %26
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 54
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @printf(ptr noundef @.str.5)
br label %59
38: ; preds = %32
%39 = load i8, ptr %2, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 55
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @printf(ptr noundef @.str.6)
br label %58
44: ; preds = %38
%45 = load i8, ptr %2, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 56
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.7)
br label %57
50: ; preds = %44
%51 = load i8, ptr %2, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 57
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56, %48
br label %58
58: ; preds = %57, %42
br label %59
59: ; preds = %58, %36
br label %60
60: ; preds = %59, %30
br label %61
61: ; preds = %60, %24
br label %62
62: ; preds = %61, %18
br label %63
63: ; preds = %62, %12
br label %64
64: ; preds = %63, %6
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/tmps2hcs050.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"X\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"XL\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"LX\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"LXX\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"LXXX\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"XC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_tens(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 49
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %64
8: ; preds = %1
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 50
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %63
14: ; preds = %8
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 51
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.2)
br label %62
20: ; preds = %14
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 52
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.3)
br label %61
26: ; preds = %20
%27 = load i8, ptr %2, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 53
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str.4)
br label %60
32: ; preds = %26
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 54
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @printf(ptr noundef @.str.5)
br label %59
38: ; preds = %32
%39 = load i8, ptr %2, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 55
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @printf(ptr noundef @.str.6)
br label %58
44: ; preds = %38
%45 = load i8, ptr %2, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 56
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.7)
br label %57
50: ; preds = %44
%51 = load i8, ptr %2, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 57
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56, %48
br label %58
58: ; preds = %57, %42
br label %59
59: ; preds = %58, %36
br label %60
60: ; preds = %59, %30
br label %61
61: ; preds = %60, %24
br label %62
62: ; preds = %61, %18
br label %63
63: ; preds = %62, %12
br label %64
64: ; preds = %63, %6
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/tmpz8iaqgde.c'
source_filename = "/tmp/tmpz8iaqgde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Hey don't touch !!\07\07\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @damy() #0 {
%1 = call i32 @msg(ptr noundef @.str)
ret i32 0
}
declare i32 @msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz8iaqgde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Hey don't touch !!\07\07\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @damy() #0 {
%1 = call i32 @msg(ptr noundef @.str)
ret i32 0
}
declare i32 @msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg4aghic3.c'
source_filename = "/tmp/tmpg4aghic3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixma_init() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %5, %0
%3 = call i32 (...) @pixma_reset()
%4 = call i32 @pixma_activate(i32 noundef 0)
store i32 %4, ptr %1, align 4
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp ne i32 %6, 1542
br i1 %7, label %2, label %8, !llvm.loop !6
8: ; preds = %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @pixma_reset(...) #1
declare i32 @pixma_activate(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/tmpg4aghic3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pixma_init() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %5, %0
%3 = call i32 (...) @pixma_reset()
%4 = call i32 @pixma_activate(i32 noundef 0)
store i32 %4, ptr %1, align 4
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp ne i32 %6, 1542
br i1 %7, label %2, label %8, !llvm.loop !6
8: ; preds = %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @pixma_reset(...) #1
declare i32 @pixma_activate(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/tmpwixv_kv8.c'
source_filename = "/tmp/tmpwixv_kv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (...) @faux()
ret i32 0
}
declare i32 @faux(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwixv_kv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (...) @faux()
ret i32 0
}
declare i32 @faux(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7fcn8sb8.c'
source_filename = "/tmp/tmp7fcn8sb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PHS(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%19 = load i64, ptr %15, align 8
%20 = icmp ugt i64 %19, 32
br i1 %20, label %28, label %21
21: ; preds = %8
%22 = load i32, ptr %16, align 4
%23 = icmp ult i32 %22, 1
br i1 %23, label %28, label %24
24: ; preds = %21
%25 = load i32, ptr %16, align 4
%26 = load i32, ptr @UINT32_MAX, align 4
%27 = icmp ugt i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24, %21, %8
store i32 -1, ptr %9, align 4
br label %46
29: ; preds = %24
%30 = load i32, ptr %17, align 4
%31 = call ptr @get_test_arena(i32 noundef %30)
store ptr %31, ptr %18, align 8
%32 = load ptr, ptr %18, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 -1, ptr %9, align 4
br label %46
35: ; preds = %29
%36 = load ptr, ptr %10, align 8
%37 = load i64, ptr %11, align 8
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %13, align 8
%40 = load ptr, ptr %14, align 8
%41 = load i64, ptr %15, align 8
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %16, align 4
%44 = load ptr, ptr %18, align 8
%45 = call i32 @earworm_core(ptr noundef %36, i64 noundef %37, ptr noundef %38, i64 noundef %39, ptr noundef %40, i64 noundef %41, i32 noundef %42, i32 noundef 0, i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %9, align 4
br label %46
46: ; preds = %35, %34, %28
%47 = load i32, ptr %9, align 4
ret i32 %47
}
declare ptr @get_test_arena(i32 noundef) #1
declare i32 @earworm_core(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 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/tmp7fcn8sb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PHS(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%19 = load i64, ptr %15, align 8
%20 = icmp ugt i64 %19, 32
br i1 %20, label %28, label %21
21: ; preds = %8
%22 = load i32, ptr %16, align 4
%23 = icmp ult i32 %22, 1
br i1 %23, label %28, label %24
24: ; preds = %21
%25 = load i32, ptr %16, align 4
%26 = load i32, ptr @UINT32_MAX, align 4
%27 = icmp ugt i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24, %21, %8
store i32 -1, ptr %9, align 4
br label %46
29: ; preds = %24
%30 = load i32, ptr %17, align 4
%31 = call ptr @get_test_arena(i32 noundef %30)
store ptr %31, ptr %18, align 8
%32 = load ptr, ptr %18, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 -1, ptr %9, align 4
br label %46
35: ; preds = %29
%36 = load ptr, ptr %10, align 8
%37 = load i64, ptr %11, align 8
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %13, align 8
%40 = load ptr, ptr %14, align 8
%41 = load i64, ptr %15, align 8
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %16, align 4
%44 = load ptr, ptr %18, align 8
%45 = call i32 @earworm_core(ptr noundef %36, i64 noundef %37, ptr noundef %38, i64 noundef %39, ptr noundef %40, i64 noundef %41, i32 noundef %42, i32 noundef 0, i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %9, align 4
br label %46
46: ; preds = %35, %34, %28
%47 = load i32, ptr %9, align 4
ret i32 %47
}
declare ptr @get_test_arena(i32 noundef) #1
declare i32 @earworm_core(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 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/tmpanlekygt.c'
source_filename = "/tmp/tmpanlekygt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"output error\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"input error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca [1024 x i8], align 16
%10 = alloca i32, align 4
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %67, %2
%18 = load i32, ptr @stdin, align 4
%19 = call i32 @feof(i32 noundef %18)
%20 = icmp ne i32 %19, 0
%21 = xor i1 %20, true
br i1 %21, label %22, label %68
22: ; preds = %17
%23 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%24 = load i32, ptr @stdin, align 4
%25 = call i32 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 1024, i32 noundef %24)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp sle i32 0, %26
br i1 %27, label %28, label %65
28: ; preds = %22
store i32 0, ptr %11, align 4
br label %29
29: ; preds = %52, %28
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %55
33: ; preds = %29
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %7, align 4
%42 = srem i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %39, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = xor i32 %38, %46
%48 = trunc i32 %47 to i8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %50
store i8 %48, ptr %51, align 1
br label %52
52: ; preds = %33
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
br label %29, !llvm.loop !6
55: ; preds = %29
%56 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr @stdout, align 4
%59 = call i32 @fwrite(ptr noundef %56, i32 noundef 1, i32 noundef %57, i32 noundef %58)
%60 = load i32, ptr %10, align 4
%61 = icmp ne i32 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %55
%63 = call i32 @fail(ptr noundef @.str)
br label %64
64: ; preds = %62, %55
br label %67
65: ; preds = %22
%66 = call i32 @fail(ptr noundef @.str.1)
br label %67
67: ; preds = %65, %64
br label %17, !llvm.loop !8
68: ; preds = %17
%69 = load i32, ptr %3, align 4
ret i32 %69
}
declare i32 @strlen(ptr noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpanlekygt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"output error\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"input error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca [1024 x i8], align 16
%10 = alloca i32, align 4
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @feof(i32 noundef %17)
%19 = icmp ne i32 %18, 0
%20 = xor i1 %19, true
br i1 %20, label %.lr.ph2, label %73
.lr.ph2: ; preds = %2
br label %21
21: ; preds = %.lr.ph2, %68
%22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%23 = load i32, ptr @stdin, align 4
%24 = call i32 @fread(ptr noundef %22, i32 noundef 1, i32 noundef 1024, i32 noundef %23)
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp sle i32 0, %25
br i1 %26, label %27, label %66
27: ; preds = %21
store i32 0, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %56
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %50
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %7, align 4
%40 = srem i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %37, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = xor i32 %36, %44
%46 = trunc i32 %45 to i8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %48
store i8 %46, ptr %49, align 1
br label %50
50: ; preds = %31
%51 = load i32, ptr %11, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %11, align 4
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr %10, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %27
%57 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr @stdout, align 4
%60 = call i32 @fwrite(ptr noundef %57, i32 noundef 1, i32 noundef %58, i32 noundef %59)
%61 = load i32, ptr %10, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %56
%64 = call i32 @fail(ptr noundef @.str)
br label %65
65: ; preds = %63, %56
br label %68
66: ; preds = %21
%67 = call i32 @fail(ptr noundef @.str.1)
br label %68
68: ; preds = %66, %65
%69 = load i32, ptr @stdin, align 4
%70 = call i32 @feof(i32 noundef %69)
%71 = icmp ne i32 %70, 0
%72 = xor i1 %71, true
br i1 %72, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %73
73: ; preds = %._crit_edge3, %2
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @strlen(ptr noundef) #1
declare i32 @feof(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy_h9elpg.c'
source_filename = "/tmp/tmpy_h9elpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %8, %9
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %25
25: ; preds = %12, %3
ret void
}
declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_h9elpg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %8, %9
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %25
25: ; preds = %12, %3
ret void
}
declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpba_ump9a.c'
source_filename = "/tmp/tmpba_ump9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pm_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add i32 %3, 999
%5 = udiv i32 %4, 1000
%6 = call i32 @sleep(i32 noundef %5)
ret void
}
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpba_ump9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pm_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add i32 %3, 999
%5 = udiv i32 %4, 1000
%6 = call i32 @sleep(i32 noundef %5)
ret void
}
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps4i4llee.c'
source_filename = "/tmp/tmps4i4llee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shmctl error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Shmctl(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @shmctl(i32 noundef %8, i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %3
%18 = load i32, ptr %7, align 4
ret i32 %18
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4i4llee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shmctl error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Shmctl(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @shmctl(i32 noundef %8, i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %3
%18 = load i32, ptr %7, align 4
ret i32 %18
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8jei4mh4.c'
source_filename = "/tmp/tmp8jei4mh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Error while reading SNPs informations at line %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_cnv_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %7, align 8
%11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %18, label %14
14: ; preds = %4
%15 = load i32, ptr %8, align 4
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22)
store i32 1, ptr %9, align 4
br label %24
24: ; preds = %43, %18
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %25, 9
br i1 %26, label %27, label %46
27: ; preds = %24
%28 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %35, label %31
31: ; preds = %27
%32 = load i32, ptr %8, align 4
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
%34 = call i32 @exit(i32 noundef 1) #3
unreachable
35: ; preds = %27
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %5, align 8
%42 = call i32 @strcpy(ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %35
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
br label %24, !llvm.loop !6
46: ; preds = %24
ret void
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8jei4mh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Error while reading SNPs informations at line %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_cnv_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %7, align 8
%11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %18, label %14
14: ; preds = %4
%15 = load i32, ptr %8, align 4
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22)
store i32 1, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 9
br i1 %25, label %.lr.ph, label %47
.lr.ph: ; preds = %18
br label %26
26: ; preds = %.lr.ph, %42
%27 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i32, ptr %8, align 4
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = call i32 @exit(i32 noundef 1) #3
unreachable
34: ; preds = %26
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40)
br label %42
42: ; preds = %34
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 9
br i1 %46, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %18
ret void
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
|
; ModuleID = '/tmp/tmp9l2aqv2c.c'
source_filename = "/tmp/tmp9l2aqv2c.c"
target datalayout = "e-m:e-p270: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/tmp9l2aqv2c.c"
target datalayout = "e-m:e-p270: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/tmpmkyn8cxx.c'
source_filename = "/tmp/tmpmkyn8cxx.c"
target datalayout = "e-m:e-p270: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/tmpmkyn8cxx.c"
target datalayout = "e-m:e-p270: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/tmp9dn4qo6g.c'
source_filename = "/tmp/tmp9dn4qo6g.c"
target datalayout = "e-m:e-p270: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/tmp9dn4qo6g.c"
target datalayout = "e-m:e-p270: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/tmptztkf92j.c'
source_filename = "/tmp/tmptztkf92j.c"
target datalayout = "e-m:e-p270: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/tmptztkf92j.c"
target datalayout = "e-m:e-p270: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/tmpxy3vmt0v.c'
source_filename = "/tmp/tmpxy3vmt0v.c"
target datalayout = "e-m:e-p270: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/tmpxy3vmt0v.c"
target datalayout = "e-m:e-p270: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/tmpbrvdy9q6.c'
source_filename = "/tmp/tmpbrvdy9q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 5) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrvdy9q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 5) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc80i6_qt.c'
source_filename = "/tmp/tmpc80i6_qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(i32 noundef 0, i32 noundef 7)
ret i32 0
}
declare i32 @sort(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/tmpc80i6_qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(i32 noundef 0, i32 noundef 7)
ret i32 0
}
declare i32 @sort(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/tmps20zgitu.c'
source_filename = "/tmp/tmps20zgitu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chgemm_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 = call i32 @_mm_free(ptr noundef %3)
ret void
}
declare i32 @_mm_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/tmps20zgitu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chgemm_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 = call i32 @_mm_free(ptr noundef %3)
ret void
}
declare i32 @_mm_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/tmpsbz3u8lz.c'
source_filename = "/tmp/tmpsbz3u8lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRow(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 4, %12
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %5, align 8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
%19 = load ptr, ptr %4, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 1, ptr %21, align 4
store i32 1, ptr %8, align 4
br label %22
22: ; preds = %57, %2
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %60
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 1, ptr %30, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %9, align 4
br label %31
31: ; preds = %53, %26
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %6, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %45, %46
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
%52 = load i32, ptr %6, align 4
store i32 %52, ptr %7, align 4
br label %53
53: ; preds = %35
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %31, !llvm.loop !6
56: ; preds = %31
br label %57
57: ; preds = %56
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %8, align 4
br label %22, !llvm.loop !8
60: ; preds = %22
%61 = load ptr, ptr %5, align 8
ret ptr %61
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbz3u8lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRow(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 4, %12
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %5, align 8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
%19 = load ptr, ptr %4, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 1, ptr %21, align 4
store i32 1, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph2, label %64
.lr.ph2: ; preds = %2
br label %25
25: ; preds = %.lr.ph2, %58
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 1, ptr %29, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %57
.lr.ph: ; preds = %25
br label %33
33: ; preds = %.lr.ph, %51
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %43, %44
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %45, ptr %49, align 4
%50 = load i32, ptr %6, align 4
store i32 %50, ptr %7, align 4
br label %51
51: ; preds = %33
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %25
br label %58
58: ; preds = %57
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp sle i32 %61, %62
br i1 %63, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %64
64: ; preds = %._crit_edge3, %2
%65 = load ptr, ptr %5, align 8
ret ptr %65
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgjscna9k.c'
source_filename = "/tmp/tmpgjscna9k.c"
target datalayout = "e-m:e-p270: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/tmpgjscna9k.c"
target datalayout = "e-m:e-p270: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/tmpi3k5jkj5.c'
source_filename = "/tmp/tmpi3k5jkj5.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"failed on line %d: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"simple_test()\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"test2()\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %0
%5 = call i32 (...) @simple_test()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef 137, ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %1, align 4
br label %25
12: ; preds = %4
br label %13
13: ; preds = %12
br label %14
14: ; preds = %13
%15 = call i32 (...) @test2()
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef 138, ptr noundef @.str.2)
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %1, align 4
br label %25
22: ; preds = %14
br label %23
23: ; preds = %22
%24 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %23, %18, %8
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @simple_test(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3k5jkj5.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"failed on line %d: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"simple_test()\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"test2()\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %0
%5 = call i32 (...) @simple_test()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef 137, ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %1, align 4
br label %25
12: ; preds = %4
br label %13
13: ; preds = %12
br label %14
14: ; preds = %13
%15 = call i32 (...) @test2()
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, i32 noundef 138, ptr noundef @.str.2)
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %1, align 4
br label %25
22: ; preds = %14
br label %23
23: ; preds = %22
%24 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %23, %18, %8
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @simple_test(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzra0kf9d.c'
source_filename = "/tmp/tmpzra0kf9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -10, ptr %6, align 4
br label %8
8: ; preds = %44, %2
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %9, 10
br i1 %10, label %11, label %47
11: ; preds = %8
store i32 -10, ptr %7, align 4
br label %12
12: ; preds = %39, %11
%13 = load i32, ptr %7, align 4
%14 = icmp sle i32 %13, 10
br i1 %14, label %15, label %42
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 %16, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = mul nsw i32 %19, %20
%22 = add nsw i32 %18, %21
%23 = icmp sle i32 %22, 100
br i1 %23, label %24, label %36
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = mul nsw i32 %25, %26
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = mul nsw i32 %28, %29
%31 = add nsw i32 %27, %30
%32 = sitofp i32 %31 to double
%33 = fcmp oge double %32, 9.025000e+01
br i1 %33, label %34, label %36
34: ; preds = %24
%35 = call i32 @printf(ptr noundef @.str)
br label %38
36: ; preds = %24, %15
%37 = call i32 @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %34
br label %39
39: ; preds = %38
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %12, !llvm.loop !6
42: ; preds = %12
%43 = call i32 @printf(ptr noundef @.str.2)
br label %44
44: ; preds = %42
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %8, !llvm.loop !8
47: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzra0kf9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -10, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp sle i32 %8, 10
br i1 %9, label %.lr.ph2, label %49
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %44
store i32 -10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sle i32 %11, 10
br i1 %12, label %.lr.ph, label %42
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %37
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = mul nsw i32 %17, %18
%20 = add nsw i32 %16, %19
%21 = icmp sle i32 %20, 100
br i1 %21, label %22, label %34
22: ; preds = %13
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = mul nsw i32 %23, %24
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 %26, %27
%29 = add nsw i32 %25, %28
%30 = sitofp i32 %29 to double
%31 = fcmp oge double %30, 9.025000e+01
br i1 %31, label %32, label %34
32: ; preds = %22
%33 = call i32 @printf(ptr noundef @.str)
br label %36
34: ; preds = %22, %13
%35 = call i32 @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34, %32
br label %37
37: ; preds = %36
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp sle i32 %40, 10
br i1 %41, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %10
%43 = call i32 @printf(ptr noundef @.str.2)
br label %44
44: ; preds = %42
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %47, 10
br i1 %48, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %49
49: ; preds = %._crit_edge3, %2
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp22k31zjn.c'
source_filename = "/tmp/tmp22k31zjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_DOUBLE(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
br label %6
6: ; preds = %15, %2
%7 = load i64, ptr %4, align 8
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds double, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load double, ptr %10, align 8
%13 = load double, ptr %5, align 8
%14 = fadd double %13, %12
store double %14, ptr %5, align 8
br label %15
15: ; preds = %9
%16 = load i64, ptr %4, align 8
%17 = add nsw i64 %16, -1
store i64 %17, ptr %4, align 8
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = load double, ptr %5, align 8
ret double %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp22k31zjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_DOUBLE(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp sgt i64 %6, 0
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %14
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i32 1
store ptr %10, ptr %3, align 8
%11 = load double, ptr %9, align 8
%12 = load double, ptr %5, align 8
%13 = fadd double %12, %11
store double %13, ptr %5, align 8
br label %14
14: ; preds = %8
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp sgt i64 %17, 0
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %2
%20 = load double, ptr %5, align 8
ret double %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3ikmpjh4.c'
source_filename = "/tmp/tmp3ikmpjh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"PiOS - by Simon Gustavsson 2013\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Command_About_Execute(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ikmpjh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"PiOS - by Simon Gustavsson 2013\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Command_About_Execute(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret i32 1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_9nmzol.c'
source_filename = "/tmp/tmpy_9nmzol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_multprec_homotopy() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 522, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_9nmzol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_multprec_homotopy() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 522, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpidwvmy51.c'
source_filename = "/tmp/tmpidwvmy51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHA256_DIGEST_LENGTH = dso_local global i32 0, align 4
@sha2string.string = internal global [65 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sha2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load i32, ptr @SHA256_DIGEST_LENGTH, align 4
%5 = zext i32 %4 to i64
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %21, %1
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @SHA256_DIGEST_LENGTH, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 %11, 2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr @sha2string.string, i64 %13
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i8 noundef zeroext %19)
br label %21
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sha2string.string, i64 0, i64 64), align 16
ret ptr @sha2string.string
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpidwvmy51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHA256_DIGEST_LENGTH = dso_local global i32 0, align 4
@sha2string.string = internal global [65 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sha2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load i32, ptr @SHA256_DIGEST_LENGTH, align 4
%5 = zext i32 %4 to i64
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @SHA256_DIGEST_LENGTH, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %20
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr @sha2string.string, i64 %12
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i8 noundef zeroext %18)
br label %20
20: ; preds = %9
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @SHA256_DIGEST_LENGTH, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %1
store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sha2string.string, i64 0, i64 64), align 16
ret ptr @sha2string.string
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt8sqqiqt.c'
source_filename = "/tmp/tmpt8sqqiqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"must be lvalue\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @needlval() #0 {
%1 = call i32 @error(ptr noundef @.str)
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt8sqqiqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"must be lvalue\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @needlval() #0 {
%1 = call i32 @error(ptr noundef @.str)
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnv_uwiby.c'
source_filename = "/tmp/tmpnv_uwiby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DiscreteGamma(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %11, align 4
%19 = sitofp i32 %18 to double
%20 = fmul double 2.000000e+00, %19
%21 = fdiv double 1.000000e+00, %20
store double %21, ptr %14, align 8
%22 = load double, ptr %9, align 8
%23 = load double, ptr %10, align 8
%24 = fdiv double %22, %23
%25 = load i32, ptr %11, align 4
%26 = sitofp i32 %25 to double
%27 = fmul double %24, %26
store double %27, ptr %16, align 8
%28 = load i32, ptr %12, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %90
30: ; preds = %6
store i32 0, ptr %13, align 4
br label %31
31: ; preds = %52, %30
%32 = load i32, ptr %13, align 4
%33 = load i32, ptr %11, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %55
35: ; preds = %31
%36 = load i32, ptr %13, align 4
%37 = sitofp i32 %36 to double
%38 = call double @llvm.fmuladd.f64(double %37, double 2.000000e+00, double 1.000000e+00)
%39 = load double, ptr %14, align 8
%40 = fmul double %38, %39
%41 = fptosi double %40 to i32
%42 = load double, ptr %9, align 8
%43 = fmul double 2.000000e+00, %42
%44 = call double @PointChi2(i32 noundef %41, double noundef %43)
%45 = load double, ptr %10, align 8
%46 = fmul double 2.000000e+00, %45
%47 = fdiv double %44, %46
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %13, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
store double %47, ptr %51, align 8
br label %52
52: ; preds = %35
%53 = load i32, ptr %13, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %13, align 4
br label %31, !llvm.loop !6
55: ; preds = %31
store i32 0, ptr %13, align 4
store double 0.000000e+00, ptr %15, align 8
br label %56
56: ; preds = %68, %55
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %11, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %71
60: ; preds = %56
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load double, ptr %15, align 8
%67 = fadd double %66, %65
store double %67, ptr %15, align 8
br label %68
68: ; preds = %60
%69 = load i32, ptr %13, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %13, align 4
br label %56, !llvm.loop !8
71: ; preds = %56
store i32 0, ptr %13, align 4
br label %72
72: ; preds = %86, %71
%73 = load i32, ptr %13, align 4
%74 = load i32, ptr %11, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %89
76: ; preds = %72
%77 = load double, ptr %16, align 8
%78 = load double, ptr %15, align 8
%79 = fdiv double %77, %78
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
%84 = load double, ptr %83, align 8
%85 = fmul double %84, %79
store double %85, ptr %83, align 8
br label %86
86: ; preds = %76
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %13, align 4
br label %72, !llvm.loop !9
89: ; preds = %72
br label %195
90: ; preds = %6
%91 = load double, ptr %9, align 8
%92 = fadd double %91, 1.000000e+00
%93 = call double @LnGamma(double noundef %92)
store double %93, ptr %17, align 8
store i32 0, ptr %13, align 4
br label %94
94: ; preds = %117, %90
%95 = load i32, ptr %13, align 4
%96 = load i32, ptr %11, align 4
%97 = sub nsw i32 %96, 1
%98 = icmp slt i32 %95, %97
br i1 %98, label %99, label %120
99: ; preds = %94
%100 = load i32, ptr %13, align 4
%101 = sitofp i32 %100 to double
%102 = fadd double %101, 1.000000e+00
%103 = load i32, ptr %11, align 4
%104 = sitofp i32 %103 to double
%105 = fdiv double %102, %104
%106 = fptosi double %105 to i32
%107 = load double, ptr %9, align 8
%108 = fmul double 2.000000e+00, %107
%109 = call double @PointChi2(i32 noundef %106, double noundef %108)
%110 = load double, ptr %10, align 8
%111 = fmul double 2.000000e+00, %110
%112 = fdiv double %109, %111
%113 = load ptr, ptr %7, align 8
%114 = load i32, ptr %13, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
store double %112, ptr %116, align 8
br label %117
117: ; preds = %99
%118 = load i32, ptr %13, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %13, align 4
br label %94, !llvm.loop !10
120: ; preds = %94
store i32 0, ptr %13, align 4
br label %121
121: ; preds = %142, %120
%122 = load i32, ptr %13, align 4
%123 = load i32, ptr %11, align 4
%124 = sub nsw i32 %123, 1
%125 = icmp slt i32 %122, %124
br i1 %125, label %126, label %145
126: ; preds = %121
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %13, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %127, i64 %129
%131 = load double, ptr %130, align 8
%132 = load double, ptr %10, align 8
%133 = fmul double %131, %132
%134 = load double, ptr %9, align 8
%135 = fadd double %134, 1.000000e+00
%136 = load double, ptr %17, align 8
%137 = call double @IncompleteGamma(double noundef %133, double noundef %135, double noundef %136)
%138 = load ptr, ptr %7, align 8
%139 = load i32, ptr %13, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
store double %137, ptr %141, align 8
br label %142
142: ; preds = %126
%143 = load i32, ptr %13, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %13, align 4
br label %121, !llvm.loop !11
145: ; preds = %121
%146 = load ptr, ptr %7, align 8
%147 = getelementptr inbounds double, ptr %146, i64 0
%148 = load double, ptr %147, align 8
%149 = load double, ptr %16, align 8
%150 = fmul double %148, %149
%151 = load ptr, ptr %8, align 8
%152 = getelementptr inbounds double, ptr %151, i64 0
store double %150, ptr %152, align 8
%153 = load ptr, ptr %7, align 8
%154 = load i32, ptr %11, align 4
%155 = sub nsw i32 %154, 2
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %153, i64 %156
%158 = load double, ptr %157, align 8
%159 = fsub double 1.000000e+00, %158
%160 = load double, ptr %16, align 8
%161 = fmul double %159, %160
%162 = load ptr, ptr %8, align 8
%163 = load i32, ptr %11, align 4
%164 = sub nsw i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %162, i64 %165
store double %161, ptr %166, align 8
store i32 1, ptr %13, align 4
br label %167
167: ; preds = %191, %145
%168 = load i32, ptr %13, align 4
%169 = load i32, ptr %11, align 4
%170 = sub nsw i32 %169, 1
%171 = icmp slt i32 %168, %170
br i1 %171, label %172, label %194
172: ; preds = %167
%173 = load ptr, ptr %7, align 8
%174 = load i32, ptr %13, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
%177 = load double, ptr %176, align 8
%178 = load ptr, ptr %7, align 8
%179 = load i32, ptr %13, align 4
%180 = sub nsw i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %178, i64 %181
%183 = load double, ptr %182, align 8
%184 = fsub double %177, %183
%185 = load double, ptr %16, align 8
%186 = fmul double %184, %185
%187 = load ptr, ptr %8, align 8
%188 = load i32, ptr %13, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %187, i64 %189
store double %186, ptr %190, align 8
br label %191
191: ; preds = %172
%192 = load i32, ptr %13, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %13, align 4
br label %167, !llvm.loop !12
194: ; preds = %167
br label %195
195: ; preds = %194, %89
store i32 0, ptr %13, align 4
br label %196
196: ; preds = %208, %195
%197 = load i32, ptr %13, align 4
%198 = load i32, ptr %11, align 4
%199 = icmp slt i32 %197, %198
br i1 %199, label %200, label %211
200: ; preds = %196
%201 = load i32, ptr %11, align 4
%202 = sitofp i32 %201 to double
%203 = fdiv double 1.000000e+00, %202
%204 = load ptr, ptr %7, align 8
%205 = load i32, ptr %13, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %204, i64 %206
store double %203, ptr %207, align 8
br label %208
208: ; preds = %200
%209 = load i32, ptr %13, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %13, align 4
br label %196, !llvm.loop !13
211: ; preds = %196
ret i32 0
}
declare double @PointChi2(i32 noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @LnGamma(double noundef) #1
declare double @IncompleteGamma(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnv_uwiby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DiscreteGamma(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %11, align 4
%19 = sitofp i32 %18 to double
%20 = fmul double 2.000000e+00, %19
%21 = fdiv double 1.000000e+00, %20
store double %21, ptr %14, align 8
%22 = load double, ptr %9, align 8
%23 = load double, ptr %10, align 8
%24 = fdiv double %22, %23
%25 = load i32, ptr %11, align 4
%26 = sitofp i32 %25 to double
%27 = fmul double %24, %26
store double %27, ptr %16, align 8
%28 = load i32, ptr %12, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %96
30: ; preds = %6
store i32 0, ptr %13, align 4
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph8, label %57
.lr.ph8: ; preds = %30
br label %34
34: ; preds = %.lr.ph8, %51
%35 = load i32, ptr %13, align 4
%36 = sitofp i32 %35 to double
%37 = call double @llvm.fmuladd.f64(double %36, double 2.000000e+00, double 1.000000e+00)
%38 = load double, ptr %14, align 8
%39 = fmul double %37, %38
%40 = fptosi double %39 to i32
%41 = load double, ptr %9, align 8
%42 = fmul double 2.000000e+00, %41
%43 = call double @PointChi2(i32 noundef %40, double noundef %42)
%44 = load double, ptr %10, align 8
%45 = fmul double 2.000000e+00, %44
%46 = fdiv double %43, %45
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %13, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
store double %46, ptr %50, align 8
br label %51
51: ; preds = %34
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %13, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %11, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %34, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %51
br label %57
57: ; preds = %._crit_edge9, %30
store i32 0, ptr %13, align 4
store double 0.000000e+00, ptr %15, align 8
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph11, label %75
.lr.ph11: ; preds = %57
br label %61
61: ; preds = %.lr.ph11, %69
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %13, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
%66 = load double, ptr %65, align 8
%67 = load double, ptr %15, align 8
%68 = fadd double %67, %66
store double %68, ptr %15, align 8
br label %69
69: ; preds = %61
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %11, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %61, label %._crit_edge12, !llvm.loop !8
._crit_edge12: ; preds = %69
br label %75
75: ; preds = %._crit_edge12, %57
store i32 0, ptr %13, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph14, label %95
.lr.ph14: ; preds = %75
br label %79
79: ; preds = %.lr.ph14, %89
%80 = load double, ptr %16, align 8
%81 = load double, ptr %15, align 8
%82 = fdiv double %80, %81
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
%87 = load double, ptr %86, align 8
%88 = fmul double %87, %82
store double %88, ptr %86, align 8
br label %89
89: ; preds = %79
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %13, align 4
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %11, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %79, label %._crit_edge15, !llvm.loop !9
._crit_edge15: ; preds = %89
br label %95
95: ; preds = %._crit_edge15, %75
br label %210
96: ; preds = %6
%97 = load double, ptr %9, align 8
%98 = fadd double %97, 1.000000e+00
%99 = call double @LnGamma(double noundef %98)
store double %99, ptr %17, align 8
store i32 0, ptr %13, align 4
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %11, align 4
%102 = sub nsw i32 %101, 1
%103 = icmp slt i32 %100, %102
br i1 %103, label %.lr.ph, label %129
.lr.ph: ; preds = %96
br label %104
104: ; preds = %.lr.ph, %122
%105 = load i32, ptr %13, align 4
%106 = sitofp i32 %105 to double
%107 = fadd double %106, 1.000000e+00
%108 = load i32, ptr %11, align 4
%109 = sitofp i32 %108 to double
%110 = fdiv double %107, %109
%111 = fptosi double %110 to i32
%112 = load double, ptr %9, align 8
%113 = fmul double 2.000000e+00, %112
%114 = call double @PointChi2(i32 noundef %111, double noundef %113)
%115 = load double, ptr %10, align 8
%116 = fmul double 2.000000e+00, %115
%117 = fdiv double %114, %116
%118 = load ptr, ptr %7, align 8
%119 = load i32, ptr %13, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %118, i64 %120
store double %117, ptr %121, align 8
br label %122
122: ; preds = %104
%123 = load i32, ptr %13, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %13, align 4
%125 = load i32, ptr %13, align 4
%126 = load i32, ptr %11, align 4
%127 = sub nsw i32 %126, 1
%128 = icmp slt i32 %125, %127
br i1 %128, label %104, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %122
br label %129
129: ; preds = %._crit_edge, %96
store i32 0, ptr %13, align 4
%130 = load i32, ptr %13, align 4
%131 = load i32, ptr %11, align 4
%132 = sub nsw i32 %131, 1
%133 = icmp slt i32 %130, %132
br i1 %133, label %.lr.ph2, label %157
.lr.ph2: ; preds = %129
br label %134
134: ; preds = %.lr.ph2, %150
%135 = load ptr, ptr %7, align 8
%136 = load i32, ptr %13, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %135, i64 %137
%139 = load double, ptr %138, align 8
%140 = load double, ptr %10, align 8
%141 = fmul double %139, %140
%142 = load double, ptr %9, align 8
%143 = fadd double %142, 1.000000e+00
%144 = load double, ptr %17, align 8
%145 = call double @IncompleteGamma(double noundef %141, double noundef %143, double noundef %144)
%146 = load ptr, ptr %7, align 8
%147 = load i32, ptr %13, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
store double %145, ptr %149, align 8
br label %150
150: ; preds = %134
%151 = load i32, ptr %13, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %13, align 4
%153 = load i32, ptr %13, align 4
%154 = load i32, ptr %11, align 4
%155 = sub nsw i32 %154, 1
%156 = icmp slt i32 %153, %155
br i1 %156, label %134, label %._crit_edge3, !llvm.loop !11
._crit_edge3: ; preds = %150
br label %157
157: ; preds = %._crit_edge3, %129
%158 = load ptr, ptr %7, align 8
%159 = getelementptr inbounds double, ptr %158, i64 0
%160 = load double, ptr %159, align 8
%161 = load double, ptr %16, align 8
%162 = fmul double %160, %161
%163 = load ptr, ptr %8, align 8
%164 = getelementptr inbounds double, ptr %163, i64 0
store double %162, ptr %164, align 8
%165 = load ptr, ptr %7, align 8
%166 = load i32, ptr %11, align 4
%167 = sub nsw i32 %166, 2
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %165, i64 %168
%170 = load double, ptr %169, align 8
%171 = fsub double 1.000000e+00, %170
%172 = load double, ptr %16, align 8
%173 = fmul double %171, %172
%174 = load ptr, ptr %8, align 8
%175 = load i32, ptr %11, align 4
%176 = sub nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds double, ptr %174, i64 %177
store double %173, ptr %178, align 8
store i32 1, ptr %13, align 4
%179 = load i32, ptr %13, align 4
%180 = load i32, ptr %11, align 4
%181 = sub nsw i32 %180, 1
%182 = icmp slt i32 %179, %181
br i1 %182, label %.lr.ph5, label %209
.lr.ph5: ; preds = %157
br label %183
183: ; preds = %.lr.ph5, %202
%184 = load ptr, ptr %7, align 8
%185 = load i32, ptr %13, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %184, i64 %186
%188 = load double, ptr %187, align 8
%189 = load ptr, ptr %7, align 8
%190 = load i32, ptr %13, align 4
%191 = sub nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %189, i64 %192
%194 = load double, ptr %193, align 8
%195 = fsub double %188, %194
%196 = load double, ptr %16, align 8
%197 = fmul double %195, %196
%198 = load ptr, ptr %8, align 8
%199 = load i32, ptr %13, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, ptr %198, i64 %200
store double %197, ptr %201, align 8
br label %202
202: ; preds = %183
%203 = load i32, ptr %13, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %13, align 4
%205 = load i32, ptr %13, align 4
%206 = load i32, ptr %11, align 4
%207 = sub nsw i32 %206, 1
%208 = icmp slt i32 %205, %207
br i1 %208, label %183, label %._crit_edge6, !llvm.loop !12
._crit_edge6: ; preds = %202
br label %209
209: ; preds = %._crit_edge6, %157
br label %210
210: ; preds = %209, %95
store i32 0, ptr %13, align 4
%211 = load i32, ptr %13, align 4
%212 = load i32, ptr %11, align 4
%213 = icmp slt i32 %211, %212
br i1 %213, label %.lr.ph17, label %228
.lr.ph17: ; preds = %210
br label %214
214: ; preds = %.lr.ph17, %222
%215 = load i32, ptr %11, align 4
%216 = sitofp i32 %215 to double
%217 = fdiv double 1.000000e+00, %216
%218 = load ptr, ptr %7, align 8
%219 = load i32, ptr %13, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds double, ptr %218, i64 %220
store double %217, ptr %221, align 8
br label %222
222: ; preds = %214
%223 = load i32, ptr %13, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %13, align 4
%225 = load i32, ptr %13, align 4
%226 = load i32, ptr %11, align 4
%227 = icmp slt i32 %225, %226
br i1 %227, label %214, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %222
br label %228
228: ; preds = %._crit_edge18, %210
ret i32 0
}
declare double @PointChi2(i32 noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @LnGamma(double noundef) #1
declare double @IncompleteGamma(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp6_lmju73.c'
source_filename = "/tmp/tmp6_lmju73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeIntStack(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %2, align 8
%7 = call i64 @PopIntStack(ptr noundef %6, ptr noundef %3)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %4, align 4
br label %5, !llvm.loop !6
12: ; preds = %5
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load i32, ptr %4, align 4
ret i32 %15
}
declare i64 @PopIntStack(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_lmju73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeIntStack(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i64 @PopIntStack(ptr noundef %5, ptr noundef %3)
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i64 @PopIntStack(ptr noundef %11, ptr noundef %3)
%13 = icmp ne i64 %12, 0
br i1 %13, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %14
14: ; preds = %._crit_edge, %1
%15 = load ptr, ptr %2, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i64 @PopIntStack(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0gzd4bv7.c'
source_filename = "/tmp/tmp0gzd4bv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stackExample(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [5 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0gzd4bv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stackExample(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [5 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwasw90b1.c'
source_filename = "/tmp/tmpwasw90b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strisspace(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %1
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %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 = %5
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @isspace(i8 noundef signext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %13
store i32 0, ptr %2, align 4
br label %27
22: ; preds = %13
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
store i32 1, ptr %2, align 4
br label %27
27: ; preds = %26, %21
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwasw90b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strisspace(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %22
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @isspace(i8 noundef signext %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %12
store i32 0, ptr %2, align 4
br label %33
21: ; preds = %12
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %32
32: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %33
33: ; preds = %32, %20
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare i32 @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"}
|
; ModuleID = '/tmp/tmpqjtrfmp2.c'
source_filename = "/tmp/tmpqjtrfmp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writen(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
store i32 %10, ptr %8, align 4
br label %11
11: ; preds = %23, %3
%12 = load i32, ptr %8, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %31
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %8, align 4
%18 = call i32 @write(i32 noundef %15, ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %4, align 4
br label %35
23: ; preds = %14
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %8, align 4
%26 = sub nsw i32 %25, %24
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = load ptr, ptr %6, align 8
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store ptr %30, ptr %6, align 8
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %31, %21
%36 = load i32, ptr %4, align 4
ret i32 %36
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjtrfmp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writen(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp sle i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %13
%21 = load i32, ptr %9, align 4
store i32 %21, ptr %4, align 4
br label %36
22: ; preds = %13
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %24, %23
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %9, align 4
%27 = load ptr, ptr %6, align 8
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds i8, ptr %27, i64 %28
store ptr %29, ptr %6, align 8
%30 = load i32, ptr %8, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %32
32: ; preds = %._crit_edge, %3
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %32, %20
%37 = load i32, ptr %4, align 4
ret i32 %37
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9v55asyr.c'
source_filename = "/tmp/tmp9v55asyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"\1B[38;5;033m\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%lu%s bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%.1f%s kilobytes\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"%.1f%s megabytes\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"%.1f%s gigabytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_total_size(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i64, ptr %2, align 8
%6 = icmp ult i64 %5, 1024
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr @stdout, align 4
%9 = load i64, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1, i64 noundef %9, ptr noundef @.str.2)
br label %41
11: ; preds = %1
%12 = load i64, ptr %2, align 8
%13 = icmp ult i64 %12, 1048576
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr @stdout, align 4
%16 = load i64, ptr %2, align 8
%17 = uitofp i64 %16 to double
%18 = fdiv double %17, 1.024000e+03
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.3, double noundef %18, ptr noundef @.str.2)
br label %40
20: ; preds = %11
%21 = load i64, ptr %2, align 8
%22 = icmp ult i64 %21, 1073741824
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load i32, ptr @stdout, align 4
%25 = load i64, ptr %2, align 8
%26 = uitofp i64 %25 to double
%27 = fdiv double %26, 0x4130000000000000
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.4, double noundef %27, ptr noundef @.str.2)
br label %39
29: ; preds = %20
%30 = load i64, ptr %2, align 8
%31 = icmp ult i64 %30, 1099511627776
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr @stdout, align 4
%34 = load i64, ptr %2, align 8
%35 = uitofp i64 %34 to double
%36 = fdiv double %35, 0x41D0000000000000
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.5, double noundef %36, ptr noundef @.str.2)
br label %38
38: ; preds = %32, %29
br label %39
39: ; preds = %38, %23
br label %40
40: ; preds = %39, %14
br label %41
41: ; preds = %40, %7
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9v55asyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"\1B[38;5;033m\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%lu%s bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%.1f%s kilobytes\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"%.1f%s megabytes\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"%.1f%s gigabytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_total_size(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i64, ptr %2, align 8
%6 = icmp ult i64 %5, 1024
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr @stdout, align 4
%9 = load i64, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1, i64 noundef %9, ptr noundef @.str.2)
br label %41
11: ; preds = %1
%12 = load i64, ptr %2, align 8
%13 = icmp ult i64 %12, 1048576
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr @stdout, align 4
%16 = load i64, ptr %2, align 8
%17 = uitofp i64 %16 to double
%18 = fdiv double %17, 1.024000e+03
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.3, double noundef %18, ptr noundef @.str.2)
br label %40
20: ; preds = %11
%21 = load i64, ptr %2, align 8
%22 = icmp ult i64 %21, 1073741824
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load i32, ptr @stdout, align 4
%25 = load i64, ptr %2, align 8
%26 = uitofp i64 %25 to double
%27 = fdiv double %26, 0x4130000000000000
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.4, double noundef %27, ptr noundef @.str.2)
br label %39
29: ; preds = %20
%30 = load i64, ptr %2, align 8
%31 = icmp ult i64 %30, 1099511627776
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr @stdout, align 4
%34 = load i64, ptr %2, align 8
%35 = uitofp i64 %34 to double
%36 = fdiv double %35, 0x41D0000000000000
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.5, double noundef %36, ptr noundef @.str.2)
br label %38
38: ; preds = %32, %29
br label %39
39: ; preds = %38, %23
br label %40
40: ; preds = %39, %14
br label %41
41: ; preds = %40, %7
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3d9zo1k9.c'
source_filename = "/tmp/tmp3d9zo1k9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_strsep(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %38, %3
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %41
17: ; preds = %9
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 %22, ptr %26, align 1
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %6, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %37
36: ; preds = %17
br label %41
37: ; preds = %17
br label %38
38: ; preds = %37
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %9, !llvm.loop !6
41: ; preds = %36, %9
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %4, align 8
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = call i64 @strlen(ptr noundef %55)
%57 = add nsw i64 %56, 1
%58 = call i32 @memmove(ptr noundef %46, ptr noundef %51, i64 noundef %57)
%59 = load ptr, ptr %4, align 8
%60 = call i32 @front_chomp(ptr noundef %59)
ret i32 0
}
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @front_chomp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3d9zo1k9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_strsep(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %7, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %37
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %31, %33
br i1 %34, label %35, label %36
35: ; preds = %16
br label %47
36: ; preds = %16
br label %37
37: ; preds = %36
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %37
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %47
47: ; preds = %.loopexit, %35
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
store i8 0, ptr %51, align 1
%52 = load ptr, ptr %4, align 8
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = getelementptr inbounds i8, ptr %56, i64 1
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = call i64 @strlen(ptr noundef %61)
%63 = add nsw i64 %62, 1
%64 = call i32 @memmove(ptr noundef %52, ptr noundef %57, i64 noundef %63)
%65 = load ptr, ptr %4, align 8
%66 = call i32 @front_chomp(ptr noundef %65)
ret i32 0
}
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @front_chomp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn5yjpqpx.c'
source_filename = "/tmp/tmpn5yjpqpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ult ptr %11, %12
br i1 %13, label %14, label %38
14: ; preds = %3
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = icmp ult ptr %15, %18
br i1 %19, label %20, label %38
20: ; preds = %14
%21 = load i64, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %8, align 8
%24 = load i64, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 %24
store ptr %26, ptr %7, align 8
br label %27
27: ; preds = %31, %20
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %6, align 8
%30 = icmp ne i64 %28, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 -1
store ptr %33, ptr %8, align 8
%34 = load i8, ptr %33, align 1
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %7, align 8
store i8 %34, ptr %36, align 1
br label %27, !llvm.loop !6
37: ; preds = %27
br label %50
38: ; preds = %14, %3
br label %39
39: ; preds = %43, %38
%40 = load i64, ptr %6, align 8
%41 = add i64 %40, -1
store i64 %41, ptr %6, align 8
%42 = icmp ne i64 %40, 0
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %8, align 8
%46 = load i8, ptr %44, align 1
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %7, align 8
store i8 %46, ptr %47, align 1
br label %39, !llvm.loop !8
49: ; preds = %39
br label %50
50: ; preds = %49, %37
%51 = load ptr, ptr %4, align 8
ret ptr %51
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn5yjpqpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ult ptr %11, %12
br i1 %13, label %14, label %40
14: ; preds = %3
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = icmp ult ptr %15, %18
br i1 %19, label %20, label %40
20: ; preds = %14
%21 = load i64, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %8, align 8
%24 = load i64, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 %24
store ptr %26, ptr %7, align 8
%27 = load i64, ptr %6, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %6, align 8
%29 = icmp ne i64 %27, 0
br i1 %29, label %.lr.ph2, label %39
.lr.ph2: ; preds = %20
br label %30
30: ; preds = %.lr.ph2, %30
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 -1
store ptr %32, ptr %8, align 8
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 -1
store ptr %35, ptr %7, align 8
store i8 %33, ptr %35, align 1
%36 = load i64, ptr %6, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %6, align 8
%38 = icmp ne i64 %36, 0
br i1 %38, label %30, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %30
br label %39
39: ; preds = %._crit_edge3, %20
br label %54
40: ; preds = %14, %3
%41 = load i64, ptr %6, align 8
%42 = add i64 %41, -1
store i64 %42, ptr %6, align 8
%43 = icmp ne i64 %41, 0
br i1 %43, label %.lr.ph, label %53
.lr.ph: ; preds = %40
br label %44
44: ; preds = %.lr.ph, %44
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %8, align 8
%47 = load i8, ptr %45, align 1
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %7, align 8
store i8 %47, ptr %48, align 1
%50 = load i64, ptr %6, align 8
%51 = add i64 %50, -1
store i64 %51, ptr %6, align 8
%52 = icmp ne i64 %50, 0
br i1 %52, label %44, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %44
br label %53
53: ; preds = %._crit_edge, %40
br label %54
54: ; preds = %53, %39
%55 = load ptr, ptr %4, align 8
ret ptr %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppq0wowks.c'
source_filename = "/tmp/tmppq0wowks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SCHED_FIFO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppq0wowks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SCHED_FIFO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.