llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp89mp314t.c'
source_filename = "/tmp/tmp89mp314t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf32_islower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isascii(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @islower(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isascii(i32 noundef) #1
declare i64 @islower(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/tmp89mp314t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf32_islower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isascii(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @islower(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isascii(i32 noundef) #1
declare i64 @islower(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/tmpi4dogwaz.c'
source_filename = "/tmp/tmpi4dogwaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitmap_first_free(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load i64, ptr %5, align 8
%12 = lshr i64 %11, 2
%13 = getelementptr inbounds i32, ptr %10, i64 %12
store ptr %13, ptr %6, align 8
br label %14
14: ; preds = %45, %2
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp ult ptr %15, %16
br i1 %17, label %18, label %48
18: ; preds = %14
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %19, align 4
%21 = icmp ne i32 %20, -1
br i1 %21, label %22, label %45
22: ; preds = %18
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %30, %22
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %7, align 4
%27 = shl i32 1, %26
%28 = and i32 %25, %27
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %23, !llvm.loop !6
33: ; preds = %23
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %4, align 8
%36 = ptrtoint ptr %34 to i64
%37 = ptrtoint ptr %35 to i64
%38 = sub i64 %36, %37
%39 = sdiv exact i64 %38, 4
%40 = shl i64 %39, 5
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = add nsw i64 %40, %42
%44 = trunc i64 %43 to i32
store i32 %44, ptr %3, align 4
br label %49
45: ; preds = %18
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds i32, ptr %46, i32 1
store ptr %47, ptr %8, align 8
br label %14, !llvm.loop !8
48: ; preds = %14
store i32 -1, ptr %3, align 4
br label %49
49: ; preds = %48, %33
%50 = load i32, ptr %3, align 4
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpi4dogwaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitmap_first_free(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load i64, ptr %5, align 8
%12 = lshr i64 %11, 2
%13 = getelementptr inbounds i32, ptr %10, i64 %12
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ult ptr %14, %15
br i1 %16, label %.lr.ph, label %55
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %49
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %49
21: ; preds = %17
store i32 0, ptr %7, align 4
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %7, align 4
%25 = shl i32 1, %24
%26 = and i32 %23, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %.lr.ph2, label %37
.lr.ph2: ; preds = %21
br label %28
28: ; preds = %.lr.ph2, %28
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %7, align 4
%34 = shl i32 1, %33
%35 = and i32 %32, %34
%36 = icmp ne i32 %35, 0
br i1 %36, label %28, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %28
br label %37
37: ; preds = %._crit_edge3, %21
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %4, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = sdiv exact i64 %42, 4
%44 = shl i64 %43, 5
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = add nsw i64 %44, %46
%48 = trunc i64 %47 to i32
store i32 %48, ptr %3, align 4
br label %56
49: ; preds = %17
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds i32, ptr %50, i32 1
store ptr %51, ptr %8, align 8
%52 = load ptr, ptr %8, align 8
%53 = load ptr, ptr %6, align 8
%54 = icmp ult ptr %52, %53
br i1 %54, label %17, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %56
56: ; preds = %55, %37
%57 = load i32, ptr %3, align 4
ret i32 %57
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp49472vmb.c'
source_filename = "/tmp/tmp49472vmb.c"
target datalayout = "e-m:e-p270: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/tmp49472vmb.c"
target datalayout = "e-m:e-p270: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/tmpcnc7ufmr.c'
source_filename = "/tmp/tmpcnc7ufmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @restriction(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %11
11: ; preds = %93, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %96
16: ; preds = %11
%17 = load i32, ptr %7, align 4
%18 = shl i32 %17, 1
store i32 %18, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %19
19: ; preds = %89, %16
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %92
24: ; preds = %19
%25 = load i32, ptr %9, align 4
%26 = shl i32 %25, 1
store i32 %26, ptr %10, align 4
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %8, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %36, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = load double, ptr %44, align 8
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %46, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
%55 = load double, ptr %54, align 8
%56 = fadd double %45, %55
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %10, align 4
%63 = sub nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %61, i64 %64
%66 = load double, ptr %65, align 8
%67 = fadd double %56, %66
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %72, i64 %75
%77 = load double, ptr %76, align 8
%78 = fadd double %67, %77
%79 = fmul double %78, 1.250000e-01
%80 = call double @llvm.fmuladd.f64(double %35, double 5.000000e-01, double %79)
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double %80, ptr %88, align 8
br label %89
89: ; preds = %24
%90 = load i32, ptr %9, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %9, align 4
br label %19, !llvm.loop !6
92: ; preds = %19
br label %93
93: ; preds = %92
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %7, align 4
br label %11, !llvm.loop !8
96: ; preds = %11
%97 = call i32 (...) @dissBarrier()
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @dissBarrier(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcnc7ufmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @restriction(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph2, label %102
.lr.ph2: ; preds = %3
br label %15
15: ; preds = %.lr.ph2, %95
%16 = load i32, ptr %7, align 4
%17 = shl i32 %16, 1
store i32 %17, ptr %8, align 4
store i32 1, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
%21 = icmp slt i32 %18, %20
br i1 %21, label %.lr.ph, label %94
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %87
%23 = load i32, ptr %9, align 4
%24 = shl i32 %23, 1
store i32 %24, ptr %10, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %34, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %44, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = fadd double %43, %53
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %59, i64 %62
%64 = load double, ptr %63, align 8
%65 = fadd double %54, %64
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %70, i64 %73
%75 = load double, ptr %74, align 8
%76 = fadd double %65, %75
%77 = fmul double %76, 1.250000e-01
%78 = call double @llvm.fmuladd.f64(double %33, double 5.000000e-01, double %77)
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
store double %78, ptr %86, align 8
br label %87
87: ; preds = %22
%88 = load i32, ptr %9, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %9, align 4
%90 = load i32, ptr %9, align 4
%91 = load i32, ptr %6, align 4
%92 = add nsw i32 %91, 1
%93 = icmp slt i32 %90, %92
br i1 %93, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %94
94: ; preds = %._crit_edge, %15
br label %95
95: ; preds = %94
%96 = load i32, ptr %7, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %7, align 4
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %6, align 4
%100 = add nsw i32 %99, 1
%101 = icmp slt i32 %98, %100
br i1 %101, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %102
102: ; preds = %._crit_edge3, %3
%103 = call i32 (...) @dissBarrier()
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @dissBarrier(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprxpl8_95.c'
source_filename = "/tmp/tmprxpl8_95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @al_sapc(ptr noundef %0, i8 noundef signext %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp uge i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 1, ptr %4, align 4
br label %24
15: ; preds = %3
%16 = load i8, ptr %6, align 1
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %8, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 %16, ptr %19, align 1
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = add i64 %21, 1
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 0, ptr %23, align 1
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %15, %14
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxpl8_95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @al_sapc(ptr noundef %0, i8 noundef signext %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp uge i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 1, ptr %4, align 4
br label %24
15: ; preds = %3
%16 = load i8, ptr %6, align 1
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %8, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 %16, ptr %19, align 1
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = add i64 %21, 1
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 0, ptr %23, align 1
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %15, %14
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7e3jo75h.c'
source_filename = "/tmp/tmp7e3jo75h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectBackup/helper.c\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Storage cannot be allocated\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = add nsw i32 %16, 1
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %12, align 8
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = mul i64 %30, 4
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %13, align 8
%34 = load ptr, ptr %12, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %4
%37 = call i32 @errhandler(i32 noundef 582, ptr noundef @.str, ptr noundef @.str.1)
br label %38
38: ; preds = %36, %4
%39 = load ptr, ptr %13, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @errhandler(i32 noundef 583, ptr noundef @.str, ptr noundef @.str.1)
br label %43
43: ; preds = %41, %38
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = sub i64 0, %46
%48 = getelementptr inbounds i32, ptr %44, i64 %47
%49 = load ptr, ptr %12, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
store ptr %48, ptr %50, align 8
store i32 1, ptr %9, align 4
br label %51
51: ; preds = %69, %43
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %10, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %72
55: ; preds = %51
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %56, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load ptr, ptr %12, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
store ptr %64, ptr %68, align 8
br label %69
69: ; preds = %55
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
br label %51, !llvm.loop !6
72: ; preds = %51
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = sub i64 0, %75
%77 = getelementptr inbounds ptr, ptr %73, i64 %76
ret ptr %77
}
declare i64 @malloc(i64 noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7e3jo75h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectBackup/helper.c\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Storage cannot be allocated\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = add nsw i32 %16, 1
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %12, align 8
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = mul i64 %30, 4
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %13, align 8
%34 = load ptr, ptr %12, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %4
%37 = call i32 @errhandler(i32 noundef 582, ptr noundef @.str, ptr noundef @.str.1)
br label %38
38: ; preds = %36, %4
%39 = load ptr, ptr %13, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @errhandler(i32 noundef 583, ptr noundef @.str, ptr noundef @.str.1)
br label %43
43: ; preds = %41, %38
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = sub i64 0, %46
%48 = getelementptr inbounds i32, ptr %44, i64 %47
%49 = load ptr, ptr %12, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
store ptr %48, ptr %50, align 8
store i32 1, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph, label %74
.lr.ph: ; preds = %43
br label %54
54: ; preds = %.lr.ph, %68
%55 = load ptr, ptr %12, align 8
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %55, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
store ptr %63, ptr %67, align 8
br label %68
68: ; preds = %54
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %43
%75 = load ptr, ptr %12, align 8
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = sub i64 0, %77
%79 = getelementptr inbounds ptr, ptr %75, i64 %78
ret ptr %79
}
declare i64 @malloc(i64 noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm91ptx00.c'
source_filename = "/tmp/tmpm91ptx00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_completion_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 %6, label %5
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @gui_completion_free_data(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @free(ptr noundef %9)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @gui_completion_free_data(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/tmpm91ptx00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_completion_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 %6, label %5
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @gui_completion_free_data(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @free(ptr noundef %9)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @gui_completion_free_data(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/tmpt8bvhgiz.c'
source_filename = "/tmp/tmpt8bvhgiz.c"
target datalayout = "e-m:e-p270: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/tmpt8bvhgiz.c"
target datalayout = "e-m:e-p270: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/tmpqxwcdkge.c'
source_filename = "/tmp/tmpqxwcdkge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 @__wa_wrap_free(ptr noundef %3)
ret void
}
declare i32 @__wa_wrap_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/tmpqxwcdkge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 @__wa_wrap_free(ptr noundef %3)
ret void
}
declare i32 @__wa_wrap_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/tmpchjc96l7.c'
source_filename = "/tmp/tmpchjc96l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnstr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %4, align 8
br label %50
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %10, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %21
21: ; preds = %46, %17
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %49
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %29, %33
br i1 %34, label %35, label %43
35: ; preds = %25
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %10, align 4
%39 = call i32 @strncmp(ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %35
%42 = load ptr, ptr %5, align 8
store ptr %42, ptr %4, align 8
br label %50
43: ; preds = %35, %25
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %5, align 8
br label %46
46: ; preds = %43
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
br label %21, !llvm.loop !6
49: ; preds = %21
store ptr null, ptr %4, align 8
br label %50
50: ; preds = %49, %41, %15
%51 = load ptr, ptr %4, align 8
ret ptr %51
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchjc96l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnstr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %4, align 8
br label %52
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %10, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %9, align 4
store i32 0, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %51
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %45
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %28, %32
br i1 %33, label %34, label %42
34: ; preds = %24
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %10, align 4
%38 = call i32 @strncmp(ptr noundef %35, ptr noundef %36, i32 noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %34
%41 = load ptr, ptr %5, align 8
store ptr %41, ptr %4, align 8
br label %52
42: ; preds = %34, %24
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
br label %45
45: ; preds = %42
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %17
store ptr null, ptr %4, align 8
br label %52
52: ; preds = %51, %40, %15
%53 = load ptr, ptr %4, align 8
ret ptr %53
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppzy80ge8.c'
source_filename = "/tmp/tmppzy80ge8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x double], align 16
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %26, %0
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 0
%13 = load i32, ptr %6, align 4
%14 = load double, ptr %4, align 8
%15 = call i64 @is_unique(ptr noundef %12, i32 noundef %13, double noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %11
%18 = load double, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 %20
store double %18, ptr %21, align 8
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %17, %11
br label %7, !llvm.loop !6
27: ; preds = %7
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %32, %27
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 %34
%36 = load double, ptr %35, align 8
%37 = load i32, ptr %5, align 4
%38 = call i64 @fmod(double noundef %36, i32 noundef %37)
%39 = sitofp i64 %38 to double
%40 = load double, ptr %3, align 8
%41 = fadd double %40, %39
store double %41, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %28, !llvm.loop !8
44: ; preds = %28
%45 = load i32, ptr %5, align 4
%46 = sitofp i32 %45 to double
%47 = call i32 @printf(ptr noundef @.str.1, double noundef %46)
%48 = load double, ptr %3, align 8
%49 = call i32 @printf(ptr noundef @.str.2, double noundef %48)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_unique(ptr noundef, i32 noundef, double noundef) #1
declare i64 @fmod(double noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzy80ge8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x double], align 16
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %25
%11 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = load double, ptr %4, align 8
%14 = call i64 @is_unique(ptr noundef %11, i32 noundef %12, double noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %10
%17 = load double, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 %19
store double %17, ptr %20, align 8
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %16, %10
%26 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%27 = load i64, ptr @EOF, align 8
%28 = icmp ne i64 %26, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %29
29: ; preds = %._crit_edge, %0
store i32 0, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %48
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %33
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [64 x double], ptr %2, i64 0, i64 %35
%37 = load double, ptr %36, align 8
%38 = load i32, ptr %5, align 4
%39 = call i64 @fmod(double noundef %37, i32 noundef %38)
%40 = sitofp i64 %39 to double
%41 = load double, ptr %3, align 8
%42 = fadd double %41, %40
store double %42, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %48
48: ; preds = %._crit_edge3, %29
%49 = load i32, ptr %5, align 4
%50 = sitofp i32 %49 to double
%51 = call i32 @printf(ptr noundef @.str.1, double noundef %50)
%52 = load double, ptr %3, align 8
%53 = call i32 @printf(ptr noundef @.str.2, double noundef %52)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_unique(ptr noundef, i32 noundef, double noundef) #1
declare i64 @fmod(double noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2_ul5_fc.c'
source_filename = "/tmp/tmp2_ul5_fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call double (...) @tic()
store double %7, ptr %4, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %22, %0
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 1000000
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = call double (...) @rand_double()
%13 = call double @llvm.fmuladd.f64(double 1.000000e+07, double %12, double -5.000000e+06)
store double %13, ptr %2, align 8
%14 = load double, ptr %2, align 8
%15 = call double @frexp(double noundef %14, ptr noundef %5) #4
store double %15, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = fcmp une double %16, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = call i32 @printf(ptr noundef @.str)
br label %25
21: ; preds = %11
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %8, !llvm.loop !6
25: ; preds = %19, %8
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fcmp une double %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_ul5_fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call double (...) @tic()
store double %7, ptr %4, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %21
%11 = call double (...) @rand_double()
%12 = call double @llvm.fmuladd.f64(double 1.000000e+07, double %11, double -5.000000e+06)
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call double @frexp(double noundef %13, ptr noundef %5) #4
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fcmp une double %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %26
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 1000000
br i1 %25, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %21
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %26
26: ; preds = %.loopexit, %18
%27 = call double (...) @tic()
%28 = load double, ptr %4, align 8
%29 = fsub double %27, %28
store double %29, ptr %1, align 8
%30 = load double, ptr %3, align 8
%31 = load double, ptr %3, align 8
%32 = fcmp une double %30, %31
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = call i32 @printf(ptr noundef @.str)
br label %35
35: ; preds = %33, %26
%36 = load double, ptr %1, align 8
ret double %36
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsqxflsqr.c'
source_filename = "/tmp/tmpsqxflsqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ta_memdup(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load i64, ptr %7, align 8
%13 = icmp ne i64 %12, 0
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
store ptr null, ptr %4, align 8
br label %30
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %7, align 8
%20 = call ptr @ta_alloc_size(ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %17
store ptr null, ptr %4, align 8
br label %30
24: ; preds = %17
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %8, align 8
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %24, %23, %11
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
declare i32 @assert(i32 noundef) #1
declare ptr @ta_alloc_size(ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsqxflsqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ta_memdup(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load i64, ptr %7, align 8
%13 = icmp ne i64 %12, 0
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
store ptr null, ptr %4, align 8
br label %30
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %7, align 8
%20 = call ptr @ta_alloc_size(ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %17
store ptr null, ptr %4, align 8
br label %30
24: ; preds = %17
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %8, align 8
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %24, %23, %11
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
declare i32 @assert(i32 noundef) #1
declare ptr @ta_alloc_size(ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8xmg3_y2.c'
source_filename = "/tmp/tmp8xmg3_y2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gerarGOTOLabel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @geraInstrucao(i32 noundef %3, i32 noundef 2022, i32 noundef 0, i32 noundef 0, ptr noundef @.str)
ret void
}
declare i32 @geraInstrucao(i32 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/tmp8xmg3_y2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gerarGOTOLabel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @geraInstrucao(i32 noundef %3, i32 noundef 2022, i32 noundef 0, i32 noundef 0, ptr noundef @.str)
ret void
}
declare i32 @geraInstrucao(i32 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/tmpyftm3x85.c'
source_filename = "/tmp/tmpyftm3x85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = call i32 @_mm_set1_pd(double noundef 2.500000e-01)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = call i32 @_mm_loadu_pd(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 -1
%18 = call i32 @_mm_loadu_pd(ptr noundef %17)
store i32 %18, ptr %9, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = call i32 @_mm_loadu_pd(ptr noundef %22)
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = sub i64 0, %26
%28 = getelementptr inbounds double, ptr %24, i64 %27
%29 = call i32 @_mm_loadu_pd(ptr noundef %28)
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %11, align 4
%32 = call i32 @_mm_add_pd(i32 noundef %30, i32 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @_mm_add_pd(i32 noundef %33, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = call i32 @_mm_add_pd(i32 noundef %36, i32 noundef %37)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = call i32 @_mm_mul_pd(i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %8, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @_mm_storeu_pd(ptr noundef %42, i32 noundef %43)
ret void
}
declare i32 @_mm_set1_pd(double noundef) #1
declare i32 @_mm_loadu_pd(ptr noundef) #1
declare i32 @_mm_add_pd(i32 noundef, i32 noundef) #1
declare i32 @_mm_mul_pd(i32 noundef, i32 noundef) #1
declare i32 @_mm_storeu_pd(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/tmpyftm3x85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = call i32 @_mm_set1_pd(double noundef 2.500000e-01)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = call i32 @_mm_loadu_pd(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 -1
%18 = call i32 @_mm_loadu_pd(ptr noundef %17)
store i32 %18, ptr %9, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = call i32 @_mm_loadu_pd(ptr noundef %22)
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = sub i64 0, %26
%28 = getelementptr inbounds double, ptr %24, i64 %27
%29 = call i32 @_mm_loadu_pd(ptr noundef %28)
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %11, align 4
%32 = call i32 @_mm_add_pd(i32 noundef %30, i32 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @_mm_add_pd(i32 noundef %33, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = call i32 @_mm_add_pd(i32 noundef %36, i32 noundef %37)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = call i32 @_mm_mul_pd(i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %8, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @_mm_storeu_pd(ptr noundef %42, i32 noundef %43)
ret void
}
declare i32 @_mm_set1_pd(double noundef) #1
declare i32 @_mm_loadu_pd(ptr noundef) #1
declare i32 @_mm_add_pd(i32 noundef, i32 noundef) #1
declare i32 @_mm_mul_pd(i32 noundef, i32 noundef) #1
declare i32 @_mm_storeu_pd(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/tmpb008d0dt.c'
source_filename = "/tmp/tmpb008d0dt.c"
target datalayout = "e-m:e-p270: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.in = private unnamed_addr constant [35 x i8] c"01100000011000010110001100000000\00\00\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [35 x i8], align 16
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.in, i64 35, i1 false)
%5 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0
%6 = call double @pre2dou(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = call i64 @malloc(i32 noundef 33)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = call ptr @dou2pre(double noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
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 double @pre2dou(ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare ptr @dou2pre(double noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb008d0dt.c"
target datalayout = "e-m:e-p270: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.in = private unnamed_addr constant [35 x i8] c"01100000011000010110001100000000\00\00\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [35 x i8], align 16
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.in, i64 35, i1 false)
%5 = getelementptr inbounds [35 x i8], ptr %2, i64 0, i64 0
%6 = call double @pre2dou(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = call i64 @malloc(i32 noundef 33)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = call ptr @dou2pre(double noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
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 double @pre2dou(ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare ptr @dou2pre(double noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwxflqzj.c'
source_filename = "/tmp/tmprwxflqzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"jmp \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_jump(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @output_with_tab(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @print_label(i32 noundef %4)
%6 = call i32 (...) @newline()
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
declare i32 @print_label(i32 noundef) #1
declare i32 @newline(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwxflqzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"jmp \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_jump(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @output_with_tab(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @print_label(i32 noundef %4)
%6 = call i32 (...) @newline()
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
declare i32 @print_label(i32 noundef) #1
declare i32 @newline(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwihyw9h9.c'
source_filename = "/tmp/tmpwihyw9h9.c"
target datalayout = "e-m:e-p270: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/tmpwihyw9h9.c"
target datalayout = "e-m:e-p270: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/tmpnu9zlm6v.c'
source_filename = "/tmp/tmpnu9zlm6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawPoly4TGD_TW(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef signext %5, i16 noundef signext %6, i16 noundef signext %7, i16 noundef signext %8, i16 noundef signext %9, i16 noundef signext %10, i16 noundef signext %11, i16 noundef signext %12, i16 noundef signext %13, i16 noundef signext %14, i16 noundef signext %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) #0 {
%21 = alloca i16, align 2
%22 = alloca i16, align 2
%23 = alloca i16, align 2
%24 = alloca i16, align 2
%25 = alloca i16, align 2
%26 = alloca i16, align 2
%27 = alloca i16, align 2
%28 = alloca i16, align 2
%29 = alloca i16, align 2
%30 = alloca i16, align 2
%31 = alloca i16, align 2
%32 = alloca i16, align 2
%33 = alloca i16, align 2
%34 = alloca i16, align 2
%35 = alloca i16, align 2
%36 = alloca i16, align 2
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store i16 %0, ptr %21, align 2
store i16 %1, ptr %22, align 2
store i16 %2, ptr %23, align 2
store i16 %3, ptr %24, align 2
store i16 %4, ptr %25, align 2
store i16 %5, ptr %26, align 2
store i16 %6, ptr %27, align 2
store i16 %7, ptr %28, align 2
store i16 %8, ptr %29, align 2
store i16 %9, ptr %30, align 2
store i16 %10, ptr %31, align 2
store i16 %11, ptr %32, align 2
store i16 %12, ptr %33, align 2
store i16 %13, ptr %34, align 2
store i16 %14, ptr %35, align 2
store i16 %15, ptr %36, align 2
store i32 %16, ptr %37, align 4
store i32 %17, ptr %38, align 4
store i32 %18, ptr %39, align 4
store i32 %19, ptr %40, align 4
%41 = load i16, ptr %23, align 2
%42 = load i16, ptr %24, align 2
%43 = load i16, ptr %25, align 2
%44 = load i16, ptr %26, align 2
%45 = load i16, ptr %27, align 2
%46 = load i16, ptr %28, align 2
%47 = load i16, ptr %31, align 2
%48 = load i16, ptr %32, align 2
%49 = load i16, ptr %33, align 2
%50 = load i16, ptr %34, align 2
%51 = load i16, ptr %35, align 2
%52 = load i16, ptr %36, align 2
%53 = load i32, ptr %38, align 4
%54 = load i32, ptr %40, align 4
%55 = load i32, ptr %39, align 4
%56 = call i32 @drawPoly3TGD_TW(i16 noundef signext %41, i16 noundef signext %42, i16 noundef signext %43, i16 noundef signext %44, i16 noundef signext %45, i16 noundef signext %46, i16 noundef signext %47, i16 noundef signext %48, i16 noundef signext %49, i16 noundef signext %50, i16 noundef signext %51, i16 noundef signext %52, i32 noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load i16, ptr %21, align 2
%58 = load i16, ptr %22, align 2
%59 = load i16, ptr %23, align 2
%60 = load i16, ptr %24, align 2
%61 = load i16, ptr %27, align 2
%62 = load i16, ptr %28, align 2
%63 = load i16, ptr %29, align 2
%64 = load i16, ptr %30, align 2
%65 = load i16, ptr %31, align 2
%66 = load i16, ptr %32, align 2
%67 = load i16, ptr %35, align 2
%68 = load i16, ptr %36, align 2
%69 = load i32, ptr %37, align 4
%70 = load i32, ptr %38, align 4
%71 = load i32, ptr %39, align 4
%72 = call i32 @drawPoly3TGD_TW(i16 noundef signext %57, i16 noundef signext %58, i16 noundef signext %59, i16 noundef signext %60, i16 noundef signext %61, i16 noundef signext %62, i16 noundef signext %63, i16 noundef signext %64, i16 noundef signext %65, i16 noundef signext %66, i16 noundef signext %67, i16 noundef signext %68, i32 noundef %69, i32 noundef %70, i32 noundef %71)
ret void
}
declare i32 @drawPoly3TGD_TW(i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, 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/tmpnu9zlm6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawPoly4TGD_TW(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef signext %5, i16 noundef signext %6, i16 noundef signext %7, i16 noundef signext %8, i16 noundef signext %9, i16 noundef signext %10, i16 noundef signext %11, i16 noundef signext %12, i16 noundef signext %13, i16 noundef signext %14, i16 noundef signext %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) #0 {
%21 = alloca i16, align 2
%22 = alloca i16, align 2
%23 = alloca i16, align 2
%24 = alloca i16, align 2
%25 = alloca i16, align 2
%26 = alloca i16, align 2
%27 = alloca i16, align 2
%28 = alloca i16, align 2
%29 = alloca i16, align 2
%30 = alloca i16, align 2
%31 = alloca i16, align 2
%32 = alloca i16, align 2
%33 = alloca i16, align 2
%34 = alloca i16, align 2
%35 = alloca i16, align 2
%36 = alloca i16, align 2
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store i16 %0, ptr %21, align 2
store i16 %1, ptr %22, align 2
store i16 %2, ptr %23, align 2
store i16 %3, ptr %24, align 2
store i16 %4, ptr %25, align 2
store i16 %5, ptr %26, align 2
store i16 %6, ptr %27, align 2
store i16 %7, ptr %28, align 2
store i16 %8, ptr %29, align 2
store i16 %9, ptr %30, align 2
store i16 %10, ptr %31, align 2
store i16 %11, ptr %32, align 2
store i16 %12, ptr %33, align 2
store i16 %13, ptr %34, align 2
store i16 %14, ptr %35, align 2
store i16 %15, ptr %36, align 2
store i32 %16, ptr %37, align 4
store i32 %17, ptr %38, align 4
store i32 %18, ptr %39, align 4
store i32 %19, ptr %40, align 4
%41 = load i16, ptr %23, align 2
%42 = load i16, ptr %24, align 2
%43 = load i16, ptr %25, align 2
%44 = load i16, ptr %26, align 2
%45 = load i16, ptr %27, align 2
%46 = load i16, ptr %28, align 2
%47 = load i16, ptr %31, align 2
%48 = load i16, ptr %32, align 2
%49 = load i16, ptr %33, align 2
%50 = load i16, ptr %34, align 2
%51 = load i16, ptr %35, align 2
%52 = load i16, ptr %36, align 2
%53 = load i32, ptr %38, align 4
%54 = load i32, ptr %40, align 4
%55 = load i32, ptr %39, align 4
%56 = call i32 @drawPoly3TGD_TW(i16 noundef signext %41, i16 noundef signext %42, i16 noundef signext %43, i16 noundef signext %44, i16 noundef signext %45, i16 noundef signext %46, i16 noundef signext %47, i16 noundef signext %48, i16 noundef signext %49, i16 noundef signext %50, i16 noundef signext %51, i16 noundef signext %52, i32 noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load i16, ptr %21, align 2
%58 = load i16, ptr %22, align 2
%59 = load i16, ptr %23, align 2
%60 = load i16, ptr %24, align 2
%61 = load i16, ptr %27, align 2
%62 = load i16, ptr %28, align 2
%63 = load i16, ptr %29, align 2
%64 = load i16, ptr %30, align 2
%65 = load i16, ptr %31, align 2
%66 = load i16, ptr %32, align 2
%67 = load i16, ptr %35, align 2
%68 = load i16, ptr %36, align 2
%69 = load i32, ptr %37, align 4
%70 = load i32, ptr %38, align 4
%71 = load i32, ptr %39, align 4
%72 = call i32 @drawPoly3TGD_TW(i16 noundef signext %57, i16 noundef signext %58, i16 noundef signext %59, i16 noundef signext %60, i16 noundef signext %61, i16 noundef signext %62, i16 noundef signext %63, i16 noundef signext %64, i16 noundef signext %65, i16 noundef signext %66, i16 noundef signext %67, i16 noundef signext %68, i32 noundef %69, i32 noundef %70, i32 noundef %71)
ret void
}
declare i32 @drawPoly3TGD_TW(i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, 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/tmpf2lt8ryq.c'
source_filename = "/tmp/tmpf2lt8ryq.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"\0AError: %s\0A\0AUsage: cat-from --offset N <file>\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage_and_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf2lt8ryq.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"\0AError: %s\0A\0AUsage: cat-from --offset N <file>\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage_and_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4a6hjsbg.c'
source_filename = "/tmp/tmp4a6hjsbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@S_IRUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"Couldn't open input file [%s].\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Skipping one byte in first temp value!\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Raw Byte Read: \0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Byte 0 (MSB): [%.2X]\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"Raw Two Bytes Read: \0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Byte 1 (LSB): [%.2X]\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c"Hint: [0x7F] often means the thermistor was D/C'd.\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"Failed comma/space validation check.\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"Byte 0 (Expecting Comma [2C]): [%.2X]\0A\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c"Byte 1 (Expecting Space [20]): [%.2X]\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"ADC Word Reg [%d]: [%.4X]\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"Thermistor %d Voltage = %f Volts\0A\00", align 1
@.str.14 = private unnamed_addr constant [49 x i8] c"Thermistor %d Calculated Resistance = %.6f Ohms\0A\00", align 1
@.str.15 = private unnamed_addr constant [60 x i8] c"Thermistor %d Calculated Temperature = %f degrees Celsius\0A\0A\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [33 x i8] c"Couldn't open output file [%s].\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @conv_adc_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca [22 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [4 x [2 x i32]], align 16
%13 = alloca [2 x i32], align 4
%14 = alloca [4 x i32], align 16
%15 = alloca [4 x float], align 16
%16 = alloca [4 x float], align 16
%17 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%19 = load i32, ptr @S_IRUSR, align 4
%20 = load i32, ptr @S_IRGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IROTH, align 4
%23 = or i32 %21, %22
store i32 %23, ptr %9, align 4
%24 = load i32, ptr @S_IRUSR, align 4
%25 = load i32, ptr @S_IWUSR, align 4
%26 = or i32 %24, %25
%27 = load i32, ptr @S_IRGRP, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @S_IROTH, align 4
%30 = or i32 %28, %29
store i32 %30, ptr %10, align 4
store i32 0, ptr %11, align 4
call void @llvm.memset.p0.i64(ptr align 4 %13, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 16, i1 false)
store float 0.000000e+00, ptr %17, align 4
%31 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @memset(ptr noundef %31, i8 noundef signext 0, i32 noundef 16)
%33 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i8 noundef signext 0, i32 noundef 22)
%35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%36 = load ptr, ptr %3, align 8
%37 = call i32 @snprintf(ptr noundef %35, i32 noundef 16, ptr noundef @.str.1, ptr noundef %36)
%38 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%39 = load ptr, ptr %4, align 8
%40 = call i32 @snprintf(ptr noundef %38, i32 noundef 22, ptr noundef @.str.1, ptr noundef %39)
%41 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%42 = load i32, ptr @O_RDONLY, align 4
%43 = load i32, ptr %9, align 4
%44 = call i32 @open(ptr noundef %41, i32 noundef %42, i32 noundef %43)
store i32 %44, ptr %5, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %2
%47 = load i32, ptr @stderr, align 4
%48 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #4
unreachable
51: ; preds = %2
store i32 0, ptr %11, align 4
br label %52
52: ; preds = %143, %51
%53 = load i32, ptr %11, align 4
%54 = icmp slt i32 %53, 4
br i1 %54, label %55, label %146
55: ; preds = %52
%56 = load i32, ptr %11, align 4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %74
58: ; preds = %55
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %61
%63 = getelementptr inbounds [2 x i32], ptr %62, i64 0, i64 0
%64 = call i32 @read(i32 noundef %59, ptr noundef %63, i32 noundef 1)
%65 = load i32, ptr @stderr, align 4
%66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.3)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %69
%71 = getelementptr inbounds [2 x i32], ptr %70, i64 0, i64 0
%72 = load i32, ptr %71, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72)
br label %94
74: ; preds = %55
%75 = load i32, ptr %5, align 4
%76 = load i32, ptr %11, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %77
%79 = getelementptr inbounds [2 x i32], ptr %78, i64 0, i64 0
%80 = call i32 @read(i32 noundef %75, ptr noundef %79, i32 noundef 2)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %83
%85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 0
%86 = load i32, ptr %85, align 8
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %86)
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %89
%91 = getelementptr inbounds [2 x i32], ptr %90, i64 0, i64 1
%92 = load i32, ptr %91, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %92)
br label %94
94: ; preds = %74, %58
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%97 = load i32, ptr %5, align 4
%98 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%99 = call i32 @read(i32 noundef %97, ptr noundef %98, i32 noundef 2)
%100 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%101 = load i32, ptr %100, align 4
%102 = icmp ne i32 %101, 44
br i1 %102, label %107, label %103
103: ; preds = %94
%104 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
%105 = load i32, ptr %104, align 4
%106 = icmp ne i32 %105, 32
br i1 %106, label %107, label %120
107: ; preds = %103, %94
%108 = load i32, ptr @stderr, align 4
%109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.9)
%110 = load i32, ptr @stderr, align 4
%111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.6)
%112 = load i32, ptr @stderr, align 4
%113 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%114 = load i32, ptr %113, align 4
%115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.10, i32 noundef %114)
%116 = load i32, ptr @stderr, align 4
%117 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.11, i32 noundef %118)
br label %142
120: ; preds = %103
%121 = load i32, ptr %11, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %122
%124 = getelementptr inbounds [2 x i32], ptr %123, i64 0, i64 0
%125 = load i32, ptr %124, align 8
%126 = shl i32 %125, 8
%127 = load i32, ptr %11, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %128
%130 = getelementptr inbounds [2 x i32], ptr %129, i64 0, i64 1
%131 = load i32, ptr %130, align 4
%132 = add nsw i32 %126, %131
%133 = load i32, ptr %11, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %134
store i32 %132, ptr %135, align 4
%136 = load i32, ptr %11, align 4
%137 = load i32, ptr %11, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %138
%140 = load i32, ptr %139, align 4
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %136, i32 noundef %140)
br label %142
142: ; preds = %120, %107
br label %143
143: ; preds = %142
%144 = load i32, ptr %11, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %11, align 4
br label %52, !llvm.loop !6
146: ; preds = %52
%147 = load i32, ptr %5, align 4
%148 = call i32 @close(i32 noundef %147)
store i32 0, ptr %11, align 4
br label %149
149: ; preds = %242, %146
%150 = load i32, ptr %11, align 4
%151 = icmp slt i32 %150, 4
br i1 %151, label %152, label %245
152: ; preds = %149
%153 = load i32, ptr %11, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %154
%156 = load i32, ptr %155, align 4
%157 = sitofp i32 %156 to double
%158 = fmul double %157, 4.096000e+00
%159 = fdiv double %158, 3.276700e+04
%160 = fptrunc double %159 to float
%161 = load i32, ptr %11, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %162
store float %160, ptr %163, align 4
%164 = load i32, ptr %11, align 4
%165 = load i32, ptr %11, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %166
%168 = load float, ptr %167, align 4
%169 = fpext float %168 to double
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %164, double noundef %169)
%171 = load i32, ptr %11, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %172
%174 = load float, ptr %173, align 4
%175 = fdiv float 4.095000e+03, %174
%176 = fsub float %175, 1.000000e+00
%177 = fdiv float 3.000000e+05, %176
store float %177, ptr %17, align 4
%178 = load i32, ptr %11, align 4
%179 = load float, ptr %17, align 4
%180 = fpext float %179 to double
%181 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %178, double noundef %180)
%182 = load float, ptr %17, align 4
%183 = fdiv float %182, 1.000000e+04
%184 = load i32, ptr %11, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %185
store float %183, ptr %186, align 4
%187 = load i32, ptr %11, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %188
%190 = load float, ptr %189, align 4
%191 = fpext float %190 to double
%192 = call i64 @log(double noundef %191)
%193 = sitofp i64 %192 to float
%194 = load i32, ptr %11, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %195
store float %193, ptr %196, align 4
%197 = load i32, ptr %11, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %198
%200 = load float, ptr %199, align 4
%201 = fdiv float %200, 3.892000e+03
%202 = load i32, ptr %11, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %203
store float %201, ptr %204, align 4
%205 = load i32, ptr %11, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %206
%208 = load float, ptr %207, align 4
%209 = fpext float %208 to double
%210 = fadd double %209, 0x3F6B79E1DCB5DB83
%211 = fptrunc double %210 to float
%212 = load i32, ptr %11, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %213
store float %211, ptr %214, align 4
%215 = load i32, ptr %11, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %216
%218 = load float, ptr %217, align 4
%219 = fpext float %218 to double
%220 = fdiv double 1.000000e+00, %219
%221 = fptrunc double %220 to float
%222 = load i32, ptr %11, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %223
store float %221, ptr %224, align 4
%225 = load i32, ptr %11, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %226
%228 = load float, ptr %227, align 4
%229 = fpext float %228 to double
%230 = fsub double %229, 2.731500e+02
%231 = fptrunc double %230 to float
%232 = load i32, ptr %11, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %233
store float %231, ptr %234, align 4
%235 = load i32, ptr %11, align 4
%236 = load i32, ptr %11, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %237
%239 = load float, ptr %238, align 4
%240 = fpext float %239 to double
%241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %235, double noundef %240)
br label %242
242: ; preds = %152
%243 = load i32, ptr %11, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %11, align 4
br label %149, !llvm.loop !8
245: ; preds = %149
%246 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%247 = load i32, ptr @O_WRONLY, align 4
%248 = load i32, ptr @O_CREAT, align 4
%249 = or i32 %247, %248
%250 = load i32, ptr @O_TRUNC, align 4
%251 = or i32 %249, %250
%252 = load i32, ptr %10, align 4
%253 = call i32 @open(ptr noundef %246, i32 noundef %251, i32 noundef %252)
store i32 %253, ptr %6, align 4
%254 = icmp slt i32 %253, 0
br i1 %254, label %255, label %260
255: ; preds = %245
%256 = load i32, ptr @stderr, align 4
%257 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%258 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %256, ptr noundef @.str.16, ptr noundef %257)
%259 = call i32 @exit(i32 noundef 1) #4
unreachable
260: ; preds = %245
store i32 0, ptr %11, align 4
br label %261
261: ; preds = %275, %260
%262 = load i32, ptr %11, align 4
%263 = icmp slt i32 %262, 4
br i1 %263, label %264, label %278
264: ; preds = %261
%265 = load i32, ptr %6, align 4
%266 = load i32, ptr %11, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %267
%269 = call i32 @write(i32 noundef %265, ptr noundef %268, i32 noundef 4)
%270 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
store i32 44, ptr %270, align 4
%271 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
store i32 32, ptr %271, align 4
%272 = load i32, ptr %6, align 4
%273 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%274 = call i32 @write(i32 noundef %272, ptr noundef %273, i32 noundef 2)
br label %275
275: ; preds = %264
%276 = load i32, ptr %11, align 4
%277 = add nsw i32 %276, 1
store i32 %277, ptr %11, align 4
br label %261, !llvm.loop !9
278: ; preds = %261
%279 = load i32, ptr %6, align 4
%280 = call i32 @close(i32 noundef %279)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @log(double noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4a6hjsbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@S_IRUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"Couldn't open input file [%s].\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Skipping one byte in first temp value!\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Raw Byte Read: \0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Byte 0 (MSB): [%.2X]\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"Raw Two Bytes Read: \0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Byte 1 (LSB): [%.2X]\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c"Hint: [0x7F] often means the thermistor was D/C'd.\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"Failed comma/space validation check.\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"Byte 0 (Expecting Comma [2C]): [%.2X]\0A\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c"Byte 1 (Expecting Space [20]): [%.2X]\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"ADC Word Reg [%d]: [%.4X]\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"Thermistor %d Voltage = %f Volts\0A\00", align 1
@.str.14 = private unnamed_addr constant [49 x i8] c"Thermistor %d Calculated Resistance = %.6f Ohms\0A\00", align 1
@.str.15 = private unnamed_addr constant [60 x i8] c"Thermistor %d Calculated Temperature = %f degrees Celsius\0A\0A\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [33 x i8] c"Couldn't open output file [%s].\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @conv_adc_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
%8 = alloca [22 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [4 x [2 x i32]], align 16
%13 = alloca [2 x i32], align 4
%14 = alloca [4 x i32], align 16
%15 = alloca [4 x float], align 16
%16 = alloca [4 x float], align 16
%17 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%19 = load i32, ptr @S_IRUSR, align 4
%20 = load i32, ptr @S_IRGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IROTH, align 4
%23 = or i32 %21, %22
store i32 %23, ptr %9, align 4
%24 = load i32, ptr @S_IRUSR, align 4
%25 = load i32, ptr @S_IWUSR, align 4
%26 = or i32 %24, %25
%27 = load i32, ptr @S_IRGRP, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @S_IROTH, align 4
%30 = or i32 %28, %29
store i32 %30, ptr %10, align 4
store i32 0, ptr %11, align 4
call void @llvm.memset.p0.i64(ptr align 4 %13, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 16, i1 false)
store float 0.000000e+00, ptr %17, align 4
%31 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @memset(ptr noundef %31, i8 noundef signext 0, i32 noundef 16)
%33 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i8 noundef signext 0, i32 noundef 22)
%35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%36 = load ptr, ptr %3, align 8
%37 = call i32 @snprintf(ptr noundef %35, i32 noundef 16, ptr noundef @.str.1, ptr noundef %36)
%38 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%39 = load ptr, ptr %4, align 8
%40 = call i32 @snprintf(ptr noundef %38, i32 noundef 22, ptr noundef @.str.1, ptr noundef %39)
%41 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%42 = load i32, ptr @O_RDONLY, align 4
%43 = load i32, ptr %9, align 4
%44 = call i32 @open(ptr noundef %41, i32 noundef %42, i32 noundef %43)
store i32 %44, ptr %5, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %2
%47 = load i32, ptr @stderr, align 4
%48 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #4
unreachable
51: ; preds = %2
store i32 0, ptr %11, align 4
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %52, 4
br i1 %53, label %.lr.ph, label %147
.lr.ph: ; preds = %51
br label %54
54: ; preds = %.lr.ph, %142
%55 = load i32, ptr %11, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %73
57: ; preds = %54
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %60
%62 = getelementptr inbounds [2 x i32], ptr %61, i64 0, i64 0
%63 = call i32 @read(i32 noundef %58, ptr noundef %62, i32 noundef 1)
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.3)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %68
%70 = getelementptr inbounds [2 x i32], ptr %69, i64 0, i64 0
%71 = load i32, ptr %70, align 8
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %71)
br label %93
73: ; preds = %54
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %76
%78 = getelementptr inbounds [2 x i32], ptr %77, i64 0, i64 0
%79 = call i32 @read(i32 noundef %74, ptr noundef %78, i32 noundef 2)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %82
%84 = getelementptr inbounds [2 x i32], ptr %83, i64 0, i64 0
%85 = load i32, ptr %84, align 8
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %85)
%87 = load i32, ptr %11, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %88
%90 = getelementptr inbounds [2 x i32], ptr %89, i64 0, i64 1
%91 = load i32, ptr %90, align 4
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %91)
br label %93
93: ; preds = %73, %57
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%96 = load i32, ptr %5, align 4
%97 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%98 = call i32 @read(i32 noundef %96, ptr noundef %97, i32 noundef 2)
%99 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%100 = load i32, ptr %99, align 4
%101 = icmp ne i32 %100, 44
br i1 %101, label %106, label %102
102: ; preds = %93
%103 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
%104 = load i32, ptr %103, align 4
%105 = icmp ne i32 %104, 32
br i1 %105, label %106, label %119
106: ; preds = %102, %93
%107 = load i32, ptr @stderr, align 4
%108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.9)
%109 = load i32, ptr @stderr, align 4
%110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.6)
%111 = load i32, ptr @stderr, align 4
%112 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%113 = load i32, ptr %112, align 4
%114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.10, i32 noundef %113)
%115 = load i32, ptr @stderr, align 4
%116 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
%117 = load i32, ptr %116, align 4
%118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.11, i32 noundef %117)
br label %141
119: ; preds = %102
%120 = load i32, ptr %11, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %121
%123 = getelementptr inbounds [2 x i32], ptr %122, i64 0, i64 0
%124 = load i32, ptr %123, align 8
%125 = shl i32 %124, 8
%126 = load i32, ptr %11, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [4 x [2 x i32]], ptr %12, i64 0, i64 %127
%129 = getelementptr inbounds [2 x i32], ptr %128, i64 0, i64 1
%130 = load i32, ptr %129, align 4
%131 = add nsw i32 %125, %130
%132 = load i32, ptr %11, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %133
store i32 %131, ptr %134, align 4
%135 = load i32, ptr %11, align 4
%136 = load i32, ptr %11, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %137
%139 = load i32, ptr %138, align 4
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %135, i32 noundef %139)
br label %141
141: ; preds = %119, %106
br label %142
142: ; preds = %141
%143 = load i32, ptr %11, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %11, align 4
%145 = load i32, ptr %11, align 4
%146 = icmp slt i32 %145, 4
br i1 %146, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %142
br label %147
147: ; preds = %._crit_edge, %51
%148 = load i32, ptr %5, align 4
%149 = call i32 @close(i32 noundef %148)
store i32 0, ptr %11, align 4
%150 = load i32, ptr %11, align 4
%151 = icmp slt i32 %150, 4
br i1 %151, label %.lr.ph2, label %247
.lr.ph2: ; preds = %147
br label %152
152: ; preds = %.lr.ph2, %242
%153 = load i32, ptr %11, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %154
%156 = load i32, ptr %155, align 4
%157 = sitofp i32 %156 to double
%158 = fmul double %157, 4.096000e+00
%159 = fdiv double %158, 3.276700e+04
%160 = fptrunc double %159 to float
%161 = load i32, ptr %11, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %162
store float %160, ptr %163, align 4
%164 = load i32, ptr %11, align 4
%165 = load i32, ptr %11, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %166
%168 = load float, ptr %167, align 4
%169 = fpext float %168 to double
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %164, double noundef %169)
%171 = load i32, ptr %11, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [4 x float], ptr %15, i64 0, i64 %172
%174 = load float, ptr %173, align 4
%175 = fdiv float 4.095000e+03, %174
%176 = fsub float %175, 1.000000e+00
%177 = fdiv float 3.000000e+05, %176
store float %177, ptr %17, align 4
%178 = load i32, ptr %11, align 4
%179 = load float, ptr %17, align 4
%180 = fpext float %179 to double
%181 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %178, double noundef %180)
%182 = load float, ptr %17, align 4
%183 = fdiv float %182, 1.000000e+04
%184 = load i32, ptr %11, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %185
store float %183, ptr %186, align 4
%187 = load i32, ptr %11, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %188
%190 = load float, ptr %189, align 4
%191 = fpext float %190 to double
%192 = call i64 @log(double noundef %191)
%193 = sitofp i64 %192 to float
%194 = load i32, ptr %11, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %195
store float %193, ptr %196, align 4
%197 = load i32, ptr %11, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %198
%200 = load float, ptr %199, align 4
%201 = fdiv float %200, 3.892000e+03
%202 = load i32, ptr %11, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %203
store float %201, ptr %204, align 4
%205 = load i32, ptr %11, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %206
%208 = load float, ptr %207, align 4
%209 = fpext float %208 to double
%210 = fadd double %209, 0x3F6B79E1DCB5DB83
%211 = fptrunc double %210 to float
%212 = load i32, ptr %11, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %213
store float %211, ptr %214, align 4
%215 = load i32, ptr %11, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %216
%218 = load float, ptr %217, align 4
%219 = fpext float %218 to double
%220 = fdiv double 1.000000e+00, %219
%221 = fptrunc double %220 to float
%222 = load i32, ptr %11, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %223
store float %221, ptr %224, align 4
%225 = load i32, ptr %11, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %226
%228 = load float, ptr %227, align 4
%229 = fpext float %228 to double
%230 = fsub double %229, 2.731500e+02
%231 = fptrunc double %230 to float
%232 = load i32, ptr %11, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %233
store float %231, ptr %234, align 4
%235 = load i32, ptr %11, align 4
%236 = load i32, ptr %11, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %237
%239 = load float, ptr %238, align 4
%240 = fpext float %239 to double
%241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %235, double noundef %240)
br label %242
242: ; preds = %152
%243 = load i32, ptr %11, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %11, align 4
%245 = load i32, ptr %11, align 4
%246 = icmp slt i32 %245, 4
br i1 %246, label %152, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %242
br label %247
247: ; preds = %._crit_edge3, %147
%248 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%249 = load i32, ptr @O_WRONLY, align 4
%250 = load i32, ptr @O_CREAT, align 4
%251 = or i32 %249, %250
%252 = load i32, ptr @O_TRUNC, align 4
%253 = or i32 %251, %252
%254 = load i32, ptr %10, align 4
%255 = call i32 @open(ptr noundef %248, i32 noundef %253, i32 noundef %254)
store i32 %255, ptr %6, align 4
%256 = icmp slt i32 %255, 0
br i1 %256, label %257, label %262
257: ; preds = %247
%258 = load i32, ptr @stderr, align 4
%259 = getelementptr inbounds [22 x i8], ptr %8, i64 0, i64 0
%260 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %258, ptr noundef @.str.16, ptr noundef %259)
%261 = call i32 @exit(i32 noundef 1) #4
unreachable
262: ; preds = %247
store i32 0, ptr %11, align 4
%263 = load i32, ptr %11, align 4
%264 = icmp slt i32 %263, 4
br i1 %264, label %.lr.ph5, label %281
.lr.ph5: ; preds = %262
br label %265
265: ; preds = %.lr.ph5, %276
%266 = load i32, ptr %6, align 4
%267 = load i32, ptr %11, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [4 x float], ptr %16, i64 0, i64 %268
%270 = call i32 @write(i32 noundef %266, ptr noundef %269, i32 noundef 4)
%271 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
store i32 44, ptr %271, align 4
%272 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
store i32 32, ptr %272, align 4
%273 = load i32, ptr %6, align 4
%274 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%275 = call i32 @write(i32 noundef %273, ptr noundef %274, i32 noundef 2)
br label %276
276: ; preds = %265
%277 = load i32, ptr %11, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %11, align 4
%279 = load i32, ptr %11, align 4
%280 = icmp slt i32 %279, 4
br i1 %280, label %265, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %276
br label %281
281: ; preds = %._crit_edge6, %262
%282 = load i32, ptr %6, align 4
%283 = call i32 @close(i32 noundef %282)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @log(double noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpojcfn1zb.c'
source_filename = "/tmp/tmpojcfn1zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BA\D0\BE\D0\BB\D0\B8\D1\87\D0\B5\D1\81\D1\82\D0\B2\D0\BE: \00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\D0\A1\D0\BB\D0\B8\D1\88\D0\BA\D0\BE\D0\BC \D0\BC\D0\BD\D0\BE\D0\B3\D0\BE!\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BB\D0\B8\D1\82\D0\B5\D1\80\D1\8B: \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca i8, align 1
%10 = alloca [11 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store float 0.000000e+00, ptr %8, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%14 = call i32 @print(ptr noundef @.str)
%15 = load i32, ptr %7, align 4
%16 = trunc i32 %15 to i8
%17 = call i32 @getid(i8 noundef signext %16)
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %11, align 8
%21 = alloca i8, i64 %19, align 16
store i64 %19, ptr %12, align 8
%22 = load i32, ptr %7, align 4
%23 = zext i32 %22 to i64
%24 = alloca i32, i64 %23, align 16
store i64 %23, ptr %13, align 8
%25 = load i32, ptr %7, align 4
%26 = icmp sgt i32 %25, 10
br i1 %26, label %27, label %29
27: ; preds = %0
%28 = call i32 @print(ptr noundef @.str.1)
br label %266
29: ; preds = %0
store i32 0, ptr %1, align 4
br label %30
30: ; preds = %38, %29
%31 = load i32, ptr %1, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %41
34: ; preds = %30
%35 = load i32, ptr %1, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %21, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %34
%39 = load i32, ptr %1, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %1, align 4
br label %30, !llvm.loop !6
41: ; preds = %30
store i32 0, ptr %2, align 4
br label %42
42: ; preds = %51, %41
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %43, 10
br i1 %44, label %45, label %54
45: ; preds = %42
%46 = load i32, ptr %2, align 4
%47 = trunc i32 %46 to i8
%48 = load i32, ptr %2, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 %49
store i8 %47, ptr %50, align 1
br label %51
51: ; preds = %45
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
br label %42, !llvm.loop !8
54: ; preds = %42
%55 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 10
store i8 46, ptr %55, align 1
%56 = call i32 @print(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %113, %54
%58 = load i32, ptr %1, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %116
61: ; preds = %57
%62 = load i8, ptr %9, align 1
%63 = call i32 @getid(i8 noundef signext %62)
%64 = load i8, ptr %9, align 1
%65 = sext i8 %64 to i32
%66 = sub nsw i32 %65, 48
%67 = trunc i32 %66 to i8
%68 = load i32, ptr %1, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %21, i64 %69
store i8 %67, ptr %70, align 1
store i32 0, ptr %2, align 4
br label %71
71: ; preds = %93, %61
%72 = load i32, ptr %2, align 4
%73 = icmp slt i32 %72, 10
br i1 %73, label %74, label %96
74: ; preds = %71
%75 = load i32, ptr %1, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %21, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = load i32, ptr %2, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %79, %84
br i1 %85, label %86, label %92
86: ; preds = %74
%87 = load i32, ptr %1, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %24, i64 %88
%90 = load i32, ptr %89, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %89, align 4
br label %92
92: ; preds = %86, %74
br label %93
93: ; preds = %92
%94 = load i32, ptr %2, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %2, align 4
br label %71, !llvm.loop !9
96: ; preds = %71
%97 = load i32, ptr %1, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %21, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, -2
br i1 %102, label %103, label %112
103: ; preds = %96
%104 = load i32, ptr %1, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %24, i64 %105
%107 = load i32, ptr %106, align 4
%108 = add nsw i32 %107, 2
%109 = load i32, ptr %1, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %24, i64 %110
store i32 %108, ptr %111, align 4
br label %112
112: ; preds = %103, %96
br label %113
113: ; preds = %112
%114 = load i32, ptr %1, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %1, align 4
br label %57, !llvm.loop !10
116: ; preds = %57
store i32 0, ptr %1, align 4
br label %117
117: ; preds = %131, %116
%118 = load i32, ptr %1, align 4
%119 = load i32, ptr %7, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %121, label %134
121: ; preds = %117
%122 = load i32, ptr %1, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %24, i64 %123
%125 = load i32, ptr %124, align 4
%126 = icmp eq i32 %125, 12
br i1 %126, label %127, label %130
127: ; preds = %121
%128 = load i32, ptr %3, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %3, align 4
br label %130
130: ; preds = %127, %121
br label %131
131: ; preds = %130
%132 = load i32, ptr %1, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %1, align 4
br label %117, !llvm.loop !11
134: ; preds = %117
store i32 0, ptr %1, align 4
br label %135
135: ; preds = %150, %134
%136 = load i32, ptr %1, align 4
%137 = load i32, ptr %7, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %139, label %153
139: ; preds = %135
%140 = load i32, ptr %1, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %24, i64 %141
%143 = load i32, ptr %142, align 4
%144 = srem i32 %143, 10
%145 = icmp eq i32 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %139
%147 = load i32, ptr %6, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %6, align 4
br label %149
149: ; preds = %146, %139
br label %150
150: ; preds = %149
%151 = load i32, ptr %1, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %1, align 4
br label %135, !llvm.loop !12
153: ; preds = %135
%154 = load i32, ptr %6, align 4
%155 = icmp sgt i32 %154, 1
br i1 %155, label %156, label %159
156: ; preds = %153
%157 = load i32, ptr %3, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %3, align 4
br label %159
159: ; preds = %156, %153
store i32 0, ptr %1, align 4
br label %160
160: ; preds = %176, %159
%161 = load i32, ptr %1, align 4
%162 = load i32, ptr %7, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %164, label %179
164: ; preds = %160
%165 = load i32, ptr %1, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i8, ptr %21, i64 %166
%168 = load i8, ptr %167, align 1
%169 = sext i8 %168 to i32
%170 = icmp eq i32 %169, -2
br i1 %170, label %171, label %175
171: ; preds = %164
%172 = load i32, ptr %5, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %5, align 4
%174 = load i32, ptr %1, align 4
store i32 %174, ptr %4, align 4
br label %175
175: ; preds = %171, %164
br label %176
176: ; preds = %175
%177 = load i32, ptr %1, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %1, align 4
br label %160, !llvm.loop !13
179: ; preds = %160
%180 = load i32, ptr %5, align 4
%181 = icmp sgt i32 %180, 0
br i1 %181, label %182, label %232
182: ; preds = %179
store i32 0, ptr %2, align 4
br label %183
183: ; preds = %203, %182
%184 = load i32, ptr %2, align 4
%185 = load i32, ptr %4, align 4
%186 = icmp slt i32 %184, %185
br i1 %186, label %187, label %206
187: ; preds = %183
%188 = load i32, ptr %2, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds i8, ptr %21, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = load i32, ptr %4, align 4
%194 = load i32, ptr %2, align 4
%195 = sub nsw i32 %193, %194
%196 = sub nsw i32 %195, 1
%197 = call signext i8 @pow(i32 noundef 10, i32 noundef %196)
%198 = sext i8 %197 to i32
%199 = mul nsw i32 %192, %198
%200 = sitofp i32 %199 to float
%201 = load float, ptr %8, align 4
%202 = fadd float %201, %200
store float %202, ptr %8, align 4
br label %203
203: ; preds = %187
%204 = load i32, ptr %2, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %2, align 4
br label %183, !llvm.loop !14
206: ; preds = %183
%207 = load i32, ptr %4, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %2, align 4
br label %209
209: ; preds = %228, %206
%210 = load i32, ptr %2, align 4
%211 = load i32, ptr %7, align 4
%212 = icmp slt i32 %210, %211
br i1 %212, label %213, label %231
213: ; preds = %209
%214 = load float, ptr %8, align 4
%215 = load i32, ptr %2, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %21, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = load i32, ptr %4, align 4
%221 = load i32, ptr %2, align 4
%222 = sub nsw i32 %220, %221
%223 = call signext i8 @pow(i32 noundef 10, i32 noundef %222)
%224 = sext i8 %223 to i32
%225 = mul nsw i32 %219, %224
%226 = sitofp i32 %225 to float
%227 = fadd float %214, %226
store float %227, ptr %8, align 4
br label %228
228: ; preds = %213
%229 = load i32, ptr %2, align 4
%230 = add nsw i32 %229, 1
store i32 %230, ptr %2, align 4
br label %209, !llvm.loop !15
231: ; preds = %209
br label %257
232: ; preds = %179
store i32 0, ptr %1, align 4
br label %233
233: ; preds = %253, %232
%234 = load i32, ptr %1, align 4
%235 = load i32, ptr %7, align 4
%236 = icmp slt i32 %234, %235
br i1 %236, label %237, label %256
237: ; preds = %233
%238 = load i32, ptr %1, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i8, ptr %21, i64 %239
%241 = load i8, ptr %240, align 1
%242 = sext i8 %241 to i32
%243 = load i32, ptr %7, align 4
%244 = load i32, ptr %1, align 4
%245 = sub nsw i32 %243, %244
%246 = sub nsw i32 %245, 1
%247 = call signext i8 @pow(i32 noundef 10, i32 noundef %246)
%248 = sext i8 %247 to i32
%249 = mul nsw i32 %242, %248
%250 = sitofp i32 %249 to float
%251 = load float, ptr %8, align 4
%252 = fadd float %251, %250
store float %252, ptr %8, align 4
br label %253
253: ; preds = %237
%254 = load i32, ptr %1, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %1, align 4
br label %233, !llvm.loop !16
256: ; preds = %233
br label %257
257: ; preds = %256, %231
%258 = load i32, ptr %3, align 4
%259 = icmp sgt i32 %258, 0
br i1 %259, label %260, label %262
260: ; preds = %257
%261 = call i32 @print(ptr noundef @.str.3)
br label %265
262: ; preds = %257
%263 = load float, ptr %8, align 4
%264 = call i32 @printid(float noundef %263)
br label %265
265: ; preds = %262, %260
br label %266
266: ; preds = %265, %27
%267 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %267)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @getid(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @pow(i32 noundef, i32 noundef) #1
declare i32 @printid(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojcfn1zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BA\D0\BE\D0\BB\D0\B8\D1\87\D0\B5\D1\81\D1\82\D0\B2\D0\BE: \00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\D0\A1\D0\BB\D0\B8\D1\88\D0\BA\D0\BE\D0\BC \D0\BC\D0\BD\D0\BE\D0\B3\D0\BE!\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BB\D0\B8\D1\82\D0\B5\D1\80\D1\8B: \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca i8, align 1
%10 = alloca [11 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store float 0.000000e+00, ptr %8, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%14 = call i32 @print(ptr noundef @.str)
%15 = load i32, ptr %7, align 4
%16 = trunc i32 %15 to i8
%17 = call i32 @getid(i8 noundef signext %16)
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %11, align 8
%21 = alloca i8, i64 %19, align 16
store i64 %19, ptr %12, align 8
%22 = load i32, ptr %7, align 4
%23 = zext i32 %22 to i64
%24 = alloca i32, i64 %23, align 16
store i64 %23, ptr %13, align 8
%25 = load i32, ptr %7, align 4
%26 = icmp sgt i32 %25, 10
br i1 %26, label %27, label %29
27: ; preds = %0
%28 = call i32 @print(ptr noundef @.str.1)
br label %284
29: ; preds = %0
store i32 0, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %29
br label %33
33: ; preds = %.lr.ph, %37
%34 = load i32, ptr %1, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %21, i64 %35
store i8 0, ptr %36, align 1
br label %37
37: ; preds = %33
%38 = load i32, ptr %1, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %1, align 4
%40 = load i32, ptr %1, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %29
store i32 0, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %44, 10
br i1 %45, label %.lr.ph2, label %57
.lr.ph2: ; preds = %43
br label %46
46: ; preds = %.lr.ph2, %52
%47 = load i32, ptr %2, align 4
%48 = trunc i32 %47 to i8
%49 = load i32, ptr %2, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 %50
store i8 %48, ptr %51, align 1
br label %52
52: ; preds = %46
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp slt i32 %55, 10
br i1 %56, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %43
%58 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 10
store i8 46, ptr %58, align 1
%59 = call i32 @print(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
%60 = load i32, ptr %1, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %.lr.ph8, label %122
.lr.ph8: ; preds = %57
br label %63
63: ; preds = %.lr.ph8, %116
%64 = load i8, ptr %9, align 1
%65 = call i32 @getid(i8 noundef signext %64)
%66 = load i8, ptr %9, align 1
%67 = sext i8 %66 to i32
%68 = sub nsw i32 %67, 48
%69 = trunc i32 %68 to i8
%70 = load i32, ptr %1, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %21, i64 %71
store i8 %69, ptr %72, align 1
store i32 0, ptr %2, align 4
%73 = load i32, ptr %2, align 4
%74 = icmp slt i32 %73, 10
br i1 %74, label %.lr.ph5, label %99
.lr.ph5: ; preds = %63
br label %75
75: ; preds = %.lr.ph5, %94
%76 = load i32, ptr %1, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %21, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = load i32, ptr %2, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [11 x i8], ptr %10, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp ne i32 %80, %85
br i1 %86, label %87, label %93
87: ; preds = %75
%88 = load i32, ptr %1, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %24, i64 %89
%91 = load i32, ptr %90, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %90, align 4
br label %93
93: ; preds = %87, %75
br label %94
94: ; preds = %93
%95 = load i32, ptr %2, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %2, align 4
%97 = load i32, ptr %2, align 4
%98 = icmp slt i32 %97, 10
br i1 %98, label %75, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %94
br label %99
99: ; preds = %._crit_edge6, %63
%100 = load i32, ptr %1, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %21, i64 %101
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, -2
br i1 %105, label %106, label %115
106: ; preds = %99
%107 = load i32, ptr %1, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %24, i64 %108
%110 = load i32, ptr %109, align 4
%111 = add nsw i32 %110, 2
%112 = load i32, ptr %1, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %24, i64 %113
store i32 %111, ptr %114, align 4
br label %115
115: ; preds = %106, %99
br label %116
116: ; preds = %115
%117 = load i32, ptr %1, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %1, align 4
%119 = load i32, ptr %1, align 4
%120 = load i32, ptr %7, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %63, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %116
br label %122
122: ; preds = %._crit_edge9, %57
store i32 0, ptr %1, align 4
%123 = load i32, ptr %1, align 4
%124 = load i32, ptr %7, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %.lr.ph11, label %142
.lr.ph11: ; preds = %122
br label %126
126: ; preds = %.lr.ph11, %136
%127 = load i32, ptr %1, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %24, i64 %128
%130 = load i32, ptr %129, align 4
%131 = icmp eq i32 %130, 12
br i1 %131, label %132, label %135
132: ; preds = %126
%133 = load i32, ptr %3, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %3, align 4
br label %135
135: ; preds = %132, %126
br label %136
136: ; preds = %135
%137 = load i32, ptr %1, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %1, align 4
%139 = load i32, ptr %1, align 4
%140 = load i32, ptr %7, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %126, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %136
br label %142
142: ; preds = %._crit_edge12, %122
store i32 0, ptr %1, align 4
%143 = load i32, ptr %1, align 4
%144 = load i32, ptr %7, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %.lr.ph14, label %163
.lr.ph14: ; preds = %142
br label %146
146: ; preds = %.lr.ph14, %157
%147 = load i32, ptr %1, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %24, i64 %148
%150 = load i32, ptr %149, align 4
%151 = srem i32 %150, 10
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %146
%154 = load i32, ptr %6, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %6, align 4
br label %156
156: ; preds = %153, %146
br label %157
157: ; preds = %156
%158 = load i32, ptr %1, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %1, align 4
%160 = load i32, ptr %1, align 4
%161 = load i32, ptr %7, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %146, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %157
br label %163
163: ; preds = %._crit_edge15, %142
%164 = load i32, ptr %6, align 4
%165 = icmp sgt i32 %164, 1
br i1 %165, label %166, label %169
166: ; preds = %163
%167 = load i32, ptr %3, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %3, align 4
br label %169
169: ; preds = %166, %163
store i32 0, ptr %1, align 4
%170 = load i32, ptr %1, align 4
%171 = load i32, ptr %7, align 4
%172 = icmp slt i32 %170, %171
br i1 %172, label %.lr.ph17, label %191
.lr.ph17: ; preds = %169
br label %173
173: ; preds = %.lr.ph17, %185
%174 = load i32, ptr %1, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i8, ptr %21, i64 %175
%177 = load i8, ptr %176, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %178, -2
br i1 %179, label %180, label %184
180: ; preds = %173
%181 = load i32, ptr %5, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %5, align 4
%183 = load i32, ptr %1, align 4
store i32 %183, ptr %4, align 4
br label %184
184: ; preds = %180, %173
br label %185
185: ; preds = %184
%186 = load i32, ptr %1, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %1, align 4
%188 = load i32, ptr %1, align 4
%189 = load i32, ptr %7, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %173, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %185
br label %191
191: ; preds = %._crit_edge18, %169
%192 = load i32, ptr %5, align 4
%193 = icmp sgt i32 %192, 0
br i1 %193, label %194, label %248
194: ; preds = %191
store i32 0, ptr %2, align 4
%195 = load i32, ptr %2, align 4
%196 = load i32, ptr %4, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %.lr.ph23, label %220
.lr.ph23: ; preds = %194
br label %198
198: ; preds = %.lr.ph23, %214
%199 = load i32, ptr %2, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i8, ptr %21, i64 %200
%202 = load i8, ptr %201, align 1
%203 = sext i8 %202 to i32
%204 = load i32, ptr %4, align 4
%205 = load i32, ptr %2, align 4
%206 = sub nsw i32 %204, %205
%207 = sub nsw i32 %206, 1
%208 = call signext i8 @pow(i32 noundef 10, i32 noundef %207)
%209 = sext i8 %208 to i32
%210 = mul nsw i32 %203, %209
%211 = sitofp i32 %210 to float
%212 = load float, ptr %8, align 4
%213 = fadd float %212, %211
store float %213, ptr %8, align 4
br label %214
214: ; preds = %198
%215 = load i32, ptr %2, align 4
%216 = add nsw i32 %215, 1
store i32 %216, ptr %2, align 4
%217 = load i32, ptr %2, align 4
%218 = load i32, ptr %4, align 4
%219 = icmp slt i32 %217, %218
br i1 %219, label %198, label %._crit_edge24, !llvm.loop !14
._crit_edge24: ; preds = %214
br label %220
220: ; preds = %._crit_edge24, %194
%221 = load i32, ptr %4, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %2, align 4
%223 = load i32, ptr %2, align 4
%224 = load i32, ptr %7, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %.lr.ph26, label %247
.lr.ph26: ; preds = %220
br label %226
226: ; preds = %.lr.ph26, %241
%227 = load float, ptr %8, align 4
%228 = load i32, ptr %2, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %21, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = load i32, ptr %4, align 4
%234 = load i32, ptr %2, align 4
%235 = sub nsw i32 %233, %234
%236 = call signext i8 @pow(i32 noundef 10, i32 noundef %235)
%237 = sext i8 %236 to i32
%238 = mul nsw i32 %232, %237
%239 = sitofp i32 %238 to float
%240 = fadd float %227, %239
store float %240, ptr %8, align 4
br label %241
241: ; preds = %226
%242 = load i32, ptr %2, align 4
%243 = add nsw i32 %242, 1
store i32 %243, ptr %2, align 4
%244 = load i32, ptr %2, align 4
%245 = load i32, ptr %7, align 4
%246 = icmp slt i32 %244, %245
br i1 %246, label %226, label %._crit_edge27, !llvm.loop !15
._crit_edge27: ; preds = %241
br label %247
247: ; preds = %._crit_edge27, %220
br label %275
248: ; preds = %191
store i32 0, ptr %1, align 4
%249 = load i32, ptr %1, align 4
%250 = load i32, ptr %7, align 4
%251 = icmp slt i32 %249, %250
br i1 %251, label %.lr.ph20, label %274
.lr.ph20: ; preds = %248
br label %252
252: ; preds = %.lr.ph20, %268
%253 = load i32, ptr %1, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i8, ptr %21, i64 %254
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = load i32, ptr %7, align 4
%259 = load i32, ptr %1, align 4
%260 = sub nsw i32 %258, %259
%261 = sub nsw i32 %260, 1
%262 = call signext i8 @pow(i32 noundef 10, i32 noundef %261)
%263 = sext i8 %262 to i32
%264 = mul nsw i32 %257, %263
%265 = sitofp i32 %264 to float
%266 = load float, ptr %8, align 4
%267 = fadd float %266, %265
store float %267, ptr %8, align 4
br label %268
268: ; preds = %252
%269 = load i32, ptr %1, align 4
%270 = add nsw i32 %269, 1
store i32 %270, ptr %1, align 4
%271 = load i32, ptr %1, align 4
%272 = load i32, ptr %7, align 4
%273 = icmp slt i32 %271, %272
br i1 %273, label %252, label %._crit_edge21, !llvm.loop !16
._crit_edge21: ; preds = %268
br label %274
274: ; preds = %._crit_edge21, %248
br label %275
275: ; preds = %274, %247
%276 = load i32, ptr %3, align 4
%277 = icmp sgt i32 %276, 0
br i1 %277, label %278, label %280
278: ; preds = %275
%279 = call i32 @print(ptr noundef @.str.3)
br label %283
280: ; preds = %275
%281 = load float, ptr %8, align 4
%282 = call i32 @printid(float noundef %281)
br label %283
283: ; preds = %280, %278
br label %284
284: ; preds = %283, %27
%285 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %285)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @getid(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare signext i8 @pow(i32 noundef, i32 noundef) #1
declare i32 @printid(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
|
; ModuleID = '/tmp/tmp4ldfwwvv.c'
source_filename = "/tmp/tmp4ldfwwvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/net/tun\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@IFF_TAP = dso_local global i32 0, align 4
@IFF_TUN = dso_local global i32 0, align 4
@IFF_NO_PI = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@TUNSETIFF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tun_alloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.ifreq, 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
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %51
13: ; preds = %2
%14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load i32, ptr @IFF_TAP, align 4
br label %21
19: ; preds = %13
%20 = load i32, ptr @IFF_TUN, align 4
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
%23 = load i32, ptr @IFF_NO_PI, align 4
%24 = or i32 %22, %23
%25 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %21
%31 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr @IFNAMSIZ, align 4
%35 = call i32 @strncpy(i32 noundef %32, ptr noundef %33, i32 noundef %34)
br label %36
36: ; preds = %30, %21
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr @TUNSETIFF, align 4
%39 = call i32 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %6)
store i32 %39, ptr %8, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load i32, ptr %7, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %3, align 4
br label %51
45: ; preds = %36
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = call i32 @strcpy(ptr noundef %46, i32 noundef %48)
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %45, %41, %12
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @strcpy(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/tmp4ldfwwvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifreq = type { i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/net/tun\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@IFF_TAP = dso_local global i32 0, align 4
@IFF_TUN = dso_local global i32 0, align 4
@IFF_NO_PI = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@TUNSETIFF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tun_alloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.ifreq, 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
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %51
13: ; preds = %2
%14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load i32, ptr @IFF_TAP, align 4
br label %21
19: ; preds = %13
%20 = load i32, ptr @IFF_TUN, align 4
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
%23 = load i32, ptr @IFF_NO_PI, align 4
%24 = or i32 %22, %23
%25 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %21
%31 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr @IFNAMSIZ, align 4
%35 = call i32 @strncpy(i32 noundef %32, ptr noundef %33, i32 noundef %34)
br label %36
36: ; preds = %30, %21
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr @TUNSETIFF, align 4
%39 = call i32 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %6)
store i32 %39, ptr %8, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load i32, ptr %7, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %3, align 4
br label %51
45: ; preds = %36
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = call i32 @strcpy(ptr noundef %46, i32 noundef %48)
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %45, %41, %12
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @strcpy(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/tmpqyiaah6j.c'
source_filename = "/tmp/tmpqyiaah6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\B4\C3\BA\C2\B8\C3\AA\C2\AA\C2\BA\C2\BC\C3\86\C2\B6q\C2\A1G\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [63 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\AA\C3\B8\C2\AB\C3\97\C2\A6\C3\9C\C2\A4\C3\96\C2\AC\C2\B01\C2\A5B\C2\A4\C2\A3\C2\B6W\C2\B9L20\C2\AA\C2\BA\C2\A6r\C2\A6\C3\AA\C2\A1G\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\C2\A6s\C2\A6b%ld\C2\BA\C3\98\C2\B0j\C2\A4\C3\A5\C2\AE\C3\A6\C2\A6\C2\A1\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [50 x i8], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 50, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fflush(i32 noundef %6)
br label %8
8: ; preds = %25, %0
%9 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
br label %13
13: ; preds = %17, %12
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %2, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%19 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%20 = call i64 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %19)
%21 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%22 = call i64 @ispalindrome(ptr noundef %21)
store i64 %22, ptr %4, align 8
%23 = load i64, ptr %4, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %23)
br label %13, !llvm.loop !6
25: ; preds = %13
br label %8, !llvm.loop !8
26: ; preds = %8
%27 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %27
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fflush(i32 noundef) #2
declare i64 @scanf(ptr noundef, ...) #2
declare i64 @ispalindrome(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyiaah6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\B4\C3\BA\C2\B8\C3\AA\C2\AA\C2\BA\C2\BC\C3\86\C2\B6q\C2\A1G\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [63 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\AA\C3\B8\C2\AB\C3\97\C2\A6\C3\9C\C2\A4\C3\96\C2\AC\C2\B01\C2\A5B\C2\A4\C2\A3\C2\B6W\C2\B9L20\C2\AA\C2\BA\C2\A6r\C2\A6\C3\AA\C2\A1G\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\C2\A6s\C2\A6b%ld\C2\BA\C3\98\C2\B0j\C2\A4\C3\A5\C2\AE\C3\A6\C2\A6\C2\A1\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [50 x i8], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 50, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph2, label %30
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %26
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %15
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%17 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%18 = call i64 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %17)
%19 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%20 = call i64 @ispalindrome(ptr noundef %19)
store i64 %20, ptr %4, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %2, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %26
26: ; preds = %._crit_edge, %11
%27 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%28 = load i64, ptr @EOF, align 8
%29 = icmp ne i64 %27, %28
br i1 %29, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %30
30: ; preds = %._crit_edge3, %0
%31 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %31
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fflush(i32 noundef) #2
declare i64 @scanf(ptr noundef, ...) #2
declare i64 @ispalindrome(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy603nyzj.c'
source_filename = "/tmp/tmpy603nyzj.c"
target datalayout = "e-m:e-p270: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/tmpy603nyzj.c"
target datalayout = "e-m:e-p270: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/tmpucuefx1n.c'
source_filename = "/tmp/tmpucuefx1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input1.txt\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"opening file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"\0Aconcordance ran in %f seconds \0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [25 x i8] c"Table emptyBuckets = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Table count = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Table capacity = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Table load = %f\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"Deleting keys\0A\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"and\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"me\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"the\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"\0ADeleted the table\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %6, align 8
br label %20
19: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %20
20: ; preds = %19, %15
%21 = load ptr, ptr %6, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2)
store ptr %24, ptr %10, align 8
%25 = load ptr, ptr %10, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load ptr, ptr %6, align 8
%29 = call i32 @perror(ptr noundef %28)
store i32 1, ptr %3, align 4
br label %98
30: ; preds = %20
%31 = call i64 (...) @clock()
store i64 %31, ptr %9, align 8
%32 = load i32, ptr %8, align 4
%33 = call ptr @createMap(i32 noundef %32)
store ptr %33, ptr %7, align 8
%34 = load ptr, ptr %10, align 8
%35 = call ptr @getWord(ptr noundef %34)
store ptr %35, ptr %11, align 8
br label %36
36: ; preds = %56, %30
%37 = load ptr, ptr %11, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %59
39: ; preds = %36
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %11, align 8
%42 = call ptr @atMap(ptr noundef %40, ptr noundef %41)
store ptr %42, ptr %12, align 8
%43 = load ptr, ptr %12, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %49
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %11, align 8
%48 = call i32 @insertMap(ptr noundef %46, ptr noundef %47, i32 noundef 1)
br label %56
49: ; preds = %39
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %11, align 8
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %53, 1
%55 = call i32 @insertMap(ptr noundef %50, ptr noundef %51, i32 noundef %54)
br label %56
56: ; preds = %49, %45
%57 = load ptr, ptr %10, align 8
%58 = call ptr @getWord(ptr noundef %57)
store ptr %58, ptr %11, align 8
br label %36, !llvm.loop !6
59: ; preds = %36
%60 = load ptr, ptr %10, align 8
%61 = call i32 @fclose(ptr noundef %60)
%62 = load ptr, ptr %7, align 8
%63 = call i32 @printMap(ptr noundef %62)
%64 = call i64 (...) @clock()
%65 = load i64, ptr %9, align 8
%66 = sub nsw i64 %64, %65
store i64 %66, ptr %9, align 8
%67 = load i64, ptr %9, align 8
%68 = sitofp i64 %67 to float
%69 = load i64, ptr @CLOCKS_PER_SEC, align 8
%70 = sitofp i64 %69 to float
%71 = fdiv float %68, %70
%72 = fpext float %71 to double
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %72)
%74 = load ptr, ptr %7, align 8
%75 = call i32 @emptyBuckets(ptr noundef %74)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %75)
%77 = load ptr, ptr %7, align 8
%78 = call i32 @size(ptr noundef %77)
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %78)
%80 = load ptr, ptr %7, align 8
%81 = call i32 @capacity(ptr noundef %80)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %81)
%83 = load ptr, ptr %7, align 8
%84 = call double @tableLoad(ptr noundef %83)
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %84)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%87 = load ptr, ptr %7, align 8
%88 = call i32 @removeKey(ptr noundef %87, ptr noundef @.str.9)
%89 = load ptr, ptr %7, align 8
%90 = call i32 @removeKey(ptr noundef %89, ptr noundef @.str.10)
%91 = load ptr, ptr %7, align 8
%92 = call i32 @removeKey(ptr noundef %91, ptr noundef @.str.11)
%93 = load ptr, ptr %7, align 8
%94 = call i32 @printMap(ptr noundef %93)
%95 = load ptr, ptr %7, align 8
%96 = call i32 @deleteMap(ptr noundef %95)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %3, align 4
br label %98
98: ; preds = %59, %27
%99 = load i32, ptr %3, align 4
ret i32 %99
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @clock(...) #1
declare ptr @createMap(i32 noundef) #1
declare ptr @getWord(ptr noundef) #1
declare ptr @atMap(ptr noundef, ptr noundef) #1
declare i32 @insertMap(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printMap(ptr noundef) #1
declare i32 @emptyBuckets(ptr noundef) #1
declare i32 @size(ptr noundef) #1
declare i32 @capacity(ptr noundef) #1
declare double @tableLoad(ptr noundef) #1
declare i32 @removeKey(ptr noundef, ptr noundef) #1
declare i32 @deleteMap(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpucuefx1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input1.txt\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"opening file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"\0Aconcordance ran in %f seconds \0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [25 x i8] c"Table emptyBuckets = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Table count = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Table capacity = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Table load = %f\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"Deleting keys\0A\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"and\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"me\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"the\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"\0ADeleted the table\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %6, align 8
br label %20
19: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %20
20: ; preds = %19, %15
%21 = load ptr, ptr %6, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2)
store ptr %24, ptr %10, align 8
%25 = load ptr, ptr %10, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load ptr, ptr %6, align 8
%29 = call i32 @perror(ptr noundef %28)
store i32 1, ptr %3, align 4
br label %99
30: ; preds = %20
%31 = call i64 (...) @clock()
store i64 %31, ptr %9, align 8
%32 = load i32, ptr %8, align 4
%33 = call ptr @createMap(i32 noundef %32)
store ptr %33, ptr %7, align 8
%34 = load ptr, ptr %10, align 8
%35 = call ptr @getWord(ptr noundef %34)
store ptr %35, ptr %11, align 8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %.lr.ph, label %60
.lr.ph: ; preds = %30
br label %38
38: ; preds = %.lr.ph, %55
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %11, align 8
%41 = call ptr @atMap(ptr noundef %39, ptr noundef %40)
store ptr %41, ptr %12, align 8
%42 = load ptr, ptr %12, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %48
44: ; preds = %38
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %11, align 8
%47 = call i32 @insertMap(ptr noundef %45, ptr noundef %46, i32 noundef 1)
br label %55
48: ; preds = %38
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, 1
%54 = call i32 @insertMap(ptr noundef %49, ptr noundef %50, i32 noundef %53)
br label %55
55: ; preds = %48, %44
%56 = load ptr, ptr %10, align 8
%57 = call ptr @getWord(ptr noundef %56)
store ptr %57, ptr %11, align 8
%58 = load ptr, ptr %11, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %60
60: ; preds = %._crit_edge, %30
%61 = load ptr, ptr %10, align 8
%62 = call i32 @fclose(ptr noundef %61)
%63 = load ptr, ptr %7, align 8
%64 = call i32 @printMap(ptr noundef %63)
%65 = call i64 (...) @clock()
%66 = load i64, ptr %9, align 8
%67 = sub nsw i64 %65, %66
store i64 %67, ptr %9, align 8
%68 = load i64, ptr %9, align 8
%69 = sitofp i64 %68 to float
%70 = load i64, ptr @CLOCKS_PER_SEC, align 8
%71 = sitofp i64 %70 to float
%72 = fdiv float %69, %71
%73 = fpext float %72 to double
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %73)
%75 = load ptr, ptr %7, align 8
%76 = call i32 @emptyBuckets(ptr noundef %75)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %76)
%78 = load ptr, ptr %7, align 8
%79 = call i32 @size(ptr noundef %78)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %79)
%81 = load ptr, ptr %7, align 8
%82 = call i32 @capacity(ptr noundef %81)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %82)
%84 = load ptr, ptr %7, align 8
%85 = call double @tableLoad(ptr noundef %84)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%88 = load ptr, ptr %7, align 8
%89 = call i32 @removeKey(ptr noundef %88, ptr noundef @.str.9)
%90 = load ptr, ptr %7, align 8
%91 = call i32 @removeKey(ptr noundef %90, ptr noundef @.str.10)
%92 = load ptr, ptr %7, align 8
%93 = call i32 @removeKey(ptr noundef %92, ptr noundef @.str.11)
%94 = load ptr, ptr %7, align 8
%95 = call i32 @printMap(ptr noundef %94)
%96 = load ptr, ptr %7, align 8
%97 = call i32 @deleteMap(ptr noundef %96)
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %3, align 4
br label %99
99: ; preds = %60, %27
%100 = load i32, ptr %3, align 4
ret i32 %100
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @clock(...) #1
declare ptr @createMap(i32 noundef) #1
declare ptr @getWord(ptr noundef) #1
declare ptr @atMap(ptr noundef, ptr noundef) #1
declare i32 @insertMap(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printMap(ptr noundef) #1
declare i32 @emptyBuckets(ptr noundef) #1
declare i32 @size(ptr noundef) #1
declare i32 @capacity(ptr noundef) #1
declare double @tableLoad(ptr noundef) #1
declare i32 @removeKey(ptr noundef, ptr noundef) #1
declare i32 @deleteMap(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpv8416vbq.c'
source_filename = "/tmp/tmpv8416vbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocationFree(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 @sa_free(ptr noundef %3)
ret void
}
declare i32 @sa_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/tmpv8416vbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocationFree(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 @sa_free(ptr noundef %3)
ret void
}
declare i32 @sa_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/tmpgkijwthz.c'
source_filename = "/tmp/tmpgkijwthz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bar() #0 {
%1 = call i32 (...) @foo_with_default_visibility()
%2 = call i32 (...) @foo_with_protected_visibility()
%3 = call i32 (...) @foo_with_internal_visibility()
%4 = call i32 (...) @foo_with_hidden_visibility()
%5 = call i32 (...) @foo_with_used_attribute()
%6 = call i32 (...) @foo()
ret void
}
declare i32 @foo_with_default_visibility(...) #1
declare i32 @foo_with_protected_visibility(...) #1
declare i32 @foo_with_internal_visibility(...) #1
declare i32 @foo_with_hidden_visibility(...) #1
declare i32 @foo_with_used_attribute(...) #1
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgkijwthz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bar() #0 {
%1 = call i32 (...) @foo_with_default_visibility()
%2 = call i32 (...) @foo_with_protected_visibility()
%3 = call i32 (...) @foo_with_internal_visibility()
%4 = call i32 (...) @foo_with_hidden_visibility()
%5 = call i32 (...) @foo_with_used_attribute()
%6 = call i32 (...) @foo()
ret void
}
declare i32 @foo_with_default_visibility(...) #1
declare i32 @foo_with_protected_visibility(...) #1
declare i32 @foo_with_internal_visibility(...) #1
declare i32 @foo_with_hidden_visibility(...) #1
declare i32 @foo_with_used_attribute(...) #1
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf0olz1wh.c'
source_filename = "/tmp/tmpf0olz1wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spawn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i64 (...) @vfork()
store i64 %6, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @execvp(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %9, %2
ret void
}
declare i64 @vfork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0olz1wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spawn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i64 (...) @vfork()
store i64 %6, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @execvp(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %9, %2
ret void
}
declare i64 @vfork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp66hv086a.c'
source_filename = "/tmp/tmp66hv086a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Enter number of vertices and edges in the graph : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Not sink in the graph\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"there exist a universal in the graph %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @adjacencyMatrix(i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printGraph(ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @sink(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %22
19: ; preds = %0
%20 = load i32, ptr %5, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
br label %22
22: ; preds = %19, %17
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @adjacencyMatrix(i32 noundef, i32 noundef) #1
declare i32 @printGraph(ptr noundef) #1
declare i32 @sink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66hv086a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Enter number of vertices and edges in the graph : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Not sink in the graph\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"there exist a universal in the graph %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @adjacencyMatrix(i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printGraph(ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @sink(ptr noundef %13)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %22
19: ; preds = %0
%20 = load i32, ptr %5, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
br label %22
22: ; preds = %19, %17
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @adjacencyMatrix(i32 noundef, i32 noundef) #1
declare i32 @printGraph(ptr noundef) #1
declare i32 @sink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz9jjt4ra.c'
source_filename = "/tmp/tmpz9jjt4ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @getNumbers(ptr noundef %3, ptr noundef %4)
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = fadd double %6, %7
ret double %8
}
declare i32 @getNumbers(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/tmpz9jjt4ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @getNumbers(ptr noundef %3, ptr noundef %4)
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = fadd double %6, %7
ret double %8
}
declare i32 @getNumbers(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/tmp5d5n8_gg.c'
source_filename = "/tmp/tmp5d5n8_gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzBuiltinVariable_reqdown(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef %7, i32 noundef 1)
%9 = load i32, ptr %4, align 4
%10 = icmp sge i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef %12, i32 noundef 0)
br label %14
14: ; preds = %11, %2
ret void
}
declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1
declare i32 @SEND_DATAOFF_DELAYED(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/tmp5d5n8_gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzBuiltinVariable_reqdown(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef %7, i32 noundef 1)
%9 = load i32, ptr %4, align 4
%10 = icmp sge i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef %12, i32 noundef 0)
br label %14
14: ; preds = %11, %2
ret void
}
declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1
declare i32 @SEND_DATAOFF_DELAYED(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/tmpv21zsh4b.c'
source_filename = "/tmp/tmpv21zsh4b.c"
target datalayout = "e-m:e-p270: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/tmpv21zsh4b.c"
target datalayout = "e-m:e-p270: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/tmptt7abs_6.c'
source_filename = "/tmp/tmptt7abs_6.c"
target datalayout = "e-m:e-p270: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/tmptt7abs_6.c"
target datalayout = "e-m:e-p270: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/tmpoillxpgz.c'
source_filename = "/tmp/tmpoillxpgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @init()
%7 = call i32 (...) @runBar()
%8 = call i32 (...) @deinit()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @runBar(...) #1
declare i32 @deinit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoillxpgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @init()
%7 = call i32 (...) @runBar()
%8 = call i32 (...) @deinit()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @runBar(...) #1
declare i32 @deinit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphyrmo541.c'
source_filename = "/tmp/tmphyrmo541.c"
target datalayout = "e-m:e-p270: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/tmphyrmo541.c"
target datalayout = "e-m:e-p270: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/tmpsf6kj47k.c'
source_filename = "/tmp/tmpsf6kj47k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, -1672541653
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %59
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %48, !llvm.loop !8
59: ; preds = %48
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsf6kj47k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, -1672541653
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %38
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %.lr.ph2, label %61
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1
br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %61
61: ; preds = %._crit_edge3, %48
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpignj8bod.c'
source_filename = "/tmp/tmpignj8bod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Version %ld, CAR %d, POS %d, MAXBLOCK %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Sum %lld \0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"SumOK %lld \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Time: %ld \0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = 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 i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 13, ptr %13, align 4
store i32 9, ptr %14, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 2
br i1 %21, label %22, label %31
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %13, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %14, align 4
br label %31
31: ; preds = %22, %2
%32 = load i32, ptr %14, align 4
%33 = call ptr @calloc(i32 noundef %32, i32 noundef 4)
store ptr %33, ptr %15, align 8
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %14, align 4
%36 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 32, i32 noundef %34, i32 noundef %35, i32 noundef 3)
%37 = call i32 (...) @clock()
store i32 %37, ptr %16, align 4
br label %38
38: ; preds = %125, %31
%39 = load i64, ptr %6, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %6, align 8
store i32 1, ptr %17, align 4
store i32 0, ptr %10, align 4
br label %41
41: ; preds = %83, %38
%42 = load i32, ptr %17, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %14, align 4
%47 = sub nsw i32 %46, 3
%48 = icmp slt i32 %45, %47
br label %49
49: ; preds = %44, %41
%50 = phi i1 [ false, %41 ], [ %48, %44 ]
br i1 %50, label %51, label %86
51: ; preds = %49
store i32 0, ptr %17, align 4
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %12, align 4
br label %54
54: ; preds = %79, %51
%55 = load i32, ptr %17, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %63, label %57
57: ; preds = %54
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 3
%61 = add nsw i32 %60, 1
%62 = icmp slt i32 %58, %61
br label %63
63: ; preds = %57, %54
%64 = phi i1 [ false, %54 ], [ %62, %57 ]
br i1 %64, label %65, label %82
65: ; preds = %63
%66 = load ptr, ptr %15, 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 %15, align 8
%72 = load i32, ptr %12, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = icmp ne i32 %70, %75
br i1 %76, label %77, label %78
77: ; preds = %65
store i32 1, ptr %17, align 4
br label %78
78: ; preds = %77, %65
br label %79
79: ; preds = %78
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
br label %54, !llvm.loop !6
82: ; preds = %63
br label %83
83: ; preds = %82
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
br label %41, !llvm.loop !8
86: ; preds = %49
%87 = load i32, ptr %17, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %86
%90 = load i64, ptr %7, align 8
%91 = add nsw i64 %90, 1
store i64 %91, ptr %7, align 8
br label %92
92: ; preds = %89, %86
%93 = load ptr, ptr %15, align 8
%94 = getelementptr inbounds i32, ptr %93, i64 0
%95 = load i32, ptr %94, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %94, align 4
store i32 0, ptr %18, align 4
br label %97
97: ; preds = %123, %92
%98 = load ptr, ptr %15, align 8
%99 = load i32, ptr %18, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load i32, ptr %13, align 4
%104 = icmp sge i32 %102, %103
br i1 %104, label %105, label %124
105: ; preds = %97
%106 = load ptr, ptr %15, align 8
%107 = load i32, ptr %18, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
store i32 0, ptr %109, align 4
%110 = load i32, ptr %18, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %18, align 4
%112 = load i32, ptr %18, align 4
%113 = load i32, ptr %14, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %122
115: ; preds = %105
%116 = load ptr, ptr %15, align 8
%117 = load i32, ptr %18, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
%120 = load i32, ptr %119, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %119, align 4
br label %123
122: ; preds = %105
store i32 1, ptr %8, align 4
br label %124
123: ; preds = %115
br label %97, !llvm.loop !9
124: ; preds = %122, %97
br label %125
125: ; preds = %124
%126 = load i32, ptr %8, align 4
%127 = icmp ne i32 %126, 0
%128 = xor i1 %127, true
br i1 %128, label %38, label %129, !llvm.loop !10
129: ; preds = %125
%130 = load ptr, ptr %15, align 8
%131 = call i32 @free(ptr noundef %130)
%132 = call i32 (...) @clock()
store i32 %132, ptr %19, align 4
%133 = load i64, ptr %6, align 8
%134 = trunc i64 %133 to i32
%135 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %134)
%136 = load i64, ptr %7, align 8
%137 = trunc i64 %136 to i32
%138 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %137)
%139 = load i32, ptr %19, align 4
%140 = load i32, ptr %16, align 4
%141 = sub nsw i32 %139, %140
%142 = mul nsw i32 %141, 1000
%143 = load i32, ptr @CLOCKS_PER_SEC, align 4
%144 = sdiv i32 %142, %143
%145 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %144)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @clock(...) #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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpignj8bod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Version %ld, CAR %d, POS %d, MAXBLOCK %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Sum %lld \0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"SumOK %lld \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Time: %ld \0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = 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 i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 13, ptr %13, align 4
store i32 9, ptr %14, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 2
br i1 %21, label %22, label %31
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %13, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %14, align 4
br label %31
31: ; preds = %22, %2
%32 = load i32, ptr %14, align 4
%33 = call ptr @calloc(i32 noundef %32, i32 noundef 4)
store ptr %33, ptr %15, align 8
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %14, align 4
%36 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 32, i32 noundef %34, i32 noundef %35, i32 noundef 3)
%37 = call i32 (...) @clock()
store i32 %37, ptr %16, align 4
br label %38
38: ; preds = %131, %31
%39 = load i64, ptr %6, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %6, align 8
store i32 1, ptr %17, align 4
store i32 0, ptr %10, align 4
br label %41
41: ; preds = %83, %38
%42 = load i32, ptr %17, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %14, align 4
%47 = sub nsw i32 %46, 3
%48 = icmp slt i32 %45, %47
br label %49
49: ; preds = %44, %41
%50 = phi i1 [ false, %41 ], [ %48, %44 ]
br i1 %50, label %51, label %86
51: ; preds = %49
store i32 0, ptr %17, align 4
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %12, align 4
br label %54
54: ; preds = %79, %51
%55 = load i32, ptr %17, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %63, label %57
57: ; preds = %54
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 3
%61 = add nsw i32 %60, 1
%62 = icmp slt i32 %58, %61
br label %63
63: ; preds = %57, %54
%64 = phi i1 [ false, %54 ], [ %62, %57 ]
br i1 %64, label %65, label %82
65: ; preds = %63
%66 = load ptr, ptr %15, 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 %15, align 8
%72 = load i32, ptr %12, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = icmp ne i32 %70, %75
br i1 %76, label %77, label %78
77: ; preds = %65
store i32 1, ptr %17, align 4
br label %78
78: ; preds = %77, %65
br label %79
79: ; preds = %78
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
br label %54, !llvm.loop !6
82: ; preds = %63
br label %83
83: ; preds = %82
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %10, align 4
br label %41, !llvm.loop !8
86: ; preds = %49
%87 = load i32, ptr %17, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %86
%90 = load i64, ptr %7, align 8
%91 = add nsw i64 %90, 1
store i64 %91, ptr %7, align 8
br label %92
92: ; preds = %89, %86
%93 = load ptr, ptr %15, align 8
%94 = getelementptr inbounds i32, ptr %93, i64 0
%95 = load i32, ptr %94, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %94, align 4
store i32 0, ptr %18, align 4
%97 = load ptr, ptr %15, align 8
%98 = load i32, ptr %18, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load i32, ptr %13, align 4
%103 = icmp sge i32 %101, %102
br i1 %103, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %92
br label %104
104: ; preds = %.lr.ph, %122
%105 = load ptr, ptr %15, align 8
%106 = load i32, ptr %18, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
store i32 0, ptr %108, align 4
%109 = load i32, ptr %18, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %18, align 4
%111 = load i32, ptr %18, align 4
%112 = load i32, ptr %14, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %114, label %121
114: ; preds = %104
%115 = load ptr, ptr %15, align 8
%116 = load i32, ptr %18, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %115, i64 %117
%119 = load i32, ptr %118, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %118, align 4
br label %122
121: ; preds = %104
store i32 1, ptr %8, align 4
br label %130
122: ; preds = %114
%123 = load ptr, ptr %15, align 8
%124 = load i32, ptr %18, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr %13, align 4
%129 = icmp sge i32 %127, %128
br i1 %129, label %104, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %122
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %92
br label %130
130: ; preds = %.loopexit, %121
br label %131
131: ; preds = %130
%132 = load i32, ptr %8, align 4
%133 = icmp ne i32 %132, 0
%134 = xor i1 %133, true
br i1 %134, label %38, label %135, !llvm.loop !10
135: ; preds = %131
%136 = load ptr, ptr %15, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = call i32 (...) @clock()
store i32 %138, ptr %19, align 4
%139 = load i64, ptr %6, align 8
%140 = trunc i64 %139 to i32
%141 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %140)
%142 = load i64, ptr %7, align 8
%143 = trunc i64 %142 to i32
%144 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %143)
%145 = load i32, ptr %19, align 4
%146 = load i32, ptr %16, align 4
%147 = sub nsw i32 %145, %146
%148 = mul nsw i32 %147, 1000
%149 = load i32, ptr @CLOCKS_PER_SEC, align 4
%150 = sdiv i32 %148, %149
%151 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %150)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @clock(...) #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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpl_sud3yw.c'
source_filename = "/tmp/tmpl_sud3yw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_hash(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load i64, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @MD5(ptr noundef %7, i64 noundef %8, ptr noundef %9)
ret i32 0
}
declare i32 @MD5(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_sud3yw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_hash(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load i64, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @MD5(ptr noundef %7, i64 noundef %8, ptr noundef %9)
ret i32 0
}
declare i32 @MD5(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2lodxj88.c'
source_filename = "/tmp/tmp2lodxj88.c"
target datalayout = "e-m:e-p270: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 [7 x i8] c"%s%ls\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2lodxj88.c"
target datalayout = "e-m:e-p270: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 [7 x i8] c"%s%ls\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgrygt07l.c'
source_filename = "/tmp/tmpgrygt07l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_searcher_search_hits(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @hits_initial(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @hits_initial(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/tmpgrygt07l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_searcher_search_hits(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @hits_initial(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @hits_initial(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/tmpqmlpqb8r.c'
source_filename = "/tmp/tmpqmlpqb8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Student %d: I am studying\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @study(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @sleep(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmlpqb8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Student %d: I am studying\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @study(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @sleep(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpakb4zofp.c'
source_filename = "/tmp/tmpakb4zofp.c"
target datalayout = "e-m:e-p270: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/tmpakb4zofp.c"
target datalayout = "e-m:e-p270: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_msefldc.c'
source_filename = "/tmp/tmp_msefldc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sas_read8(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 8)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = call i32 @byteswap8(i32 noundef %11)
br label %15
13: ; preds = %2
%14 = load i32, ptr %5, align 4
br label %15
15: ; preds = %13, %10
%16 = phi i32 [ %12, %10 ], [ %14, %13 ]
ret i32 %16
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @byteswap8(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_msefldc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sas_read8(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 8)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = call i32 @byteswap8(i32 noundef %11)
br label %15
13: ; preds = %2
%14 = load i32, ptr %5, align 4
br label %15
15: ; preds = %13, %10
%16 = phi i32 [ %12, %10 ], [ %14, %13 ]
ret i32 %16
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @byteswap8(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/tmpjr2b86r7.c'
source_filename = "/tmp/tmpjr2b86r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 = call i32 @foo(ptr noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @vprintf(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @vprintf(i32 noundef, i32 noundef) #1
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjr2b86r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 = call i32 @foo(ptr noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @vprintf(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @vprintf(i32 noundef, i32 noundef) #1
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpba7462v7.c'
source_filename = "/tmp/tmpba7462v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%-15.%d%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfarray(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i8 noundef signext %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca [20 x i8], align 16
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i8 %6, ptr %14, align 1
%20 = getelementptr inbounds [20 x i8], ptr %19, i64 0, i64 0
%21 = load i32, ptr %13, align 4
%22 = load i8, ptr %14, align 1
%23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i32 noundef %21, i8 noundef signext %22)
%24 = load ptr, ptr %8, align 8
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %10, align 8
%27 = mul i64 %25, %26
%28 = call i32 @convertftd(ptr noundef %24, i64 noundef %27, ptr noundef %16)
%29 = load ptr, ptr %12, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.1)
store ptr %30, ptr %15, align 8
%31 = load ptr, ptr %15, align 8
%32 = load ptr, ptr %11, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %32)
store i64 0, ptr %17, align 8
br label %34
34: ; preds = %61, %7
%35 = load i64, ptr %17, align 8
%36 = load i64, ptr %9, align 8
%37 = icmp ult i64 %35, %36
br i1 %37, label %38, label %64
38: ; preds = %34
store i64 0, ptr %18, align 8
br label %39
39: ; preds = %55, %38
%40 = load i64, ptr %18, align 8
%41 = load i64, ptr %10, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %58
43: ; preds = %39
%44 = load ptr, ptr %15, align 8
%45 = getelementptr inbounds [20 x i8], ptr %19, i64 0, i64 0
%46 = load ptr, ptr %16, align 8
%47 = load i64, ptr %17, align 8
%48 = load i64, ptr %10, align 8
%49 = mul i64 %47, %48
%50 = load i64, ptr %18, align 8
%51 = add i64 %49, %50
%52 = getelementptr inbounds double, ptr %46, i64 %51
%53 = load double, ptr %52, align 8
%54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef %45, double noundef %53)
br label %55
55: ; preds = %43
%56 = load i64, ptr %18, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %18, align 8
br label %39, !llvm.loop !6
58: ; preds = %39
%59 = load ptr, ptr %15, align 8
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.3)
br label %61
61: ; preds = %58
%62 = load i64, ptr %17, align 8
%63 = add i64 %62, 1
store i64 %63, ptr %17, align 8
br label %34, !llvm.loop !8
64: ; preds = %34
%65 = load ptr, ptr %16, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load ptr, ptr %15, align 8
%68 = call i32 @fclose(ptr noundef %67)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @convertftd(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpba7462v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%-15.%d%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfarray(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i8 noundef signext %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca [20 x i8], align 16
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i8 %6, ptr %14, align 1
%20 = getelementptr inbounds [20 x i8], ptr %19, i64 0, i64 0
%21 = load i32, ptr %13, align 4
%22 = load i8, ptr %14, align 1
%23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i32 noundef %21, i8 noundef signext %22)
%24 = load ptr, ptr %8, align 8
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %10, align 8
%27 = mul i64 %25, %26
%28 = call i32 @convertftd(ptr noundef %24, i64 noundef %27, ptr noundef %16)
%29 = load ptr, ptr %12, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.1)
store ptr %30, ptr %15, align 8
%31 = load ptr, ptr %15, align 8
%32 = load ptr, ptr %11, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %32)
store i64 0, ptr %17, align 8
%34 = load i64, ptr %17, align 8
%35 = load i64, ptr %9, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %.lr.ph2, label %68
.lr.ph2: ; preds = %7
br label %37
37: ; preds = %.lr.ph2, %62
store i64 0, ptr %18, align 8
%38 = load i64, ptr %18, align 8
%39 = load i64, ptr %10, align 8
%40 = icmp ult i64 %38, %39
br i1 %40, label %.lr.ph, label %59
.lr.ph: ; preds = %37
br label %41
41: ; preds = %.lr.ph, %53
%42 = load ptr, ptr %15, align 8
%43 = getelementptr inbounds [20 x i8], ptr %19, i64 0, i64 0
%44 = load ptr, ptr %16, align 8
%45 = load i64, ptr %17, align 8
%46 = load i64, ptr %10, align 8
%47 = mul i64 %45, %46
%48 = load i64, ptr %18, align 8
%49 = add i64 %47, %48
%50 = getelementptr inbounds double, ptr %44, i64 %49
%51 = load double, ptr %50, align 8
%52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef %43, double noundef %51)
br label %53
53: ; preds = %41
%54 = load i64, ptr %18, align 8
%55 = add i64 %54, 1
store i64 %55, ptr %18, align 8
%56 = load i64, ptr %18, align 8
%57 = load i64, ptr %10, align 8
%58 = icmp ult i64 %56, %57
br i1 %58, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %37
%60 = load ptr, ptr %15, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.3)
br label %62
62: ; preds = %59
%63 = load i64, ptr %17, align 8
%64 = add i64 %63, 1
store i64 %64, ptr %17, align 8
%65 = load i64, ptr %17, align 8
%66 = load i64, ptr %9, align 8
%67 = icmp ult i64 %65, %66
br i1 %67, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %7
%69 = load ptr, ptr %16, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load ptr, ptr %15, align 8
%72 = call i32 @fclose(ptr noundef %71)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @convertftd(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpavi74ib1.c'
source_filename = "/tmp/tmpavi74ib1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_EPSILON = 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/tmpavi74ib1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_EPSILON = 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/tmpvp5k2xg9.c'
source_filename = "/tmp/tmpvp5k2xg9.c"
target datalayout = "e-m:e-p270: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/tmpvp5k2xg9.c"
target datalayout = "e-m:e-p270: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/tmptj100c2_.c'
source_filename = "/tmp/tmptj100c2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Dir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wBasDir() #0 {
%1 = call i32 @wNotYet(ptr noundef @.str)
%2 = call i32 @wPushNumber(i32 noundef 0)
ret void
}
declare i32 @wNotYet(ptr noundef) #1
declare i32 @wPushNumber(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/tmptj100c2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Dir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wBasDir() #0 {
%1 = call i32 @wNotYet(ptr noundef @.str)
%2 = call i32 @wPushNumber(i32 noundef 0)
ret void
}
declare i32 @wNotYet(ptr noundef) #1
declare i32 @wPushNumber(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/tmpj63typit.c'
source_filename = "/tmp/tmpj63typit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork_process(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (...) @fork()
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
call void (...) %8()
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
br label %13
13: ; preds = %12, %9
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj63typit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork_process(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (...) @fork()
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
call void (...) %8()
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
br label %13
13: ; preds = %12, %9
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6pmi6nwi.c'
source_filename = "/tmp/tmp6pmi6nwi.c"
target datalayout = "e-m:e-p270: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/tmp6pmi6nwi.c"
target datalayout = "e-m:e-p270: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/tmpts63umd6.c'
source_filename = "/tmp/tmpts63umd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_s2_f2c2darr(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
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 8)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %51, %3
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %54
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = call i64 @calloc(i32 noundef %18, i32 noundef 4)
%20 = inttoptr i64 %19 to ptr
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
store ptr %20, ptr %24, align 8
store i32 0, ptr %8, align 4
br label %25
25: ; preds = %47, %17
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %50
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %5, align 4
%33 = mul nsw i32 %31, %32
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, ptr %30, i64 %36
%38 = load float, ptr %37, align 4
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
store float %38, ptr %46, align 4
br label %47
47: ; preds = %29
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
br label %25, !llvm.loop !6
50: ; preds = %25
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %13, !llvm.loop !8
54: ; preds = %13
%55 = load ptr, ptr %9, align 8
ret ptr %55
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpts63umd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_s2_f2c2darr(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
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 8)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %9, align 8
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %58
.lr.ph2: ; preds = %3
br label %16
16: ; preds = %.lr.ph2, %52
%17 = load i32, ptr %6, align 4
%18 = call i64 @calloc(i32 noundef %17, i32 noundef 4)
%19 = inttoptr i64 %18 to ptr
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
store ptr %19, ptr %23, align 8
store i32 0, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %51
.lr.ph: ; preds = %16
br label %27
27: ; preds = %.lr.ph, %45
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %5, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %28, i64 %34
%36 = load float, ptr %35, align 4
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
store float %36, ptr %44, align 4
br label %45
45: ; preds = %27
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %16
br label %52
52: ; preds = %51
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %3
%59 = load ptr, ptr %9, align 8
ret ptr %59
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8z5nda9k.c'
source_filename = "/tmp/tmp8z5nda9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"A maior Media obtida foi: %.1f \0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca [3 x float], align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 4 %8, i8 0, i64 12, i1 false)
store i32 0, ptr %11, align 4
%13 = call ptr (...) @abri_arquivo()
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @vazio_arquivo(ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @SEEK_SET, align 4
%18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
store i8 39, ptr %12, align 1
br label %19
19: ; preds = %64, %2
%20 = load ptr, ptr %6, align 8
%21 = call i32 @feof(ptr noundef %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %24, label %65
24: ; preds = %19
br label %25
25: ; preds = %39, %24
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 2
br i1 %27, label %28, label %40
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = call signext i8 @fgetc(ptr noundef %29)
store i8 %30, ptr %7, align 1
%31 = load i8, ptr %7, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %12, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %39
36: ; preds = %28
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %11, align 4
br label %39
39: ; preds = %36, %28
br label %25, !llvm.loop !6
40: ; preds = %25
store i32 0, ptr %11, align 4
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%43 = call i32 @fscanf(ptr noundef %41, ptr noundef @.str, ptr noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
%46 = call i32 @fscanf(ptr noundef %44, ptr noundef @.str, ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
%49 = call i32 @fscanf(ptr noundef %47, ptr noundef @.str, ptr noundef %48)
%50 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%51 = load float, ptr %50, align 4
%52 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
%53 = load float, ptr %52, align 4
%54 = fadd float %51, %53
%55 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
%56 = load float, ptr %55, align 4
%57 = fadd float %54, %56
%58 = fdiv float %57, 3.000000e+00
store float %58, ptr %10, align 4
%59 = load float, ptr %10, align 4
%60 = load float, ptr %9, align 4
%61 = fcmp ogt float %59, %60
br i1 %61, label %62, label %64
62: ; preds = %40
%63 = load float, ptr %10, align 4
store float %63, ptr %9, align 4
br label %64
64: ; preds = %62, %40
br label %19, !llvm.loop !8
65: ; preds = %19
%66 = load ptr, ptr %6, align 8
%67 = call i32 @fclose(ptr noundef %66)
%68 = load float, ptr %9, align 4
%69 = call i32 @printf(ptr noundef @.str.1, float noundef %68)
%70 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %70
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @abri_arquivo(...) #2
declare i32 @vazio_arquivo(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @feof(ptr noundef) #2
declare signext i8 @fgetc(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8z5nda9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"A maior Media obtida foi: %.1f \0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca [3 x float], align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 4 %8, i8 0, i64 12, i1 false)
store i32 0, ptr %11, align 4
%13 = call ptr (...) @abri_arquivo()
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @vazio_arquivo(ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @SEEK_SET, align 4
%18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
store i8 39, ptr %12, align 1
%19 = load ptr, ptr %6, align 8
%20 = call i32 @feof(ptr noundef %19)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br i1 %22, label %.lr.ph2, label %69
.lr.ph2: ; preds = %2
br label %23
23: ; preds = %.lr.ph2, %64
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %24, 2
br i1 %25, label %.lr.ph, label %40
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %37
%27 = load ptr, ptr %6, align 8
%28 = call signext i8 @fgetc(ptr noundef %27)
store i8 %28, ptr %7, align 1
%29 = load i8, ptr %7, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr %12, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %37
34: ; preds = %26
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
br label %37
37: ; preds = %34, %26
%38 = load i32, ptr %11, align 4
%39 = icmp slt i32 %38, 2
br i1 %39, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %40
40: ; preds = %._crit_edge, %23
store i32 0, ptr %11, align 4
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%43 = call i32 @fscanf(ptr noundef %41, ptr noundef @.str, ptr noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
%46 = call i32 @fscanf(ptr noundef %44, ptr noundef @.str, ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
%49 = call i32 @fscanf(ptr noundef %47, ptr noundef @.str, ptr noundef %48)
%50 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%51 = load float, ptr %50, align 4
%52 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
%53 = load float, ptr %52, align 4
%54 = fadd float %51, %53
%55 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
%56 = load float, ptr %55, align 4
%57 = fadd float %54, %56
%58 = fdiv float %57, 3.000000e+00
store float %58, ptr %10, align 4
%59 = load float, ptr %10, align 4
%60 = load float, ptr %9, align 4
%61 = fcmp ogt float %59, %60
br i1 %61, label %62, label %64
62: ; preds = %40
%63 = load float, ptr %10, align 4
store float %63, ptr %9, align 4
br label %64
64: ; preds = %62, %40
%65 = load ptr, ptr %6, align 8
%66 = call i32 @feof(ptr noundef %65)
%67 = icmp ne i32 %66, 0
%68 = xor i1 %67, true
br i1 %68, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %69
69: ; preds = %._crit_edge3, %2
%70 = load ptr, ptr %6, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = load float, ptr %9, align 4
%73 = call i32 @printf(ptr noundef @.str.1, float noundef %72)
%74 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %74
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @abri_arquivo(...) #2
declare i32 @vazio_arquivo(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @feof(ptr noundef) #2
declare signext i8 @fgetc(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5o8lgunb.c'
source_filename = "/tmp/tmp5o8lgunb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"port is not a number.\00", align 1
@ERANGE = dso_local global i64 0, align 8
@ULONG_MAX = dso_local global i64 0, align 8
@USHRT_MAX = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"port value out of range.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_port(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strtoul(ptr noundef %5, ptr noundef %4, i32 noundef 10)
store i64 %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11, %1
%17 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %18
18: ; preds = %16, %11
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @ERANGE, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i64, ptr %3, align 8
%24 = load i64, ptr @ULONG_MAX, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %30, label %26
26: ; preds = %22, %18
%27 = load i64, ptr %3, align 8
%28 = load i64, ptr @USHRT_MAX, align 8
%29 = icmp sgt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26, %22
%31 = call i32 @err(i32 noundef 1, ptr noundef @.str.1)
br label %32
32: ; preds = %30, %26
%33 = load i64, ptr %3, align 8
%34 = trunc i64 %33 to i32
ret i32 %34
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @err(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/tmp5o8lgunb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"port is not a number.\00", align 1
@ERANGE = dso_local global i64 0, align 8
@ULONG_MAX = dso_local global i64 0, align 8
@USHRT_MAX = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"port value out of range.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_port(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strtoul(ptr noundef %5, ptr noundef %4, i32 noundef 10)
store i64 %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11, %1
%17 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %18
18: ; preds = %16, %11
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @ERANGE, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i64, ptr %3, align 8
%24 = load i64, ptr @ULONG_MAX, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %30, label %26
26: ; preds = %22, %18
%27 = load i64, ptr %3, align 8
%28 = load i64, ptr @USHRT_MAX, align 8
%29 = icmp sgt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26, %22
%31 = call i32 @err(i32 noundef 1, ptr noundef @.str.1)
br label %32
32: ; preds = %30, %26
%33 = load i64, ptr %3, align 8
%34 = trunc i64 %33 to i32
ret i32 %34
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @err(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/tmpb5isheat.c'
source_filename = "/tmp/tmpb5isheat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BSearch2.ERROR = internal constant i32 -2, align 4
@BSearch2.NOT_FOUND = internal constant i32 -1, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BSearch2(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%16 = load ptr, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %5
%19 = load i32, ptr @EINVAL, align 4
store i32 %19, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
20: ; preds = %5
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = load i32, ptr @EINVAL, align 4
store i32 %24, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
25: ; preds = %20
%26 = load ptr, ptr %11, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = load i32, ptr @EINVAL, align 4
store i32 %29, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
30: ; preds = %25
store i64 0, ptr %12, align 8
%31 = load i64, ptr %9, align 8
store i64 %31, ptr %13, align 8
%32 = load i64, ptr %13, align 8
%33 = load i64, ptr %12, align 8
%34 = add i64 %32, %33
%35 = udiv i64 %34, 2
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %11, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i64, ptr %14, align 8
%39 = load i64, ptr %10, align 8
%40 = mul i64 %38, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load ptr, ptr %7, align 8
%43 = call i32 %36(ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %15, align 4
br label %44
44: ; preds = %62, %30
%45 = load i64, ptr %12, align 8
%46 = load i64, ptr %13, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %15, align 4
%50 = icmp ne i32 %49, 0
br label %51
51: ; preds = %48, %44
%52 = phi i1 [ false, %44 ], [ %50, %48 ]
br i1 %52, label %53, label %75
53: ; preds = %51
%54 = load i32, ptr %15, align 4
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i64, ptr %14, align 8
%58 = sub i64 %57, 1
store i64 %58, ptr %13, align 8
br label %62
59: ; preds = %53
%60 = load i64, ptr %14, align 8
%61 = add i64 %60, 1
store i64 %61, ptr %12, align 8
br label %62
62: ; preds = %59, %56
%63 = load i64, ptr %13, align 8
%64 = load i64, ptr %12, align 8
%65 = add i64 %63, %64
%66 = udiv i64 %65, 2
store i64 %66, ptr %14, align 8
%67 = load ptr, ptr %11, align 8
%68 = load ptr, ptr %8, align 8
%69 = load i64, ptr %14, align 8
%70 = load i64, ptr %10, align 8
%71 = mul i64 %69, %70
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load ptr, ptr %7, align 8
%74 = call i32 %67(ptr noundef %72, ptr noundef %73)
store i32 %74, ptr %15, align 4
br label %44, !llvm.loop !6
75: ; preds = %51
%76 = load i32, ptr %15, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = load i64, ptr %14, align 8
%80 = trunc i64 %79 to i32
store i32 %80, ptr %6, align 4
br label %82
81: ; preds = %75
store i32 -1, ptr %6, align 4
br label %82
82: ; preds = %81, %78, %28, %23, %18
%83 = load i32, ptr %6, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb5isheat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BSearch2.ERROR = internal constant i32 -2, align 4
@BSearch2.NOT_FOUND = internal constant i32 -1, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BSearch2(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%16 = load ptr, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %5
%19 = load i32, ptr @EINVAL, align 4
store i32 %19, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
20: ; preds = %5
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = load i32, ptr @EINVAL, align 4
store i32 %24, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
25: ; preds = %20
%26 = load ptr, ptr %11, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = load i32, ptr @EINVAL, align 4
store i32 %29, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %82
30: ; preds = %25
store i64 0, ptr %12, align 8
%31 = load i64, ptr %9, align 8
store i64 %31, ptr %13, align 8
%32 = load i64, ptr %13, align 8
%33 = load i64, ptr %12, align 8
%34 = add i64 %32, %33
%35 = udiv i64 %34, 2
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %11, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i64, ptr %14, align 8
%39 = load i64, ptr %10, align 8
%40 = mul i64 %38, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load ptr, ptr %7, align 8
%43 = call i32 %36(ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %15, align 4
br label %44
44: ; preds = %62, %30
%45 = load i64, ptr %12, align 8
%46 = load i64, ptr %13, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %15, align 4
%50 = icmp ne i32 %49, 0
br label %51
51: ; preds = %48, %44
%52 = phi i1 [ false, %44 ], [ %50, %48 ]
br i1 %52, label %53, label %75
53: ; preds = %51
%54 = load i32, ptr %15, align 4
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i64, ptr %14, align 8
%58 = sub i64 %57, 1
store i64 %58, ptr %13, align 8
br label %62
59: ; preds = %53
%60 = load i64, ptr %14, align 8
%61 = add i64 %60, 1
store i64 %61, ptr %12, align 8
br label %62
62: ; preds = %59, %56
%63 = load i64, ptr %13, align 8
%64 = load i64, ptr %12, align 8
%65 = add i64 %63, %64
%66 = udiv i64 %65, 2
store i64 %66, ptr %14, align 8
%67 = load ptr, ptr %11, align 8
%68 = load ptr, ptr %8, align 8
%69 = load i64, ptr %14, align 8
%70 = load i64, ptr %10, align 8
%71 = mul i64 %69, %70
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load ptr, ptr %7, align 8
%74 = call i32 %67(ptr noundef %72, ptr noundef %73)
store i32 %74, ptr %15, align 4
br label %44, !llvm.loop !6
75: ; preds = %51
%76 = load i32, ptr %15, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = load i64, ptr %14, align 8
%80 = trunc i64 %79 to i32
store i32 %80, ptr %6, align 4
br label %82
81: ; preds = %75
store i32 -1, ptr %6, align 4
br label %82
82: ; preds = %81, %78, %28, %23, %18
%83 = load i32, ptr %6, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfe927s9w.c'
source_filename = "/tmp/tmpfe927s9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kitsune_old_address_matches(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @kitsune_get_val(ptr noundef %6)
%8 = icmp eq ptr %5, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare ptr @kitsune_get_val(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfe927s9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kitsune_old_address_matches(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @kitsune_get_val(ptr noundef %6)
%8 = icmp eq ptr %5, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare ptr @kitsune_get_val(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyok9ikhw.c'
source_filename = "/tmp/tmpyok9ikhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMR66_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmpyok9ikhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMR66_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(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/tmpmfvpbrfs.c'
source_filename = "/tmp/tmpmfvpbrfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @un_alloc_matrix(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = mul nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 8
%24 = trunc i64 %23 to i32
%25 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %24)
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 8
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %31
31: ; preds = %46, %3
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %49
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %4, align 4
%39 = mul nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %36, i64 %40
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
store ptr %41, ptr %45, align 8
br label %46
46: ; preds = %35
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
br label %31, !llvm.loop !6
49: ; preds = %31
%50 = load ptr, ptr %8, align 8
ret ptr %50
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmfvpbrfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @un_alloc_matrix(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = mul nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 8
%24 = trunc i64 %23 to i32
%25 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %24)
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 8
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %8, align 8
store i32 0, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %51
.lr.ph: ; preds = %3
br label %34
34: ; preds = %.lr.ph, %45
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %4, align 4
%38 = mul nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %35, i64 %39
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
store ptr %40, ptr %44, align 8
br label %45
45: ; preds = %34
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %3
%52 = load ptr, ptr %8, align 8
ret ptr %52
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyphwxayx.c'
source_filename = "/tmp/tmpyphwxayx.c"
target datalayout = "e-m:e-p270: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.ident = private unnamed_addr constant [11 x i8] c"Examples4C\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
@__const.main.log_msg1 = private unnamed_addr constant [27 x i8] c"My first info syslog in C.\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@__const.main.log_msg2 = private unnamed_addr constant [30 x i8] c"My first warning syslog in C.\00", align 16
@LOG_WARNING = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Now, check: /var/log/syslog\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 [11 x i8], align 1
%3 = alloca [27 x i8], align 16
%4 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.ident, i64 11, i1 false)
%5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @LOG_CONS, align 4
%7 = load i32, ptr @LOG_PID, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @LOG_LOCAL0, align 4
%10 = call i32 @openlog(ptr noundef %5, i32 noundef %8, i32 noundef %9)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.log_msg1, i64 27, i1 false)
%11 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @LOG_INFO, align 4
%14 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @syslog(i32 noundef %13, ptr noundef %14)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.log_msg2, i64 30, i1 false)
%16 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr @LOG_WARNING, align 4
%19 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%20 = call i32 @syslog(i32 noundef %18, ptr noundef %19)
%21 = call i32 (...) @closelog()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %23
}
; 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 @openlog(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @syslog(i32 noundef, ptr noundef) #2
declare i32 @closelog(...) #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/tmpyphwxayx.c"
target datalayout = "e-m:e-p270: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.ident = private unnamed_addr constant [11 x i8] c"Examples4C\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
@__const.main.log_msg1 = private unnamed_addr constant [27 x i8] c"My first info syslog in C.\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@__const.main.log_msg2 = private unnamed_addr constant [30 x i8] c"My first warning syslog in C.\00", align 16
@LOG_WARNING = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Now, check: /var/log/syslog\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 [11 x i8], align 1
%3 = alloca [27 x i8], align 16
%4 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.ident, i64 11, i1 false)
%5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @LOG_CONS, align 4
%7 = load i32, ptr @LOG_PID, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @LOG_LOCAL0, align 4
%10 = call i32 @openlog(ptr noundef %5, i32 noundef %8, i32 noundef %9)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.log_msg1, i64 27, i1 false)
%11 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @LOG_INFO, align 4
%14 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @syslog(i32 noundef %13, ptr noundef %14)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.log_msg2, i64 30, i1 false)
%16 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr @LOG_WARNING, align 4
%19 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%20 = call i32 @syslog(i32 noundef %18, ptr noundef %19)
%21 = call i32 (...) @closelog()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %23
}
; 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 @openlog(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @syslog(i32 noundef, ptr noundef) #2
declare i32 @closelog(...) #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/tmp91qxjtdt.c'
source_filename = "/tmp/tmp91qxjtdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xa5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0xa5() #0 {
%1 = call i64 @isprint(i32 noundef 165)
%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 830, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmp91qxjtdt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xa5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0xa5() #0 {
%1 = call i64 @isprint(i32 noundef 165)
%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 830, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpcy7yflcs.c'
source_filename = "/tmp/tmpcy7yflcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNextSize(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sqrt(i32 noundef %5)
%7 = add nsw i32 %4, %6
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = srem i32 %8, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %1
br label %15
15: ; preds = %20, %14
%16 = load i32, ptr %3, align 4
%17 = call i32 @naivePrime(i32 noundef %16)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 2
store i32 %22, ptr %3, align 4
br label %15, !llvm.loop !6
23: ; preds = %15
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @sqrt(i32 noundef) #1
declare i32 @naivePrime(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/tmpcy7yflcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNextSize(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sqrt(i32 noundef %5)
%7 = add nsw i32 %4, %6
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = srem i32 %8, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %1
%15 = load i32, ptr %3, align 4
%16 = call i32 @naivePrime(i32 noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 2
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @naivePrime(i32 noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %14
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @sqrt(i32 noundef) #1
declare i32 @naivePrime(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/tmprzzrna6y.c'
source_filename = "/tmp/tmprzzrna6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display_end() #0 {
%1 = call i32 @curs_set(i32 noundef 1)
%2 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @curs_set(i32 noundef) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprzzrna6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display_end() #0 {
%1 = call i32 @curs_set(i32 noundef 1)
%2 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @curs_set(i32 noundef) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_jp1cq3.c'
source_filename = "/tmp/tmpb_jp1cq3.c"
target datalayout = "e-m:e-p270: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/tmpb_jp1cq3.c"
target datalayout = "e-m:e-p270: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/tmpgpt1v86f.c'
source_filename = "/tmp/tmpgpt1v86f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"len %d, space-count %d, new len %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @replacespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %1
br label %92
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load ptr, ptr %2, align 8
store ptr %15, ptr %7, align 8
br label %16
16: ; preds = %28, %12
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 32
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %25, %20
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
br label %16, !llvm.loop !6
31: ; preds = %16
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 2, %35
%37 = add nsw i32 %34, %36
%38 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %37)
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %4, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
store i8 0, ptr %43, align 1
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %6, align 4
%46 = mul nsw i32 2, %45
%47 = add nsw i32 %44, %46
store i32 %47, ptr %4, align 4
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
store i32 %49, ptr %8, align 4
br label %50
50: ; preds = %89, %31
%51 = load i32, ptr %8, align 4
%52 = icmp sge i32 %51, 0
br i1 %52, label %53, label %92
53: ; preds = %50
%54 = load ptr, ptr %2, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 32
br i1 %60, label %61, label %77
61: ; preds = %53
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
store i8 48, ptr %66, align 1
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
store i8 50, ptr %71, align 1
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %5, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
store i8 37, ptr %76, align 1
br label %88
77: ; preds = %53
%78 = load ptr, ptr %2, align 8
%79 = load i32, ptr %8, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = load ptr, ptr %2, align 8
%84 = load i32, ptr %5, align 4
%85 = add nsw i32 %84, -1
store i32 %85, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %83, i64 %86
store i8 %82, ptr %87, align 1
br label %88
88: ; preds = %77, %61
br label %89
89: ; preds = %88
%90 = load i32, ptr %8, align 4
%91 = add nsw i32 %90, -1
store i32 %91, ptr %8, align 4
br label %50, !llvm.loop !8
92: ; preds = %11, %50
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(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/tmpgpt1v86f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"len %d, space-count %d, new len %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @replacespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %1
br label %95
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load ptr, ptr %2, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %27
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %24, %19
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %12
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %6, align 4
%38 = mul nsw i32 2, %37
%39 = add nsw i32 %36, %38
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35, i32 noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 0, ptr %45, align 1
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = add nsw i32 %46, %48
store i32 %49, ptr %4, align 4
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %3, align 4
%51 = sub nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp sge i32 %52, 0
br i1 %53, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %33
br label %54
54: ; preds = %.lr.ph2, %90
%55 = load ptr, ptr %2, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 32
br i1 %61, label %62, label %78
62: ; preds = %54
%63 = load ptr, ptr %2, align 8
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
store i8 48, ptr %67, align 1
%68 = load ptr, ptr %2, align 8
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store i8 50, ptr %72, align 1
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %5, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
store i8 37, ptr %77, align 1
br label %89
78: ; preds = %54
%79 = load ptr, ptr %2, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = load ptr, ptr %2, align 8
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, -1
store i32 %86, ptr %5, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
store i8 %83, ptr %88, align 1
br label %89
89: ; preds = %78, %62
br label %90
90: ; preds = %89
%91 = load i32, ptr %8, align 4
%92 = add nsw i32 %91, -1
store i32 %92, ptr %8, align 4
%93 = load i32, ptr %8, align 4
%94 = icmp sge i32 %93, 0
br i1 %94, label %54, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %90
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %33
br label %95
95: ; preds = %.loopexit, %11
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(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/tmpwo714tkn.c'
source_filename = "/tmp/tmpwo714tkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&a=%p, &b=%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"a=%i, b=%i, a+b=%i, a*b=%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @add_mul(i32 noundef %7, i32 noundef %8, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @add_mul(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwo714tkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&a=%p, &b=%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"a=%i, b=%i, a+b=%i, a*b=%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @add_mul(i32 noundef %7, i32 noundef %8, ptr noundef %4, ptr noundef %5)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @add_mul(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxxr67jsg.c'
source_filename = "/tmp/tmpxxr67jsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 2
%10 = icmp sle i32 %7, %9
br i1 %10, label %11, label %19
11: ; preds = %6
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %13
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%21 = load i32, ptr %3, align 4
%22 = call i32 @string_rev(ptr noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @string_rev(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/tmpxxr67jsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 2
%9 = icmp sle i32 %6, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %15
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %12
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 2
%21 = icmp sle i32 %18, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %22
22: ; preds = %._crit_edge, %0
%23 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%24 = load i32, ptr %3, align 4
%25 = call i32 @string_rev(ptr noundef %23, i32 noundef %24)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @string_rev(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/tmprk8lh22u.c'
source_filename = "/tmp/tmprk8lh22u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outputmatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %28, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 9
br i1 %7, label %8, label %31
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %23, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 9
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [9 x i8], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [9 x i8], ptr %16, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %12
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %5, !llvm.loop !8
31: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprk8lh22u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outputmatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 9
br i1 %6, label %.lr.ph2, label %33
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %28
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 9
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %21
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [9 x i8], ptr %11, i64 %13
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19)
br label %21
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 9
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %7
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 9
br i1 %32, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1bgmj0e4.c'
source_filename = "/tmp/tmp1bgmj0e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @system_command(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 (...) @fork()
store i64 %4, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %8, ptr noundef null)
br label %13
10: ; preds = %1
%11 = load i64, ptr %3, align 8
%12 = call i32 @waitpid(i64 noundef %11, ptr noundef null, i32 noundef 0)
br label %13
13: ; preds = %10, %7
ret void
}
declare i64 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bgmj0e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @system_command(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 (...) @fork()
store i64 %4, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @execl(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %8, ptr noundef null)
br label %13
10: ; preds = %1
%11 = load i64, ptr %3, align 8
%12 = call i32 @waitpid(i64 noundef %11, ptr noundef null, i32 noundef 0)
br label %13
13: ; preds = %10, %7
ret void
}
declare i64 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfnv_srzt.c'
source_filename = "/tmp/tmpfnv_srzt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timerfd_create(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @syscall(i32 noundef 283, i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @syscall(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/tmpfnv_srzt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timerfd_create(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @syscall(i32 noundef 283, i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @syscall(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/tmpqazo4fe0.c'
source_filename = "/tmp/tmpqazo4fe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @microseconds() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = mul nsw i32 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %5, %7
ret i32 %8
}
declare i32 @gettimeofday(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/tmpqazo4fe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @microseconds() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = mul nsw i32 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %5, %7
ret i32 %8
}
declare i32 @gettimeofday(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/tmp2g2yv7m0.c'
source_filename = "/tmp/tmp2g2yv7m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@reverse.start = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = load i32, ptr @reverse.start, align 4
%8 = sub nsw i32 %6, %7
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr @reverse.start, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 0, ptr @reverse.start, align 4
br label %39
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr @reverse.start, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %4, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr @reverse.start, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr @reverse.start, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
store i8 %25, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %3, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 %32, ptr %37, align 1
%38 = load ptr, ptr %2, align 8
call void @reverse(ptr noundef %38)
br label %39
39: ; preds = %14, %13
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2g2yv7m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@reverse.start = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = load i32, ptr @reverse.start, align 4
%8 = sub nsw i32 %6, %7
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr @reverse.start, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 0, ptr @reverse.start, align 4
br label %39
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr @reverse.start, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %4, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr @reverse.start, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr @reverse.start, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
store i8 %25, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %3, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 %32, ptr %37, align 1
%38 = load ptr, ptr %2, align 8
call void @reverse(ptr noundef %38)
br label %39
39: ; preds = %14, %13
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp45zcl5rp.c'
source_filename = "/tmp/tmp45zcl5rp.c"
target datalayout = "e-m:e-p270: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/tmp45zcl5rp.c"
target datalayout = "e-m:e-p270: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/tmpzykq2_5j.c'
source_filename = "/tmp/tmpzykq2_5j.c"
target datalayout = "e-m:e-p270: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/tmpzykq2_5j.c"
target datalayout = "e-m:e-p270: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/tmpl1ls9re0.c'
source_filename = "/tmp/tmpl1ls9re0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_DtCvStrCaseCmpLatin1(ptr 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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %128
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %3, align 4
br label %128
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, ptr %3, align 4
br label %128
21: ; preds = %17
br label %22
22: ; preds = %68, %21
%23 = load i32, ptr %8, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %25
%31 = load ptr, ptr %5, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br label %35
35: ; preds = %30, %25, %22
%36 = phi i1 [ false, %25 ], [ false, %22 ], [ %34, %30 ]
br i1 %36, label %37, label %77
37: ; preds = %35
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
store i32 %40, ptr %6, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 65, %44
br i1 %45, label %46, label %53
46: ; preds = %37
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %47, 90
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 97
%52 = sub nsw i32 %51, 65
br label %55
53: ; preds = %46, %37
%54 = load i32, ptr %6, align 4
br label %55
55: ; preds = %53, %49
%56 = phi i32 [ %52, %49 ], [ %54, %53 ]
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp sle i32 65, %57
br i1 %58, label %59, label %66
59: ; preds = %55
%60 = load i32, ptr %7, align 4
%61 = icmp sle i32 %60, 90
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 97
%65 = sub nsw i32 %64, 65
br label %68
66: ; preds = %59, %55
%67 = load i32, ptr %7, align 4
br label %68
68: ; preds = %66, %62
%69 = phi i32 [ %65, %62 ], [ %67, %66 ]
store i32 %69, ptr %7, align 4
%70 = load i32, ptr %6, align 4
%71 = load i32, ptr %7, align 4
%72 = sub nsw i32 %70, %71
store i32 %72, ptr %8, align 4
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %4, align 8
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %5, align 8
br label %22, !llvm.loop !6
77: ; preds = %35
%78 = load i32, ptr %8, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %126
80: ; preds = %77
%81 = load ptr, ptr %4, align 8
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %90, label %85
85: ; preds = %80
%86 = load ptr, ptr %5, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %126
90: ; preds = %85, %80
%91 = load ptr, ptr %4, align 8
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
store i32 %93, ptr %6, align 4
%94 = load ptr, ptr %5, align 8
%95 = load i8, ptr %94, align 1
%96 = zext i8 %95 to i32
store i32 %96, ptr %7, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp sle i32 65, %97
br i1 %98, label %99, label %106
99: ; preds = %90
%100 = load i32, ptr %6, align 4
%101 = icmp sle i32 %100, 90
br i1 %101, label %102, label %106
102: ; preds = %99
%103 = load i32, ptr %6, align 4
%104 = add nsw i32 %103, 97
%105 = sub nsw i32 %104, 65
br label %108
106: ; preds = %99, %90
%107 = load i32, ptr %6, align 4
br label %108
108: ; preds = %106, %102
%109 = phi i32 [ %105, %102 ], [ %107, %106 ]
store i32 %109, ptr %6, align 4
%110 = load i32, ptr %7, align 4
%111 = icmp sle i32 65, %110
br i1 %111, label %112, label %119
112: ; preds = %108
%113 = load i32, ptr %7, align 4
%114 = icmp sle i32 %113, 90
br i1 %114, label %115, label %119
115: ; preds = %112
%116 = load i32, ptr %7, align 4
%117 = add nsw i32 %116, 97
%118 = sub nsw i32 %117, 65
br label %121
119: ; preds = %112, %108
%120 = load i32, ptr %7, align 4
br label %121
121: ; preds = %119, %115
%122 = phi i32 [ %118, %115 ], [ %120, %119 ]
store i32 %122, ptr %7, align 4
%123 = load i32, ptr %6, align 4
%124 = load i32, ptr %7, align 4
%125 = sub nsw i32 %123, %124
store i32 %125, ptr %8, align 4
br label %126
126: ; preds = %121, %85, %77
%127 = load i32, ptr %8, align 4
store i32 %127, ptr %3, align 4
br label %128
128: ; preds = %126, %20, %16, %12
%129 = load i32, ptr %3, align 4
ret i32 %129
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl1ls9re0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_DtCvStrCaseCmpLatin1(ptr 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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %128
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %3, align 4
br label %128
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, ptr %3, align 4
br label %128
21: ; preds = %17
br label %22
22: ; preds = %68, %21
%23 = load i32, ptr %8, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %25
%31 = load ptr, ptr %5, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br label %35
35: ; preds = %30, %25, %22
%36 = phi i1 [ false, %25 ], [ false, %22 ], [ %34, %30 ]
br i1 %36, label %37, label %77
37: ; preds = %35
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
store i32 %40, ptr %6, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 65, %44
br i1 %45, label %46, label %53
46: ; preds = %37
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %47, 90
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 97
%52 = sub nsw i32 %51, 65
br label %55
53: ; preds = %46, %37
%54 = load i32, ptr %6, align 4
br label %55
55: ; preds = %53, %49
%56 = phi i32 [ %52, %49 ], [ %54, %53 ]
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp sle i32 65, %57
br i1 %58, label %59, label %66
59: ; preds = %55
%60 = load i32, ptr %7, align 4
%61 = icmp sle i32 %60, 90
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 97
%65 = sub nsw i32 %64, 65
br label %68
66: ; preds = %59, %55
%67 = load i32, ptr %7, align 4
br label %68
68: ; preds = %66, %62
%69 = phi i32 [ %65, %62 ], [ %67, %66 ]
store i32 %69, ptr %7, align 4
%70 = load i32, ptr %6, align 4
%71 = load i32, ptr %7, align 4
%72 = sub nsw i32 %70, %71
store i32 %72, ptr %8, align 4
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %4, align 8
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %5, align 8
br label %22, !llvm.loop !6
77: ; preds = %35
%78 = load i32, ptr %8, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %126
80: ; preds = %77
%81 = load ptr, ptr %4, align 8
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %90, label %85
85: ; preds = %80
%86 = load ptr, ptr %5, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %126
90: ; preds = %85, %80
%91 = load ptr, ptr %4, align 8
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
store i32 %93, ptr %6, align 4
%94 = load ptr, ptr %5, align 8
%95 = load i8, ptr %94, align 1
%96 = zext i8 %95 to i32
store i32 %96, ptr %7, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp sle i32 65, %97
br i1 %98, label %99, label %106
99: ; preds = %90
%100 = load i32, ptr %6, align 4
%101 = icmp sle i32 %100, 90
br i1 %101, label %102, label %106
102: ; preds = %99
%103 = load i32, ptr %6, align 4
%104 = add nsw i32 %103, 97
%105 = sub nsw i32 %104, 65
br label %108
106: ; preds = %99, %90
%107 = load i32, ptr %6, align 4
br label %108
108: ; preds = %106, %102
%109 = phi i32 [ %105, %102 ], [ %107, %106 ]
store i32 %109, ptr %6, align 4
%110 = load i32, ptr %7, align 4
%111 = icmp sle i32 65, %110
br i1 %111, label %112, label %119
112: ; preds = %108
%113 = load i32, ptr %7, align 4
%114 = icmp sle i32 %113, 90
br i1 %114, label %115, label %119
115: ; preds = %112
%116 = load i32, ptr %7, align 4
%117 = add nsw i32 %116, 97
%118 = sub nsw i32 %117, 65
br label %121
119: ; preds = %112, %108
%120 = load i32, ptr %7, align 4
br label %121
121: ; preds = %119, %115
%122 = phi i32 [ %118, %115 ], [ %120, %119 ]
store i32 %122, ptr %7, align 4
%123 = load i32, ptr %6, align 4
%124 = load i32, ptr %7, align 4
%125 = sub nsw i32 %123, %124
store i32 %125, ptr %8, align 4
br label %126
126: ; preds = %121, %85, %77
%127 = load i32, ptr %8, align 4
store i32 %127, ptr %3, align 4
br label %128
128: ; preds = %126, %20, %16, %12
%129 = load i32, ptr %3, align 4
ret i32 %129
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbxpnr84g.c'
source_filename = "/tmp/tmpbxpnr84g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COPRTHR clcc\0A\00", align 1
@.str.1 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2008-2011 Brown Deer Technology, LLC. All Rights Reserved.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"This program is free software distributed under GPLv3.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #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 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/tmpbxpnr84g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COPRTHR clcc\0A\00", align 1
@.str.1 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2008-2011 Brown Deer Technology, LLC. All Rights Reserved.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"This program is free software distributed under GPLv3.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #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 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/tmpi3ttrtth.c'
source_filename = "/tmp/tmpi3ttrtth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_product_root_count(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 112, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3ttrtth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_product_root_count(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 112, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpomh_nf2l.c'
source_filename = "/tmp/tmpomh_nf2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stdlib_strided_smaxabs(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, 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
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store float 0x7FF8000000000000, ptr %4, align 4
br label %73
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18, %15
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds float, ptr %22, i64 0
%24 = load float, ptr %23, align 4
%25 = call float @llvm.fabs.f32(float %24)
store float %25, ptr %4, align 4
br label %73
26: ; preds = %18
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 1, %30
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %31, %32
store i32 %33, ptr %8, align 4
br label %35
34: ; preds = %26
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %34, %29
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = call float @llvm.fabs.f32(float %40)
store float %41, ptr %10, align 4
store i32 1, ptr %9, align 4
br label %42
42: ; preds = %68, %35
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %71
46: ; preds = %42
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %8, align 4
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %50, i64 %52
%54 = load float, ptr %53, align 4
%55 = call float @llvm.fabs.f32(float %54)
store float %55, ptr %11, align 4
%56 = load float, ptr %11, align 4
%57 = call i64 @stdlib_base_is_nanf(float noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %46
%60 = load float, ptr %11, align 4
store float %60, ptr %4, align 4
br label %73
61: ; preds = %46
%62 = load float, ptr %11, align 4
%63 = load float, ptr %10, align 4
%64 = fcmp ogt float %62, %63
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = load float, ptr %11, align 4
store float %66, ptr %10, align 4
br label %67
67: ; preds = %65, %61
br label %68
68: ; preds = %67
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
br label %42, !llvm.loop !6
71: ; preds = %42
%72 = load float, ptr %10, align 4
store float %72, ptr %4, align 4
br label %73
73: ; preds = %71, %59, %21, %14
%74 = load float, ptr %4, align 4
ret float %74
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
declare i64 @stdlib_base_is_nanf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpomh_nf2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stdlib_strided_smaxabs(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, 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
%10 = alloca float, align 4
%11 = alloca float, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store float 0x7FF8000000000000, ptr %4, align 4
br label %75
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18, %15
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds float, ptr %22, i64 0
%24 = load float, ptr %23, align 4
%25 = call float @llvm.fabs.f32(float %24)
store float %25, ptr %4, align 4
br label %75
26: ; preds = %18
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 1, %30
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %31, %32
store i32 %33, ptr %8, align 4
br label %35
34: ; preds = %26
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %34, %29
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = call float @llvm.fabs.f32(float %40)
store float %41, ptr %10, align 4
store i32 1, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph, label %73
.lr.ph: ; preds = %35
br label %45
45: ; preds = %.lr.ph, %67
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %8, align 4
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %49, i64 %51
%53 = load float, ptr %52, align 4
%54 = call float @llvm.fabs.f32(float %53)
store float %54, ptr %11, align 4
%55 = load float, ptr %11, align 4
%56 = call i64 @stdlib_base_is_nanf(float noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %45
%59 = load float, ptr %11, align 4
store float %59, ptr %4, align 4
br label %75
60: ; preds = %45
%61 = load float, ptr %11, align 4
%62 = load float, ptr %10, align 4
%63 = fcmp ogt float %61, %62
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = load float, ptr %11, align 4
store float %65, ptr %10, align 4
br label %66
66: ; preds = %64, %60
br label %67
67: ; preds = %66
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %73
73: ; preds = %._crit_edge, %35
%74 = load float, ptr %10, align 4
store float %74, ptr %4, align 4
br label %75
75: ; preds = %73, %58, %21, %14
%76 = load float, ptr %4, align 4
ret float %76
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
declare i64 @stdlib_base_is_nanf(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6804cbyz.c'
source_filename = "/tmp/tmp6804cbyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0A\0AUnit for course %d: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"\0AGrade for course %d: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0AINVALID: The grade must be from A-F. Please try again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @askForScores(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %3, align 8
%15 = alloca i32, i64 %13, align 16
store i64 %13, ptr %4, align 8
%16 = load i32, ptr %2, align 4
%17 = zext i32 %16 to i64
%18 = alloca i32, i64 %17, align 16
store i64 %17, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %60, %1
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %63
23: ; preds = %19
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8)
%29 = call i32 (...) @flush()
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %15, i64 %32
store i32 %30, ptr %33, align 4
store i32 0, ptr %9, align 4
br label %34
34: ; preds = %54, %23
%35 = load i32, ptr %9, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %59
37: ; preds = %34
store i32 1, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %10)
%41 = call i32 (...) @flush()
%42 = load i8, ptr %10, align 1
%43 = call signext i8 @toupper(i8 noundef signext %42)
store i8 %43, ptr %10, align 1
%44 = load i8, ptr %10, align 1
%45 = sext i8 %44 to i32
switch i32 %45, label %52 [
i32 65, label %46
i32 66, label %47
i32 67, label %48
i32 68, label %49
i32 69, label %50
i32 70, label %51
]
46: ; preds = %37
store i32 5, ptr %11, align 4
br label %54
47: ; preds = %37
store i32 4, ptr %11, align 4
br label %54
48: ; preds = %37
store i32 3, ptr %11, align 4
br label %54
49: ; preds = %37
store i32 2, ptr %11, align 4
br label %54
50: ; preds = %37
store i32 1, ptr %11, align 4
br label %54
51: ; preds = %37
store i32 0, ptr %11, align 4
br label %54
52: ; preds = %37
store i32 0, ptr %9, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %54
54: ; preds = %52, %51, %50, %49, %48, %47, %46
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %18, i64 %57
store i32 %55, ptr %58, align 4
br label %34, !llvm.loop !6
59: ; preds = %34
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
br label %19, !llvm.loop !8
63: ; preds = %19
%64 = load i32, ptr %2, align 4
%65 = call double @calculateGp(i32 noundef %64, ptr noundef %18, ptr noundef %15)
%66 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %66)
ret double %65
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ...) #2
declare i32 @flush(...) #2
declare signext i8 @toupper(i8 noundef signext) #2
declare double @calculateGp(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6804cbyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0A\0AUnit for course %d: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"\0AGrade for course %d: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0AINVALID: The grade must be from A-F. Please try again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @askForScores(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %3, align 8
%15 = alloca i32, i64 %13, align 16
store i64 %13, ptr %4, align 8
%16 = load i32, ptr %2, align 4
%17 = zext i32 %16 to i64
%18 = alloca i32, i64 %17, align 16
store i64 %17, ptr %5, align 8
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %66
.lr.ph2: ; preds = %1
br label %22
22: ; preds = %.lr.ph2, %60
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8)
%28 = call i32 (...) @flush()
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %15, i64 %31
store i32 %29, ptr %32, align 4
store i32 0, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %.lr.ph, label %59
.lr.ph: ; preds = %22
br label %35
35: ; preds = %.lr.ph, %52
store i32 1, ptr %9, align 4
%36 = load i32, ptr %7, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36)
%38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %10)
%39 = call i32 (...) @flush()
%40 = load i8, ptr %10, align 1
%41 = call signext i8 @toupper(i8 noundef signext %40)
store i8 %41, ptr %10, align 1
%42 = load i8, ptr %10, align 1
%43 = sext i8 %42 to i32
switch i32 %43, label %50 [
i32 65, label %44
i32 66, label %45
i32 67, label %46
i32 68, label %47
i32 69, label %48
i32 70, label %49
]
44: ; preds = %35
store i32 5, ptr %11, align 4
br label %52
45: ; preds = %35
store i32 4, ptr %11, align 4
br label %52
46: ; preds = %35
store i32 3, ptr %11, align 4
br label %52
47: ; preds = %35
store i32 2, ptr %11, align 4
br label %52
48: ; preds = %35
store i32 1, ptr %11, align 4
br label %52
49: ; preds = %35
store i32 0, ptr %11, align 4
br label %52
50: ; preds = %35
store i32 0, ptr %9, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %52
52: ; preds = %50, %49, %48, %47, %46, %45, %44
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %18, i64 %55
store i32 %53, ptr %56, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %59
59: ; preds = %._crit_edge, %22
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %2, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %1
%67 = load i32, ptr %2, align 4
%68 = call double @calculateGp(i32 noundef %67, ptr noundef %18, ptr noundef %15)
%69 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %69)
ret double %68
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ...) #2
declare i32 @flush(...) #2
declare signext i8 @toupper(i8 noundef signext) #2
declare double @calculateGp(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3hy8weuy.c'
source_filename = "/tmp/tmp3hy8weuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hy8weuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7m62eiu.c'
source_filename = "/tmp/tmpq7m62eiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soft_right() #0 {
%1 = call i32 @motion_set(i32 noundef 2)
ret void
}
declare i32 @motion_set(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/tmpq7m62eiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soft_right() #0 {
%1 = call i32 @motion_set(i32 noundef 2)
ret void
}
declare i32 @motion_set(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/tmp0ade2kji.c'
source_filename = "/tmp/tmp0ade2kji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_quaddobl_homotopy_with_given_gamma(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [2 x double], align 16
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
store double %9, ptr %10, align 16
%11 = load double, ptr %4, align 8
%12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
store double %11, ptr %12, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%16 = call i32 @_ada_use_c2phc4c(i32 noundef 183, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ade2kji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_quaddobl_homotopy_with_given_gamma(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [2 x double], align 16
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
store double %9, ptr %10, align 16
%11 = load double, ptr %4, align 8
%12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1
store double %11, ptr %12, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0
%16 = call i32 @_ada_use_c2phc4c(i32 noundef 183, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqym9ww2h.c'
source_filename = "/tmp/tmpqym9ww2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c00lpass1337\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"secretadminpass\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"c=%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"d=%x\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"e=%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_function(i32 noundef %0, i8 noundef signext %1, i16 noundef signext %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i16, align 2
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store i32 %0, ptr %10, align 4
store i8 %1, ptr %11, align 1
store i16 %2, ptr %12, align 2
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%18 = load ptr, ptr %15, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %8
%22 = load ptr, ptr %17, align 8
store i32 1234, ptr %22, align 4
store i32 -1073614835, ptr %9, align 4
br label %55
23: ; preds = %8
%24 = load ptr, ptr %16, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = load ptr, ptr %17, align 8
store i32 3456, ptr %28, align 4
store i32 2591, ptr %9, align 4
br label %55
29: ; preds = %23
%30 = load i32, ptr %10, align 4
%31 = load i8, ptr %11, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load ptr, ptr %17, align 8
store i32 4567, ptr %35, align 4
store i32 12630803, ptr %9, align 4
br label %55
36: ; preds = %29
%37 = load i16, ptr %12, align 2
%38 = sext i16 %37 to i32
%39 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = load i32, ptr %13, align 4
%41 = call i32 @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load i32, ptr %14, align 4
%43 = call i32 @printf(ptr noundef @.str.4, i32 noundef %42)
%44 = load i16, ptr %12, align 2
%45 = sext i16 %44 to i32
%46 = load i32, ptr %13, align 4
%47 = add i32 %45, %46
%48 = load i32, ptr %14, align 4
%49 = add i32 %47, %48
%50 = icmp eq i32 %49, -1734829928
br i1 %50, label %51, label %53
51: ; preds = %36
%52 = load ptr, ptr %17, align 8
store i32 345987, ptr %52, align 4
store i32 32768, ptr %9, align 4
br label %55
53: ; preds = %36
%54 = load ptr, ptr %17, align 8
store i32 -1, ptr %54, align 4
store i32 0, ptr %9, align 4
br label %55
55: ; preds = %53, %51, %34, %27, %21
%56 = load i32, ptr %9, align 4
ret i32 %56
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqym9ww2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c00lpass1337\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"secretadminpass\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"c=%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"d=%x\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"e=%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_function(i32 noundef %0, i8 noundef signext %1, i16 noundef signext %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i16, align 2
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store i32 %0, ptr %10, align 4
store i8 %1, ptr %11, align 1
store i16 %2, ptr %12, align 2
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%18 = load ptr, ptr %15, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %8
%22 = load ptr, ptr %17, align 8
store i32 1234, ptr %22, align 4
store i32 -1073614835, ptr %9, align 4
br label %55
23: ; preds = %8
%24 = load ptr, ptr %16, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.1)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = load ptr, ptr %17, align 8
store i32 3456, ptr %28, align 4
store i32 2591, ptr %9, align 4
br label %55
29: ; preds = %23
%30 = load i32, ptr %10, align 4
%31 = load i8, ptr %11, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load ptr, ptr %17, align 8
store i32 4567, ptr %35, align 4
store i32 12630803, ptr %9, align 4
br label %55
36: ; preds = %29
%37 = load i16, ptr %12, align 2
%38 = sext i16 %37 to i32
%39 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = load i32, ptr %13, align 4
%41 = call i32 @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load i32, ptr %14, align 4
%43 = call i32 @printf(ptr noundef @.str.4, i32 noundef %42)
%44 = load i16, ptr %12, align 2
%45 = sext i16 %44 to i32
%46 = load i32, ptr %13, align 4
%47 = add i32 %45, %46
%48 = load i32, ptr %14, align 4
%49 = add i32 %47, %48
%50 = icmp eq i32 %49, -1734829928
br i1 %50, label %51, label %53
51: ; preds = %36
%52 = load ptr, ptr %17, align 8
store i32 345987, ptr %52, align 4
store i32 32768, ptr %9, align 4
br label %55
53: ; preds = %36
%54 = load ptr, ptr %17, align 8
store i32 -1, ptr %54, align 4
store i32 0, ptr %9, align 4
br label %55
55: ; preds = %53, %51, %34, %27, %21
%56 = load i32, ptr %9, align 4
ret i32 %56
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph1ic9zn3.c'
source_filename = "/tmp/tmph1ic9zn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [38 x i8] c"Trying to get device info %s from %s.\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Could not open %s.\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%i:%i\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Could not get major/minor from %s.\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Cannot allocate memory for device node (%s).\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [41 x i8] c"Failed to create device node (%s %i:%i).\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Device node (%s %i:%i) created.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createDevNode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 10, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.2, ptr noundef %18)
store i32 -1, ptr %3, align 4
br label %66
20: ; preds = %2
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %8, ptr noundef %9)
%23 = icmp slt i32 %22, 2
br i1 %23, label %24, label %29
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.4, ptr noundef %25)
%27 = load ptr, ptr %7, align 8
%28 = call i32 @fclose(ptr noundef %27)
store i32 -2, ptr %3, align 4
br label %66
29: ; preds = %20
%30 = load ptr, ptr %7, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = call i64 @asprintf(ptr noundef %6, ptr noundef @.str.5, ptr noundef %32)
%34 = icmp sle i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.6, ptr noundef %36)
store i32 -3, ptr %3, align 4
br label %66
38: ; preds = %29
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr @S_IFBLK, align 4
%41 = or i32 384, %40
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = call i32 @makedev(i32 noundef %42, i32 noundef %43)
%45 = call i64 @mknod(ptr noundef %39, i32 noundef %41, i32 noundef %44)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %38
%48 = load i64, ptr @errno, align 8
%49 = load i64, ptr @EEXIST, align 8
%50 = icmp ne i64 %48, %49
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %9, align 4
%55 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.7, ptr noundef %52, i32 noundef %53, i32 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %6, align 8
%58 = call i32 @free(ptr noundef %57)
store i32 -4, ptr %3, align 4
br label %66
59: ; preds = %38
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %9, align 4
%63 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 10, ptr noundef @.str.8, ptr noundef %60, i32 noundef %61, i32 noundef %62)
%64 = load ptr, ptr %6, align 8
%65 = call i32 @free(ptr noundef %64)
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %59, %56, %35, %24, %17
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @logMessage(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @makedev(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1ic9zn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [38 x i8] c"Trying to get device info %s from %s.\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Could not open %s.\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%i:%i\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Could not get major/minor from %s.\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Cannot allocate memory for device node (%s).\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [41 x i8] c"Failed to create device node (%s %i:%i).\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Device node (%s %i:%i) created.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createDevNode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 10, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.2, ptr noundef %18)
store i32 -1, ptr %3, align 4
br label %66
20: ; preds = %2
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %8, ptr noundef %9)
%23 = icmp slt i32 %22, 2
br i1 %23, label %24, label %29
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.4, ptr noundef %25)
%27 = load ptr, ptr %7, align 8
%28 = call i32 @fclose(ptr noundef %27)
store i32 -2, ptr %3, align 4
br label %66
29: ; preds = %20
%30 = load ptr, ptr %7, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = call i64 @asprintf(ptr noundef %6, ptr noundef @.str.5, ptr noundef %32)
%34 = icmp sle i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.6, ptr noundef %36)
store i32 -3, ptr %3, align 4
br label %66
38: ; preds = %29
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr @S_IFBLK, align 4
%41 = or i32 384, %40
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = call i32 @makedev(i32 noundef %42, i32 noundef %43)
%45 = call i64 @mknod(ptr noundef %39, i32 noundef %41, i32 noundef %44)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %38
%48 = load i64, ptr @errno, align 8
%49 = load i64, ptr @EEXIST, align 8
%50 = icmp ne i64 %48, %49
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %9, align 4
%55 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 40, ptr noundef @.str.7, ptr noundef %52, i32 noundef %53, i32 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %6, align 8
%58 = call i32 @free(ptr noundef %57)
store i32 -4, ptr %3, align 4
br label %66
59: ; preds = %38
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %9, align 4
%63 = call i32 (i32, ptr, ptr, ...) @logMessage(i32 noundef 10, ptr noundef @.str.8, ptr noundef %60, i32 noundef %61, i32 noundef %62)
%64 = load ptr, ptr %6, align 8
%65 = call i32 @free(ptr noundef %64)
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %59, %56, %35, %24, %17
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @logMessage(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @makedev(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9r7vyr9.c'
source_filename = "/tmp/tmpl9r7vyr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibLzma/src/xzdec/.libs/lt-xzdec.c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"(make_executable): %s\0A\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_executable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @nonempty(ptr noundef %6)
%8 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 363, ptr noundef @.str.1, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %11, %1
store i32 0, ptr %2, align 4
br label %31
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = call i64 @stat(ptr noundef %17, ptr noundef %5)
%19 = icmp sge i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = or i32 %23, 0
%25 = or i32 %24, 0
%26 = load i32, ptr @S_IXUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @chmod(ptr noundef %21, i32 noundef %27)
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %20, %16
%30 = load i32, ptr %4, align 4
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %29, %15
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @chmod(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/tmpl9r7vyr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibLzma/src/xzdec/.libs/lt-xzdec.c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"(make_executable): %s\0A\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_executable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @nonempty(ptr noundef %6)
%8 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 363, ptr noundef @.str.1, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %11, %1
store i32 0, ptr %2, align 4
br label %31
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = call i64 @stat(ptr noundef %17, ptr noundef %5)
%19 = icmp sge i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = or i32 %23, 0
%25 = or i32 %24, 0
%26 = load i32, ptr @S_IXUSR, align 4
%27 = or i32 %25, %26
%28 = call i32 @chmod(ptr noundef %21, i32 noundef %27)
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %20, %16
%30 = load i32, ptr %4, align 4
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %29, %15
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @chmod(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/tmpcraeqpmu.c'
source_filename = "/tmp/tmpcraeqpmu.c"
target datalayout = "e-m:e-p270: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.SHA256_Xcompare_15.input = private unnamed_addr constant [13 x i8] c"o4\1B\91\F6\E0\A5\D3Wr'0\C5", align 1
@__const.SHA256_Xcompare_15.result0 = private unnamed_addr constant [32 x i8] c"E\06.\C6\EE\CC;\9E\BB\BEV\F5\FE\14\D0\82\F04:\F6\C0\8C5\D3\CD\B2^1\D0\AF\FE\8D", align 16
@.str = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_15\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_15\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_15\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_Xcompare_15() #0 {
%1 = alloca [13 x i8], align 1
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.SHA256_Xcompare_15.input, i64 13, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_15.result0, i64 32, i1 false)
%4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 13)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str)
%12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32)
%14 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 13)
%17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1)
%20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32)
%22 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 13)
%25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2)
ret void
}
; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpcraeqpmu.c"
target datalayout = "e-m:e-p270: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.SHA256_Xcompare_15.input = private unnamed_addr constant [13 x i8] c"o4\1B\91\F6\E0\A5\D3Wr'0\C5", align 1
@__const.SHA256_Xcompare_15.result0 = private unnamed_addr constant [32 x i8] c"E\06.\C6\EE\CC;\9E\BB\BEV\F5\FE\14\D0\82\F04:\F6\C0\8C5\D3\CD\B2^1\D0\AF\FE\8D", align 16
@.str = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_15\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_15\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_15\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_Xcompare_15() #0 {
%1 = alloca [13 x i8], align 1
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.SHA256_Xcompare_15.input, i64 13, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_15.result0, i64 32, i1 false)
%4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 13)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str)
%12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32)
%14 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 13)
%17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1)
%20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32)
%22 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 13)
%25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2)
ret void
}
; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpp03issez.c'
source_filename = "/tmp/tmpp03issez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a year from 1994 upwards: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @printYear(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printYear(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/tmpp03issez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a year from 1994 upwards: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @printYear(i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printYear(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3h7imhv.c'
source_filename = "/tmp/tmp_3h7imhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"XSetSelectionOwner called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XSetSelectionOwner() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_3h7imhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"XSetSelectionOwner called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XSetSelectionOwner() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppom25w_o.c'
source_filename = "/tmp/tmppom25w_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @Mem_Init(i32 noundef 4096)
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call ptr @Mem_Alloc(i32 noundef 4095)
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @assert(i32 noundef) #1
declare i64 @Mem_Init(i32 noundef) #1
declare ptr @Mem_Alloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppom25w_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @Mem_Init(i32 noundef 4096)
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
%6 = call ptr @Mem_Alloc(i32 noundef 4095)
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @assert(i32 noundef) #1
declare i64 @Mem_Init(i32 noundef) #1
declare ptr @Mem_Alloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4cge541b.c'
source_filename = "/tmp/tmp4cge541b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"bind failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"close failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str)
store i32 -3, ptr %1, align 4
br label %38
14: ; preds = %0
%15 = call i32 @bzero(ptr noundef %2, i32 noundef 12)
%16 = load i32, ptr @AF_INET, align 4
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @INADDR_ANY, align 4
%19 = call i32 @htonl(i32 noundef %18)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0
store i32 %19, ptr %21, align 4
%22 = call i32 @htons(i32 noundef 8000)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %3, align 4
%25 = call i32 @bind(i32 noundef %24, ptr noundef %2, i32 noundef 12)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 0, %26
br i1 %27, label %28, label %30
28: ; preds = %14
%29 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %38
30: ; preds = %14
%31 = load i32, ptr %3, align 4
%32 = call i32 @close(i32 noundef %31)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp ne i32 0, %33
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @perror(ptr noundef @.str.2)
store i32 -2, ptr %1, align 4
br label %38
37: ; preds = %30
store i32 0, ptr %1, align 4
br label %38
38: ; preds = %37, %35, %28, %12
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cge541b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"bind failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"close failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str)
store i32 -3, ptr %1, align 4
br label %38
14: ; preds = %0
%15 = call i32 @bzero(ptr noundef %2, i32 noundef 12)
%16 = load i32, ptr @AF_INET, align 4
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @INADDR_ANY, align 4
%19 = call i32 @htonl(i32 noundef %18)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0
store i32 %19, ptr %21, align 4
%22 = call i32 @htons(i32 noundef 8000)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %3, align 4
%25 = call i32 @bind(i32 noundef %24, ptr noundef %2, i32 noundef 12)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 0, %26
br i1 %27, label %28, label %30
28: ; preds = %14
%29 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %38
30: ; preds = %14
%31 = load i32, ptr %3, align 4
%32 = call i32 @close(i32 noundef %31)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp ne i32 0, %33
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @perror(ptr noundef @.str.2)
store i32 -2, ptr %1, align 4
br label %38
37: ; preds = %30
store i32 0, ptr %1, align 4
br label %38
38: ; preds = %37, %35, %28, %12
%39 = load i32, ptr %1, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcxej9ztr.c'
source_filename = "/tmp/tmpcxej9ztr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0Ameu segundo programa\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcxej9ztr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0Ameu segundo programa\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx4ximh9t.c'
source_filename = "/tmp/tmpx4ximh9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @SLF(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 2, %8
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %25, %1
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %15
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %5, align 4
br label %11, !llvm.loop !6
30: ; preds = %11
store i32 0, ptr %4, align 4
%31 = load i32, ptr %3, align 4
store i32 %31, ptr %5, align 4
br label %32
32: ; preds = %46, %30
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %51
36: ; preds = %32
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %36
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %32, !llvm.loop !8
51: ; preds = %32
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %2, align 8
ret ptr %56
}
declare i32 @SLF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx4ximh9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @SLF(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 2, %8
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %14
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %32
32: ; preds = %._crit_edge, %1
store i32 0, ptr %4, align 4
%33 = load i32, ptr %3, align 4
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %55
.lr.ph2: ; preds = %32
br label %37
37: ; preds = %.lr.ph2, %47
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
br label %47
47: ; preds = %37
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %55
55: ; preds = %._crit_edge3, %32
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store i8 0, ptr %59, align 1
%60 = load ptr, ptr %2, align 8
ret ptr %60
}
declare i32 @SLF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpculqfr2v.c'
source_filename = "/tmp/tmpculqfr2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftfiou_(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @Cfffiou(i32 noundef %6, ptr noundef %7)
ret void
}
declare i32 @Cfffiou(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/tmpculqfr2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftfiou_(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @Cfffiou(i32 noundef %6, ptr noundef %7)
ret void
}
declare i32 @Cfffiou(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/tmp944rvdg1.c'
source_filename = "/tmp/tmp944rvdg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i64, ptr %2, align 8
%6 = call i64 @solve(i64 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @solve(i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp944rvdg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i64, ptr %2, align 8
%6 = call i64 @solve(i64 noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, i64 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @solve(i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprzphux_l.c'
source_filename = "/tmp/tmprzphux_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(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 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @free(ptr noundef %7)
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/tmprzphux_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(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 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @free(ptr noundef %7)
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/tmp_sw25ia2.c'
source_filename = "/tmp/tmp_sw25ia2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-p1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"-p2\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"-log\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"One or more errors encountered during assembly operation.\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"Assembly operation completed successfully.\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Results saved to %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 4
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 6
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (...) @print_usage_and_exit()
br label %18
18: ; preds = %16, %13, %2
store i32 0, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 1, ptr %6, align 4
br label %33
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 2, ptr %6, align 4
br label %32
32: ; preds = %31, %25
br label %33
33: ; preds = %32, %24
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %8, align 8
store ptr null, ptr %9, align 8
br label %64
43: ; preds = %33
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 2
br i1 %45, label %46, label %53
46: ; preds = %43
store ptr null, ptr %7, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 3
%52 = load ptr, ptr %51, align 8
store ptr %52, ptr %9, align 8
br label %63
53: ; preds = %43
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %7, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 2
%59 = load ptr, ptr %58, align 8
store ptr %59, ptr %8, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 3
%62 = load ptr, ptr %61, align 8
store ptr %62, ptr %9, align 8
br label %63
63: ; preds = %53, %46
br label %64
64: ; preds = %63, %36
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 6
br i1 %66, label %67, label %81
67: ; preds = %64
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 4
%70 = load ptr, ptr %69, align 8
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.2)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %67
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 5
%76 = load ptr, ptr %75, align 8
%77 = call i32 @set_log_file(ptr noundef %76)
br label %80
78: ; preds = %67
%79 = call i32 (...) @print_usage_and_exit()
br label %80
80: ; preds = %78, %73
br label %81
81: ; preds = %80, %64
%82 = load ptr, ptr %7, align 8
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %9, align 8
%85 = call i32 @assemble(ptr noundef %82, ptr noundef %83, ptr noundef %84)
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %81
%89 = call i32 @write_to_log(ptr noundef @.str.3)
br label %92
90: ; preds = %81
%91 = call i32 @write_to_log(ptr noundef @.str.4)
br label %92
92: ; preds = %90, %88
%93 = call i64 (...) @is_log_file_set()
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %92
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds ptr, ptr %96, i64 5
%98 = load ptr, ptr %97, align 8
%99 = call i32 @printf(ptr noundef @.str.5, ptr noundef %98)
br label %100
100: ; preds = %95, %92
%101 = load i32, ptr %10, align 4
ret i32 %101
}
declare i32 @print_usage_and_exit(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_log_file(ptr noundef) #1
declare i32 @assemble(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write_to_log(ptr noundef) #1
declare i64 @is_log_file_set(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sw25ia2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-p1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"-p2\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"-log\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"One or more errors encountered during assembly operation.\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"Assembly operation completed successfully.\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Results saved to %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 4
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 6
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (...) @print_usage_and_exit()
br label %18
18: ; preds = %16, %13, %2
store i32 0, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 1, ptr %6, align 4
br label %33
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 2, ptr %6, align 4
br label %32
32: ; preds = %31, %25
br label %33
33: ; preds = %32, %24
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %8, align 8
store ptr null, ptr %9, align 8
br label %64
43: ; preds = %33
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 2
br i1 %45, label %46, label %53
46: ; preds = %43
store ptr null, ptr %7, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 3
%52 = load ptr, ptr %51, align 8
store ptr %52, ptr %9, align 8
br label %63
53: ; preds = %43
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %7, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 2
%59 = load ptr, ptr %58, align 8
store ptr %59, ptr %8, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 3
%62 = load ptr, ptr %61, align 8
store ptr %62, ptr %9, align 8
br label %63
63: ; preds = %53, %46
br label %64
64: ; preds = %63, %36
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 6
br i1 %66, label %67, label %81
67: ; preds = %64
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 4
%70 = load ptr, ptr %69, align 8
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.2)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %67
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 5
%76 = load ptr, ptr %75, align 8
%77 = call i32 @set_log_file(ptr noundef %76)
br label %80
78: ; preds = %67
%79 = call i32 (...) @print_usage_and_exit()
br label %80
80: ; preds = %78, %73
br label %81
81: ; preds = %80, %64
%82 = load ptr, ptr %7, align 8
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %9, align 8
%85 = call i32 @assemble(ptr noundef %82, ptr noundef %83, ptr noundef %84)
store i32 %85, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %81
%89 = call i32 @write_to_log(ptr noundef @.str.3)
br label %92
90: ; preds = %81
%91 = call i32 @write_to_log(ptr noundef @.str.4)
br label %92
92: ; preds = %90, %88
%93 = call i64 (...) @is_log_file_set()
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %92
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds ptr, ptr %96, i64 5
%98 = load ptr, ptr %97, align 8
%99 = call i32 @printf(ptr noundef @.str.5, ptr noundef %98)
br label %100
100: ; preds = %95, %92
%101 = load i32, ptr %10, align 4
ret i32 %101
}
declare i32 @print_usage_and_exit(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_log_file(ptr noundef) #1
declare i32 @assemble(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @write_to_log(ptr noundef) #1
declare i64 @is_log_file_set(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn5nhk2sm.c'
source_filename = "/tmp/tmpn5nhk2sm.c"
target datalayout = "e-m:e-p270: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/tmpn5nhk2sm.c"
target datalayout = "e-m:e-p270: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/tmpqksunbff.c'
source_filename = "/tmp/tmpqksunbff.c"
target datalayout = "e-m:e-p270: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/tmpqksunbff.c"
target datalayout = "e-m:e-p270: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/tmpxosm2jvw.c'
source_filename = "/tmp/tmpxosm2jvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_expand_envs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %3, align 8
store i64 0, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %72, %23, %1
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %73
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 36
br i1 %22, label %23, label %32
23: ; preds = %16
%24 = load ptr, ptr %2, align 8
%25 = load i64, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %5, ptr noundef %6, ptr noundef @.str, i32 noundef %28)
%30 = load i64, ptr %4, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %4, align 8
br label %12, !llvm.loop !6
32: ; preds = %16
%33 = load i64, ptr %4, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %4, align 8
store ptr null, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %52, %32
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = icmp ult i64 %37, 8
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = load i64, ptr %4, align 8
%41 = load i64, ptr %3, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %50
43: ; preds = %39
%44 = load ptr, ptr %2, align 8
%45 = load i64, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i8, ptr %46, align 1
%48 = call i64 @is_variable_character(i8 noundef signext %47)
%49 = icmp ne i64 %48, 0
br label %50
50: ; preds = %43, %39, %35
%51 = phi i1 [ false, %39 ], [ false, %35 ], [ %49, %43 ]
br i1 %51, label %52, label %61
52: ; preds = %50
%53 = load ptr, ptr %2, align 8
%54 = load i64, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %7, ptr noundef %8, ptr noundef @.str, i32 noundef %57)
%59 = load i64, ptr %4, align 8
%60 = add i64 %59, 1
store i64 %60, ptr %4, align 8
br label %35, !llvm.loop !8
61: ; preds = %50
%62 = load ptr, ptr %7, align 8
%63 = call ptr @getenv(ptr noundef %62)
store ptr %63, ptr %9, align 8
%64 = load ptr, ptr %9, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %69
66: ; preds = %61
%67 = load ptr, ptr %9, align 8
%68 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %5, ptr noundef %6, ptr noundef @.str.1, ptr noundef %67)
br label %69
69: ; preds = %66, %61
%70 = load ptr, ptr %7, align 8
%71 = call i32 @free(ptr noundef %70)
br label %72
72: ; preds = %69
br label %12, !llvm.loop !6
73: ; preds = %12
%74 = load ptr, ptr %5, align 8
ret ptr %74
}
declare i64 @strlen(ptr noundef) #1
declare i32 @buffer_appendf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @is_variable_character(i8 noundef signext) #1
declare ptr @getenv(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxosm2jvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_expand_envs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %3, align 8
store i64 0, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = load i64, ptr %4, align 8
%13 = load i64, ptr %3, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %75
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load ptr, ptr %2, align 8
%17 = load i64, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 36
br i1 %21, label %22, label %34
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
%24 = load i64, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %5, ptr noundef %6, ptr noundef @.str, i32 noundef %27)
%29 = load i64, ptr %4, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %4, align 8
br label %.backedge
.backedge: ; preds = %22, %74
%31 = load i64, ptr %4, align 8
%32 = load i64, ptr %3, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %15, label %._crit_edge, !llvm.loop !6
34: ; preds = %15
%35 = load i64, ptr %4, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %4, align 8
store ptr null, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %37
37: ; preds = %54, %34
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = icmp ult i64 %39, 8
br i1 %40, label %41, label %52
41: ; preds = %37
%42 = load i64, ptr %4, align 8
%43 = load i64, ptr %3, align 8
%44 = icmp ult i64 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %41
%46 = load ptr, ptr %2, align 8
%47 = load i64, ptr %4, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
%49 = load i8, ptr %48, align 1
%50 = call i64 @is_variable_character(i8 noundef signext %49)
%51 = icmp ne i64 %50, 0
br label %52
52: ; preds = %45, %41, %37
%53 = phi i1 [ false, %41 ], [ false, %37 ], [ %51, %45 ]
br i1 %53, label %54, label %63
54: ; preds = %52
%55 = load ptr, ptr %2, align 8
%56 = load i64, ptr %4, align 8
%57 = getelementptr inbounds i8, ptr %55, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %7, ptr noundef %8, ptr noundef @.str, i32 noundef %59)
%61 = load i64, ptr %4, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %4, align 8
br label %37, !llvm.loop !8
63: ; preds = %52
%64 = load ptr, ptr %7, align 8
%65 = call ptr @getenv(ptr noundef %64)
store ptr %65, ptr %9, align 8
%66 = load ptr, ptr %9, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %71
68: ; preds = %63
%69 = load ptr, ptr %9, align 8
%70 = call i32 (ptr, ptr, ptr, ...) @buffer_appendf(ptr noundef %5, ptr noundef %6, ptr noundef @.str.1, ptr noundef %69)
br label %71
71: ; preds = %68, %63
%72 = load ptr, ptr %7, align 8
%73 = call i32 @free(ptr noundef %72)
br label %74
74: ; preds = %71
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %75
75: ; preds = %._crit_edge, %1
%76 = load ptr, ptr %5, align 8
ret ptr %76
}
declare i64 @strlen(ptr noundef) #1
declare i32 @buffer_appendf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @is_variable_character(i8 noundef signext) #1
declare ptr @getenv(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppar288qc.c'
source_filename = "/tmp/tmppar288qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"abcdefghabcdddd\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"substr=%s \0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"abcdedcdddddd\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"CD\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"cdefghhhh111\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"cdefg\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"len=%lu\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"abcdefgh\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"cde\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @c_string() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %5, ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
%10 = call ptr @strcasestr(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %11)
%13 = call i64 @strspn(ptr noundef @.str.5, ptr noundef @.str.6)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %14)
%16 = call i64 @strcspn(ptr noundef @.str.8, ptr noundef @.str.9)
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %17)
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strcasestr(ptr noundef, ptr noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare i64 @strcspn(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/tmppar288qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"abcdefghabcdddd\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"substr=%s \0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"abcdedcdddddd\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"CD\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"cdefghhhh111\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"cdefg\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"len=%lu\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"abcdefgh\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"cde\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @c_string() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strstr(ptr noundef %5, ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
%10 = call ptr @strcasestr(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %11)
%13 = call i64 @strspn(ptr noundef @.str.5, ptr noundef @.str.6)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %14)
%16 = call i64 @strcspn(ptr noundef @.str.8, ptr noundef @.str.9)
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %17)
ret void
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strcasestr(ptr noundef, ptr noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare i64 @strcspn(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/tmps9i87gc1.c'
source_filename = "/tmp/tmps9i87gc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idwt3(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #0 {
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%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
store ptr %0, ptr %18, align 8
store i32 %1, ptr %19, align 4
store i32 %2, ptr %20, align 4
store i32 %3, ptr %21, align 4
store ptr %4, ptr %22, align 8
store i32 %5, ptr %23, align 4
store i32 %6, ptr %24, align 4
store i32 %7, ptr %25, align 4
store ptr %8, ptr %26, align 8
store ptr %9, ptr %27, align 8
store ptr %10, ptr %28, align 8
store ptr %11, ptr %29, align 8
store ptr %12, ptr %30, align 8
store ptr %13, ptr %31, align 8
store i32 %14, ptr %32, align 4
store i32 %15, ptr %33, align 4
store i32 %16, ptr %34, align 4
%56 = load i32, ptr %19, align 4
%57 = load i32, ptr %20, align 4
%58 = mul nsw i32 %56, %57
%59 = load i32, ptr %21, align 4
%60 = mul nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = mul i64 %61, 8
%63 = trunc i64 %62 to i32
%64 = call ptr @malloc(i32 noundef %63)
store ptr %64, ptr %47, align 8
%65 = load i32, ptr %19, align 4
%66 = load i32, ptr %20, align 4
%67 = mul nsw i32 %65, %66
%68 = load i32, ptr %21, align 4
%69 = mul nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 8
%72 = trunc i64 %71 to i32
%73 = call ptr @malloc(i32 noundef %72)
store ptr %73, ptr %48, align 8
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %20, align 4
%76 = mul nsw i32 %74, %75
%77 = load i32, ptr %21, align 4
%78 = mul nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = mul i64 %79, 8
%81 = trunc i64 %80 to i32
%82 = call ptr @malloc(i32 noundef %81)
store ptr %82, ptr %49, align 8
%83 = load i32, ptr %19, align 4
%84 = load i32, ptr %20, align 4
%85 = mul nsw i32 %83, %84
%86 = load i32, ptr %21, align 4
%87 = mul nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = mul i64 %88, 8
%90 = trunc i64 %89 to i32
%91 = call ptr @malloc(i32 noundef %90)
store ptr %91, ptr %50, align 8
%92 = load i32, ptr %19, align 4
%93 = load i32, ptr %20, align 4
%94 = mul nsw i32 %92, %93
%95 = load i32, ptr %21, align 4
%96 = mul nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = mul i64 %97, 8
%99 = trunc i64 %98 to i32
%100 = call ptr @malloc(i32 noundef %99)
store ptr %100, ptr %51, align 8
%101 = load i32, ptr %19, align 4
%102 = load i32, ptr %20, align 4
%103 = mul nsw i32 %101, %102
%104 = load i32, ptr %21, align 4
%105 = mul nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = mul i64 %106, 8
%108 = trunc i64 %107 to i32
%109 = call ptr @malloc(i32 noundef %108)
store ptr %109, ptr %52, align 8
%110 = load i32, ptr %19, align 4
%111 = load i32, ptr %20, align 4
%112 = mul nsw i32 %110, %111
%113 = load i32, ptr %21, align 4
%114 = mul nsw i32 %112, %113
%115 = sext i32 %114 to i64
%116 = mul i64 %115, 8
%117 = trunc i64 %116 to i32
%118 = call ptr @malloc(i32 noundef %117)
store ptr %118, ptr %53, align 8
%119 = load i32, ptr %19, align 4
%120 = load i32, ptr %20, align 4
%121 = mul nsw i32 %119, %120
%122 = load i32, ptr %21, align 4
%123 = mul nsw i32 %121, %122
%124 = sext i32 %123 to i64
%125 = mul i64 %124, 8
%126 = trunc i64 %125 to i32
%127 = call ptr @malloc(i32 noundef %126)
store ptr %127, ptr %54, align 8
%128 = load ptr, ptr %18, align 8
%129 = load i32, ptr %20, align 4
%130 = load i32, ptr %19, align 4
%131 = load i32, ptr %21, align 4
%132 = load ptr, ptr %47, align 8
%133 = load ptr, ptr %48, align 8
%134 = load ptr, ptr %49, align 8
%135 = load ptr, ptr %50, align 8
%136 = load ptr, ptr %51, align 8
%137 = load ptr, ptr %52, align 8
%138 = load ptr, ptr %53, align 8
%139 = load ptr, ptr %54, align 8
%140 = load i32, ptr %19, align 4
%141 = load i32, ptr %21, align 4
%142 = load i32, ptr %20, align 4
%143 = call i32 @dwt3d_split(ptr noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138, ptr noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef %142)
%144 = load i32, ptr %19, align 4
%145 = load i32, ptr %25, align 4
%146 = mul nsw i32 %144, %145
%147 = load i32, ptr %20, align 4
%148 = mul nsw i32 %146, %147
%149 = sext i32 %148 to i64
%150 = mul i64 %149, 8
%151 = trunc i64 %150 to i32
%152 = call ptr @malloc(i32 noundef %151)
store ptr %152, ptr %43, align 8
%153 = load ptr, ptr %47, align 8
%154 = load ptr, ptr %48, align 8
%155 = load i32, ptr %19, align 4
%156 = load i32, ptr %21, align 4
%157 = load i32, ptr %20, align 4
%158 = load ptr, ptr %43, align 8
%159 = load i32, ptr %19, align 4
%160 = load i32, ptr %25, align 4
%161 = load i32, ptr %20, align 4
%162 = load ptr, ptr %26, align 8
%163 = load ptr, ptr %27, align 8
%164 = load i32, ptr %32, align 4
%165 = call i32 @dwt3d_line_reverse(ptr noundef %153, ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157, ptr noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef %161, ptr noundef %162, ptr noundef %163, i32 noundef %164)
%166 = load ptr, ptr %47, align 8
%167 = call i32 @free(ptr noundef %166)
%168 = load ptr, ptr %48, align 8
%169 = call i32 @free(ptr noundef %168)
%170 = load i32, ptr %19, align 4
%171 = load i32, ptr %25, align 4
%172 = mul nsw i32 %170, %171
%173 = load i32, ptr %20, align 4
%174 = mul nsw i32 %172, %173
%175 = sext i32 %174 to i64
%176 = mul i64 %175, 8
%177 = trunc i64 %176 to i32
%178 = call ptr @malloc(i32 noundef %177)
store ptr %178, ptr %44, align 8
%179 = load ptr, ptr %49, align 8
%180 = load ptr, ptr %50, align 8
%181 = load i32, ptr %19, align 4
%182 = load i32, ptr %21, align 4
%183 = load i32, ptr %20, align 4
%184 = load ptr, ptr %44, align 8
%185 = load i32, ptr %19, align 4
%186 = load i32, ptr %25, align 4
%187 = load i32, ptr %20, align 4
%188 = load ptr, ptr %26, align 8
%189 = load ptr, ptr %27, align 8
%190 = load i32, ptr %32, align 4
%191 = call i32 @dwt3d_line_reverse(ptr noundef %179, ptr noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, ptr noundef %188, ptr noundef %189, i32 noundef %190)
%192 = load ptr, ptr %49, align 8
%193 = call i32 @free(ptr noundef %192)
%194 = load ptr, ptr %50, align 8
%195 = call i32 @free(ptr noundef %194)
%196 = load i32, ptr %19, align 4
%197 = load i32, ptr %25, align 4
%198 = mul nsw i32 %196, %197
%199 = load i32, ptr %20, align 4
%200 = mul nsw i32 %198, %199
%201 = sext i32 %200 to i64
%202 = mul i64 %201, 8
%203 = trunc i64 %202 to i32
%204 = call ptr @malloc(i32 noundef %203)
store ptr %204, ptr %45, align 8
%205 = load ptr, ptr %51, align 8
%206 = load ptr, ptr %52, align 8
%207 = load i32, ptr %19, align 4
%208 = load i32, ptr %21, align 4
%209 = load i32, ptr %20, align 4
%210 = load ptr, ptr %45, align 8
%211 = load i32, ptr %19, align 4
%212 = load i32, ptr %25, align 4
%213 = load i32, ptr %20, align 4
%214 = load ptr, ptr %26, align 8
%215 = load ptr, ptr %27, align 8
%216 = load i32, ptr %32, align 4
%217 = call i32 @dwt3d_line_reverse(ptr noundef %205, ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209, ptr noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213, ptr noundef %214, ptr noundef %215, i32 noundef %216)
%218 = load ptr, ptr %51, align 8
%219 = call i32 @free(ptr noundef %218)
%220 = load ptr, ptr %52, align 8
%221 = call i32 @free(ptr noundef %220)
%222 = load i32, ptr %19, align 4
%223 = load i32, ptr %25, align 4
%224 = mul nsw i32 %222, %223
%225 = load i32, ptr %20, align 4
%226 = mul nsw i32 %224, %225
%227 = sext i32 %226 to i64
%228 = mul i64 %227, 8
%229 = trunc i64 %228 to i32
%230 = call ptr @malloc(i32 noundef %229)
store ptr %230, ptr %46, align 8
%231 = load ptr, ptr %53, align 8
%232 = load ptr, ptr %54, align 8
%233 = load i32, ptr %19, align 4
%234 = load i32, ptr %21, align 4
%235 = load i32, ptr %20, align 4
%236 = load ptr, ptr %46, align 8
%237 = load i32, ptr %19, align 4
%238 = load i32, ptr %25, align 4
%239 = load i32, ptr %20, align 4
%240 = load ptr, ptr %26, align 8
%241 = load ptr, ptr %27, align 8
%242 = load i32, ptr %32, align 4
%243 = call i32 @dwt3d_line_reverse(ptr noundef %231, ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239, ptr noundef %240, ptr noundef %241, i32 noundef %242)
%244 = load ptr, ptr %53, align 8
%245 = call i32 @free(ptr noundef %244)
%246 = load ptr, ptr %54, align 8
%247 = call i32 @free(ptr noundef %246)
%248 = load i32, ptr %19, align 4
%249 = load i32, ptr %25, align 4
%250 = mul nsw i32 %248, %249
%251 = load i32, ptr %20, align 4
%252 = mul nsw i32 %250, %251
%253 = sext i32 %252 to i64
%254 = mul i64 %253, 8
%255 = trunc i64 %254 to i32
%256 = call ptr @malloc(i32 noundef %255)
store ptr %256, ptr %39, align 8
%257 = load ptr, ptr %43, align 8
%258 = load i32, ptr %19, align 4
%259 = load i32, ptr %25, align 4
%260 = load i32, ptr %20, align 4
%261 = load ptr, ptr %39, align 8
%262 = load i32, ptr %20, align 4
%263 = load i32, ptr %19, align 4
%264 = load i32, ptr %25, align 4
%265 = call i32 @dwt3d_tran_z_inv(ptr noundef %257, i32 noundef %258, i32 noundef %259, i32 noundef %260, ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264)
%266 = load ptr, ptr %43, align 8
%267 = call i32 @free(ptr noundef %266)
%268 = load i32, ptr %19, align 4
%269 = load i32, ptr %25, align 4
%270 = mul nsw i32 %268, %269
%271 = load i32, ptr %20, align 4
%272 = mul nsw i32 %270, %271
%273 = sext i32 %272 to i64
%274 = mul i64 %273, 8
%275 = trunc i64 %274 to i32
%276 = call ptr @malloc(i32 noundef %275)
store ptr %276, ptr %40, align 8
%277 = load ptr, ptr %44, align 8
%278 = load i32, ptr %19, align 4
%279 = load i32, ptr %25, align 4
%280 = load i32, ptr %20, align 4
%281 = load ptr, ptr %40, align 8
%282 = load i32, ptr %20, align 4
%283 = load i32, ptr %19, align 4
%284 = load i32, ptr %25, align 4
%285 = call i32 @dwt3d_tran_z_inv(ptr noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280, ptr noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284)
%286 = load ptr, ptr %44, align 8
%287 = call i32 @free(ptr noundef %286)
%288 = load i32, ptr %19, align 4
%289 = load i32, ptr %25, align 4
%290 = mul nsw i32 %288, %289
%291 = load i32, ptr %20, align 4
%292 = mul nsw i32 %290, %291
%293 = sext i32 %292 to i64
%294 = mul i64 %293, 8
%295 = trunc i64 %294 to i32
%296 = call ptr @malloc(i32 noundef %295)
store ptr %296, ptr %41, align 8
%297 = load ptr, ptr %45, align 8
%298 = load i32, ptr %19, align 4
%299 = load i32, ptr %25, align 4
%300 = load i32, ptr %20, align 4
%301 = load ptr, ptr %41, align 8
%302 = load i32, ptr %20, align 4
%303 = load i32, ptr %19, align 4
%304 = load i32, ptr %25, align 4
%305 = call i32 @dwt3d_tran_z_inv(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, ptr noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef %304)
%306 = load ptr, ptr %45, align 8
%307 = call i32 @free(ptr noundef %306)
%308 = load i32, ptr %19, align 4
%309 = load i32, ptr %25, align 4
%310 = mul nsw i32 %308, %309
%311 = load i32, ptr %20, align 4
%312 = mul nsw i32 %310, %311
%313 = sext i32 %312 to i64
%314 = mul i64 %313, 8
%315 = trunc i64 %314 to i32
%316 = call ptr @malloc(i32 noundef %315)
store ptr %316, ptr %42, align 8
%317 = load ptr, ptr %46, align 8
%318 = load i32, ptr %19, align 4
%319 = load i32, ptr %25, align 4
%320 = load i32, ptr %20, align 4
%321 = load ptr, ptr %42, align 8
%322 = load i32, ptr %20, align 4
%323 = load i32, ptr %19, align 4
%324 = load i32, ptr %25, align 4
%325 = call i32 @dwt3d_tran_z_inv(ptr noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320, ptr noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324)
%326 = load ptr, ptr %46, align 8
%327 = call i32 @free(ptr noundef %326)
%328 = load i32, ptr %23, align 4
%329 = load i32, ptr %25, align 4
%330 = mul nsw i32 %328, %329
%331 = load i32, ptr %20, align 4
%332 = mul nsw i32 %330, %331
%333 = sext i32 %332 to i64
%334 = mul i64 %333, 8
%335 = trunc i64 %334 to i32
%336 = call ptr @malloc(i32 noundef %335)
store ptr %336, ptr %37, align 8
%337 = load ptr, ptr %39, align 8
%338 = load ptr, ptr %40, align 8
%339 = load i32, ptr %20, align 4
%340 = load i32, ptr %19, align 4
%341 = load i32, ptr %25, align 4
%342 = load ptr, ptr %37, align 8
%343 = load i32, ptr %20, align 4
%344 = load i32, ptr %23, align 4
%345 = load i32, ptr %25, align 4
%346 = load ptr, ptr %28, align 8
%347 = load ptr, ptr %29, align 8
%348 = load i32, ptr %33, align 4
%349 = call i32 @dwt3d_line_reverse(ptr noundef %337, ptr noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, ptr noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345, ptr noundef %346, ptr noundef %347, i32 noundef %348)
%350 = load ptr, ptr %39, align 8
%351 = call i32 @free(ptr noundef %350)
%352 = load ptr, ptr %40, align 8
%353 = call i32 @free(ptr noundef %352)
%354 = load i32, ptr %23, align 4
%355 = load i32, ptr %25, align 4
%356 = mul nsw i32 %354, %355
%357 = load i32, ptr %20, align 4
%358 = mul nsw i32 %356, %357
%359 = sext i32 %358 to i64
%360 = mul i64 %359, 8
%361 = trunc i64 %360 to i32
%362 = call ptr @malloc(i32 noundef %361)
store ptr %362, ptr %38, align 8
%363 = load ptr, ptr %41, align 8
%364 = load ptr, ptr %42, align 8
%365 = load i32, ptr %20, align 4
%366 = load i32, ptr %19, align 4
%367 = load i32, ptr %25, align 4
%368 = load ptr, ptr %38, align 8
%369 = load i32, ptr %20, align 4
%370 = load i32, ptr %23, align 4
%371 = load i32, ptr %25, align 4
%372 = load ptr, ptr %28, align 8
%373 = load ptr, ptr %29, align 8
%374 = load i32, ptr %33, align 4
%375 = call i32 @dwt3d_line_reverse(ptr noundef %363, ptr noundef %364, i32 noundef %365, i32 noundef %366, i32 noundef %367, ptr noundef %368, i32 noundef %369, i32 noundef %370, i32 noundef %371, ptr noundef %372, ptr noundef %373, i32 noundef %374)
%376 = load ptr, ptr %41, align 8
%377 = call i32 @free(ptr noundef %376)
%378 = load ptr, ptr %42, align 8
%379 = call i32 @free(ptr noundef %378)
%380 = load i32, ptr %23, align 4
%381 = load i32, ptr %25, align 4
%382 = mul nsw i32 %380, %381
%383 = load i32, ptr %20, align 4
%384 = mul nsw i32 %382, %383
%385 = sext i32 %384 to i64
%386 = mul i64 %385, 8
%387 = trunc i64 %386 to i32
%388 = call ptr @malloc(i32 noundef %387)
store ptr %388, ptr %35, align 8
%389 = load ptr, ptr %37, align 8
%390 = load i32, ptr %20, align 4
%391 = load i32, ptr %23, align 4
%392 = load i32, ptr %25, align 4
%393 = load ptr, ptr %35, align 8
%394 = load i32, ptr %23, align 4
%395 = load i32, ptr %20, align 4
%396 = load i32, ptr %25, align 4
%397 = call i32 @dwt3d_tran(ptr noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392, ptr noundef %393, i32 noundef %394, i32 noundef %395, i32 noundef %396)
%398 = load ptr, ptr %37, align 8
%399 = call i32 @free(ptr noundef %398)
%400 = load i32, ptr %23, align 4
%401 = load i32, ptr %25, align 4
%402 = mul nsw i32 %400, %401
%403 = load i32, ptr %20, align 4
%404 = mul nsw i32 %402, %403
%405 = sext i32 %404 to i64
%406 = mul i64 %405, 8
%407 = trunc i64 %406 to i32
%408 = call ptr @malloc(i32 noundef %407)
store ptr %408, ptr %36, align 8
%409 = load ptr, ptr %38, align 8
%410 = load i32, ptr %20, align 4
%411 = load i32, ptr %23, align 4
%412 = load i32, ptr %25, align 4
%413 = load ptr, ptr %36, align 8
%414 = load i32, ptr %23, align 4
%415 = load i32, ptr %20, align 4
%416 = load i32, ptr %25, align 4
%417 = call i32 @dwt3d_tran(ptr noundef %409, i32 noundef %410, i32 noundef %411, i32 noundef %412, ptr noundef %413, i32 noundef %414, i32 noundef %415, i32 noundef %416)
%418 = load ptr, ptr %38, align 8
%419 = call i32 @free(ptr noundef %418)
%420 = load i32, ptr %23, align 4
%421 = load i32, ptr %25, align 4
%422 = mul nsw i32 %420, %421
%423 = load i32, ptr %24, align 4
%424 = mul nsw i32 %422, %423
%425 = sext i32 %424 to i64
%426 = mul i64 %425, 8
%427 = trunc i64 %426 to i32
%428 = call ptr @malloc(i32 noundef %427)
store ptr %428, ptr %55, align 8
%429 = load ptr, ptr %35, align 8
%430 = load ptr, ptr %36, align 8
%431 = load i32, ptr %23, align 4
%432 = load i32, ptr %20, align 4
%433 = load i32, ptr %25, align 4
%434 = load ptr, ptr %55, align 8
%435 = load i32, ptr %23, align 4
%436 = load i32, ptr %24, align 4
%437 = load i32, ptr %25, align 4
%438 = load ptr, ptr %30, align 8
%439 = load ptr, ptr %31, align 8
%440 = load i32, ptr %34, align 4
%441 = call i32 @dwt3d_line_reverse(ptr noundef %429, ptr noundef %430, i32 noundef %431, i32 noundef %432, i32 noundef %433, ptr noundef %434, i32 noundef %435, i32 noundef %436, i32 noundef %437, ptr noundef %438, ptr noundef %439, i32 noundef %440)
%442 = load ptr, ptr %35, align 8
%443 = call i32 @free(ptr noundef %442)
%444 = load ptr, ptr %36, align 8
%445 = call i32 @free(ptr noundef %444)
%446 = load ptr, ptr %55, align 8
%447 = load i32, ptr %23, align 4
%448 = load i32, ptr %24, align 4
%449 = load i32, ptr %25, align 4
%450 = load ptr, ptr %22, align 8
%451 = load i32, ptr %24, align 4
%452 = load i32, ptr %23, align 4
%453 = load i32, ptr %25, align 4
%454 = call i32 @dwt3d_tran(ptr noundef %446, i32 noundef %447, i32 noundef %448, i32 noundef %449, ptr noundef %450, i32 noundef %451, i32 noundef %452, i32 noundef %453)
%455 = load ptr, ptr %55, align 8
%456 = call i32 @free(ptr noundef %455)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dwt3d_split(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dwt3d_line_reverse(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @dwt3d_tran_z_inv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dwt3d_tran(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9i87gc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idwt3(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #0 {
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%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
store ptr %0, ptr %18, align 8
store i32 %1, ptr %19, align 4
store i32 %2, ptr %20, align 4
store i32 %3, ptr %21, align 4
store ptr %4, ptr %22, align 8
store i32 %5, ptr %23, align 4
store i32 %6, ptr %24, align 4
store i32 %7, ptr %25, align 4
store ptr %8, ptr %26, align 8
store ptr %9, ptr %27, align 8
store ptr %10, ptr %28, align 8
store ptr %11, ptr %29, align 8
store ptr %12, ptr %30, align 8
store ptr %13, ptr %31, align 8
store i32 %14, ptr %32, align 4
store i32 %15, ptr %33, align 4
store i32 %16, ptr %34, align 4
%56 = load i32, ptr %19, align 4
%57 = load i32, ptr %20, align 4
%58 = mul nsw i32 %56, %57
%59 = load i32, ptr %21, align 4
%60 = mul nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = mul i64 %61, 8
%63 = trunc i64 %62 to i32
%64 = call ptr @malloc(i32 noundef %63)
store ptr %64, ptr %47, align 8
%65 = load i32, ptr %19, align 4
%66 = load i32, ptr %20, align 4
%67 = mul nsw i32 %65, %66
%68 = load i32, ptr %21, align 4
%69 = mul nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 8
%72 = trunc i64 %71 to i32
%73 = call ptr @malloc(i32 noundef %72)
store ptr %73, ptr %48, align 8
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %20, align 4
%76 = mul nsw i32 %74, %75
%77 = load i32, ptr %21, align 4
%78 = mul nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = mul i64 %79, 8
%81 = trunc i64 %80 to i32
%82 = call ptr @malloc(i32 noundef %81)
store ptr %82, ptr %49, align 8
%83 = load i32, ptr %19, align 4
%84 = load i32, ptr %20, align 4
%85 = mul nsw i32 %83, %84
%86 = load i32, ptr %21, align 4
%87 = mul nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = mul i64 %88, 8
%90 = trunc i64 %89 to i32
%91 = call ptr @malloc(i32 noundef %90)
store ptr %91, ptr %50, align 8
%92 = load i32, ptr %19, align 4
%93 = load i32, ptr %20, align 4
%94 = mul nsw i32 %92, %93
%95 = load i32, ptr %21, align 4
%96 = mul nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = mul i64 %97, 8
%99 = trunc i64 %98 to i32
%100 = call ptr @malloc(i32 noundef %99)
store ptr %100, ptr %51, align 8
%101 = load i32, ptr %19, align 4
%102 = load i32, ptr %20, align 4
%103 = mul nsw i32 %101, %102
%104 = load i32, ptr %21, align 4
%105 = mul nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = mul i64 %106, 8
%108 = trunc i64 %107 to i32
%109 = call ptr @malloc(i32 noundef %108)
store ptr %109, ptr %52, align 8
%110 = load i32, ptr %19, align 4
%111 = load i32, ptr %20, align 4
%112 = mul nsw i32 %110, %111
%113 = load i32, ptr %21, align 4
%114 = mul nsw i32 %112, %113
%115 = sext i32 %114 to i64
%116 = mul i64 %115, 8
%117 = trunc i64 %116 to i32
%118 = call ptr @malloc(i32 noundef %117)
store ptr %118, ptr %53, align 8
%119 = load i32, ptr %19, align 4
%120 = load i32, ptr %20, align 4
%121 = mul nsw i32 %119, %120
%122 = load i32, ptr %21, align 4
%123 = mul nsw i32 %121, %122
%124 = sext i32 %123 to i64
%125 = mul i64 %124, 8
%126 = trunc i64 %125 to i32
%127 = call ptr @malloc(i32 noundef %126)
store ptr %127, ptr %54, align 8
%128 = load ptr, ptr %18, align 8
%129 = load i32, ptr %20, align 4
%130 = load i32, ptr %19, align 4
%131 = load i32, ptr %21, align 4
%132 = load ptr, ptr %47, align 8
%133 = load ptr, ptr %48, align 8
%134 = load ptr, ptr %49, align 8
%135 = load ptr, ptr %50, align 8
%136 = load ptr, ptr %51, align 8
%137 = load ptr, ptr %52, align 8
%138 = load ptr, ptr %53, align 8
%139 = load ptr, ptr %54, align 8
%140 = load i32, ptr %19, align 4
%141 = load i32, ptr %21, align 4
%142 = load i32, ptr %20, align 4
%143 = call i32 @dwt3d_split(ptr noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138, ptr noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef %142)
%144 = load i32, ptr %19, align 4
%145 = load i32, ptr %25, align 4
%146 = mul nsw i32 %144, %145
%147 = load i32, ptr %20, align 4
%148 = mul nsw i32 %146, %147
%149 = sext i32 %148 to i64
%150 = mul i64 %149, 8
%151 = trunc i64 %150 to i32
%152 = call ptr @malloc(i32 noundef %151)
store ptr %152, ptr %43, align 8
%153 = load ptr, ptr %47, align 8
%154 = load ptr, ptr %48, align 8
%155 = load i32, ptr %19, align 4
%156 = load i32, ptr %21, align 4
%157 = load i32, ptr %20, align 4
%158 = load ptr, ptr %43, align 8
%159 = load i32, ptr %19, align 4
%160 = load i32, ptr %25, align 4
%161 = load i32, ptr %20, align 4
%162 = load ptr, ptr %26, align 8
%163 = load ptr, ptr %27, align 8
%164 = load i32, ptr %32, align 4
%165 = call i32 @dwt3d_line_reverse(ptr noundef %153, ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157, ptr noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef %161, ptr noundef %162, ptr noundef %163, i32 noundef %164)
%166 = load ptr, ptr %47, align 8
%167 = call i32 @free(ptr noundef %166)
%168 = load ptr, ptr %48, align 8
%169 = call i32 @free(ptr noundef %168)
%170 = load i32, ptr %19, align 4
%171 = load i32, ptr %25, align 4
%172 = mul nsw i32 %170, %171
%173 = load i32, ptr %20, align 4
%174 = mul nsw i32 %172, %173
%175 = sext i32 %174 to i64
%176 = mul i64 %175, 8
%177 = trunc i64 %176 to i32
%178 = call ptr @malloc(i32 noundef %177)
store ptr %178, ptr %44, align 8
%179 = load ptr, ptr %49, align 8
%180 = load ptr, ptr %50, align 8
%181 = load i32, ptr %19, align 4
%182 = load i32, ptr %21, align 4
%183 = load i32, ptr %20, align 4
%184 = load ptr, ptr %44, align 8
%185 = load i32, ptr %19, align 4
%186 = load i32, ptr %25, align 4
%187 = load i32, ptr %20, align 4
%188 = load ptr, ptr %26, align 8
%189 = load ptr, ptr %27, align 8
%190 = load i32, ptr %32, align 4
%191 = call i32 @dwt3d_line_reverse(ptr noundef %179, ptr noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, ptr noundef %188, ptr noundef %189, i32 noundef %190)
%192 = load ptr, ptr %49, align 8
%193 = call i32 @free(ptr noundef %192)
%194 = load ptr, ptr %50, align 8
%195 = call i32 @free(ptr noundef %194)
%196 = load i32, ptr %19, align 4
%197 = load i32, ptr %25, align 4
%198 = mul nsw i32 %196, %197
%199 = load i32, ptr %20, align 4
%200 = mul nsw i32 %198, %199
%201 = sext i32 %200 to i64
%202 = mul i64 %201, 8
%203 = trunc i64 %202 to i32
%204 = call ptr @malloc(i32 noundef %203)
store ptr %204, ptr %45, align 8
%205 = load ptr, ptr %51, align 8
%206 = load ptr, ptr %52, align 8
%207 = load i32, ptr %19, align 4
%208 = load i32, ptr %21, align 4
%209 = load i32, ptr %20, align 4
%210 = load ptr, ptr %45, align 8
%211 = load i32, ptr %19, align 4
%212 = load i32, ptr %25, align 4
%213 = load i32, ptr %20, align 4
%214 = load ptr, ptr %26, align 8
%215 = load ptr, ptr %27, align 8
%216 = load i32, ptr %32, align 4
%217 = call i32 @dwt3d_line_reverse(ptr noundef %205, ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209, ptr noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213, ptr noundef %214, ptr noundef %215, i32 noundef %216)
%218 = load ptr, ptr %51, align 8
%219 = call i32 @free(ptr noundef %218)
%220 = load ptr, ptr %52, align 8
%221 = call i32 @free(ptr noundef %220)
%222 = load i32, ptr %19, align 4
%223 = load i32, ptr %25, align 4
%224 = mul nsw i32 %222, %223
%225 = load i32, ptr %20, align 4
%226 = mul nsw i32 %224, %225
%227 = sext i32 %226 to i64
%228 = mul i64 %227, 8
%229 = trunc i64 %228 to i32
%230 = call ptr @malloc(i32 noundef %229)
store ptr %230, ptr %46, align 8
%231 = load ptr, ptr %53, align 8
%232 = load ptr, ptr %54, align 8
%233 = load i32, ptr %19, align 4
%234 = load i32, ptr %21, align 4
%235 = load i32, ptr %20, align 4
%236 = load ptr, ptr %46, align 8
%237 = load i32, ptr %19, align 4
%238 = load i32, ptr %25, align 4
%239 = load i32, ptr %20, align 4
%240 = load ptr, ptr %26, align 8
%241 = load ptr, ptr %27, align 8
%242 = load i32, ptr %32, align 4
%243 = call i32 @dwt3d_line_reverse(ptr noundef %231, ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239, ptr noundef %240, ptr noundef %241, i32 noundef %242)
%244 = load ptr, ptr %53, align 8
%245 = call i32 @free(ptr noundef %244)
%246 = load ptr, ptr %54, align 8
%247 = call i32 @free(ptr noundef %246)
%248 = load i32, ptr %19, align 4
%249 = load i32, ptr %25, align 4
%250 = mul nsw i32 %248, %249
%251 = load i32, ptr %20, align 4
%252 = mul nsw i32 %250, %251
%253 = sext i32 %252 to i64
%254 = mul i64 %253, 8
%255 = trunc i64 %254 to i32
%256 = call ptr @malloc(i32 noundef %255)
store ptr %256, ptr %39, align 8
%257 = load ptr, ptr %43, align 8
%258 = load i32, ptr %19, align 4
%259 = load i32, ptr %25, align 4
%260 = load i32, ptr %20, align 4
%261 = load ptr, ptr %39, align 8
%262 = load i32, ptr %20, align 4
%263 = load i32, ptr %19, align 4
%264 = load i32, ptr %25, align 4
%265 = call i32 @dwt3d_tran_z_inv(ptr noundef %257, i32 noundef %258, i32 noundef %259, i32 noundef %260, ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264)
%266 = load ptr, ptr %43, align 8
%267 = call i32 @free(ptr noundef %266)
%268 = load i32, ptr %19, align 4
%269 = load i32, ptr %25, align 4
%270 = mul nsw i32 %268, %269
%271 = load i32, ptr %20, align 4
%272 = mul nsw i32 %270, %271
%273 = sext i32 %272 to i64
%274 = mul i64 %273, 8
%275 = trunc i64 %274 to i32
%276 = call ptr @malloc(i32 noundef %275)
store ptr %276, ptr %40, align 8
%277 = load ptr, ptr %44, align 8
%278 = load i32, ptr %19, align 4
%279 = load i32, ptr %25, align 4
%280 = load i32, ptr %20, align 4
%281 = load ptr, ptr %40, align 8
%282 = load i32, ptr %20, align 4
%283 = load i32, ptr %19, align 4
%284 = load i32, ptr %25, align 4
%285 = call i32 @dwt3d_tran_z_inv(ptr noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280, ptr noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284)
%286 = load ptr, ptr %44, align 8
%287 = call i32 @free(ptr noundef %286)
%288 = load i32, ptr %19, align 4
%289 = load i32, ptr %25, align 4
%290 = mul nsw i32 %288, %289
%291 = load i32, ptr %20, align 4
%292 = mul nsw i32 %290, %291
%293 = sext i32 %292 to i64
%294 = mul i64 %293, 8
%295 = trunc i64 %294 to i32
%296 = call ptr @malloc(i32 noundef %295)
store ptr %296, ptr %41, align 8
%297 = load ptr, ptr %45, align 8
%298 = load i32, ptr %19, align 4
%299 = load i32, ptr %25, align 4
%300 = load i32, ptr %20, align 4
%301 = load ptr, ptr %41, align 8
%302 = load i32, ptr %20, align 4
%303 = load i32, ptr %19, align 4
%304 = load i32, ptr %25, align 4
%305 = call i32 @dwt3d_tran_z_inv(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, ptr noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef %304)
%306 = load ptr, ptr %45, align 8
%307 = call i32 @free(ptr noundef %306)
%308 = load i32, ptr %19, align 4
%309 = load i32, ptr %25, align 4
%310 = mul nsw i32 %308, %309
%311 = load i32, ptr %20, align 4
%312 = mul nsw i32 %310, %311
%313 = sext i32 %312 to i64
%314 = mul i64 %313, 8
%315 = trunc i64 %314 to i32
%316 = call ptr @malloc(i32 noundef %315)
store ptr %316, ptr %42, align 8
%317 = load ptr, ptr %46, align 8
%318 = load i32, ptr %19, align 4
%319 = load i32, ptr %25, align 4
%320 = load i32, ptr %20, align 4
%321 = load ptr, ptr %42, align 8
%322 = load i32, ptr %20, align 4
%323 = load i32, ptr %19, align 4
%324 = load i32, ptr %25, align 4
%325 = call i32 @dwt3d_tran_z_inv(ptr noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320, ptr noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324)
%326 = load ptr, ptr %46, align 8
%327 = call i32 @free(ptr noundef %326)
%328 = load i32, ptr %23, align 4
%329 = load i32, ptr %25, align 4
%330 = mul nsw i32 %328, %329
%331 = load i32, ptr %20, align 4
%332 = mul nsw i32 %330, %331
%333 = sext i32 %332 to i64
%334 = mul i64 %333, 8
%335 = trunc i64 %334 to i32
%336 = call ptr @malloc(i32 noundef %335)
store ptr %336, ptr %37, align 8
%337 = load ptr, ptr %39, align 8
%338 = load ptr, ptr %40, align 8
%339 = load i32, ptr %20, align 4
%340 = load i32, ptr %19, align 4
%341 = load i32, ptr %25, align 4
%342 = load ptr, ptr %37, align 8
%343 = load i32, ptr %20, align 4
%344 = load i32, ptr %23, align 4
%345 = load i32, ptr %25, align 4
%346 = load ptr, ptr %28, align 8
%347 = load ptr, ptr %29, align 8
%348 = load i32, ptr %33, align 4
%349 = call i32 @dwt3d_line_reverse(ptr noundef %337, ptr noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, ptr noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345, ptr noundef %346, ptr noundef %347, i32 noundef %348)
%350 = load ptr, ptr %39, align 8
%351 = call i32 @free(ptr noundef %350)
%352 = load ptr, ptr %40, align 8
%353 = call i32 @free(ptr noundef %352)
%354 = load i32, ptr %23, align 4
%355 = load i32, ptr %25, align 4
%356 = mul nsw i32 %354, %355
%357 = load i32, ptr %20, align 4
%358 = mul nsw i32 %356, %357
%359 = sext i32 %358 to i64
%360 = mul i64 %359, 8
%361 = trunc i64 %360 to i32
%362 = call ptr @malloc(i32 noundef %361)
store ptr %362, ptr %38, align 8
%363 = load ptr, ptr %41, align 8
%364 = load ptr, ptr %42, align 8
%365 = load i32, ptr %20, align 4
%366 = load i32, ptr %19, align 4
%367 = load i32, ptr %25, align 4
%368 = load ptr, ptr %38, align 8
%369 = load i32, ptr %20, align 4
%370 = load i32, ptr %23, align 4
%371 = load i32, ptr %25, align 4
%372 = load ptr, ptr %28, align 8
%373 = load ptr, ptr %29, align 8
%374 = load i32, ptr %33, align 4
%375 = call i32 @dwt3d_line_reverse(ptr noundef %363, ptr noundef %364, i32 noundef %365, i32 noundef %366, i32 noundef %367, ptr noundef %368, i32 noundef %369, i32 noundef %370, i32 noundef %371, ptr noundef %372, ptr noundef %373, i32 noundef %374)
%376 = load ptr, ptr %41, align 8
%377 = call i32 @free(ptr noundef %376)
%378 = load ptr, ptr %42, align 8
%379 = call i32 @free(ptr noundef %378)
%380 = load i32, ptr %23, align 4
%381 = load i32, ptr %25, align 4
%382 = mul nsw i32 %380, %381
%383 = load i32, ptr %20, align 4
%384 = mul nsw i32 %382, %383
%385 = sext i32 %384 to i64
%386 = mul i64 %385, 8
%387 = trunc i64 %386 to i32
%388 = call ptr @malloc(i32 noundef %387)
store ptr %388, ptr %35, align 8
%389 = load ptr, ptr %37, align 8
%390 = load i32, ptr %20, align 4
%391 = load i32, ptr %23, align 4
%392 = load i32, ptr %25, align 4
%393 = load ptr, ptr %35, align 8
%394 = load i32, ptr %23, align 4
%395 = load i32, ptr %20, align 4
%396 = load i32, ptr %25, align 4
%397 = call i32 @dwt3d_tran(ptr noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392, ptr noundef %393, i32 noundef %394, i32 noundef %395, i32 noundef %396)
%398 = load ptr, ptr %37, align 8
%399 = call i32 @free(ptr noundef %398)
%400 = load i32, ptr %23, align 4
%401 = load i32, ptr %25, align 4
%402 = mul nsw i32 %400, %401
%403 = load i32, ptr %20, align 4
%404 = mul nsw i32 %402, %403
%405 = sext i32 %404 to i64
%406 = mul i64 %405, 8
%407 = trunc i64 %406 to i32
%408 = call ptr @malloc(i32 noundef %407)
store ptr %408, ptr %36, align 8
%409 = load ptr, ptr %38, align 8
%410 = load i32, ptr %20, align 4
%411 = load i32, ptr %23, align 4
%412 = load i32, ptr %25, align 4
%413 = load ptr, ptr %36, align 8
%414 = load i32, ptr %23, align 4
%415 = load i32, ptr %20, align 4
%416 = load i32, ptr %25, align 4
%417 = call i32 @dwt3d_tran(ptr noundef %409, i32 noundef %410, i32 noundef %411, i32 noundef %412, ptr noundef %413, i32 noundef %414, i32 noundef %415, i32 noundef %416)
%418 = load ptr, ptr %38, align 8
%419 = call i32 @free(ptr noundef %418)
%420 = load i32, ptr %23, align 4
%421 = load i32, ptr %25, align 4
%422 = mul nsw i32 %420, %421
%423 = load i32, ptr %24, align 4
%424 = mul nsw i32 %422, %423
%425 = sext i32 %424 to i64
%426 = mul i64 %425, 8
%427 = trunc i64 %426 to i32
%428 = call ptr @malloc(i32 noundef %427)
store ptr %428, ptr %55, align 8
%429 = load ptr, ptr %35, align 8
%430 = load ptr, ptr %36, align 8
%431 = load i32, ptr %23, align 4
%432 = load i32, ptr %20, align 4
%433 = load i32, ptr %25, align 4
%434 = load ptr, ptr %55, align 8
%435 = load i32, ptr %23, align 4
%436 = load i32, ptr %24, align 4
%437 = load i32, ptr %25, align 4
%438 = load ptr, ptr %30, align 8
%439 = load ptr, ptr %31, align 8
%440 = load i32, ptr %34, align 4
%441 = call i32 @dwt3d_line_reverse(ptr noundef %429, ptr noundef %430, i32 noundef %431, i32 noundef %432, i32 noundef %433, ptr noundef %434, i32 noundef %435, i32 noundef %436, i32 noundef %437, ptr noundef %438, ptr noundef %439, i32 noundef %440)
%442 = load ptr, ptr %35, align 8
%443 = call i32 @free(ptr noundef %442)
%444 = load ptr, ptr %36, align 8
%445 = call i32 @free(ptr noundef %444)
%446 = load ptr, ptr %55, align 8
%447 = load i32, ptr %23, align 4
%448 = load i32, ptr %24, align 4
%449 = load i32, ptr %25, align 4
%450 = load ptr, ptr %22, align 8
%451 = load i32, ptr %24, align 4
%452 = load i32, ptr %23, align 4
%453 = load i32, ptr %25, align 4
%454 = call i32 @dwt3d_tran(ptr noundef %446, i32 noundef %447, i32 noundef %448, i32 noundef %449, ptr noundef %450, i32 noundef %451, i32 noundef %452, i32 noundef %453)
%455 = load ptr, ptr %55, align 8
%456 = call i32 @free(ptr noundef %455)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dwt3d_split(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dwt3d_line_reverse(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @dwt3d_tran_z_inv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dwt3d_tran(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.