llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpka4h3i6l.c'
source_filename = "/tmp/tmpka4h3i6l.c"
target datalayout = "e-m:e-p270: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/tmpka4h3i6l.c"
target datalayout = "e-m:e-p270: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/tmp9nldpve5.c'
source_filename = "/tmp/tmp9nldpve5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sched_cpucount(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %3, align 8
%16 = udiv i64 %15, 4
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %29, %28, %2
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp ult ptr %19, %20
br i1 %21, label %22, label %78
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i32, ptr %23, i32 1
store ptr %24, ptr %6, align 8
%25 = load i32, ptr %23, align 4
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %22
br label %18, !llvm.loop !6
29: ; preds = %22
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = and i64 %31, 1431655765
%33 = load i32, ptr %8, align 4
%34 = ashr i32 %33, 1
%35 = sext i32 %34 to i64
%36 = and i64 %35, 1431655765
%37 = add i64 %32, %36
%38 = trunc i64 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = and i64 %40, 858993459
%42 = load i32, ptr %8, align 4
%43 = ashr i32 %42, 2
%44 = sext i32 %43 to i64
%45 = and i64 %44, 858993459
%46 = add i64 %41, %45
%47 = trunc i64 %46 to i32
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = and i64 %49, 252645135
%51 = load i32, ptr %8, align 4
%52 = ashr i32 %51, 4
%53 = sext i32 %52 to i64
%54 = and i64 %53, 252645135
%55 = add i64 %50, %54
%56 = trunc i64 %55 to i32
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = and i64 %58, 16711935
%60 = load i32, ptr %8, align 4
%61 = ashr i32 %60, 8
%62 = sext i32 %61 to i64
%63 = and i64 %62, 16711935
%64 = add i64 %59, %63
%65 = trunc i64 %64 to i32
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = and i64 %67, 65535
%69 = load i32, ptr %8, align 4
%70 = ashr i32 %69, 16
%71 = sext i32 %70 to i64
%72 = and i64 %71, 65535
%73 = add i64 %68, %72
%74 = trunc i64 %73 to i32
store i32 %74, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %5, align 4
br label %18, !llvm.loop !6
78: ; preds = %18
%79 = load i32, ptr %5, align 4
ret i32 %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9nldpve5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__sched_cpucount(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 0
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %3, align 8
%16 = udiv i64 %15, 4
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ult ptr %18, %19
br i1 %20, label %.lr.ph, label %80
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %.backedge
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %22, align 4
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %21
br label %.backedge
.backedge: ; preds = %27, %31
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %7, align 8
%30 = icmp ult ptr %28, %29
br i1 %30, label %21, label %._crit_edge, !llvm.loop !6
31: ; preds = %21
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = and i64 %33, 1431655765
%35 = load i32, ptr %8, align 4
%36 = ashr i32 %35, 1
%37 = sext i32 %36 to i64
%38 = and i64 %37, 1431655765
%39 = add i64 %34, %38
%40 = trunc i64 %39 to i32
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = and i64 %42, 858993459
%44 = load i32, ptr %8, align 4
%45 = ashr i32 %44, 2
%46 = sext i32 %45 to i64
%47 = and i64 %46, 858993459
%48 = add i64 %43, %47
%49 = trunc i64 %48 to i32
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = and i64 %51, 252645135
%53 = load i32, ptr %8, align 4
%54 = ashr i32 %53, 4
%55 = sext i32 %54 to i64
%56 = and i64 %55, 252645135
%57 = add i64 %52, %56
%58 = trunc i64 %57 to i32
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = and i64 %60, 16711935
%62 = load i32, ptr %8, align 4
%63 = ashr i32 %62, 8
%64 = sext i32 %63 to i64
%65 = and i64 %64, 16711935
%66 = add i64 %61, %65
%67 = trunc i64 %66 to i32
store i32 %67, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = and i64 %69, 65535
%71 = load i32, ptr %8, align 4
%72 = ashr i32 %71, 16
%73 = sext i32 %72 to i64
%74 = and i64 %73, 65535
%75 = add i64 %70, %74
%76 = trunc i64 %75 to i32
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %5, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %5, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %80
80: ; preds = %._crit_edge, %2
%81 = load i32, ptr %5, align 4
ret i32 %81
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpe6gowei6.c'
source_filename = "/tmp/tmpe6gowei6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @masklfarray(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = 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
store i64 %3, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %7, align 8
%17 = call i32 @floatmin(ptr noundef %15, i64 noundef %16, ptr noundef %10)
%18 = load ptr, ptr %11, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds float, ptr %18, i64 %19
store ptr %20, ptr %12, align 8
%21 = load i64, ptr %8, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %42
23: ; preds = %4
br label %24
24: ; preds = %36, %23
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %41
28: ; preds = %24
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %29, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load float, ptr %10, align 4
%34 = load ptr, ptr %11, align 8
store float %33, ptr %34, align 4
br label %35
35: ; preds = %32, %28
br label %36
36: ; preds = %35
%37 = load ptr, ptr %11, align 8
%38 = getelementptr inbounds float, ptr %37, i32 1
store ptr %38, ptr %11, align 8
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds i64, ptr %39, i32 1
store ptr %40, ptr %9, align 8
br label %24, !llvm.loop !6
41: ; preds = %24
br label %65
42: ; preds = %4
%43 = load i64, ptr %8, align 8
%44 = icmp eq i64 %43, 1
br i1 %44, label %45, label %64
45: ; preds = %42
br label %46
46: ; preds = %58, %45
%47 = load ptr, ptr %11, align 8
%48 = load ptr, ptr %12, align 8
%49 = icmp ult ptr %47, %48
br i1 %49, label %50, label %63
50: ; preds = %46
%51 = load ptr, ptr %9, align 8
%52 = load i64, ptr %51, align 8
%53 = icmp sgt i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load float, ptr %10, align 4
%56 = load ptr, ptr %11, align 8
store float %55, ptr %56, align 4
br label %57
57: ; preds = %54, %50
br label %58
58: ; preds = %57
%59 = load ptr, ptr %11, align 8
%60 = getelementptr inbounds float, ptr %59, i32 1
store ptr %60, ptr %11, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i64, ptr %61, i32 1
store ptr %62, ptr %9, align 8
br label %46, !llvm.loop !8
63: ; preds = %46
br label %64
64: ; preds = %63, %42
br label %65
65: ; preds = %64, %41
ret void
}
declare i32 @floatmin(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6gowei6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @masklfarray(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = 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
store i64 %3, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %7, align 8
%17 = call i32 @floatmin(ptr noundef %15, i64 noundef %16, ptr noundef %10)
%18 = load ptr, ptr %11, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds float, ptr %18, i64 %19
store ptr %20, ptr %12, align 8
%21 = load i64, ptr %8, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %44
23: ; preds = %4
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %12, align 8
%26 = icmp ult ptr %24, %25
br i1 %26, label %.lr.ph2, label %43
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %35
%28 = load ptr, ptr %9, align 8
%29 = load i64, ptr %28, align 8
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load float, ptr %10, align 4
%33 = load ptr, ptr %11, align 8
store float %32, ptr %33, align 4
br label %34
34: ; preds = %31, %27
br label %35
35: ; preds = %34
%36 = load ptr, ptr %11, align 8
%37 = getelementptr inbounds float, ptr %36, i32 1
store ptr %37, ptr %11, align 8
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i64, ptr %38, i32 1
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %11, align 8
%41 = load ptr, ptr %12, align 8
%42 = icmp ult ptr %40, %41
br i1 %42, label %27, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %35
br label %43
43: ; preds = %._crit_edge3, %23
br label %69
44: ; preds = %4
%45 = load i64, ptr %8, align 8
%46 = icmp eq i64 %45, 1
br i1 %46, label %47, label %68
47: ; preds = %44
%48 = load ptr, ptr %11, align 8
%49 = load ptr, ptr %12, align 8
%50 = icmp ult ptr %48, %49
br i1 %50, label %.lr.ph, label %67
.lr.ph: ; preds = %47
br label %51
51: ; preds = %.lr.ph, %59
%52 = load ptr, ptr %9, align 8
%53 = load i64, ptr %52, align 8
%54 = icmp sgt i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = load float, ptr %10, align 4
%57 = load ptr, ptr %11, align 8
store float %56, ptr %57, align 4
br label %58
58: ; preds = %55, %51
br label %59
59: ; preds = %58
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds float, ptr %60, i32 1
store ptr %61, ptr %11, align 8
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i64, ptr %62, i32 1
store ptr %63, ptr %9, align 8
%64 = load ptr, ptr %11, align 8
%65 = load ptr, ptr %12, align 8
%66 = icmp ult ptr %64, %65
br i1 %66, label %51, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %59
br label %67
67: ; preds = %._crit_edge, %47
br label %68
68: ; preds = %67, %44
br label %69
69: ; preds = %68, %43
ret void
}
declare i32 @floatmin(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpj38n0tss.c'
source_filename = "/tmp/tmpj38n0tss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inet_addr_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [30 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
store ptr %12, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %13
13: ; preds = %43, %2
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %46
16: ; preds = %13
%17 = load ptr, ptr %7, align 8
%18 = call ptr @strtok(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 48
br i1 %23, label %24, label %34
24: ; preds = %16
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 120
br i1 %29, label %30, label %34
30: ; preds = %24
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 2
%33 = call signext i8 @ATOI(ptr noundef %32, i32 noundef 16)
store i8 %33, ptr %8, align 1
br label %37
34: ; preds = %24, %16
%35 = load ptr, ptr %7, align 8
%36 = call signext i8 @ATOI(ptr noundef %35, i32 noundef 10)
store i8 %36, ptr %8, align 1
br label %37
37: ; preds = %34, %30
%38 = load i8, ptr %8, align 1
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
store ptr null, ptr %7, align 8
br label %43
43: ; preds = %37
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %13, !llvm.loop !6
46: ; preds = %13
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare signext i8 @ATOI(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/tmpj38n0tss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inet_addr_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [30 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
store ptr %12, ptr %7, align 8
store i32 0, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %.lr.ph, label %47
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %42
%16 = load ptr, ptr %7, align 8
%17 = call ptr @strtok(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 48
br i1 %22, label %23, label %33
23: ; preds = %15
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 120
br i1 %28, label %29, label %33
29: ; preds = %23
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 2
%32 = call signext i8 @ATOI(ptr noundef %31, i32 noundef 16)
store i8 %32, ptr %8, align 1
br label %36
33: ; preds = %23, %15
%34 = load ptr, ptr %7, align 8
%35 = call signext i8 @ATOI(ptr noundef %34, i32 noundef 10)
store i8 %35, ptr %8, align 1
br label %36
36: ; preds = %33, %29
%37 = load i8, ptr %8, align 1
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
store ptr null, ptr %7, align 8
br label %42
42: ; preds = %36
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %45, 4
br i1 %46, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %2
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare signext i8 @ATOI(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/tmp0gsz7cq5.c'
source_filename = "/tmp/tmp0gsz7cq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcfio_openwritesequential_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store i32 %10, ptr %22, align 4
%28 = load ptr, ptr %12, align 8
%29 = load i32, ptr %19, align 4
%30 = call ptr @mallocNCopyMcfio(ptr noundef %28, i32 noundef %29)
store ptr %30, ptr %23, align 8
%31 = load ptr, ptr %13, align 8
%32 = load i32, ptr %20, align 4
%33 = call ptr @mallocNCopyMcfio(ptr noundef %31, i32 noundef %32)
store ptr %33, ptr %24, align 8
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr %21, align 4
%36 = call ptr @mallocNCopyMcfio(ptr noundef %34, i32 noundef %35)
store ptr %36, ptr %25, align 8
%37 = load ptr, ptr %15, align 8
%38 = load i32, ptr %22, align 4
%39 = call ptr @mallocNCopyMcfio(ptr noundef %37, i32 noundef %38)
store ptr %39, ptr %26, align 8
%40 = load ptr, ptr %23, align 8
%41 = load ptr, ptr %24, align 8
%42 = load ptr, ptr %25, align 8
%43 = load ptr, ptr %26, align 8
%44 = load ptr, ptr %16, align 8
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %17, align 8
%47 = load ptr, ptr %18, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 @mcfioC_OpenWriteSequential(ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %45, ptr noundef %46, i32 noundef %48)
store i32 %49, ptr %27, align 4
%50 = load ptr, ptr %23, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %55
52: ; preds = %11
%53 = load ptr, ptr %23, align 8
%54 = call i32 @free(ptr noundef %53)
br label %55
55: ; preds = %52, %11
%56 = load ptr, ptr %24, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load ptr, ptr %24, align 8
%60 = call i32 @free(ptr noundef %59)
br label %61
61: ; preds = %58, %55
%62 = load ptr, ptr %25, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load ptr, ptr %25, align 8
%66 = call i32 @free(ptr noundef %65)
br label %67
67: ; preds = %64, %61
%68 = load ptr, ptr %26, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load ptr, ptr %26, align 8
%72 = call i32 @free(ptr noundef %71)
br label %73
73: ; preds = %70, %67
%74 = load i32, ptr %27, align 4
ret i32 %74
}
declare ptr @mallocNCopyMcfio(ptr noundef, i32 noundef) #1
declare i32 @mcfioC_OpenWriteSequential(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0gsz7cq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcfio_openwritesequential_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store i32 %10, ptr %22, align 4
%28 = load ptr, ptr %12, align 8
%29 = load i32, ptr %19, align 4
%30 = call ptr @mallocNCopyMcfio(ptr noundef %28, i32 noundef %29)
store ptr %30, ptr %23, align 8
%31 = load ptr, ptr %13, align 8
%32 = load i32, ptr %20, align 4
%33 = call ptr @mallocNCopyMcfio(ptr noundef %31, i32 noundef %32)
store ptr %33, ptr %24, align 8
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr %21, align 4
%36 = call ptr @mallocNCopyMcfio(ptr noundef %34, i32 noundef %35)
store ptr %36, ptr %25, align 8
%37 = load ptr, ptr %15, align 8
%38 = load i32, ptr %22, align 4
%39 = call ptr @mallocNCopyMcfio(ptr noundef %37, i32 noundef %38)
store ptr %39, ptr %26, align 8
%40 = load ptr, ptr %23, align 8
%41 = load ptr, ptr %24, align 8
%42 = load ptr, ptr %25, align 8
%43 = load ptr, ptr %26, align 8
%44 = load ptr, ptr %16, align 8
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %17, align 8
%47 = load ptr, ptr %18, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 @mcfioC_OpenWriteSequential(ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %45, ptr noundef %46, i32 noundef %48)
store i32 %49, ptr %27, align 4
%50 = load ptr, ptr %23, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %55
52: ; preds = %11
%53 = load ptr, ptr %23, align 8
%54 = call i32 @free(ptr noundef %53)
br label %55
55: ; preds = %52, %11
%56 = load ptr, ptr %24, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load ptr, ptr %24, align 8
%60 = call i32 @free(ptr noundef %59)
br label %61
61: ; preds = %58, %55
%62 = load ptr, ptr %25, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load ptr, ptr %25, align 8
%66 = call i32 @free(ptr noundef %65)
br label %67
67: ; preds = %64, %61
%68 = load ptr, ptr %26, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load ptr, ptr %26, align 8
%72 = call i32 @free(ptr noundef %71)
br label %73
73: ; preds = %70, %67
%74 = load i32, ptr %27, align 4
ret i32 %74
}
declare ptr @mallocNCopyMcfio(ptr noundef, i32 noundef) #1
declare i32 @mcfioC_OpenWriteSequential(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphm5qhe9f.c'
source_filename = "/tmp/tmphm5qhe9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Memeory failed to contain correct value!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verify(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %25, %3
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, -1
store i64 %11, ptr %6, align 8
%12 = icmp ne i64 %10, 0
br i1 %12, label %13, label %26
13: ; preds = %9
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %7, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %5, align 4
%19 = trunc i32 %18 to i8
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %17, %20
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %13
br label %9, !llvm.loop !6
26: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphm5qhe9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Memeory failed to contain correct value!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verify(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %9, -1
store i64 %10, ptr %6, align 8
%11 = icmp ne i64 %9, 0
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %16
12: ; preds = %16
%13 = load i64, ptr %6, align 8
%14 = add i64 %13, -1
store i64 %14, ptr %6, align 8
%15 = icmp ne i64 %13, 0
br i1 %15, label %16, label %._crit_edge, !llvm.loop !6
16: ; preds = %.lr.ph, %12
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %7, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
%21 = load i32, ptr %5, align 4
%22 = trunc i32 %21 to i8
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %20, %23
br i1 %24, label %25, label %12
25: ; preds = %16
%26 = call i32 @printf(ptr noundef @.str)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
._crit_edge: ; preds = %12
br label %28
28: ; preds = %._crit_edge, %3
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe9az_7lo.c'
source_filename = "/tmp/tmpe9az_7lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stripext(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %27
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %18, %20
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = call i32 @strncpy(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %7, align 4
store i32 %26, ptr %3, align 4
br label %31
27: ; preds = %12, %2
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29)
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %27, %16
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9az_7lo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stripext(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %27
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %18, %20
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = call i32 @strncpy(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %7, align 4
store i32 %26, ptr %3, align 4
br label %31
27: ; preds = %12, %2
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29)
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %27, %16
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy43p2fe1.c'
source_filename = "/tmp/tmpy43p2fe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.1f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load float, ptr %2, align 4
%9 = load float, ptr %3, align 4
%10 = fcmp ogt float %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
br label %21
18: ; preds = %11
%19 = load float, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str.1, float noundef %19)
br label %21
21: ; preds = %18, %15
br label %33
22: ; preds = %0
%23 = load float, ptr %3, align 4
%24 = load float, ptr %4, align 4
%25 = fcmp ogt float %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str.1, float noundef %27)
br label %32
29: ; preds = %22
%30 = load float, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.1, float noundef %30)
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %32, %21
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy43p2fe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.1f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load float, ptr %2, align 4
%9 = load float, ptr %3, align 4
%10 = fcmp ogt float %8, %9
br i1 %10, label %11, label %22
11: ; preds = %0
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
br label %21
18: ; preds = %11
%19 = load float, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str.1, float noundef %19)
br label %21
21: ; preds = %18, %15
br label %33
22: ; preds = %0
%23 = load float, ptr %3, align 4
%24 = load float, ptr %4, align 4
%25 = fcmp ogt float %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str.1, float noundef %27)
br label %32
29: ; preds = %22
%30 = load float, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.1, float noundef %30)
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %32, %21
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6q1yda02.c'
source_filename = "/tmp/tmp6q1yda02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Dati un numar n natural \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"a[%d][%d]= \00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Citirea matricei a fost realizata! \0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"Maximul din regiunea 1 este %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Minimul din regiunea 2 este %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"Suma elementelor din regiunea 3 este %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [45 x i8] c"Produsul elementelor din regiunea 4 este %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [47 x i8] c"Interschimbare intre regiunea 1 si regiunea 3\0A\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"Exit...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x [50 x i32]], align 16
%3 = alloca [50 x i32], align 16
%4 = alloca [50 x i32], align 16
%5 = alloca [50 x i32], align 16
%6 = alloca [50 x i32], align 16
%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 i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %7, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%41 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
store i32 0, ptr %8, align 4
br label %42
42: ; preds = %66, %0
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %69
46: ; preds = %42
store i32 0, ptr %9, align 4
br label %47
47: ; preds = %62, %46
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %65
51: ; preds = %47
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %9, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %52, i32 noundef %53)
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [50 x i32], ptr %57, i64 0, i64 %59
%61 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %60)
br label %62
62: ; preds = %51
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %47, !llvm.loop !6
65: ; preds = %47
br label %66
66: ; preds = %65
%67 = load i32, ptr %8, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %8, align 4
br label %42, !llvm.loop !8
69: ; preds = %42
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %10, align 4
br label %71
71: ; preds = %94, %69
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %97
75: ; preds = %71
store i32 0, ptr %11, align 4
br label %76
76: ; preds = %89, %75
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %7, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %92
80: ; preds = %76
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %82
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [50 x i32], ptr %83, i64 0, i64 %85
%87 = load i32, ptr %86, align 4
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %87)
br label %89
89: ; preds = %80
%90 = load i32, ptr %11, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %11, align 4
br label %76, !llvm.loop !9
92: ; preds = %76
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %94
94: ; preds = %92
%95 = load i32, ptr %10, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %10, align 4
br label %71, !llvm.loop !10
97: ; preds = %71
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %98
98: ; preds = %135, %97
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %7, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %102, label %138
102: ; preds = %98
store i32 0, ptr %14, align 4
br label %103
103: ; preds = %131, %102
%104 = load i32, ptr %14, align 4
%105 = load i32, ptr %7, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %134
107: ; preds = %103
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %14, align 4
%110 = add nsw i32 %108, %109
%111 = load i32, ptr %7, align 4
%112 = icmp sge i32 %110, %111
br i1 %112, label %113, label %130
113: ; preds = %107
%114 = load i32, ptr %13, align 4
%115 = load i32, ptr %14, align 4
%116 = icmp sgt i32 %114, %115
br i1 %116, label %117, label %130
117: ; preds = %113
%118 = load i32, ptr %13, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %119
%121 = load i32, ptr %14, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [50 x i32], ptr %120, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
%125 = load i32, ptr %12, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %126
store i32 %124, ptr %127, align 4
%128 = load i32, ptr %12, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %12, align 4
br label %130
130: ; preds = %117, %113, %107
br label %131
131: ; preds = %130
%132 = load i32, ptr %14, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %14, align 4
br label %103, !llvm.loop !11
134: ; preds = %103
br label %135
135: ; preds = %134
%136 = load i32, ptr %13, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %13, align 4
br label %98, !llvm.loop !12
138: ; preds = %98
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
br label %139
139: ; preds = %177, %138
%140 = load i32, ptr %16, align 4
%141 = load i32, ptr %7, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %143, label %180
143: ; preds = %139
store i32 0, ptr %17, align 4
br label %144
144: ; preds = %173, %143
%145 = load i32, ptr %17, align 4
%146 = load i32, ptr %7, align 4
%147 = icmp slt i32 %145, %146
br i1 %147, label %148, label %176
148: ; preds = %144
%149 = load i32, ptr %16, align 4
%150 = load i32, ptr %17, align 4
%151 = add nsw i32 %149, %150
%152 = load i32, ptr %7, align 4
%153 = sub nsw i32 %152, 1
%154 = icmp slt i32 %151, %153
br i1 %154, label %155, label %172
155: ; preds = %148
%156 = load i32, ptr %16, align 4
%157 = load i32, ptr %17, align 4
%158 = icmp sgt i32 %156, %157
br i1 %158, label %159, label %172
159: ; preds = %155
%160 = load i32, ptr %16, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %161
%163 = load i32, ptr %17, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [50 x i32], ptr %162, i64 0, i64 %164
%166 = load i32, ptr %165, align 4
%167 = load i32, ptr %15, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %168
store i32 %166, ptr %169, align 4
%170 = load i32, ptr %15, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %15, align 4
br label %172
172: ; preds = %159, %155, %148
br label %173
173: ; preds = %172
%174 = load i32, ptr %17, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %17, align 4
br label %144, !llvm.loop !13
176: ; preds = %144
br label %177
177: ; preds = %176
%178 = load i32, ptr %16, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %16, align 4
br label %139, !llvm.loop !14
180: ; preds = %139
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
br label %181
181: ; preds = %219, %180
%182 = load i32, ptr %19, align 4
%183 = load i32, ptr %7, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %222
185: ; preds = %181
store i32 0, ptr %20, align 4
br label %186
186: ; preds = %215, %185
%187 = load i32, ptr %20, align 4
%188 = load i32, ptr %7, align 4
%189 = icmp slt i32 %187, %188
br i1 %189, label %190, label %218
190: ; preds = %186
%191 = load i32, ptr %19, align 4
%192 = load i32, ptr %20, align 4
%193 = add nsw i32 %191, %192
%194 = load i32, ptr %7, align 4
%195 = sub nsw i32 %194, 1
%196 = icmp slt i32 %193, %195
br i1 %196, label %197, label %214
197: ; preds = %190
%198 = load i32, ptr %19, align 4
%199 = load i32, ptr %20, align 4
%200 = icmp slt i32 %198, %199
br i1 %200, label %201, label %214
201: ; preds = %197
%202 = load i32, ptr %19, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %203
%205 = load i32, ptr %20, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [50 x i32], ptr %204, i64 0, i64 %206
%208 = load i32, ptr %207, align 4
%209 = load i32, ptr %18, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [50 x i32], ptr %5, i64 0, i64 %210
store i32 %208, ptr %211, align 4
%212 = load i32, ptr %18, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %18, align 4
br label %214
214: ; preds = %201, %197, %190
br label %215
215: ; preds = %214
%216 = load i32, ptr %20, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %20, align 4
br label %186, !llvm.loop !15
218: ; preds = %186
br label %219
219: ; preds = %218
%220 = load i32, ptr %19, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %19, align 4
br label %181, !llvm.loop !16
222: ; preds = %181
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
br label %223
223: ; preds = %260, %222
%224 = load i32, ptr %22, align 4
%225 = load i32, ptr %7, align 4
%226 = icmp slt i32 %224, %225
br i1 %226, label %227, label %263
227: ; preds = %223
store i32 0, ptr %23, align 4
br label %228
228: ; preds = %256, %227
%229 = load i32, ptr %23, align 4
%230 = load i32, ptr %7, align 4
%231 = icmp slt i32 %229, %230
br i1 %231, label %232, label %259
232: ; preds = %228
%233 = load i32, ptr %22, align 4
%234 = load i32, ptr %23, align 4
%235 = add nsw i32 %233, %234
%236 = load i32, ptr %7, align 4
%237 = icmp sge i32 %235, %236
br i1 %237, label %238, label %255
238: ; preds = %232
%239 = load i32, ptr %22, align 4
%240 = load i32, ptr %23, align 4
%241 = icmp slt i32 %239, %240
br i1 %241, label %242, label %255
242: ; preds = %238
%243 = load i32, ptr %22, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %244
%246 = load i32, ptr %23, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [50 x i32], ptr %245, i64 0, i64 %247
%249 = load i32, ptr %248, align 4
%250 = load i32, ptr %21, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %251
store i32 %249, ptr %252, align 4
%253 = load i32, ptr %21, align 4
%254 = add nsw i32 %253, 1
store i32 %254, ptr %21, align 4
br label %255
255: ; preds = %242, %238, %232
br label %256
256: ; preds = %255
%257 = load i32, ptr %23, align 4
%258 = add nsw i32 %257, 1
store i32 %258, ptr %23, align 4
br label %228, !llvm.loop !17
259: ; preds = %228
br label %260
260: ; preds = %259
%261 = load i32, ptr %22, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %22, align 4
br label %223, !llvm.loop !18
263: ; preds = %223
%264 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 0
%265 = load i32, ptr %264, align 16
store i32 %265, ptr %24, align 4
store i32 1, ptr %25, align 4
br label %266
266: ; preds = %283, %263
%267 = load i32, ptr %25, align 4
%268 = load i32, ptr %12, align 4
%269 = icmp slt i32 %267, %268
br i1 %269, label %270, label %286
270: ; preds = %266
%271 = load i32, ptr %25, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %272
%274 = load i32, ptr %273, align 4
%275 = load i32, ptr %24, align 4
%276 = icmp sgt i32 %274, %275
br i1 %276, label %277, label %282
277: ; preds = %270
%278 = load i32, ptr %25, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %279
%281 = load i32, ptr %280, align 4
store i32 %281, ptr %24, align 4
br label %282
282: ; preds = %277, %270
br label %283
283: ; preds = %282
%284 = load i32, ptr %25, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %25, align 4
br label %266, !llvm.loop !19
286: ; preds = %266
%287 = load i32, ptr %24, align 4
%288 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %287)
%289 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 0
%290 = load i32, ptr %289, align 16
store i32 %290, ptr %26, align 4
store i32 0, ptr %27, align 4
br label %291
291: ; preds = %308, %286
%292 = load i32, ptr %27, align 4
%293 = load i32, ptr %15, align 4
%294 = icmp slt i32 %292, %293
br i1 %294, label %295, label %311
295: ; preds = %291
%296 = load i32, ptr %27, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %297
%299 = load i32, ptr %298, align 4
%300 = load i32, ptr %26, align 4
%301 = icmp slt i32 %299, %300
br i1 %301, label %302, label %307
302: ; preds = %295
%303 = load i32, ptr %27, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %304
%306 = load i32, ptr %305, align 4
store i32 %306, ptr %26, align 4
br label %307
307: ; preds = %302, %295
br label %308
308: ; preds = %307
%309 = load i32, ptr %27, align 4
%310 = add nsw i32 %309, 1
store i32 %310, ptr %27, align 4
br label %291, !llvm.loop !20
311: ; preds = %291
%312 = load i32, ptr %26, align 4
%313 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %312)
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
br label %314
314: ; preds = %325, %311
%315 = load i32, ptr %29, align 4
%316 = load i32, ptr %18, align 4
%317 = icmp slt i32 %315, %316
br i1 %317, label %318, label %328
318: ; preds = %314
%319 = load i32, ptr %29, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds [50 x i32], ptr %5, i64 0, i64 %320
%322 = load i32, ptr %321, align 4
%323 = load i32, ptr %28, align 4
%324 = add nsw i32 %323, %322
store i32 %324, ptr %28, align 4
br label %325
325: ; preds = %318
%326 = load i32, ptr %29, align 4
%327 = add nsw i32 %326, 1
store i32 %327, ptr %29, align 4
br label %314, !llvm.loop !21
328: ; preds = %314
%329 = load i32, ptr %28, align 4
%330 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %329)
store i32 1, ptr %30, align 4
store i32 0, ptr %31, align 4
br label %331
331: ; preds = %342, %328
%332 = load i32, ptr %31, align 4
%333 = load i32, ptr %21, align 4
%334 = icmp slt i32 %332, %333
br i1 %334, label %335, label %345
335: ; preds = %331
%336 = load i32, ptr %31, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %337
%339 = load i32, ptr %338, align 4
%340 = load i32, ptr %30, align 4
%341 = mul nsw i32 %340, %339
store i32 %341, ptr %30, align 4
br label %342
342: ; preds = %335
%343 = load i32, ptr %31, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %31, align 4
br label %331, !llvm.loop !22
345: ; preds = %331
%346 = load i32, ptr %30, align 4
%347 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %346)
store i32 0, ptr %32, align 4
br label %348
348: ; preds = %389, %345
%349 = load i32, ptr %32, align 4
%350 = load i32, ptr %7, align 4
%351 = icmp slt i32 %349, %350
br i1 %351, label %352, label %392
352: ; preds = %348
store i32 0, ptr %33, align 4
br label %353
353: ; preds = %385, %352
%354 = load i32, ptr %33, align 4
%355 = load i32, ptr %7, align 4
%356 = icmp slt i32 %354, %355
br i1 %356, label %357, label %388
357: ; preds = %353
%358 = load i32, ptr %32, align 4
%359 = load i32, ptr %33, align 4
%360 = add nsw i32 %358, %359
%361 = load i32, ptr %7, align 4
%362 = icmp sge i32 %360, %361
br i1 %362, label %363, label %384
363: ; preds = %357
%364 = load i32, ptr %32, align 4
%365 = load i32, ptr %33, align 4
%366 = icmp sgt i32 %364, %365
br i1 %366, label %367, label %384
367: ; preds = %363
%368 = load i32, ptr %32, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %369
%371 = load i32, ptr %33, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds [50 x i32], ptr %370, i64 0, i64 %372
%374 = load i32, ptr %7, align 4
%375 = load i32, ptr %32, align 4
%376 = sub nsw i32 %374, %375
%377 = sub nsw i32 %376, 1
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %378
%380 = load i32, ptr %33, align 4
%381 = sext i32 %380 to i64
%382 = getelementptr inbounds [50 x i32], ptr %379, i64 0, i64 %381
%383 = call i32 @swap(ptr noundef %373, ptr noundef %382)
br label %384
384: ; preds = %367, %363, %357
br label %385
385: ; preds = %384
%386 = load i32, ptr %33, align 4
%387 = add nsw i32 %386, 1
store i32 %387, ptr %33, align 4
br label %353, !llvm.loop !23
388: ; preds = %353
br label %389
389: ; preds = %388
%390 = load i32, ptr %32, align 4
%391 = add nsw i32 %390, 1
store i32 %391, ptr %32, align 4
br label %348, !llvm.loop !24
392: ; preds = %348
%393 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %34, align 4
br label %394
394: ; preds = %417, %392
%395 = load i32, ptr %34, align 4
%396 = load i32, ptr %7, align 4
%397 = icmp slt i32 %395, %396
br i1 %397, label %398, label %420
398: ; preds = %394
store i32 0, ptr %35, align 4
br label %399
399: ; preds = %412, %398
%400 = load i32, ptr %35, align 4
%401 = load i32, ptr %7, align 4
%402 = icmp slt i32 %400, %401
br i1 %402, label %403, label %415
403: ; preds = %399
%404 = load i32, ptr %34, align 4
%405 = sext i32 %404 to i64
%406 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %405
%407 = load i32, ptr %35, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds [50 x i32], ptr %406, i64 0, i64 %408
%410 = load i32, ptr %409, align 4
%411 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %410)
br label %412
412: ; preds = %403
%413 = load i32, ptr %35, align 4
%414 = add nsw i32 %413, 1
store i32 %414, ptr %35, align 4
br label %399, !llvm.loop !25
415: ; preds = %399
%416 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %417
417: ; preds = %415
%418 = load i32, ptr %34, align 4
%419 = add nsw i32 %418, 1
store i32 %419, ptr %34, align 4
br label %394, !llvm.loop !26
420: ; preds = %394
store i32 0, ptr %36, align 4
br label %421
421: ; preds = %463, %420
%422 = load i32, ptr %36, align 4
%423 = load i32, ptr %7, align 4
%424 = icmp slt i32 %422, %423
br i1 %424, label %425, label %466
425: ; preds = %421
store i32 0, ptr %37, align 4
br label %426
426: ; preds = %459, %425
%427 = load i32, ptr %37, align 4
%428 = load i32, ptr %7, align 4
%429 = icmp slt i32 %427, %428
br i1 %429, label %430, label %462
430: ; preds = %426
%431 = load i32, ptr %36, align 4
%432 = load i32, ptr %37, align 4
%433 = add nsw i32 %431, %432
%434 = load i32, ptr %7, align 4
%435 = sub nsw i32 %434, 1
%436 = icmp slt i32 %433, %435
br i1 %436, label %437, label %458
437: ; preds = %430
%438 = load i32, ptr %36, align 4
%439 = load i32, ptr %37, align 4
%440 = icmp sgt i32 %438, %439
br i1 %440, label %441, label %458
441: ; preds = %437
%442 = load i32, ptr %36, align 4
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %443
%445 = load i32, ptr %37, align 4
%446 = sext i32 %445 to i64
%447 = getelementptr inbounds [50 x i32], ptr %444, i64 0, i64 %446
%448 = load i32, ptr %36, align 4
%449 = sext i32 %448 to i64
%450 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %449
%451 = load i32, ptr %7, align 4
%452 = load i32, ptr %37, align 4
%453 = sub nsw i32 %451, %452
%454 = sub nsw i32 %453, 1
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds [50 x i32], ptr %450, i64 0, i64 %455
%457 = call i32 @swap(ptr noundef %447, ptr noundef %456)
br label %458
458: ; preds = %441, %437, %430
br label %459
459: ; preds = %458
%460 = load i32, ptr %37, align 4
%461 = add nsw i32 %460, 1
store i32 %461, ptr %37, align 4
br label %426, !llvm.loop !27
462: ; preds = %426
br label %463
463: ; preds = %462
%464 = load i32, ptr %36, align 4
%465 = add nsw i32 %464, 1
store i32 %465, ptr %36, align 4
br label %421, !llvm.loop !28
466: ; preds = %421
%467 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %38, align 4
br label %468
468: ; preds = %491, %466
%469 = load i32, ptr %38, align 4
%470 = load i32, ptr %7, align 4
%471 = icmp slt i32 %469, %470
br i1 %471, label %472, label %494
472: ; preds = %468
store i32 0, ptr %39, align 4
br label %473
473: ; preds = %486, %472
%474 = load i32, ptr %39, align 4
%475 = load i32, ptr %7, align 4
%476 = icmp slt i32 %474, %475
br i1 %476, label %477, label %489
477: ; preds = %473
%478 = load i32, ptr %38, align 4
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %479
%481 = load i32, ptr %39, align 4
%482 = sext i32 %481 to i64
%483 = getelementptr inbounds [50 x i32], ptr %480, i64 0, i64 %482
%484 = load i32, ptr %483, align 4
%485 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %484)
br label %486
486: ; preds = %477
%487 = load i32, ptr %39, align 4
%488 = add nsw i32 %487, 1
store i32 %488, ptr %39, align 4
br label %473, !llvm.loop !29
489: ; preds = %473
%490 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %491
491: ; preds = %489
%492 = load i32, ptr %38, align 4
%493 = add nsw i32 %492, 1
store i32 %493, ptr %38, align 4
br label %468, !llvm.loop !30
494: ; preds = %468
%495 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6q1yda02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Dati un numar n natural \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"a[%d][%d]= \00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Citirea matricei a fost realizata! \0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"Maximul din regiunea 1 este %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Minimul din regiunea 2 este %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"Suma elementelor din regiunea 3 este %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [45 x i8] c"Produsul elementelor din regiunea 4 este %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [47 x i8] c"Interschimbare intre regiunea 1 si regiunea 3\0A\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"Exit...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x [50 x i32]], align 16
%3 = alloca [50 x i32], align 16
%4 = alloca [50 x i32], align 16
%5 = alloca [50 x i32], align 16
%6 = alloca [50 x i32], align 16
%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 i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %7, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%41 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
store i32 0, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph2, label %73
.lr.ph2: ; preds = %0
br label %45
45: ; preds = %.lr.ph2, %67
store i32 0, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %66
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %60
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %9, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50, i32 noundef %51)
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %54
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [50 x i32], ptr %55, i64 0, i64 %57
%59 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %58)
br label %60
60: ; preds = %49
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %45
br label %67
67: ; preds = %66
%68 = load i32, ptr %8, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = load i32, ptr %7, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %0
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %10, align 4
%75 = load i32, ptr %10, align 4
%76 = load i32, ptr %7, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %.lr.ph8, label %105
.lr.ph8: ; preds = %73
br label %78
78: ; preds = %.lr.ph8, %99
store i32 0, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %7, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %.lr.ph5, label %97
.lr.ph5: ; preds = %78
br label %82
82: ; preds = %.lr.ph5, %91
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %84
%86 = load i32, ptr %11, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [50 x i32], ptr %85, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %89)
br label %91
91: ; preds = %82
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %11, align 4
%94 = load i32, ptr %11, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %82, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %91
br label %97
97: ; preds = %._crit_edge6, %78
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %99
99: ; preds = %97
%100 = load i32, ptr %10, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %10, align 4
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %7, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %78, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %99
br label %105
105: ; preds = %._crit_edge9, %73
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %.lr.ph14, label %150
.lr.ph14: ; preds = %105
br label %109
109: ; preds = %.lr.ph14, %144
store i32 0, ptr %14, align 4
%110 = load i32, ptr %14, align 4
%111 = load i32, ptr %7, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %.lr.ph11, label %143
.lr.ph11: ; preds = %109
br label %113
113: ; preds = %.lr.ph11, %137
%114 = load i32, ptr %13, align 4
%115 = load i32, ptr %14, align 4
%116 = add nsw i32 %114, %115
%117 = load i32, ptr %7, align 4
%118 = icmp sge i32 %116, %117
br i1 %118, label %119, label %136
119: ; preds = %113
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %14, align 4
%122 = icmp sgt i32 %120, %121
br i1 %122, label %123, label %136
123: ; preds = %119
%124 = load i32, ptr %13, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %125
%127 = load i32, ptr %14, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [50 x i32], ptr %126, i64 0, i64 %128
%130 = load i32, ptr %129, align 4
%131 = load i32, ptr %12, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %132
store i32 %130, ptr %133, align 4
%134 = load i32, ptr %12, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %12, align 4
br label %136
136: ; preds = %123, %119, %113
br label %137
137: ; preds = %136
%138 = load i32, ptr %14, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %14, align 4
%140 = load i32, ptr %14, align 4
%141 = load i32, ptr %7, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %113, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %137
br label %143
143: ; preds = %._crit_edge12, %109
br label %144
144: ; preds = %143
%145 = load i32, ptr %13, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %13, align 4
%147 = load i32, ptr %13, align 4
%148 = load i32, ptr %7, align 4
%149 = icmp slt i32 %147, %148
br i1 %149, label %109, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %144
br label %150
150: ; preds = %._crit_edge15, %105
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%151 = load i32, ptr %16, align 4
%152 = load i32, ptr %7, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %.lr.ph20, label %196
.lr.ph20: ; preds = %150
br label %154
154: ; preds = %.lr.ph20, %190
store i32 0, ptr %17, align 4
%155 = load i32, ptr %17, align 4
%156 = load i32, ptr %7, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %.lr.ph17, label %189
.lr.ph17: ; preds = %154
br label %158
158: ; preds = %.lr.ph17, %183
%159 = load i32, ptr %16, align 4
%160 = load i32, ptr %17, align 4
%161 = add nsw i32 %159, %160
%162 = load i32, ptr %7, align 4
%163 = sub nsw i32 %162, 1
%164 = icmp slt i32 %161, %163
br i1 %164, label %165, label %182
165: ; preds = %158
%166 = load i32, ptr %16, align 4
%167 = load i32, ptr %17, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %182
169: ; preds = %165
%170 = load i32, ptr %16, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %171
%173 = load i32, ptr %17, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [50 x i32], ptr %172, i64 0, i64 %174
%176 = load i32, ptr %175, align 4
%177 = load i32, ptr %15, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %178
store i32 %176, ptr %179, align 4
%180 = load i32, ptr %15, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %15, align 4
br label %182
182: ; preds = %169, %165, %158
br label %183
183: ; preds = %182
%184 = load i32, ptr %17, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %17, align 4
%186 = load i32, ptr %17, align 4
%187 = load i32, ptr %7, align 4
%188 = icmp slt i32 %186, %187
br i1 %188, label %158, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %183
br label %189
189: ; preds = %._crit_edge18, %154
br label %190
190: ; preds = %189
%191 = load i32, ptr %16, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %16, align 4
%193 = load i32, ptr %16, align 4
%194 = load i32, ptr %7, align 4
%195 = icmp slt i32 %193, %194
br i1 %195, label %154, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %190
br label %196
196: ; preds = %._crit_edge21, %150
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
%197 = load i32, ptr %19, align 4
%198 = load i32, ptr %7, align 4
%199 = icmp slt i32 %197, %198
br i1 %199, label %.lr.ph26, label %242
.lr.ph26: ; preds = %196
br label %200
200: ; preds = %.lr.ph26, %236
store i32 0, ptr %20, align 4
%201 = load i32, ptr %20, align 4
%202 = load i32, ptr %7, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %.lr.ph23, label %235
.lr.ph23: ; preds = %200
br label %204
204: ; preds = %.lr.ph23, %229
%205 = load i32, ptr %19, align 4
%206 = load i32, ptr %20, align 4
%207 = add nsw i32 %205, %206
%208 = load i32, ptr %7, align 4
%209 = sub nsw i32 %208, 1
%210 = icmp slt i32 %207, %209
br i1 %210, label %211, label %228
211: ; preds = %204
%212 = load i32, ptr %19, align 4
%213 = load i32, ptr %20, align 4
%214 = icmp slt i32 %212, %213
br i1 %214, label %215, label %228
215: ; preds = %211
%216 = load i32, ptr %19, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %217
%219 = load i32, ptr %20, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [50 x i32], ptr %218, i64 0, i64 %220
%222 = load i32, ptr %221, align 4
%223 = load i32, ptr %18, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [50 x i32], ptr %5, i64 0, i64 %224
store i32 %222, ptr %225, align 4
%226 = load i32, ptr %18, align 4
%227 = add nsw i32 %226, 1
store i32 %227, ptr %18, align 4
br label %228
228: ; preds = %215, %211, %204
br label %229
229: ; preds = %228
%230 = load i32, ptr %20, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %20, align 4
%232 = load i32, ptr %20, align 4
%233 = load i32, ptr %7, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %204, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %229
br label %235
235: ; preds = %._crit_edge24, %200
br label %236
236: ; preds = %235
%237 = load i32, ptr %19, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %19, align 4
%239 = load i32, ptr %19, align 4
%240 = load i32, ptr %7, align 4
%241 = icmp slt i32 %239, %240
br i1 %241, label %200, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %236
br label %242
242: ; preds = %._crit_edge27, %196
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
%243 = load i32, ptr %22, align 4
%244 = load i32, ptr %7, align 4
%245 = icmp slt i32 %243, %244
br i1 %245, label %.lr.ph32, label %287
.lr.ph32: ; preds = %242
br label %246
246: ; preds = %.lr.ph32, %281
store i32 0, ptr %23, align 4
%247 = load i32, ptr %23, align 4
%248 = load i32, ptr %7, align 4
%249 = icmp slt i32 %247, %248
br i1 %249, label %.lr.ph29, label %280
.lr.ph29: ; preds = %246
br label %250
250: ; preds = %.lr.ph29, %274
%251 = load i32, ptr %22, align 4
%252 = load i32, ptr %23, align 4
%253 = add nsw i32 %251, %252
%254 = load i32, ptr %7, align 4
%255 = icmp sge i32 %253, %254
br i1 %255, label %256, label %273
256: ; preds = %250
%257 = load i32, ptr %22, align 4
%258 = load i32, ptr %23, align 4
%259 = icmp slt i32 %257, %258
br i1 %259, label %260, label %273
260: ; preds = %256
%261 = load i32, ptr %22, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %262
%264 = load i32, ptr %23, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [50 x i32], ptr %263, i64 0, i64 %265
%267 = load i32, ptr %266, align 4
%268 = load i32, ptr %21, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %269
store i32 %267, ptr %270, align 4
%271 = load i32, ptr %21, align 4
%272 = add nsw i32 %271, 1
store i32 %272, ptr %21, align 4
br label %273
273: ; preds = %260, %256, %250
br label %274
274: ; preds = %273
%275 = load i32, ptr %23, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %23, align 4
%277 = load i32, ptr %23, align 4
%278 = load i32, ptr %7, align 4
%279 = icmp slt i32 %277, %278
br i1 %279, label %250, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %274
br label %280
280: ; preds = %._crit_edge30, %246
br label %281
281: ; preds = %280
%282 = load i32, ptr %22, align 4
%283 = add nsw i32 %282, 1
store i32 %283, ptr %22, align 4
%284 = load i32, ptr %22, align 4
%285 = load i32, ptr %7, align 4
%286 = icmp slt i32 %284, %285
br i1 %286, label %246, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %281
br label %287
287: ; preds = %._crit_edge33, %242
%288 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 0
%289 = load i32, ptr %288, align 16
store i32 %289, ptr %24, align 4
store i32 1, ptr %25, align 4
%290 = load i32, ptr %25, align 4
%291 = load i32, ptr %12, align 4
%292 = icmp slt i32 %290, %291
br i1 %292, label %.lr.ph35, label %312
.lr.ph35: ; preds = %287
br label %293
293: ; preds = %.lr.ph35, %306
%294 = load i32, ptr %25, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %295
%297 = load i32, ptr %296, align 4
%298 = load i32, ptr %24, align 4
%299 = icmp sgt i32 %297, %298
br i1 %299, label %300, label %305
300: ; preds = %293
%301 = load i32, ptr %25, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [50 x i32], ptr %3, i64 0, i64 %302
%304 = load i32, ptr %303, align 4
store i32 %304, ptr %24, align 4
br label %305
305: ; preds = %300, %293
br label %306
306: ; preds = %305
%307 = load i32, ptr %25, align 4
%308 = add nsw i32 %307, 1
store i32 %308, ptr %25, align 4
%309 = load i32, ptr %25, align 4
%310 = load i32, ptr %12, align 4
%311 = icmp slt i32 %309, %310
br i1 %311, label %293, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %306
br label %312
312: ; preds = %._crit_edge36, %287
%313 = load i32, ptr %24, align 4
%314 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %313)
%315 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 0
%316 = load i32, ptr %315, align 16
store i32 %316, ptr %26, align 4
store i32 0, ptr %27, align 4
%317 = load i32, ptr %27, align 4
%318 = load i32, ptr %15, align 4
%319 = icmp slt i32 %317, %318
br i1 %319, label %.lr.ph38, label %339
.lr.ph38: ; preds = %312
br label %320
320: ; preds = %.lr.ph38, %333
%321 = load i32, ptr %27, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %322
%324 = load i32, ptr %323, align 4
%325 = load i32, ptr %26, align 4
%326 = icmp slt i32 %324, %325
br i1 %326, label %327, label %332
327: ; preds = %320
%328 = load i32, ptr %27, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %329
%331 = load i32, ptr %330, align 4
store i32 %331, ptr %26, align 4
br label %332
332: ; preds = %327, %320
br label %333
333: ; preds = %332
%334 = load i32, ptr %27, align 4
%335 = add nsw i32 %334, 1
store i32 %335, ptr %27, align 4
%336 = load i32, ptr %27, align 4
%337 = load i32, ptr %15, align 4
%338 = icmp slt i32 %336, %337
br i1 %338, label %320, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %333
br label %339
339: ; preds = %._crit_edge39, %312
%340 = load i32, ptr %26, align 4
%341 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %340)
store i32 0, ptr %28, align 4
store i32 0, ptr %29, align 4
%342 = load i32, ptr %29, align 4
%343 = load i32, ptr %18, align 4
%344 = icmp slt i32 %342, %343
br i1 %344, label %.lr.ph41, label %358
.lr.ph41: ; preds = %339
br label %345
345: ; preds = %.lr.ph41, %352
%346 = load i32, ptr %29, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds [50 x i32], ptr %5, i64 0, i64 %347
%349 = load i32, ptr %348, align 4
%350 = load i32, ptr %28, align 4
%351 = add nsw i32 %350, %349
store i32 %351, ptr %28, align 4
br label %352
352: ; preds = %345
%353 = load i32, ptr %29, align 4
%354 = add nsw i32 %353, 1
store i32 %354, ptr %29, align 4
%355 = load i32, ptr %29, align 4
%356 = load i32, ptr %18, align 4
%357 = icmp slt i32 %355, %356
br i1 %357, label %345, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %352
br label %358
358: ; preds = %._crit_edge42, %339
%359 = load i32, ptr %28, align 4
%360 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %359)
store i32 1, ptr %30, align 4
store i32 0, ptr %31, align 4
%361 = load i32, ptr %31, align 4
%362 = load i32, ptr %21, align 4
%363 = icmp slt i32 %361, %362
br i1 %363, label %.lr.ph44, label %377
.lr.ph44: ; preds = %358
br label %364
364: ; preds = %.lr.ph44, %371
%365 = load i32, ptr %31, align 4
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %366
%368 = load i32, ptr %367, align 4
%369 = load i32, ptr %30, align 4
%370 = mul nsw i32 %369, %368
store i32 %370, ptr %30, align 4
br label %371
371: ; preds = %364
%372 = load i32, ptr %31, align 4
%373 = add nsw i32 %372, 1
store i32 %373, ptr %31, align 4
%374 = load i32, ptr %31, align 4
%375 = load i32, ptr %21, align 4
%376 = icmp slt i32 %374, %375
br i1 %376, label %364, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %371
br label %377
377: ; preds = %._crit_edge45, %358
%378 = load i32, ptr %30, align 4
%379 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %378)
store i32 0, ptr %32, align 4
%380 = load i32, ptr %32, align 4
%381 = load i32, ptr %7, align 4
%382 = icmp slt i32 %380, %381
br i1 %382, label %.lr.ph50, label %428
.lr.ph50: ; preds = %377
br label %383
383: ; preds = %.lr.ph50, %422
store i32 0, ptr %33, align 4
%384 = load i32, ptr %33, align 4
%385 = load i32, ptr %7, align 4
%386 = icmp slt i32 %384, %385
br i1 %386, label %.lr.ph47, label %421
.lr.ph47: ; preds = %383
br label %387
387: ; preds = %.lr.ph47, %415
%388 = load i32, ptr %32, align 4
%389 = load i32, ptr %33, align 4
%390 = add nsw i32 %388, %389
%391 = load i32, ptr %7, align 4
%392 = icmp sge i32 %390, %391
br i1 %392, label %393, label %414
393: ; preds = %387
%394 = load i32, ptr %32, align 4
%395 = load i32, ptr %33, align 4
%396 = icmp sgt i32 %394, %395
br i1 %396, label %397, label %414
397: ; preds = %393
%398 = load i32, ptr %32, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %399
%401 = load i32, ptr %33, align 4
%402 = sext i32 %401 to i64
%403 = getelementptr inbounds [50 x i32], ptr %400, i64 0, i64 %402
%404 = load i32, ptr %7, align 4
%405 = load i32, ptr %32, align 4
%406 = sub nsw i32 %404, %405
%407 = sub nsw i32 %406, 1
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %408
%410 = load i32, ptr %33, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds [50 x i32], ptr %409, i64 0, i64 %411
%413 = call i32 @swap(ptr noundef %403, ptr noundef %412)
br label %414
414: ; preds = %397, %393, %387
br label %415
415: ; preds = %414
%416 = load i32, ptr %33, align 4
%417 = add nsw i32 %416, 1
store i32 %417, ptr %33, align 4
%418 = load i32, ptr %33, align 4
%419 = load i32, ptr %7, align 4
%420 = icmp slt i32 %418, %419
br i1 %420, label %387, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %415
br label %421
421: ; preds = %._crit_edge48, %383
br label %422
422: ; preds = %421
%423 = load i32, ptr %32, align 4
%424 = add nsw i32 %423, 1
store i32 %424, ptr %32, align 4
%425 = load i32, ptr %32, align 4
%426 = load i32, ptr %7, align 4
%427 = icmp slt i32 %425, %426
br i1 %427, label %383, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %422
br label %428
428: ; preds = %._crit_edge51, %377
%429 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %34, align 4
%430 = load i32, ptr %34, align 4
%431 = load i32, ptr %7, align 4
%432 = icmp slt i32 %430, %431
br i1 %432, label %.lr.ph56, label %460
.lr.ph56: ; preds = %428
br label %433
433: ; preds = %.lr.ph56, %454
store i32 0, ptr %35, align 4
%434 = load i32, ptr %35, align 4
%435 = load i32, ptr %7, align 4
%436 = icmp slt i32 %434, %435
br i1 %436, label %.lr.ph53, label %452
.lr.ph53: ; preds = %433
br label %437
437: ; preds = %.lr.ph53, %446
%438 = load i32, ptr %34, align 4
%439 = sext i32 %438 to i64
%440 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %439
%441 = load i32, ptr %35, align 4
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds [50 x i32], ptr %440, i64 0, i64 %442
%444 = load i32, ptr %443, align 4
%445 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %444)
br label %446
446: ; preds = %437
%447 = load i32, ptr %35, align 4
%448 = add nsw i32 %447, 1
store i32 %448, ptr %35, align 4
%449 = load i32, ptr %35, align 4
%450 = load i32, ptr %7, align 4
%451 = icmp slt i32 %449, %450
br i1 %451, label %437, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %446
br label %452
452: ; preds = %._crit_edge54, %433
%453 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %454
454: ; preds = %452
%455 = load i32, ptr %34, align 4
%456 = add nsw i32 %455, 1
store i32 %456, ptr %34, align 4
%457 = load i32, ptr %34, align 4
%458 = load i32, ptr %7, align 4
%459 = icmp slt i32 %457, %458
br i1 %459, label %433, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %454
br label %460
460: ; preds = %._crit_edge57, %428
store i32 0, ptr %36, align 4
%461 = load i32, ptr %36, align 4
%462 = load i32, ptr %7, align 4
%463 = icmp slt i32 %461, %462
br i1 %463, label %.lr.ph62, label %510
.lr.ph62: ; preds = %460
br label %464
464: ; preds = %.lr.ph62, %504
store i32 0, ptr %37, align 4
%465 = load i32, ptr %37, align 4
%466 = load i32, ptr %7, align 4
%467 = icmp slt i32 %465, %466
br i1 %467, label %.lr.ph59, label %503
.lr.ph59: ; preds = %464
br label %468
468: ; preds = %.lr.ph59, %497
%469 = load i32, ptr %36, align 4
%470 = load i32, ptr %37, align 4
%471 = add nsw i32 %469, %470
%472 = load i32, ptr %7, align 4
%473 = sub nsw i32 %472, 1
%474 = icmp slt i32 %471, %473
br i1 %474, label %475, label %496
475: ; preds = %468
%476 = load i32, ptr %36, align 4
%477 = load i32, ptr %37, align 4
%478 = icmp sgt i32 %476, %477
br i1 %478, label %479, label %496
479: ; preds = %475
%480 = load i32, ptr %36, align 4
%481 = sext i32 %480 to i64
%482 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %481
%483 = load i32, ptr %37, align 4
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds [50 x i32], ptr %482, i64 0, i64 %484
%486 = load i32, ptr %36, align 4
%487 = sext i32 %486 to i64
%488 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %487
%489 = load i32, ptr %7, align 4
%490 = load i32, ptr %37, align 4
%491 = sub nsw i32 %489, %490
%492 = sub nsw i32 %491, 1
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds [50 x i32], ptr %488, i64 0, i64 %493
%495 = call i32 @swap(ptr noundef %485, ptr noundef %494)
br label %496
496: ; preds = %479, %475, %468
br label %497
497: ; preds = %496
%498 = load i32, ptr %37, align 4
%499 = add nsw i32 %498, 1
store i32 %499, ptr %37, align 4
%500 = load i32, ptr %37, align 4
%501 = load i32, ptr %7, align 4
%502 = icmp slt i32 %500, %501
br i1 %502, label %468, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %497
br label %503
503: ; preds = %._crit_edge60, %464
br label %504
504: ; preds = %503
%505 = load i32, ptr %36, align 4
%506 = add nsw i32 %505, 1
store i32 %506, ptr %36, align 4
%507 = load i32, ptr %36, align 4
%508 = load i32, ptr %7, align 4
%509 = icmp slt i32 %507, %508
br i1 %509, label %464, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %504
br label %510
510: ; preds = %._crit_edge63, %460
%511 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %38, align 4
%512 = load i32, ptr %38, align 4
%513 = load i32, ptr %7, align 4
%514 = icmp slt i32 %512, %513
br i1 %514, label %.lr.ph68, label %542
.lr.ph68: ; preds = %510
br label %515
515: ; preds = %.lr.ph68, %536
store i32 0, ptr %39, align 4
%516 = load i32, ptr %39, align 4
%517 = load i32, ptr %7, align 4
%518 = icmp slt i32 %516, %517
br i1 %518, label %.lr.ph65, label %534
.lr.ph65: ; preds = %515
br label %519
519: ; preds = %.lr.ph65, %528
%520 = load i32, ptr %38, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds [50 x [50 x i32]], ptr %2, i64 0, i64 %521
%523 = load i32, ptr %39, align 4
%524 = sext i32 %523 to i64
%525 = getelementptr inbounds [50 x i32], ptr %522, i64 0, i64 %524
%526 = load i32, ptr %525, align 4
%527 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %526)
br label %528
528: ; preds = %519
%529 = load i32, ptr %39, align 4
%530 = add nsw i32 %529, 1
store i32 %530, ptr %39, align 4
%531 = load i32, ptr %39, align 4
%532 = load i32, ptr %7, align 4
%533 = icmp slt i32 %531, %532
br i1 %533, label %519, label %._crit_edge66, !llvm.loop !29
._crit_edge66: ; preds = %528
br label %534
534: ; preds = %._crit_edge66, %515
%535 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %536
536: ; preds = %534
%537 = load i32, ptr %38, align 4
%538 = add nsw i32 %537, 1
store i32 %538, ptr %38, align 4
%539 = load i32, ptr %38, align 4
%540 = load i32, ptr %7, align 4
%541 = icmp slt i32 %539, %540
br i1 %541, label %515, label %._crit_edge69, !llvm.loop !30
._crit_edge69: ; preds = %536
br label %542
542: ; preds = %._crit_edge69, %510
%543 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
|
; ModuleID = '/tmp/tmpyvof4ky5.c'
source_filename = "/tmp/tmpyvof4ky5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @du_dx(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr @M_PI, align 8
%10 = load double, ptr %6, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %7, align 8
%13 = fmul double %11, %12
%14 = load double, ptr @M_PI, align 8
%15 = load double, ptr %6, align 8
%16 = fmul double %14, %15
%17 = load double, ptr %8, align 8
%18 = fmul double %16, %17
%19 = load double, ptr %5, align 8
%20 = fdiv double %18, %19
%21 = call double @cos(double noundef %20) #2
%22 = fmul double %13, %21
%23 = load double, ptr %5, align 8
%24 = fdiv double %22, %23
ret double %24
}
; Function Attrs: nounwind
declare double @cos(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 = { 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 #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvof4ky5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @du_dx(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%9 = load double, ptr @M_PI, align 8
%10 = load double, ptr %6, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %7, align 8
%13 = fmul double %11, %12
%14 = load double, ptr @M_PI, align 8
%15 = load double, ptr %6, align 8
%16 = fmul double %14, %15
%17 = load double, ptr %8, align 8
%18 = fmul double %16, %17
%19 = load double, ptr %5, align 8
%20 = fdiv double %18, %19
%21 = call double @cos(double noundef %20) #2
%22 = fmul double %13, %21
%23 = load double, ptr %5, align 8
%24 = fdiv double %22, %23
ret double %24
}
; Function Attrs: nounwind
declare double @cos(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 = { 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 #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpum1h7ckk.c'
source_filename = "/tmp/tmpum1h7ckk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = load i64, ptr @INT_MAX, align 8
%5 = trunc i64 %4 to i32
%6 = add i32 %5, 1
%7 = call ptr @malloc(i32 noundef %6)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = load i64, ptr @INT_MAX, align 8
%10 = trunc i64 %9 to i32
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
%13 = getelementptr inbounds i8, ptr %12, i64 1
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %2, align 8
%16 = ptrtoint ptr %14 to i64
%17 = ptrtoint ptr %15 to i64
%18 = sub i64 %16, %17
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpum1h7ckk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = load i64, ptr @INT_MAX, align 8
%5 = trunc i64 %4 to i32
%6 = add i32 %5, 1
%7 = call ptr @malloc(i32 noundef %6)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = load i64, ptr @INT_MAX, align 8
%10 = trunc i64 %9 to i32
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
%13 = getelementptr inbounds i8, ptr %12, i64 1
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %2, align 8
%16 = ptrtoint ptr %14 to i64
%17 = ptrtoint ptr %15 to i64
%18 = sub i64 %16, %17
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2d74t0th.c'
source_filename = "/tmp/tmp2d74t0th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"SOMA = %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
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
ret i32 0
}
declare i32 @scanf(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/tmp2d74t0th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"SOMA = %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
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
ret i32 0
}
declare i32 @scanf(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/tmpnzmqenvr.c'
source_filename = "/tmp/tmpnzmqenvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmpnzmqenvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmpvg56njfc.c'
source_filename = "/tmp/tmpvg56njfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_getline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %28, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %19
12: ; preds = %7
%13 = call i32 (...) @getchar()
store i32 %13, ptr %6, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %16, %12, %7
%20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ]
br i1 %20, label %21, label %31
21: ; preds = %19
%22 = load i32, ptr %6, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %21
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %7, !llvm.loop !6
31: ; preds = %19
%32 = load i32, ptr %6, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %6, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 %36, ptr %40, align 1
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %34, %31
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load i32, ptr %5, align 4
ret i32 %48
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvg56njfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_getline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %28, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %19
12: ; preds = %7
%13 = call i32 (...) @getchar()
store i32 %13, ptr %6, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %16, %12, %7
%20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ]
br i1 %20, label %21, label %31
21: ; preds = %19
%22 = load i32, ptr %6, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %21
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %7, !llvm.loop !6
31: ; preds = %19
%32 = load i32, ptr %6, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %6, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 %36, ptr %40, align 1
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %34, %31
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load i32, ptr %5, align 4
ret i32 %48
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj1mov1_9.c'
source_filename = "/tmp/tmpj1mov1_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 8, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %54, %0
%6 = call i32 (...) @getchar()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %55
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %12
%20 = call i32 @putchar(i32 noundef 9)
store i32 0, ptr %4, align 4
store i32 8, ptr %3, align 4
br label %21
21: ; preds = %19, %12
br label %54
22: ; preds = %9
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 9
br i1 %24, label %25, label %37
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %25
br label %29
29: ; preds = %32, %28
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = call i32 @putchar(i32 noundef 32)
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %4, align 4
br label %29, !llvm.loop !6
36: ; preds = %29
br label %37
37: ; preds = %36, %25, %22
store i32 0, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp eq i32 %38, 9
br i1 %39, label %43, label %40
40: ; preds = %37
%41 = load i32, ptr %2, align 4
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %44
43: ; preds = %40, %37
store i32 8, ptr %3, align 4
br label %51
44: ; preds = %40
%45 = load i32, ptr %3, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %3, align 4
%47 = load i32, ptr %3, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %44
store i32 8, ptr %3, align 4
br label %50
50: ; preds = %49, %44
br label %51
51: ; preds = %50, %43
%52 = load i32, ptr %2, align 4
%53 = call i32 @putchar(i32 noundef %52)
br label %54
54: ; preds = %51, %21
br label %5, !llvm.loop !8
55: ; preds = %5
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj1mov1_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 8, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %.lr.ph2, label %58
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %54
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %11, label %21
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = call i32 @putchar(i32 noundef 9)
store i32 0, ptr %4, align 4
store i32 8, ptr %3, align 4
br label %20
20: ; preds = %18, %11
br label %54
21: ; preds = %8
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 9
br i1 %23, label %24, label %37
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %.lr.ph, label %36
.lr.ph: ; preds = %27
br label %30
30: ; preds = %.lr.ph, %30
%31 = call i32 @putchar(i32 noundef 32)
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %27
br label %37
37: ; preds = %36, %24, %21
store i32 0, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp eq i32 %38, 9
br i1 %39, label %43, label %40
40: ; preds = %37
%41 = load i32, ptr %2, align 4
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %44
43: ; preds = %40, %37
store i32 8, ptr %3, align 4
br label %51
44: ; preds = %40
%45 = load i32, ptr %3, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %3, align 4
%47 = load i32, ptr %3, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %44
store i32 8, ptr %3, align 4
br label %50
50: ; preds = %49, %44
br label %51
51: ; preds = %50, %43
%52 = load i32, ptr %2, align 4
%53 = call i32 @putchar(i32 noundef %52)
br label %54
54: ; preds = %51, %20
%55 = call i32 (...) @getchar()
store i32 %55, ptr %2, align 4
%56 = load i32, ptr @EOF, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %58
58: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnel4u_4i.c'
source_filename = "/tmp/tmpnel4u_4i.c"
target datalayout = "e-m:e-p270: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/tmpnel4u_4i.c"
target datalayout = "e-m:e-p270: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/tmpfbro2suo.c'
source_filename = "/tmp/tmpfbro2suo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @lseek(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbro2suo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @lseek(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvpa749m.c'
source_filename = "/tmp/tmpyvpa749m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @SyscallGetpid() #0 {
%1 = call i64 (...) @UserProcessCurrent()
ret i64 %1
}
declare i64 @UserProcessCurrent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvpa749m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @SyscallGetpid() #0 {
%1 = call i64 (...) @UserProcessCurrent()
ret i64 %1
}
declare i64 @UserProcessCurrent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa1ev__kw.c'
source_filename = "/tmp/tmpa1ev__kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_srv(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_ts_q(ptr noundef %5, ptr noundef %6, i32 noundef 33)
ret void
}
declare i32 @_ts_q(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/tmpa1ev__kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_srv(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_ts_q(ptr noundef %5, ptr noundef %6, i32 noundef 33)
ret void
}
declare i32 @_ts_q(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/tmp6kui673u.c'
source_filename = "/tmp/tmp6kui673u.c"
target datalayout = "e-m:e-p270: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, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connect_tcp(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, 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 @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 -1, ptr %3, align 4
br label %34
15: ; preds = %2
%16 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 @htons(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%24 = call i32 @inet_aton(ptr noundef %22, ptr noundef %23)
%25 = load i32, ptr %6, align 4
%26 = call i32 @connect(i32 noundef %25, ptr noundef %7, i32 noundef 12)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %32
29: ; preds = %15
%30 = load i32, ptr %6, align 4
%31 = call i32 @close(i32 noundef %30)
store i32 -1, ptr %3, align 4
br label %34
32: ; preds = %15
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %29, %14
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @connect(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/tmp6kui673u.c"
target datalayout = "e-m:e-p270: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, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connect_tcp(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, 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 @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 -1, ptr %3, align 4
br label %34
15: ; preds = %2
%16 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 @htons(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%24 = call i32 @inet_aton(ptr noundef %22, ptr noundef %23)
%25 = load i32, ptr %6, align 4
%26 = call i32 @connect(i32 noundef %25, ptr noundef %7, i32 noundef 12)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %32
29: ; preds = %15
%30 = load i32, ptr %6, align 4
%31 = call i32 @close(i32 noundef %30)
store i32 -1, ptr %3, align 4
br label %34
32: ; preds = %15
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %29, %14
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @connect(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/tmpq0e55vu6.c'
source_filename = "/tmp/tmpq0e55vu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = or i32 %10, %11
%13 = and i32 %12, -1
%14 = icmp eq i32 %9, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %17, align 4
%19 = call i32 @foo(i32 noundef %16, i32 noundef %18)
store i32 0, ptr %4, align 4
br label %21
20: ; preds = %3
store i32 1, ptr %4, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @foo(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/tmpq0e55vu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = or i32 %10, %11
%13 = and i32 %12, -1
%14 = icmp eq i32 %9, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %17, align 4
%19 = call i32 @foo(i32 noundef %16, i32 noundef %18)
store i32 0, ptr %4, align 4
br label %21
20: ; preds = %3
store i32 1, ptr %4, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @foo(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/tmpqgy1wme2.c'
source_filename = "/tmp/tmpqgy1wme2.c"
target datalayout = "e-m:e-p270: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/tmpqgy1wme2.c"
target datalayout = "e-m:e-p270: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/tmpvn29h49f.c'
source_filename = "/tmp/tmpvn29h49f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"This is function func.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @func() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvn29h49f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"This is function func.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @func() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdzdie7qk.c'
source_filename = "/tmp/tmpdzdie7qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fade(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call i32 @glMatrixMode(i32 noundef 5888)
%4 = call i32 (...) @glLoadIdentity()
%5 = call i32 @glMatrixMode(i32 noundef 5889)
%6 = call i32 (...) @glPushMatrix()
%7 = call i32 (...) @glLoadIdentity()
%8 = call i32 @glEnable(i32 noundef 3042)
%9 = call i32 @glBlendFunc(i32 noundef 770, i32 noundef 771)
%10 = load float, ptr %2, align 4
%11 = call i32 @glColor4f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %10)
%12 = call i32 @glRectf(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
%13 = call i32 @glDisable(i32 noundef 3042)
%14 = call i32 (...) @glPopMatrix()
%15 = call i32 @glMatrixMode(i32 noundef 5888)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glBlendFunc(i32 noundef, i32 noundef) #1
declare i32 @glColor4f(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glRectf(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glDisable(i32 noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdzdie7qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fade(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call i32 @glMatrixMode(i32 noundef 5888)
%4 = call i32 (...) @glLoadIdentity()
%5 = call i32 @glMatrixMode(i32 noundef 5889)
%6 = call i32 (...) @glPushMatrix()
%7 = call i32 (...) @glLoadIdentity()
%8 = call i32 @glEnable(i32 noundef 3042)
%9 = call i32 @glBlendFunc(i32 noundef 770, i32 noundef 771)
%10 = load float, ptr %2, align 4
%11 = call i32 @glColor4f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %10)
%12 = call i32 @glRectf(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
%13 = call i32 @glDisable(i32 noundef 3042)
%14 = call i32 (...) @glPopMatrix()
%15 = call i32 @glMatrixMode(i32 noundef 5888)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glBlendFunc(i32 noundef, i32 noundef) #1
declare i32 @glColor4f(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glRectf(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glDisable(i32 noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz6jyx7cy.c'
source_filename = "/tmp/tmpz6jyx7cy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phoneui_backend_sim_manager_hide() #0 {
%1 = call i32 (...) @sim_manager_view_hide()
ret void
}
declare i32 @sim_manager_view_hide(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz6jyx7cy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phoneui_backend_sim_manager_hide() #0 {
%1 = call i32 (...) @sim_manager_view_hide()
ret void
}
declare i32 @sim_manager_view_hide(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4hdfzr_z.c'
source_filename = "/tmp/tmp4hdfzr_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hdfzr_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx390nlc2.c'
source_filename = "/tmp/tmpx390nlc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"man\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parser(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 @strcmp(ptr noundef @.str, ptr noundef %3)
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 (...) @helpShell()
br label %65
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = call i32 (...) @clearShell()
br label %65
14: ; preds = %8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcmpN(ptr noundef @.str.2, ptr noundef %15, i32 noundef 4)
%17 = icmp ne i32 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 5
%21 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = call i32 (...) @echoShellON()
br label %65
25: ; preds = %18
%26 = call i32 (...) @echoShellOFF()
br label %65
27: ; preds = %14
%28 = load ptr, ptr %2, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 46
br i1 %31, label %32, label %42
32: ; preds = %27
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 92
br i1 %37, label %38, label %42
38: ; preds = %32
%39 = load ptr, ptr %2, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = call i32 @run(ptr noundef %40)
br label %65
42: ; preds = %32, %27
%43 = load ptr, ptr %2, align 8
%44 = call i32 @strcmpN(ptr noundef @.str.4, ptr noundef %43, i32 noundef 3)
%45 = icmp ne i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %2, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
%49 = call i32 @man(ptr noundef %48)
br label %65
50: ; preds = %42
%51 = load ptr, ptr %2, align 8
%52 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = call i32 (...) @ls()
br label %65
56: ; preds = %50
%57 = load ptr, ptr %2, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %62
61: ; preds = %56
br label %65
62: ; preds = %56
%63 = load ptr, ptr %2, align 8
%64 = call i32 @error(ptr noundef %63)
br label %65
65: ; preds = %62, %61, %54, %46, %38, %25, %23, %12, %6
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @helpShell(...) #1
declare i32 @clearShell(...) #1
declare i32 @strcmpN(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @echoShellON(...) #1
declare i32 @echoShellOFF(...) #1
declare i32 @run(ptr noundef) #1
declare i32 @man(ptr noundef) #1
declare i32 @ls(...) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx390nlc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"man\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parser(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 @strcmp(ptr noundef @.str, ptr noundef %3)
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 (...) @helpShell()
br label %65
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = call i32 (...) @clearShell()
br label %65
14: ; preds = %8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcmpN(ptr noundef @.str.2, ptr noundef %15, i32 noundef 4)
%17 = icmp ne i32 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 5
%21 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = call i32 (...) @echoShellON()
br label %65
25: ; preds = %18
%26 = call i32 (...) @echoShellOFF()
br label %65
27: ; preds = %14
%28 = load ptr, ptr %2, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 46
br i1 %31, label %32, label %42
32: ; preds = %27
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 92
br i1 %37, label %38, label %42
38: ; preds = %32
%39 = load ptr, ptr %2, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = call i32 @run(ptr noundef %40)
br label %65
42: ; preds = %32, %27
%43 = load ptr, ptr %2, align 8
%44 = call i32 @strcmpN(ptr noundef @.str.4, ptr noundef %43, i32 noundef 3)
%45 = icmp ne i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %2, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
%49 = call i32 @man(ptr noundef %48)
br label %65
50: ; preds = %42
%51 = load ptr, ptr %2, align 8
%52 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = call i32 (...) @ls()
br label %65
56: ; preds = %50
%57 = load ptr, ptr %2, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %62
61: ; preds = %56
br label %65
62: ; preds = %56
%63 = load ptr, ptr %2, align 8
%64 = call i32 @error(ptr noundef %63)
br label %65
65: ; preds = %62, %61, %54, %46, %38, %25, %23, %12, %6
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @helpShell(...) #1
declare i32 @clearShell(...) #1
declare i32 @strcmpN(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @echoShellON(...) #1
declare i32 @echoShellOFF(...) #1
declare i32 @run(ptr noundef) #1
declare i32 @man(ptr noundef) #1
declare i32 @ls(...) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmfu7ji5l.c'
source_filename = "/tmp/tmpmfu7ji5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_napms(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1)
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %2
br label %24
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = call i32 @report_count(i32 noundef 1)
%18 = call i32 @report_error(ptr noundef @.str.1)
br label %24
19: ; preds = %10
%20 = call i32 @report_count(i32 noundef 1)
%21 = load i32, ptr %5, align 4
%22 = call i32 @napms(i32 noundef %21)
%23 = call i32 @report_return(i32 noundef %22)
br label %24
24: ; preds = %19, %16, %9
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @napms(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/tmpmfu7ji5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_napms(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1)
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %2
br label %24
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = call i32 @report_count(i32 noundef 1)
%18 = call i32 @report_error(ptr noundef @.str.1)
br label %24
19: ; preds = %10
%20 = call i32 @report_count(i32 noundef 1)
%21 = load i32, ptr %5, align 4
%22 = call i32 @napms(i32 noundef %21)
%23 = call i32 @report_return(i32 noundef %22)
br label %24
24: ; preds = %19, %16, %9
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @napms(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/tmpua501o_e.c'
source_filename = "/tmp/tmpua501o_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpua501o_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcyq88f9w.c'
source_filename = "/tmp/tmpcyq88f9w.c"
target datalayout = "e-m:e-p270: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/tmpcyq88f9w.c"
target datalayout = "e-m:e-p270: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/tmpgtap3xz6.c'
source_filename = "/tmp/tmpgtap3xz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"FFT: Data length is not a power of 2!: %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_log2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %10, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %5
br label %10
10: ; preds = %9
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 %11, 2
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = shl i32 1, %17
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = load i32, ptr %2, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %15
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgtap3xz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"FFT: Data length is not a power of 2!: %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_log2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %9
br label %9
9: ; preds = %8
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %10, 2
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = shl i32 1, %19
%21 = icmp ne i32 %18, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr %2, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %17
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5wzlzvi9.c'
source_filename = "/tmp/tmp5wzlzvi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GetFullPath.szRet = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetFullPath() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 2048)
%5 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @readlink(ptr noundef @.str, ptr noundef %5, i32 noundef 2048)
%7 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @GetLastCharOccur(ptr noundef %7, i8 noundef signext 47)
store i32 %8, ptr %1, align 4
%9 = call i32 @memset(ptr noundef @GetFullPath.szRet, i32 noundef 0, i32 noundef 2048)
%10 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @strncpy(ptr noundef @GetFullPath.szRet, ptr noundef %10, i32 noundef %12)
ret ptr @GetFullPath.szRet
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @GetLastCharOccur(ptr noundef, i8 noundef signext) #1
declare i32 @strncpy(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/tmp5wzlzvi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GetFullPath.szRet = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetFullPath() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 2048)
%5 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @readlink(ptr noundef @.str, ptr noundef %5, i32 noundef 2048)
%7 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @GetLastCharOccur(ptr noundef %7, i8 noundef signext 47)
store i32 %8, ptr %1, align 4
%9 = call i32 @memset(ptr noundef @GetFullPath.szRet, i32 noundef 0, i32 noundef 2048)
%10 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @strncpy(ptr noundef @GetFullPath.szRet, ptr noundef %10, i32 noundef %12)
ret ptr @GetFullPath.szRet
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @GetLastCharOccur(ptr noundef, i8 noundef signext) #1
declare i32 @strncpy(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/tmps3nthq15.c'
source_filename = "/tmp/tmps3nthq15.c"
target datalayout = "e-m:e-p270: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.loadSimpleAssembly.packet = private unnamed_addr constant [4 x [1024 x i8]] [[1024 x i8] c"$M8000000,1ac:ffff0220ad010008c1010008c1010008c1010008c1010008c101000800000000000000000000000000000000c1010008c101000800000000c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c101000800000000c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008#61\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$M80001ac,18:0348052101600168013101602022fae700000020fee70000#64\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$M80001c4,4:04000000#fb\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$Pf=ac010008#e0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loadSimpleAssembly() #0 {
%1 = alloca [4 x [1024 x i8]], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.loadSimpleAssembly.packet, i64 4096, i1 false)
store ptr null, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x [1024 x i8]], ptr %1, i64 0, i64 %9
%11 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%12 = call ptr @serveRSP(ptr noundef %11)
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load ptr, ptr %2, align 8
%18 = call i32 @free(ptr noundef %17)
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 ptr @serveRSP(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps3nthq15.c"
target datalayout = "e-m:e-p270: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.loadSimpleAssembly.packet = private unnamed_addr constant [4 x [1024 x i8]] [[1024 x i8] c"$M8000000,1ac:ffff0220ad010008c1010008c1010008c1010008c1010008c101000800000000000000000000000000000000c1010008c101000800000000c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c101000800000000c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008c1010008#61\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$M80001ac,18:0348052101600168013101602022fae700000020fee70000#64\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$M80001c4,4:04000000#fb\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [1024 x i8] c"$Pf=ac010008#e0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loadSimpleAssembly() #0 {
%1 = alloca [4 x [1024 x i8]], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.loadSimpleAssembly.packet, i64 4096, i1 false)
store ptr null, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 4
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [4 x [1024 x i8]], ptr %1, i64 0, i64 %8
%10 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%11 = call ptr @serveRSP(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @free(ptr noundef %18)
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 ptr @serveRSP(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp01732o53.c'
source_filename = "/tmp/tmp01732o53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%s(%s)\00", align 1
@.str.1 = private unnamed_addr constant [93 x i8] c"get_folder_data\09application=%s\09\09\09\09\09folder=%s\09\09\09\09\09select=\22%s\22\09\09\09\09\09where=\22%s\22\09\09\09\09\09order=none\09\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process_generic_output_get_period_of_record_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [1024 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca [128 x i8], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%24 = load ptr, ptr %12, align 8
%25 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.1, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
%26 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%27 = call ptr @pipe2string(ptr noundef %26)
store ptr %27, ptr %14, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %6
br label %33
30: ; preds = %6
%31 = load ptr, ptr %14, align 8
%32 = load ptr, ptr %7, align 8
store ptr %31, ptr %32, align 8
br label %33
33: ; preds = %30, %29
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @pipe2string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp01732o53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%s(%s)\00", align 1
@.str.1 = private unnamed_addr constant [93 x i8] c"get_folder_data\09application=%s\09\09\09\09\09folder=%s\09\09\09\09\09select=\22%s\22\09\09\09\09\09where=\22%s\22\09\09\09\09\09order=none\09\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process_generic_output_get_period_of_record_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [1024 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca [128 x i8], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%24 = load ptr, ptr %12, align 8
%25 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.1, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
%26 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%27 = call ptr @pipe2string(ptr noundef %26)
store ptr %27, ptr %14, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %6
br label %33
30: ; preds = %6
%31 = load ptr, ptr %14, align 8
%32 = load ptr, ptr %7, align 8
store ptr %31, ptr %32, align 8
br label %33
33: ; preds = %30, %29
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @pipe2string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0jvx4yqw.c'
source_filename = "/tmp/tmp0jvx4yqw.c"
target datalayout = "e-m:e-p270: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/tmp0jvx4yqw.c"
target datalayout = "e-m:e-p270: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/tmp7c7tzdz6.c'
source_filename = "/tmp/tmp7c7tzdz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"%c - %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [26 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 104, i1 false)
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, i32 noundef %6)
br label %8
8: ; preds = %66, %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %69
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp sge i32 %20, 97
br i1 %21, label %22, label %40
22: ; preds = %15
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 122
br i1 %28, label %29, label %40
29: ; preds = %22
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 97
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %37, align 4
br label %66
40: ; preds = %22, %15
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sge i32 %45, 65
br i1 %46, label %47, label %65
47: ; preds = %40
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sle i32 %52, 90
br i1 %53, label %54, label %65
54: ; preds = %47
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 65
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %62, align 4
br label %65
65: ; preds = %54, %47, %40
br label %66
66: ; preds = %65, %29
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
br label %8, !llvm.loop !6
69: ; preds = %8
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %88, %69
%71 = load i32, ptr %3, align 4
%72 = icmp slt i32 %71, 26
br i1 %72, label %73, label %91
73: ; preds = %70
%74 = load i32, ptr %3, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %87
79: ; preds = %73
%80 = load i32, ptr %3, align 4
%81 = add nsw i32 %80, 97
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = call i32 @printf(ptr noundef @.str, i32 noundef %81, i32 noundef %85)
br label %87
87: ; preds = %79, %73
br label %88
88: ; preds = %87
%89 = load i32, ptr %3, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %3, align 4
br label %70, !llvm.loop !8
91: ; preds = %70
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7c7tzdz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"%c - %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [26 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 104, i1 false)
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1000, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %74
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %65
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp sge i32 %19, 97
br i1 %20, label %21, label %39
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp sle i32 %26, 122
br i1 %27, label %28, label %39
28: ; preds = %21
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 97
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %36, align 4
br label %65
39: ; preds = %21, %14
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sge i32 %44, 65
br i1 %45, label %46, label %64
46: ; preds = %39
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp sle i32 %51, 90
br i1 %52, label %53, label %64
53: ; preds = %46
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = sub nsw i32 %58, 65
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %61, align 4
br label %64
64: ; preds = %53, %46, %39
br label %65
65: ; preds = %64, %28
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %74
74: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp slt i32 %75, 26
br i1 %76, label %.lr.ph2, label %97
.lr.ph2: ; preds = %74
br label %77
77: ; preds = %.lr.ph2, %92
%78 = load i32, ptr %3, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %91
83: ; preds = %77
%84 = load i32, ptr %3, align 4
%85 = add nsw i32 %84, 97
%86 = load i32, ptr %3, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = call i32 @printf(ptr noundef @.str, i32 noundef %85, i32 noundef %89)
br label %91
91: ; preds = %83, %77
br label %92
92: ; preds = %91
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %3, align 4
%95 = load i32, ptr %3, align 4
%96 = icmp slt i32 %95, 26
br i1 %96, label %77, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %92
br label %97
97: ; preds = %._crit_edge3, %74
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsqkg7c9_.c'
source_filename = "/tmp/tmpsqkg7c9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Accessing invalid pointer...\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)
store volatile i8 0, ptr inttoptr (i64 2684354560 to ptr), align 1
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/tmpsqkg7c9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Accessing invalid pointer...\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)
store volatile i8 0, ptr inttoptr (i64 2684354560 to ptr), align 1
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/tmp00o0rd06.c'
source_filename = "/tmp/tmp00o0rd06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtl_iniParseFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = alloca [50 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 50, i1 false)
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%17 = call i64 @malloc(i32 noundef 200)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %3
store i32 -2, ptr %4, align 4
br label %150
22: ; preds = %3
br label %23
23: ; preds = %145, %22
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %5, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 200, ptr noundef %25)
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %146
28: ; preds = %23
%29 = load i32, ptr %15, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %15, align 4
%31 = load ptr, ptr %8, align 8
store ptr %31, ptr %11, align 8
%32 = load ptr, ptr %11, align 8
%33 = call ptr @rstrip(ptr noundef %32)
%34 = call ptr @lskip(ptr noundef %33)
store ptr %34, ptr %11, align 8
%35 = load ptr, ptr %11, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 59
br i1 %38, label %44, label %39
39: ; preds = %28
%40 = load ptr, ptr %11, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %44, label %45
44: ; preds = %39, %28
br label %145
45: ; preds = %39
%46 = load ptr, ptr %11, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 91
br i1 %49, label %50, label %72
50: ; preds = %45
%51 = load ptr, ptr %11, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 1
%53 = call ptr @find_char_or_comment(ptr noundef %52, i8 noundef signext 93)
store ptr %53, ptr %12, align 8
%54 = load ptr, ptr %12, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 93
br i1 %57, label %58, label %65
58: ; preds = %50
%59 = load ptr, ptr %12, align 8
store i8 0, ptr %59, align 1
%60 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%61 = load ptr, ptr %11, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = call i32 @strncpy0(ptr noundef %60, ptr noundef %62, i32 noundef 50)
%64 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0
store i8 0, ptr %64, align 16
br label %71
65: ; preds = %50
%66 = load i32, ptr %16, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = load i32, ptr %15, align 4
store i32 %69, ptr %16, align 4
br label %70
70: ; preds = %68, %65
br label %71
71: ; preds = %70, %58
br label %144
72: ; preds = %45
%73 = load ptr, ptr %11, align 8
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %143
77: ; preds = %72
%78 = load ptr, ptr %11, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 59
br i1 %81, label %82, label %143
82: ; preds = %77
%83 = load ptr, ptr %11, align 8
%84 = call ptr @find_char_or_comment(ptr noundef %83, i8 noundef signext 61)
store ptr %84, ptr %12, align 8
%85 = load ptr, ptr %12, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 61
br i1 %88, label %89, label %92
89: ; preds = %82
%90 = load ptr, ptr %11, align 8
%91 = call ptr @find_char_or_comment(ptr noundef %90, i8 noundef signext 58)
store ptr %91, ptr %12, align 8
br label %92
92: ; preds = %89, %82
%93 = load ptr, ptr %12, align 8
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 61
br i1 %96, label %102, label %97
97: ; preds = %92
%98 = load ptr, ptr %12, align 8
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 58
br i1 %101, label %102, label %136
102: ; preds = %97, %92
%103 = load ptr, ptr %12, align 8
store i8 0, ptr %103, align 1
%104 = load ptr, ptr %11, align 8
%105 = call ptr @rstrip(ptr noundef %104)
store ptr %105, ptr %13, align 8
%106 = load ptr, ptr %12, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 1
%108 = call ptr @lskip(ptr noundef %107)
store ptr %108, ptr %14, align 8
%109 = load ptr, ptr %14, align 8
%110 = call ptr @find_char_or_comment(ptr noundef %109, i8 noundef signext 0)
store ptr %110, ptr %12, align 8
%111 = load ptr, ptr %12, align 8
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 59
br i1 %114, label %115, label %117
115: ; preds = %102
%116 = load ptr, ptr %12, align 8
store i8 0, ptr %116, align 1
br label %117
117: ; preds = %115, %102
%118 = load ptr, ptr %14, align 8
%119 = call ptr @rstrip(ptr noundef %118)
%120 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0
%121 = load ptr, ptr %13, align 8
%122 = call i32 @strncpy0(ptr noundef %120, ptr noundef %121, i32 noundef 50)
%123 = load ptr, ptr %6, align 8
%124 = load ptr, ptr %7, align 8
%125 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%126 = load ptr, ptr %13, align 8
%127 = load ptr, ptr %14, align 8
%128 = call i32 %123(ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127)
%129 = icmp ne i32 %128, 0
br i1 %129, label %135, label %130
130: ; preds = %117
%131 = load i32, ptr %16, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %135, label %133
133: ; preds = %130
%134 = load i32, ptr %15, align 4
store i32 %134, ptr %16, align 4
br label %135
135: ; preds = %133, %130, %117
br label %142
136: ; preds = %97
%137 = load i32, ptr %16, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %141, label %139
139: ; preds = %136
%140 = load i32, ptr %15, align 4
store i32 %140, ptr %16, align 4
br label %141
141: ; preds = %139, %136
br label %142
142: ; preds = %141, %135
br label %143
143: ; preds = %142, %77, %72
br label %144
144: ; preds = %143, %71
br label %145
145: ; preds = %144, %44
br label %23, !llvm.loop !6
146: ; preds = %23
%147 = load ptr, ptr %8, align 8
%148 = call i32 @free(ptr noundef %147)
%149 = load i32, ptr %16, align 4
store i32 %149, ptr %4, align 4
br label %150
150: ; preds = %146, %21
%151 = load i32, ptr %4, align 4
ret i32 %151
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @malloc(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @lskip(ptr noundef) #2
declare ptr @rstrip(ptr noundef) #2
declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2
declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @free(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp00o0rd06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtl_iniParseFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = alloca [50 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 50, i1 false)
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%17 = call i64 @malloc(i32 noundef 200)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %3
store i32 -2, ptr %4, align 4
br label %153
22: ; preds = %3
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %5, align 8
%25 = call ptr @fgets(ptr noundef %23, i32 noundef 200, ptr noundef %24)
%26 = icmp ne ptr %25, null
br i1 %26, label %.lr.ph, label %149
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %144
%28 = load i32, ptr %15, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %15, align 4
%30 = load ptr, ptr %8, align 8
store ptr %30, ptr %11, align 8
%31 = load ptr, ptr %11, align 8
%32 = call ptr @rstrip(ptr noundef %31)
%33 = call ptr @lskip(ptr noundef %32)
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 59
br i1 %37, label %43, label %38
38: ; preds = %27
%39 = load ptr, ptr %11, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 35
br i1 %42, label %43, label %44
43: ; preds = %38, %27
br label %144
44: ; preds = %38
%45 = load ptr, ptr %11, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 91
br i1 %48, label %49, label %71
49: ; preds = %44
%50 = load ptr, ptr %11, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = call ptr @find_char_or_comment(ptr noundef %51, i8 noundef signext 93)
store ptr %52, ptr %12, align 8
%53 = load ptr, ptr %12, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 93
br i1 %56, label %57, label %64
57: ; preds = %49
%58 = load ptr, ptr %12, align 8
store i8 0, ptr %58, align 1
%59 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = call i32 @strncpy0(ptr noundef %59, ptr noundef %61, i32 noundef 50)
%63 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0
store i8 0, ptr %63, align 16
br label %70
64: ; preds = %49
%65 = load i32, ptr %16, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %64
%68 = load i32, ptr %15, align 4
store i32 %68, ptr %16, align 4
br label %69
69: ; preds = %67, %64
br label %70
70: ; preds = %69, %57
br label %143
71: ; preds = %44
%72 = load ptr, ptr %11, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %142
76: ; preds = %71
%77 = load ptr, ptr %11, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 59
br i1 %80, label %81, label %142
81: ; preds = %76
%82 = load ptr, ptr %11, align 8
%83 = call ptr @find_char_or_comment(ptr noundef %82, i8 noundef signext 61)
store ptr %83, ptr %12, align 8
%84 = load ptr, ptr %12, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp ne i32 %86, 61
br i1 %87, label %88, label %91
88: ; preds = %81
%89 = load ptr, ptr %11, align 8
%90 = call ptr @find_char_or_comment(ptr noundef %89, i8 noundef signext 58)
store ptr %90, ptr %12, align 8
br label %91
91: ; preds = %88, %81
%92 = load ptr, ptr %12, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 61
br i1 %95, label %101, label %96
96: ; preds = %91
%97 = load ptr, ptr %12, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 58
br i1 %100, label %101, label %135
101: ; preds = %96, %91
%102 = load ptr, ptr %12, align 8
store i8 0, ptr %102, align 1
%103 = load ptr, ptr %11, align 8
%104 = call ptr @rstrip(ptr noundef %103)
store ptr %104, ptr %13, align 8
%105 = load ptr, ptr %12, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 1
%107 = call ptr @lskip(ptr noundef %106)
store ptr %107, ptr %14, align 8
%108 = load ptr, ptr %14, align 8
%109 = call ptr @find_char_or_comment(ptr noundef %108, i8 noundef signext 0)
store ptr %109, ptr %12, align 8
%110 = load ptr, ptr %12, align 8
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %112, 59
br i1 %113, label %114, label %116
114: ; preds = %101
%115 = load ptr, ptr %12, align 8
store i8 0, ptr %115, align 1
br label %116
116: ; preds = %114, %101
%117 = load ptr, ptr %14, align 8
%118 = call ptr @rstrip(ptr noundef %117)
%119 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0
%120 = load ptr, ptr %13, align 8
%121 = call i32 @strncpy0(ptr noundef %119, ptr noundef %120, i32 noundef 50)
%122 = load ptr, ptr %6, align 8
%123 = load ptr, ptr %7, align 8
%124 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%125 = load ptr, ptr %13, align 8
%126 = load ptr, ptr %14, align 8
%127 = call i32 %122(ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126)
%128 = icmp ne i32 %127, 0
br i1 %128, label %134, label %129
129: ; preds = %116
%130 = load i32, ptr %16, align 4
%131 = icmp ne i32 %130, 0
br i1 %131, label %134, label %132
132: ; preds = %129
%133 = load i32, ptr %15, align 4
store i32 %133, ptr %16, align 4
br label %134
134: ; preds = %132, %129, %116
br label %141
135: ; preds = %96
%136 = load i32, ptr %16, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %140, label %138
138: ; preds = %135
%139 = load i32, ptr %15, align 4
store i32 %139, ptr %16, align 4
br label %140
140: ; preds = %138, %135
br label %141
141: ; preds = %140, %134
br label %142
142: ; preds = %141, %76, %71
br label %143
143: ; preds = %142, %70
br label %144
144: ; preds = %143, %43
%145 = load ptr, ptr %8, align 8
%146 = load ptr, ptr %5, align 8
%147 = call ptr @fgets(ptr noundef %145, i32 noundef 200, ptr noundef %146)
%148 = icmp ne ptr %147, null
br i1 %148, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %144
br label %149
149: ; preds = %._crit_edge, %22
%150 = load ptr, ptr %8, align 8
%151 = call i32 @free(ptr noundef %150)
%152 = load i32, ptr %16, align 4
store i32 %152, ptr %4, align 4
br label %153
153: ; preds = %149, %21
%154 = load i32, ptr %4, align 4
ret i32 %154
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @malloc(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @lskip(ptr noundef) #2
declare ptr @rstrip(ptr noundef) #2
declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2
declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @free(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"}
|
; ModuleID = '/tmp/tmpl0rte08a.c'
source_filename = "/tmp/tmpl0rte08a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_INET6 = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpl0rte08a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_INET6 = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpx2zrdg0x.c'
source_filename = "/tmp/tmpx2zrdg0x.c"
target datalayout = "e-m:e-p270: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/tmpx2zrdg0x.c"
target datalayout = "e-m:e-p270: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/tmpz73nmidj.c'
source_filename = "/tmp/tmpz73nmidj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz73nmidj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6z3erhg_.c'
source_filename = "/tmp/tmp6z3erhg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eye(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 %6, %7
%9 = load ptr, ptr %4, align 8
%10 = call i32 @zero(i32 noundef %8, ptr noundef %9)
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = add nsw i32 %17, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %16, i64 %22
store double 1.000000e+00, ptr %23, align 8
br label %24
24: ; preds = %15
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
ret void
}
declare i32 @zero(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6z3erhg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eye(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 %6, %7
%9 = load ptr, ptr %4, align 8
%10 = call i32 @zero(i32 noundef %8, ptr noundef %9)
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %23
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 %17, %18
%20 = add nsw i32 %16, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %15, i64 %21
store double 1.000000e+00, ptr %22, align 8
br label %23
23: ; preds = %14
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
ret void
}
declare i32 @zero(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbz8adoft.c'
source_filename = "/tmp/tmpbz8adoft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next_generation(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %143, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 1000
br label %17
17: ; preds = %14, %10
%18 = phi i1 [ false, %10 ], [ %16, %14 ]
br i1 %18, label %19, label %146
19: ; preds = %17
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %92, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %95
24: ; preds = %20
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %86
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %86
31: ; preds = %27
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = getelementptr inbounds i32, ptr %35, i64 1
%37 = load i32, ptr %36, align 4
%38 = icmp eq i32 %37, 1
br i1 %38, label %39, label %58
39: ; preds = %31
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = getelementptr inbounds i32, ptr %43, i64 -1
%45 = load i32, ptr %44, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %39
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 1, ptr %51, align 4
br label %57
52: ; preds = %39
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 0, ptr %56, align 4
br label %57
57: ; preds = %52, %47
br label %58
58: ; preds = %57, %31
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = getelementptr inbounds i32, ptr %62, i64 1
%64 = load i32, ptr %63, align 4
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %85
66: ; preds = %58
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %7, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = getelementptr inbounds i32, ptr %70, i64 -1
%72 = load i32, ptr %71, align 4
%73 = icmp eq i32 %72, 1
br i1 %73, label %74, label %79
74: ; preds = %66
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
store i32 1, ptr %78, align 4
br label %84
79: ; preds = %66
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %7, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 0, ptr %83, align 4
br label %84
84: ; preds = %79, %74
br label %85
85: ; preds = %84, %58
br label %91
86: ; preds = %27, %24
%87 = load ptr, ptr %5, align 8
%88 = load i32, ptr %7, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 0, ptr %90, align 4
br label %91
91: ; preds = %86, %85
br label %92
92: ; preds = %91
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
br label %20, !llvm.loop !6
95: ; preds = %20
store i32 0, ptr %7, align 4
br label %96
96: ; preds = %121, %95
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %6, align 4
%99 = icmp sle i32 %97, %98
br i1 %99, label %100, label %124
100: ; preds = %96
%101 = load ptr, ptr %5, align 8
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %111
107: ; preds = %100
%108 = call i32 @printf(ptr noundef @.str)
%109 = load i32, ptr %8, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %8, align 4
br label %111
111: ; preds = %107, %100
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %7, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = icmp eq i32 %116, 1
br i1 %117, label %118, label %120
118: ; preds = %111
%119 = call i32 @printf(ptr noundef @.str.1)
br label %120
120: ; preds = %118, %111
br label %121
121: ; preds = %120
%122 = load i32, ptr %7, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %7, align 4
br label %96, !llvm.loop !8
124: ; preds = %96
%125 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
br label %126
126: ; preds = %140, %124
%127 = load i32, ptr %7, align 4
%128 = load i32, ptr %6, align 4
%129 = icmp sle i32 %127, %128
br i1 %129, label %130, label %143
130: ; preds = %126
%131 = load ptr, ptr %5, align 8
%132 = load i32, ptr %7, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
%135 = load i32, ptr %134, align 4
%136 = load ptr, ptr %4, align 8
%137 = load i32, ptr %7, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
store i32 %135, ptr %139, align 4
br label %140
140: ; preds = %130
%141 = load i32, ptr %7, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %7, align 4
br label %126, !llvm.loop !9
143: ; preds = %126
%144 = load i32, ptr %9, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %9, align 4
br label %10, !llvm.loop !10
146: ; preds = %17
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbz8adoft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next_generation(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %149, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 1000
br label %17
17: ; preds = %14, %10
%18 = phi i1 [ false, %10 ], [ %16, %14 ]
br i1 %18, label %19, label %152
19: ; preds = %17
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %.lr.ph, label %97
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %91
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %85
26: ; preds = %23
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %85
30: ; preds = %26
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = getelementptr inbounds i32, ptr %34, i64 1
%36 = load i32, ptr %35, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %57
38: ; preds = %30
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = getelementptr inbounds i32, ptr %42, i64 -1
%44 = load i32, ptr %43, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %38
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 1, ptr %50, align 4
br label %56
51: ; preds = %38
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 0, ptr %55, align 4
br label %56
56: ; preds = %51, %46
br label %57
57: ; preds = %56, %30
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = getelementptr inbounds i32, ptr %61, i64 1
%63 = load i32, ptr %62, align 4
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %84
65: ; preds = %57
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %7, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = getelementptr inbounds i32, ptr %69, i64 -1
%71 = load i32, ptr %70, align 4
%72 = icmp eq i32 %71, 1
br i1 %72, label %73, label %78
73: ; preds = %65
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
store i32 1, ptr %77, align 4
br label %83
78: ; preds = %65
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
store i32 0, ptr %82, align 4
br label %83
83: ; preds = %78, %73
br label %84
84: ; preds = %83, %57
br label %90
85: ; preds = %26, %23
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %7, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 0, ptr %89, align 4
br label %90
90: ; preds = %85, %84
br label %91
91: ; preds = %90
%92 = load i32, ptr %7, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %7, align 4
%94 = load i32, ptr %7, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp sle i32 %94, %95
br i1 %96, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %91
br label %97
97: ; preds = %._crit_edge, %19
store i32 0, ptr %7, align 4
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %6, align 4
%100 = icmp sle i32 %98, %99
br i1 %100, label %.lr.ph2, label %128
.lr.ph2: ; preds = %97
br label %101
101: ; preds = %.lr.ph2, %122
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %7, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %112
108: ; preds = %101
%109 = call i32 @printf(ptr noundef @.str)
%110 = load i32, ptr %8, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %8, align 4
br label %112
112: ; preds = %108, %101
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %7, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
%117 = load i32, ptr %116, align 4
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %121
119: ; preds = %112
%120 = call i32 @printf(ptr noundef @.str.1)
br label %121
121: ; preds = %119, %112
br label %122
122: ; preds = %121
%123 = load i32, ptr %7, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %7, align 4
%125 = load i32, ptr %7, align 4
%126 = load i32, ptr %6, align 4
%127 = icmp sle i32 %125, %126
br i1 %127, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %122
br label %128
128: ; preds = %._crit_edge3, %97
%129 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
%130 = load i32, ptr %7, align 4
%131 = load i32, ptr %6, align 4
%132 = icmp sle i32 %130, %131
br i1 %132, label %.lr.ph5, label %149
.lr.ph5: ; preds = %128
br label %133
133: ; preds = %.lr.ph5, %143
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %7, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = load ptr, ptr %4, align 8
%140 = load i32, ptr %7, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %139, i64 %141
store i32 %138, ptr %142, align 4
br label %143
143: ; preds = %133
%144 = load i32, ptr %7, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %7, align 4
%146 = load i32, ptr %7, align 4
%147 = load i32, ptr %6, align 4
%148 = icmp sle i32 %146, %147
br i1 %148, label %133, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %143
br label %149
149: ; preds = %._crit_edge6, %128
%150 = load i32, ptr %9, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %9, align 4
br label %10, !llvm.loop !10
152: ; preds = %17
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp5cjp6ewk.c'
source_filename = "/tmp/tmp5cjp6ewk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getwlh(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getc(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @getc(ptr noundef %6)
%8 = shl i32 %7, 8
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, %8
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5cjp6ewk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getwlh(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getc(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @getc(ptr noundef %6)
%8 = shl i32 %7, 8
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, %8
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe8jd41ey.c'
source_filename = "/tmp/tmpe8jd41ey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_SealInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%20 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %16, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %17, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load ptr, ptr %9, align 8
%28 = call i32 @EVP_CIPHER_CTX_init(ptr noundef %27)
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @EVP_EncryptInit_ex(ptr noundef %29, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
34: ; preds = %26
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %15, align 4
%37 = icmp sle i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load ptr, ptr %14, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i64 @EVP_CIPHER_CTX_rand_key(ptr noundef %43, ptr noundef %23)
%45 = icmp sle i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %9, align 8
%54 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %53)
%55 = call i32 @RAND_pseudo_bytes(ptr noundef %52, i64 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %13, align 8
%59 = call i32 @EVP_EncryptInit_ex(ptr noundef %57, ptr noundef null, ptr noundef null, ptr noundef %23, ptr noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
62: ; preds = %56
store i32 0, ptr %18, align 4
br label %63
63: ; preds = %93, %62
%64 = load i32, ptr %18, align 4
%65 = load i32, ptr %15, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %96
67: ; preds = %63
%68 = load ptr, ptr %11, align 8
%69 = load i32, ptr %18, 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 ptr, ptr %9, align 8
%74 = call i32 @EVP_CIPHER_CTX_key_length(ptr noundef %73)
%75 = load ptr, ptr %14, align 8
%76 = load i32, ptr %18, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 @EVP_PKEY_encrypt_old(ptr noundef %72, ptr noundef %23, i32 noundef %74, ptr noundef %79)
%81 = load ptr, ptr %12, align 8
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %80, ptr %84, align 4
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %18, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = load i32, ptr %88, align 4
%90 = icmp sle i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %67
store i32 -1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
92: ; preds = %67
br label %93
93: ; preds = %92
%94 = load i32, ptr %18, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %18, align 4
br label %63, !llvm.loop !6
96: ; preds = %63
%97 = load i32, ptr %15, align 4
store i32 %97, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %98
98: ; preds = %96, %91, %61, %46, %41, %33
%99 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %99)
%100 = load i32, ptr %8, align 4
ret i32 %100
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_CTX_init(ptr noundef) #2
declare i32 @EVP_EncryptInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_rand_key(ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_iv_length(ptr noundef) #2
declare i32 @RAND_pseudo_bytes(ptr noundef, i64 noundef) #2
declare i32 @EVP_PKEY_encrypt_old(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_CTX_key_length(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe8jd41ey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_SealInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%20 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %16, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %17, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load ptr, ptr %9, align 8
%28 = call i32 @EVP_CIPHER_CTX_init(ptr noundef %27)
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = call i32 @EVP_EncryptInit_ex(ptr noundef %29, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
34: ; preds = %26
br label %35
35: ; preds = %34, %7
%36 = load i32, ptr %15, align 4
%37 = icmp sle i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load ptr, ptr %14, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i64 @EVP_CIPHER_CTX_rand_key(ptr noundef %43, ptr noundef %23)
%45 = icmp sle i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %9, align 8
%54 = call i64 @EVP_CIPHER_CTX_iv_length(ptr noundef %53)
%55 = call i32 @RAND_pseudo_bytes(ptr noundef %52, i64 noundef %54)
br label %56
56: ; preds = %51, %47
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %13, align 8
%59 = call i32 @EVP_EncryptInit_ex(ptr noundef %57, ptr noundef null, ptr noundef null, ptr noundef %23, ptr noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56
store i32 0, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
62: ; preds = %56
store i32 0, ptr %18, align 4
%63 = load i32, ptr %18, align 4
%64 = load i32, ptr %15, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph, label %98
.lr.ph: ; preds = %62
br label %66
66: ; preds = %.lr.ph, %92
%67 = load ptr, ptr %11, align 8
%68 = load i32, ptr %18, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load ptr, ptr %9, align 8
%73 = call i32 @EVP_CIPHER_CTX_key_length(ptr noundef %72)
%74 = load ptr, ptr %14, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = call i32 @EVP_PKEY_encrypt_old(ptr noundef %71, ptr noundef %23, i32 noundef %73, ptr noundef %78)
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %18, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
%84 = load ptr, ptr %12, align 8
%85 = load i32, ptr %18, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4
%89 = icmp sle i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %66
store i32 -1, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
91: ; preds = %66
br label %92
92: ; preds = %91
%93 = load i32, ptr %18, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %18, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %15, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %66, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %92
br label %98
98: ; preds = %._crit_edge, %62
%99 = load i32, ptr %15, align 4
store i32 %99, ptr %8, align 4
store i32 1, ptr %19, align 4
br label %100
100: ; preds = %98, %90, %61, %46, %41, %33
%101 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %101)
%102 = load i32, ptr %8, align 4
ret i32 %102
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_CTX_init(ptr noundef) #2
declare i32 @EVP_EncryptInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_rand_key(ptr noundef, ptr noundef) #2
declare i64 @EVP_CIPHER_CTX_iv_length(ptr noundef) #2
declare i32 @RAND_pseudo_bytes(ptr noundef, i64 noundef) #2
declare i32 @EVP_PKEY_encrypt_old(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_CTX_key_length(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"}
|
; ModuleID = '/tmp/tmp06vpkp13.c'
source_filename = "/tmp/tmp06vpkp13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%f %f %f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Point is outside the Cicle.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%9 = load float, ptr %5, align 4
%10 = load float, ptr %2, align 4
%11 = fsub float %9, %10
%12 = load float, ptr %5, align 4
%13 = load float, ptr %2, align 4
%14 = fsub float %12, %13
%15 = load float, ptr %6, align 4
%16 = load float, ptr %3, align 4
%17 = fsub float %15, %16
%18 = load float, ptr %6, align 4
%19 = load float, ptr %3, align 4
%20 = fsub float %18, %19
%21 = fmul float %17, %20
%22 = call float @llvm.fmuladd.f32(float %11, float %14, float %21)
%23 = call float @sqrtf(float noundef %22) #4
store float %23, ptr %7, align 4
%24 = load float, ptr %7, align 4
%25 = load float, ptr %4, align 4
%26 = fcmp oeq float %24, %25
br i1 %26, label %31, label %27
27: ; preds = %0
%28 = load float, ptr %7, align 4
%29 = load float, ptr %4, align 4
%30 = fcmp olt float %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27, %0
%32 = load float, ptr %7, align 4
%33 = load float, ptr %4, align 4
%34 = fcmp oeq float %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @printf(ptr noundef @.str.1)
br label %39
37: ; preds = %31
%38 = call i32 @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %35
br label %42
40: ; preds = %27
%41 = call i32 @printf(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %39
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06vpkp13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%f %f %f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Point is outside the Cicle.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%9 = load float, ptr %5, align 4
%10 = load float, ptr %2, align 4
%11 = fsub float %9, %10
%12 = load float, ptr %5, align 4
%13 = load float, ptr %2, align 4
%14 = fsub float %12, %13
%15 = load float, ptr %6, align 4
%16 = load float, ptr %3, align 4
%17 = fsub float %15, %16
%18 = load float, ptr %6, align 4
%19 = load float, ptr %3, align 4
%20 = fsub float %18, %19
%21 = fmul float %17, %20
%22 = call float @llvm.fmuladd.f32(float %11, float %14, float %21)
%23 = call float @sqrtf(float noundef %22) #4
store float %23, ptr %7, align 4
%24 = load float, ptr %7, align 4
%25 = load float, ptr %4, align 4
%26 = fcmp oeq float %24, %25
br i1 %26, label %31, label %27
27: ; preds = %0
%28 = load float, ptr %7, align 4
%29 = load float, ptr %4, align 4
%30 = fcmp olt float %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27, %0
%32 = load float, ptr %7, align 4
%33 = load float, ptr %4, align 4
%34 = fcmp oeq float %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @printf(ptr noundef @.str.1)
br label %39
37: ; preds = %31
%38 = call i32 @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %35
br label %42
40: ; preds = %27
%41 = call i32 @printf(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %39
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_cyv7q2.c'
source_filename = "/tmp/tmpb_cyv7q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = 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/tmpb_cyv7q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_WRONLY = 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/tmp9cdyo12a.c'
source_filename = "/tmp/tmp9cdyo12a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./monitor.sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9cdyo12a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./monitor.sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 0
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj1xxx82b.c'
source_filename = "/tmp/tmpj1xxx82b.c"
target datalayout = "e-m:e-p270: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/tmpj1xxx82b.c"
target datalayout = "e-m:e-p270: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/tmpec_9td90.c'
source_filename = "/tmp/tmpec_9td90.c"
target datalayout = "e-m:e-p270: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/tmpec_9td90.c"
target datalayout = "e-m:e-p270: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/tmpdd9rk9gl.c'
source_filename = "/tmp/tmpdd9rk9gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @di_ent_equal(ptr noundef inttoptr (i64 2148809805 to ptr), ptr noundef inttoptr (i64 2149005393 to ptr))
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @di_ent_equal(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdd9rk9gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @di_ent_equal(ptr noundef inttoptr (i64 2148809805 to ptr), ptr noundef inttoptr (i64 2149005393 to ptr))
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @di_ent_equal(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgen2jchg.c'
source_filename = "/tmp/tmpgen2jchg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @core()
%3 = call i32 (...) @mem()
%4 = call i32 (...) @task()
ret i32 0
}
declare i32 @core(...) #1
declare i32 @mem(...) #1
declare i32 @task(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgen2jchg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @core()
%3 = call i32 (...) @mem()
%4 = call i32 (...) @task()
ret i32 0
}
declare i32 @core(...) #1
declare i32 @mem(...) #1
declare i32 @task(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0d54u5jq.c'
source_filename = "/tmp/tmp0d54u5jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"now_str = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false)
%3 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @get_time_now_string(ptr noundef %3, i32 noundef 256)
%5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @get_time_now_string(ptr noundef, i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0d54u5jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"now_str = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false)
%3 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @get_time_now_string(ptr noundef %3, i32 noundef 256)
%5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @get_time_now_string(ptr noundef, i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvcz_3iuc.c'
source_filename = "/tmp/tmpvcz_3iuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Try dfc -h for more information\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [458 x i8] c"Usage: dfc [OPTION(S)] [-c WHEN] [-e FORMAT] [-p FSNAME] [-q SORTBY] [-t FSTYPE] [-u UNIT]\0AAvailable options:\0A\09-a\09print all mounted filesystem\0A\09-b\09do not show the graph bar\0A\09-c\09choose color mode. Read the manpage for details\0A\09-d\09show used size\0A\09-e\09export to specified format. Read the manpage for details\0A\09-f\09disable auto-adjust mode (force display)\0A\09-h\09print this message\0A\09-i\09info about inodes\0A\09-l\09only show information about locally mounted file systems\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [478 x i8] c"\09-m\09use metric (SI unit)\0A\09-M\09do not print \22mounted on\22\0A\09-n\09do not print header\0A\09-o\09show mount flags\0A\09-p\09filter by file system name. Read the manpage for details\0A\09-q\09sort the output. Read the manpage for details\0A\09-s\09sum the total usage\0A\09-t\09filter by file system type. Read the manpage for details\0A\09-T\09show filesystem type\0A\09-u\09choose the unit in which to show the values. Read the manpage for details\0A\09-v\09print program version\0A\09-w\09use a wider bar\0A\09-W\09wide filename (un truncate)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6)
br label %13
8: ; preds = %1
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %9)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %8, %5
%14 = load i32, ptr %2, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmpvcz_3iuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Try dfc -h for more information\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [458 x i8] c"Usage: dfc [OPTION(S)] [-c WHEN] [-e FORMAT] [-p FSNAME] [-q SORTBY] [-t FSTYPE] [-u UNIT]\0AAvailable options:\0A\09-a\09print all mounted filesystem\0A\09-b\09do not show the graph bar\0A\09-c\09choose color mode. Read the manpage for details\0A\09-d\09show used size\0A\09-e\09export to specified format. Read the manpage for details\0A\09-f\09disable auto-adjust mode (force display)\0A\09-h\09print this message\0A\09-i\09info about inodes\0A\09-l\09only show information about locally mounted file systems\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [478 x i8] c"\09-m\09use metric (SI unit)\0A\09-M\09do not print \22mounted on\22\0A\09-n\09do not print header\0A\09-o\09show mount flags\0A\09-p\09filter by file system name. Read the manpage for details\0A\09-q\09sort the output. Read the manpage for details\0A\09-s\09sum the total usage\0A\09-t\09filter by file system type. Read the manpage for details\0A\09-T\09show filesystem type\0A\09-u\09choose the unit in which to show the values. Read the manpage for details\0A\09-v\09print program version\0A\09-w\09use a wider bar\0A\09-W\09wide filename (un truncate)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6)
br label %13
8: ; preds = %1
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %9)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %8, %5
%14 = load i32, ptr %2, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmpjbctwi2h.c'
source_filename = "/tmp/tmpjbctwi2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %26, %0
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = sdiv i32 %18, %19
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 2, %21
%23 = sdiv i32 %22, 100
%24 = mul nsw i32 %20, %23
%25 = sub nsw i32 %17, %24
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
%30 = load i32, ptr %6, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbctwi2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %25
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %14, %15
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = sdiv i32 %17, %18
%20 = load i32, ptr %3, align 4
%21 = mul nsw i32 2, %20
%22 = sdiv i32 %21, 100
%23 = mul nsw i32 %19, %22
%24 = sub nsw i32 %16, %23
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %13
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %0
%32 = load i32, ptr %6, align 4
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpid9ghzf1.c'
source_filename = "/tmp/tmpid9ghzf1.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [14 x i8] c"%s:%d -> /%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Content-Type\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"Unable to set header: Content-Type\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [27 x i8] c"Unable to read file! (%s)\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Unable to open file! (%s: %s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"Unable to open file! (%s)\0A\00", align 1
@HTTP_OK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendchunkedfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca %struct.stat, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 1, ptr %10, align 4
store ptr null, ptr %11, align 8
store ptr null, ptr %13, align 8
store ptr null, ptr %14, align 8
%17 = load ptr, ptr %7, align 8
%18 = call ptr @evhttp_request_get_connection(ptr noundef %17)
store ptr %18, ptr %13, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %4
%21 = load ptr, ptr %13, align 8
%22 = call i32 @evhttp_connection_get_peer(ptr noundef %21, ptr noundef %14, ptr noundef %15)
%23 = load ptr, ptr %14, align 8
%24 = load i32, ptr %15, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %23, i32 noundef %24, ptr noundef %25)
br label %27
27: ; preds = %20, %4
%28 = load ptr, ptr %7, align 8
%29 = call ptr @evhttp_request_get_output_headers(ptr noundef %28)
store ptr %29, ptr %16, align 8
%30 = load ptr, ptr %16, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i64 @evhttp_add_header(ptr noundef %30, ptr noundef @.str.1, ptr noundef %31)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2)
br label %97
37: ; preds = %27
%38 = call ptr (...) @evbuffer_new()
store ptr %38, ptr %11, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @stat(ptr noundef %39, ptr noundef %12)
%41 = icmp ne i32 %40, -1
br i1 %41, label %42, label %74
42: ; preds = %37
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %9, align 4
%46 = icmp ne i32 %45, -1
br i1 %46, label %47, label %67
47: ; preds = %42
%48 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%49 = load i64, ptr %48, align 8
%50 = icmp sgt i64 %49, 0
br i1 %50, label %51, label %63
51: ; preds = %47
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %9, align 4
%54 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%55 = load i64, ptr %54, align 8
%56 = call i64 @evbuffer_add_file(ptr noundef %52, i32 noundef %53, i32 noundef 0, i64 noundef %55)
%57 = icmp slt i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %51
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %5, align 8
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.3, ptr noundef %60)
br label %62
62: ; preds = %58, %51
br label %66
63: ; preds = %47
%64 = load i32, ptr %9, align 4
%65 = call i32 @close(i32 noundef %64)
store i32 0, ptr %10, align 4
br label %66
66: ; preds = %63, %62
br label %73
67: ; preds = %42
%68 = load i32, ptr @stderr, align 4
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr @errno, align 4
%71 = call ptr @strerror(i32 noundef %70)
%72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %69, ptr noundef %71)
store i32 0, ptr %10, align 4
br label %73
73: ; preds = %67, %66
br label %78
74: ; preds = %37
%75 = load i32, ptr @stderr, align 4
%76 = load ptr, ptr %5, align 8
%77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.5, ptr noundef %76)
store i32 0, ptr %10, align 4
br label %78
78: ; preds = %74, %73
%79 = load i32, ptr %10, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %90
81: ; preds = %78
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr @HTTP_OK, align 4
%84 = call i32 @evhttp_send_reply_start(ptr noundef %82, i32 noundef %83, ptr noundef @.str.6)
%85 = load ptr, ptr %7, align 8
%86 = load ptr, ptr %11, align 8
%87 = call i32 @evhttp_send_reply_chunk(ptr noundef %85, ptr noundef %86)
%88 = load ptr, ptr %7, align 8
%89 = call i32 @evhttp_send_reply_end(ptr noundef %88)
br label %94
90: ; preds = %78
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr @HTTP_OK, align 4
%93 = call i32 @evhttp_send_reply(ptr noundef %91, i32 noundef %92, ptr noundef @.str.6, i32 noundef 0)
br label %94
94: ; preds = %90, %81
%95 = load ptr, ptr %11, align 8
%96 = call i32 @evbuffer_free(ptr noundef %95)
br label %97
97: ; preds = %94, %34
ret void
}
declare ptr @evhttp_request_get_connection(ptr noundef) #1
declare i32 @evhttp_connection_get_peer(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @evhttp_request_get_output_headers(ptr noundef) #1
declare i64 @evhttp_add_header(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @evbuffer_new(...) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @evbuffer_add_file(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @evhttp_send_reply_start(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @evhttp_send_reply_chunk(ptr noundef, ptr noundef) #1
declare i32 @evhttp_send_reply_end(ptr noundef) #1
declare i32 @evhttp_send_reply(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @evbuffer_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/tmpid9ghzf1.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [14 x i8] c"%s:%d -> /%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Content-Type\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"Unable to set header: Content-Type\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [27 x i8] c"Unable to read file! (%s)\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Unable to open file! (%s: %s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"Unable to open file! (%s)\0A\00", align 1
@HTTP_OK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendchunkedfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca %struct.stat, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 1, ptr %10, align 4
store ptr null, ptr %11, align 8
store ptr null, ptr %13, align 8
store ptr null, ptr %14, align 8
%17 = load ptr, ptr %7, align 8
%18 = call ptr @evhttp_request_get_connection(ptr noundef %17)
store ptr %18, ptr %13, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %4
%21 = load ptr, ptr %13, align 8
%22 = call i32 @evhttp_connection_get_peer(ptr noundef %21, ptr noundef %14, ptr noundef %15)
%23 = load ptr, ptr %14, align 8
%24 = load i32, ptr %15, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %23, i32 noundef %24, ptr noundef %25)
br label %27
27: ; preds = %20, %4
%28 = load ptr, ptr %7, align 8
%29 = call ptr @evhttp_request_get_output_headers(ptr noundef %28)
store ptr %29, ptr %16, align 8
%30 = load ptr, ptr %16, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i64 @evhttp_add_header(ptr noundef %30, ptr noundef @.str.1, ptr noundef %31)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2)
br label %97
37: ; preds = %27
%38 = call ptr (...) @evbuffer_new()
store ptr %38, ptr %11, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @stat(ptr noundef %39, ptr noundef %12)
%41 = icmp ne i32 %40, -1
br i1 %41, label %42, label %74
42: ; preds = %37
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %9, align 4
%46 = icmp ne i32 %45, -1
br i1 %46, label %47, label %67
47: ; preds = %42
%48 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%49 = load i64, ptr %48, align 8
%50 = icmp sgt i64 %49, 0
br i1 %50, label %51, label %63
51: ; preds = %47
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %9, align 4
%54 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0
%55 = load i64, ptr %54, align 8
%56 = call i64 @evbuffer_add_file(ptr noundef %52, i32 noundef %53, i32 noundef 0, i64 noundef %55)
%57 = icmp slt i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %51
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %5, align 8
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.3, ptr noundef %60)
br label %62
62: ; preds = %58, %51
br label %66
63: ; preds = %47
%64 = load i32, ptr %9, align 4
%65 = call i32 @close(i32 noundef %64)
store i32 0, ptr %10, align 4
br label %66
66: ; preds = %63, %62
br label %73
67: ; preds = %42
%68 = load i32, ptr @stderr, align 4
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr @errno, align 4
%71 = call ptr @strerror(i32 noundef %70)
%72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %69, ptr noundef %71)
store i32 0, ptr %10, align 4
br label %73
73: ; preds = %67, %66
br label %78
74: ; preds = %37
%75 = load i32, ptr @stderr, align 4
%76 = load ptr, ptr %5, align 8
%77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.5, ptr noundef %76)
store i32 0, ptr %10, align 4
br label %78
78: ; preds = %74, %73
%79 = load i32, ptr %10, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %90
81: ; preds = %78
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr @HTTP_OK, align 4
%84 = call i32 @evhttp_send_reply_start(ptr noundef %82, i32 noundef %83, ptr noundef @.str.6)
%85 = load ptr, ptr %7, align 8
%86 = load ptr, ptr %11, align 8
%87 = call i32 @evhttp_send_reply_chunk(ptr noundef %85, ptr noundef %86)
%88 = load ptr, ptr %7, align 8
%89 = call i32 @evhttp_send_reply_end(ptr noundef %88)
br label %94
90: ; preds = %78
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr @HTTP_OK, align 4
%93 = call i32 @evhttp_send_reply(ptr noundef %91, i32 noundef %92, ptr noundef @.str.6, i32 noundef 0)
br label %94
94: ; preds = %90, %81
%95 = load ptr, ptr %11, align 8
%96 = call i32 @evbuffer_free(ptr noundef %95)
br label %97
97: ; preds = %94, %34
ret void
}
declare ptr @evhttp_request_get_connection(ptr noundef) #1
declare i32 @evhttp_connection_get_peer(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @evhttp_request_get_output_headers(ptr noundef) #1
declare i64 @evhttp_add_header(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @evbuffer_new(...) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @evbuffer_add_file(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @evhttp_send_reply_start(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @evhttp_send_reply_chunk(ptr noundef, ptr noundef) #1
declare i32 @evhttp_send_reply_end(ptr noundef) #1
declare i32 @evhttp_send_reply(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @evbuffer_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/tmpreblsrfx.c'
source_filename = "/tmp/tmpreblsrfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"bg routine running\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bg_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 19)
br label %6
6: ; preds = %1, %16
store i8 46, ptr %4, align 1
%7 = call i32 (...) @pthread_yield()
%8 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef 1)
%9 = call i32 (...) @pthread_yield()
store i32 1000, ptr %3, align 4
br label %10
10: ; preds = %14, %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %3, align 4
%13 = icmp sgt i32 %11, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 (...) @pthread_yield()
br label %10, !llvm.loop !6
16: ; preds = %10
br label %6
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @pthread_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpreblsrfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"bg routine running\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bg_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 19)
br label %6
6: ; preds = %18, %1
store i8 46, ptr %4, align 1
%7 = call i32 (...) @pthread_yield()
%8 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef 1)
%9 = call i32 (...) @pthread_yield()
store i32 1000, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %3, align 4
%12 = icmp sgt i32 %10, 0
br i1 %12, label %.lr.ph, label %18
.lr.ph: ; preds = %6
br label %13
13: ; preds = %.lr.ph, %13
%14 = call i32 (...) @pthread_yield()
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %3, align 4
%17 = icmp sgt i32 %15, 0
br i1 %17, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %6
br label %6
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @pthread_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3r4ays8b.c'
source_filename = "/tmp/tmp3r4ays8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @netUDPopen(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 -1, ptr %3, align 4
br label %38
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @htons(i32 noundef %18)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @INADDR_ANY, align 4
%22 = call i32 @htonl(i32 noundef %21)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0
store i32 %22, ptr %24, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %36
27: ; preds = %15
%28 = load i32, ptr %6, align 4
%29 = call i32 @bind(i32 noundef %28, ptr noundef %8, i32 noundef 12)
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr %6, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -2, ptr %3, align 4
br label %38
35: ; preds = %27
br label %36
36: ; preds = %35, %15
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %36, %32, %14
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(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/tmp3r4ays8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @netUDPopen(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 -1, ptr %3, align 4
br label %38
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @htons(i32 noundef %18)
%20 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @INADDR_ANY, align 4
%22 = call i32 @htonl(i32 noundef %21)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0
store i32 %22, ptr %24, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %36
27: ; preds = %15
%28 = load i32, ptr %6, align 4
%29 = call i32 @bind(i32 noundef %28, ptr noundef %8, i32 noundef 12)
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr %6, align 4
%34 = call i32 @close(i32 noundef %33)
store i32 -2, ptr %3, align 4
br label %38
35: ; preds = %27
br label %36
36: ; preds = %35, %15
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %36, %32, %14
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(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/tmp134v1ej3.c'
source_filename = "/tmp/tmp134v1ej3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_routing_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 @rq_routing_clear(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @rq_routing_clear(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/tmp134v1ej3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_routing_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 @rq_routing_clear(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @rq_routing_clear(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/tmp070_zxfl.c'
source_filename = "/tmp/tmp070_zxfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_color_content(i16 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i16 %0, ptr %5, align 2
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i16, ptr %5, align 2
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @color_content(i16 noundef signext %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @color_content(i16 noundef signext, 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/tmp070_zxfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_color_content(i16 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i16 %0, ptr %5, align 2
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i16, ptr %5, align 2
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @color_content(i16 noundef signext %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
declare i32 @color_content(i16 noundef signext, 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/tmpzsgn0oai.c'
source_filename = "/tmp/tmpzsgn0oai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%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 i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%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 i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 11640
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%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 = '<stdin>'
source_filename = "/tmp/tmpzsgn0oai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%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 i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%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 i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 11640
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
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/tmp78t30lna.c'
source_filename = "/tmp/tmp78t30lna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"Enter any two numbers to do arithemetic calculation: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @do_arithemetic(i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_arithemetic(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/tmp78t30lna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"Enter any two numbers to do arithemetic calculation: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @do_arithemetic(i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_arithemetic(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/tmp6sy51sja.c'
source_filename = "/tmp/tmp6sy51sja.c"
target datalayout = "e-m:e-p270: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/tmp6sy51sja.c"
target datalayout = "e-m:e-p270: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/tmpdx4yk1go.c'
source_filename = "/tmp/tmpdx4yk1go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f87(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 @f86(ptr noundef %3)
ret i32 %4
}
declare i32 @f86(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdx4yk1go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f87(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 @f86(ptr noundef %3)
ret i32 %4
}
declare i32 @f86(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcfmct7iu.c'
source_filename = "/tmp/tmpcfmct7iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addSpace(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %44
22: ; preds = %4
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
store i32 %24, ptr %9, align 4
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 4
%30 = trunc i64 %29 to i32
%31 = call i64 @realloc(ptr noundef %26, i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %10, align 8
%33 = load ptr, ptr %10, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %36, label %35
35: ; preds = %22
store i32 -1, ptr %5, align 4
br label %46
36: ; preds = %22
%37 = load i32, ptr %8, align 4
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
%42 = load ptr, ptr %10, align 8
%43 = load ptr, ptr %6, align 8
store ptr %42, ptr %43, align 8
br label %44
44: ; preds = %36, %14
%45 = load i32, ptr %9, align 4
store i32 %45, ptr %5, align 4
br label %46
46: ; preds = %44, %35
%47 = load i32, ptr %5, align 4
ret i32 %47
}
declare i64 @realloc(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/tmpcfmct7iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addSpace(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %44
22: ; preds = %4
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
store i32 %24, ptr %9, align 4
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 4
%30 = trunc i64 %29 to i32
%31 = call i64 @realloc(ptr noundef %26, i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %10, align 8
%33 = load ptr, ptr %10, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %36, label %35
35: ; preds = %22
store i32 -1, ptr %5, align 4
br label %46
36: ; preds = %22
%37 = load i32, ptr %8, align 4
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
%42 = load ptr, ptr %10, align 8
%43 = load ptr, ptr %6, align 8
store ptr %42, ptr %43, align 8
br label %44
44: ; preds = %36, %14
%45 = load i32, ptr %9, align 4
store i32 %45, ptr %5, align 4
br label %46
46: ; preds = %44, %35
%47 = load i32, ptr %5, align 4
ret i32 %47
}
declare i64 @realloc(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/tmpwyrx0v6q.c'
source_filename = "/tmp/tmpwyrx0v6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @explode_sansnull_str(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 -1, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %23, %3
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %26
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = call i32 @explode_sansnull(ptr noundef %18, ptr noundef %19, ptr noundef %21)
store i32 %22, ptr %8, align 4
br label %23
23: ; preds = %17
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = load i32, ptr %8, align 4
ret i32 %27
}
declare i32 @strlen(ptr noundef) #1
declare i32 @explode_sansnull(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwyrx0v6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @explode_sansnull_str(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 -1, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %9, align 4
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %22
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %19, align 8
%21 = call i32 @explode_sansnull(ptr noundef %17, ptr noundef %18, ptr noundef %20)
store i32 %21, ptr %8, align 4
br label %22
22: ; preds = %16
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
%29 = load i32, ptr %8, align 4
ret i32 %29
}
declare i32 @strlen(ptr noundef) #1
declare i32 @explode_sansnull(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu3dur0hx.c'
source_filename = "/tmp/tmpu3dur0hx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_MUTEX_DEFAULT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_PTHREAD_MUTEX_DEFAULT() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @PTHREAD_MUTEX_DEFAULT, align 4
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu3dur0hx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_MUTEX_DEFAULT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_PTHREAD_MUTEX_DEFAULT() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @PTHREAD_MUTEX_DEFAULT, align 4
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpncl80d5g.c'
source_filename = "/tmp/tmpncl80d5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i32 0, align 4
@.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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [20 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @strcpy(ptr noundef %10, ptr noundef %13)
%15 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %2
store i32 1, ptr %3, align 4
br label %43
20: ; preds = %2
%21 = call ptr @malloc(i32 noundef 4)
store ptr %21, ptr %7, align 8
br label %22
22: ; preds = %37, %20
%23 = load ptr, ptr %8, align 8
%24 = call i32 @feof(ptr noundef %23)
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
br i1 %26, label %27, label %38
27: ; preds = %22
%28 = load ptr, ptr %8, align 8
%29 = call i32 @fgetc(ptr noundef %28)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr @EOF, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %37
33: ; preds = %27
%34 = load i32, ptr %9, align 4
%35 = trunc i32 %34 to i8
%36 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %35)
br label %37
37: ; preds = %33, %27
br label %22, !llvm.loop !6
38: ; preds = %22
%39 = load ptr, ptr %8, align 8
%40 = call i32 @fclose(ptr noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = call i32 @free(ptr noundef %41)
store i32 0, ptr %3, align 4
br label %43
43: ; preds = %38, %19
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpncl80d5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i32 0, align 4
@.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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [20 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @strcpy(ptr noundef %10, ptr noundef %13)
%15 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %2
store i32 1, ptr %3, align 4
br label %46
20: ; preds = %2
%21 = call ptr @malloc(i32 noundef 4)
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i32 @feof(ptr noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %.lr.ph, label %41
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %36
%27 = load ptr, ptr %8, align 8
%28 = call i32 @fgetc(ptr noundef %27)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr @EOF, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = load i32, ptr %9, align 4
%34 = trunc i32 %33 to i8
%35 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %34)
br label %36
36: ; preds = %32, %26
%37 = load ptr, ptr %8, align 8
%38 = call i32 @feof(ptr noundef %37)
%39 = icmp ne i32 %38, 0
%40 = xor i1 %39, true
br i1 %40, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %20
%42 = load ptr, ptr %8, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = load ptr, ptr %7, align 8
%45 = call i32 @free(ptr noundef %44)
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %41, %19
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpytp770y3.c'
source_filename = "/tmp/tmpytp770y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call ptr @strchr(ptr noundef %5, i8 noundef signext %6)
ret ptr %7
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpytp770y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call ptr @strchr(ptr noundef %5, i8 noundef signext %6)
ret ptr %7
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbd83f2zk.c'
source_filename = "/tmp/tmpbd83f2zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_elem_rec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %3, align 8
br label %16
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %13, 1
%15 = call ptr @get_elem_rec(ptr noundef %12, i32 noundef %14)
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %10, %8
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbd83f2zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_elem_rec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %3, align 8
br label %16
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %13, 1
%15 = call ptr @get_elem_rec(ptr noundef %12, i32 noundef %14)
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %10, %8
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsn8rdmds.c'
source_filename = "/tmp/tmpsn8rdmds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Enter x y: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0A%d * %d = %d\0A\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @mul(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mul(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/tmpsn8rdmds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Enter x y: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\0A%d * %d = %d\0A\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @mul(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mul(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/tmpcps3_2oq.c'
source_filename = "/tmp/tmpcps3_2oq.c"
target datalayout = "e-m:e-p270: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/tmpcps3_2oq.c"
target datalayout = "e-m:e-p270: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/tmpelj9evxv.c'
source_filename = "/tmp/tmpelj9evxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rib_free() #0 {
%1 = call i32 (...) @rib_freebuffs()
ret void
}
declare i32 @rib_freebuffs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelj9evxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rib_free() #0 {
%1 = call i32 (...) @rib_freebuffs()
ret void
}
declare i32 @rib_freebuffs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprbn8ls9i.c'
source_filename = "/tmp/tmprbn8ls9i.c"
target datalayout = "e-m:e-p270: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
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FindTIFFOffset(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i16 %1, ptr %7, align 2
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
store i16 0, ptr %10, align 2
store i16 0, ptr %11, align 2
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %84, %4
%15 = load i32, ptr %13, align 4
%16 = load i16, ptr %7, align 2
%17 = zext i16 %16 to i32
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %87
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fgetc(ptr noundef %20)
%22 = shl i32 %21, 8
%23 = load ptr, ptr %6, align 8
%24 = call i32 @fgetc(ptr noundef %23)
%25 = or i32 %22, %24
%26 = trunc i32 %25 to i16
store i16 %26, ptr %10, align 2
%27 = load i16, ptr %10, align 2
%28 = zext i16 %27 to i32
%29 = load i16, ptr %8, align 2
%30 = zext i16 %29 to i32
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %79
32: ; preds = %19
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fgetc(ptr noundef %33)
%35 = shl i32 %34, 8
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fgetc(ptr noundef %36)
%38 = or i32 %35, %37
%39 = trunc i32 %38 to i16
store i16 %39, ptr %11, align 2
%40 = load i16, ptr %11, align 2
%41 = zext i16 %40 to i32
%42 = load i16, ptr %9, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %41, %43
br i1 %44, label %45, label %78
45: ; preds = %32
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fgetc(ptr noundef %46)
%48 = shl i32 %47, 24
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fgetc(ptr noundef %49)
%51 = shl i32 %50, 16
%52 = or i32 %48, %51
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fgetc(ptr noundef %53)
%55 = shl i32 %54, 8
%56 = or i32 %52, %55
%57 = load ptr, ptr %6, align 8
%58 = call i32 @fgetc(ptr noundef %57)
%59 = or i32 %56, %58
store i32 %59, ptr %12, align 4
%60 = load ptr, ptr %6, align 8
%61 = call i32 @fgetc(ptr noundef %60)
%62 = shl i32 %61, 24
%63 = load ptr, ptr %6, align 8
%64 = call i32 @fgetc(ptr noundef %63)
%65 = shl i32 %64, 16
%66 = or i32 %62, %65
%67 = load ptr, ptr %6, align 8
%68 = call i32 @fgetc(ptr noundef %67)
%69 = shl i32 %68, 8
%70 = or i32 %66, %69
%71 = load ptr, ptr %6, align 8
%72 = call i32 @fgetc(ptr noundef %71)
%73 = or i32 %70, %72
store i32 %73, ptr %12, align 4
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %12, align 4
%76 = load i32, ptr @SEEK_SET, align 4
%77 = call i32 @fseek(ptr noundef %74, i32 noundef %75, i32 noundef %76)
store i32 1, ptr %5, align 4
br label %88
78: ; preds = %32
br label %83
79: ; preds = %19
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr @SEEK_CUR, align 4
%82 = call i32 @fseek(ptr noundef %80, i32 noundef 10, i32 noundef %81)
br label %83
83: ; preds = %79, %78
br label %84
84: ; preds = %83
%85 = load i32, ptr %13, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %13, align 4
br label %14, !llvm.loop !6
87: ; preds = %14
store i32 0, ptr %5, align 4
br label %88
88: ; preds = %87, %45
%89 = load i32, ptr %5, align 4
ret i32 %89
}
declare i32 @fgetc(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbn8ls9i.c"
target datalayout = "e-m:e-p270: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
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FindTIFFOffset(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i16 %1, ptr %7, align 2
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
store i16 0, ptr %10, align 2
store i16 0, ptr %11, align 2
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%14 = load i32, ptr %13, align 4
%15 = load i16, ptr %7, align 2
%16 = zext i16 %15 to i32
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph, label %90
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %83
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fgetc(ptr noundef %19)
%21 = shl i32 %20, 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @fgetc(ptr noundef %22)
%24 = or i32 %21, %23
%25 = trunc i32 %24 to i16
store i16 %25, ptr %10, align 2
%26 = load i16, ptr %10, align 2
%27 = zext i16 %26 to i32
%28 = load i16, ptr %8, align 2
%29 = zext i16 %28 to i32
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %78
31: ; preds = %18
%32 = load ptr, ptr %6, align 8
%33 = call i32 @fgetc(ptr noundef %32)
%34 = shl i32 %33, 8
%35 = load ptr, ptr %6, align 8
%36 = call i32 @fgetc(ptr noundef %35)
%37 = or i32 %34, %36
%38 = trunc i32 %37 to i16
store i16 %38, ptr %11, align 2
%39 = load i16, ptr %11, align 2
%40 = zext i16 %39 to i32
%41 = load i16, ptr %9, align 2
%42 = zext i16 %41 to i32
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %77
44: ; preds = %31
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fgetc(ptr noundef %45)
%47 = shl i32 %46, 24
%48 = load ptr, ptr %6, align 8
%49 = call i32 @fgetc(ptr noundef %48)
%50 = shl i32 %49, 16
%51 = or i32 %47, %50
%52 = load ptr, ptr %6, align 8
%53 = call i32 @fgetc(ptr noundef %52)
%54 = shl i32 %53, 8
%55 = or i32 %51, %54
%56 = load ptr, ptr %6, align 8
%57 = call i32 @fgetc(ptr noundef %56)
%58 = or i32 %55, %57
store i32 %58, ptr %12, align 4
%59 = load ptr, ptr %6, align 8
%60 = call i32 @fgetc(ptr noundef %59)
%61 = shl i32 %60, 24
%62 = load ptr, ptr %6, align 8
%63 = call i32 @fgetc(ptr noundef %62)
%64 = shl i32 %63, 16
%65 = or i32 %61, %64
%66 = load ptr, ptr %6, align 8
%67 = call i32 @fgetc(ptr noundef %66)
%68 = shl i32 %67, 8
%69 = or i32 %65, %68
%70 = load ptr, ptr %6, align 8
%71 = call i32 @fgetc(ptr noundef %70)
%72 = or i32 %69, %71
store i32 %72, ptr %12, align 4
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr @SEEK_SET, align 4
%76 = call i32 @fseek(ptr noundef %73, i32 noundef %74, i32 noundef %75)
store i32 1, ptr %5, align 4
br label %91
77: ; preds = %31
br label %82
78: ; preds = %18
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr @SEEK_CUR, align 4
%81 = call i32 @fseek(ptr noundef %79, i32 noundef 10, i32 noundef %80)
br label %82
82: ; preds = %78, %77
br label %83
83: ; preds = %82
%84 = load i32, ptr %13, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %13, align 4
%86 = load i32, ptr %13, align 4
%87 = load i16, ptr %7, align 2
%88 = zext i16 %87 to i32
%89 = icmp slt i32 %86, %88
br i1 %89, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %90
90: ; preds = %._crit_edge, %4
store i32 0, ptr %5, align 4
br label %91
91: ; preds = %90, %44
%92 = load i32, ptr %5, align 4
ret i32 %92
}
declare i32 @fgetc(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1bs6xtwh.c'
source_filename = "/tmp/tmp1bs6xtwh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_seed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @srand(i32 noundef %6)
br label %11
8: ; preds = %1
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
br label %11
11: ; preds = %8, %5
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bs6xtwh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_seed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @srand(i32 noundef %6)
br label %11
8: ; preds = %1
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
br label %11
11: ; preds = %8, %5
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0bdm95x7.c'
source_filename = "/tmp/tmp0bdm95x7.c"
target datalayout = "e-m:e-p270: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/tmp0bdm95x7.c"
target datalayout = "e-m:e-p270: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/tmpi21o8zfl.c'
source_filename = "/tmp/tmpi21o8zfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ten thousand\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"ten thousand one\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"twelve thousand three hundred forty five\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"twenty three thousand four hundred fifty six\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"thirty four thousand five hundred sixty seven\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"forty five thousand six hundred seventy eight\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"fifty six thousand seven hundred eighty nine\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"sixty seven thousand eight hundred ninety\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"seventy eight thousand nine hundred one\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"eighty nine thousand twelve\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"ninety thousand one hundred twenty three\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c"ninety nine thousand nine hundred ninety nine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test5DigitNumbers() #0 {
%1 = call i32 @getNumberInWords(i32 noundef 10000)
%2 = call i32 @assertEquals(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @getNumberInWords(i32 noundef 10001)
%4 = call i32 @assertEquals(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 @getNumberInWords(i32 noundef 12345)
%6 = call i32 @assertEquals(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 @getNumberInWords(i32 noundef 23456)
%8 = call i32 @assertEquals(ptr noundef @.str.3, i32 noundef %7)
%9 = call i32 @getNumberInWords(i32 noundef 34567)
%10 = call i32 @assertEquals(ptr noundef @.str.4, i32 noundef %9)
%11 = call i32 @getNumberInWords(i32 noundef 45678)
%12 = call i32 @assertEquals(ptr noundef @.str.5, i32 noundef %11)
%13 = call i32 @getNumberInWords(i32 noundef 56789)
%14 = call i32 @assertEquals(ptr noundef @.str.6, i32 noundef %13)
%15 = call i32 @getNumberInWords(i32 noundef 67890)
%16 = call i32 @assertEquals(ptr noundef @.str.7, i32 noundef %15)
%17 = call i32 @getNumberInWords(i32 noundef 78901)
%18 = call i32 @assertEquals(ptr noundef @.str.8, i32 noundef %17)
%19 = call i32 @getNumberInWords(i32 noundef 89012)
%20 = call i32 @assertEquals(ptr noundef @.str.9, i32 noundef %19)
%21 = call i32 @getNumberInWords(i32 noundef 90123)
%22 = call i32 @assertEquals(ptr noundef @.str.10, i32 noundef %21)
%23 = call i32 @getNumberInWords(i32 noundef 99999)
%24 = call i32 @assertEquals(ptr noundef @.str.11, i32 noundef %23)
ret void
}
declare i32 @assertEquals(ptr noundef, i32 noundef) #1
declare i32 @getNumberInWords(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/tmpi21o8zfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ten thousand\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"ten thousand one\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"twelve thousand three hundred forty five\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"twenty three thousand four hundred fifty six\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"thirty four thousand five hundred sixty seven\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"forty five thousand six hundred seventy eight\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"fifty six thousand seven hundred eighty nine\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"sixty seven thousand eight hundred ninety\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"seventy eight thousand nine hundred one\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"eighty nine thousand twelve\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"ninety thousand one hundred twenty three\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c"ninety nine thousand nine hundred ninety nine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test5DigitNumbers() #0 {
%1 = call i32 @getNumberInWords(i32 noundef 10000)
%2 = call i32 @assertEquals(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @getNumberInWords(i32 noundef 10001)
%4 = call i32 @assertEquals(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 @getNumberInWords(i32 noundef 12345)
%6 = call i32 @assertEquals(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 @getNumberInWords(i32 noundef 23456)
%8 = call i32 @assertEquals(ptr noundef @.str.3, i32 noundef %7)
%9 = call i32 @getNumberInWords(i32 noundef 34567)
%10 = call i32 @assertEquals(ptr noundef @.str.4, i32 noundef %9)
%11 = call i32 @getNumberInWords(i32 noundef 45678)
%12 = call i32 @assertEquals(ptr noundef @.str.5, i32 noundef %11)
%13 = call i32 @getNumberInWords(i32 noundef 56789)
%14 = call i32 @assertEquals(ptr noundef @.str.6, i32 noundef %13)
%15 = call i32 @getNumberInWords(i32 noundef 67890)
%16 = call i32 @assertEquals(ptr noundef @.str.7, i32 noundef %15)
%17 = call i32 @getNumberInWords(i32 noundef 78901)
%18 = call i32 @assertEquals(ptr noundef @.str.8, i32 noundef %17)
%19 = call i32 @getNumberInWords(i32 noundef 89012)
%20 = call i32 @assertEquals(ptr noundef @.str.9, i32 noundef %19)
%21 = call i32 @getNumberInWords(i32 noundef 90123)
%22 = call i32 @assertEquals(ptr noundef @.str.10, i32 noundef %21)
%23 = call i32 @getNumberInWords(i32 noundef 99999)
%24 = call i32 @assertEquals(ptr noundef @.str.11, i32 noundef %23)
ret void
}
declare i32 @assertEquals(ptr noundef, i32 noundef) #1
declare i32 @getNumberInWords(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/tmpuwue7zug.c'
source_filename = "/tmp/tmpuwue7zug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nearnd_.l = internal global i32 0, align 4
@nearnd_.b1 = internal global double 0.000000e+00, align 8
@nearnd_.b2 = internal global double 0.000000e+00, align 8
@nearnd_.b3 = internal global double 0.000000e+00, align 8
@nearnd_.i1 = internal global i32 0, align 4
@nearnd_.i2 = internal global i32 0, align 4
@nearnd_.i3 = internal global i32 0, align 4
@nearnd_.n1 = internal global i32 0, align 4
@nearnd_.n2 = internal global i32 0, align 4
@nearnd_.n3 = internal global i32 0, align 4
@nearnd_.lp = internal global i32 0, align 4
@nearnd_.nn = internal global i32 0, align 4
@nearnd_.nr = internal global i32 0, align 4
@nearnd_.ds1 = internal global double 0.000000e+00, align 8
@nearnd_.lp1 = internal global i32 0, align 4
@nearnd_.lp2 = internal global i32 0, align 4
@nearnd_.dx1 = internal global double 0.000000e+00, align 8
@nearnd_.dx2 = internal global double 0.000000e+00, align 8
@nearnd_.dx3 = internal global double 0.000000e+00, align 8
@nearnd_.dy1 = internal global double 0.000000e+00, align 8
@nearnd_.dy2 = internal global double 0.000000e+00, align 8
@nearnd_.dy3 = internal global double 0.000000e+00, align 8
@nearnd_.dz1 = internal global double 0.000000e+00, align 8
@nearnd_.dz2 = internal global double 0.000000e+00, align 8
@nearnd_.dz3 = internal global double 0.000000e+00, align 8
@nearnd_.lpl = internal global i32 0, align 4
@nearnd_.dsr = internal global double 0.000000e+00, align 8
@nearnd_.nst = internal global i32 0, align 4
@nearnd_.listp = internal global [25 x i32] zeroinitializer, align 16
@nearnd_.lptrp = internal global [25 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nearnd_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds double, ptr %24, i32 -1
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %20, align 8
%27 = getelementptr inbounds i32, ptr %26, i32 -1
store ptr %27, ptr %20, align 8
%28 = load ptr, ptr %17, align 8
%29 = getelementptr inbounds double, ptr %28, i32 -1
store ptr %29, ptr %17, align 8
%30 = load ptr, ptr %16, align 8
%31 = getelementptr inbounds double, ptr %30, i32 -1
store ptr %31, ptr %16, align 8
%32 = load ptr, ptr %15, align 8
%33 = getelementptr inbounds double, ptr %32, i32 -1
store ptr %33, ptr %15, align 8
%34 = load ptr, ptr %18, align 8
%35 = getelementptr inbounds i32, ptr %34, i32 -1
store ptr %35, ptr %18, align 8
%36 = load ptr, ptr %19, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 -1
store ptr %37, ptr %19, align 8
%38 = load ptr, ptr %14, align 8
%39 = load i32, ptr %38, align 4
store i32 %39, ptr @nearnd_.nn, align 4
%40 = load i32, ptr @nearnd_.nn, align 4
%41 = icmp slt i32 %40, 3
br i1 %41, label %42, label %43
42: ; preds = %10
br label %431
43: ; preds = %10
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %44, align 4
store i32 %45, ptr @nearnd_.nst, align 4
%46 = load i32, ptr @nearnd_.nst, align 4
%47 = icmp slt i32 %46, 1
br i1 %47, label %52, label %48
48: ; preds = %43
%49 = load i32, ptr @nearnd_.nst, align 4
%50 = load i32, ptr @nearnd_.nn, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48, %43
store i32 1, ptr @nearnd_.nst, align 4
br label %53
53: ; preds = %52, %48
%54 = load ptr, ptr %12, align 8
%55 = getelementptr inbounds double, ptr %54, i64 1
%56 = load ptr, ptr %14, align 8
%57 = load ptr, ptr %15, align 8
%58 = getelementptr inbounds double, ptr %57, i64 1
%59 = load ptr, ptr %16, align 8
%60 = getelementptr inbounds double, ptr %59, i64 1
%61 = load ptr, ptr %17, align 8
%62 = getelementptr inbounds double, ptr %61, i64 1
%63 = load ptr, ptr %18, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 1
%65 = load ptr, ptr %19, align 8
%66 = getelementptr inbounds i32, ptr %65, i64 1
%67 = load ptr, ptr %20, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 1
%69 = call i32 @trfind_(ptr noundef @nearnd_.nst, ptr noundef %55, ptr noundef %56, ptr noundef %58, ptr noundef %60, ptr noundef %62, ptr noundef %64, ptr noundef %66, ptr noundef %68, ptr noundef @nearnd_.b1, ptr noundef @nearnd_.b2, ptr noundef @nearnd_.b3, ptr noundef @nearnd_.i1, ptr noundef @nearnd_.i2, ptr noundef @nearnd_.i3)
%70 = load i32, ptr @nearnd_.i1, align 4
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %53
br label %431
73: ; preds = %53
%74 = load i32, ptr @nearnd_.i3, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %73
%77 = load i32, ptr @nearnd_.i1, align 4
store i32 %77, ptr @nearnd_.listp, align 16
store i32 2, ptr @nearnd_.lptrp, align 16
%78 = load i32, ptr @nearnd_.i2, align 4
store i32 %78, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.listp, i64 0, i64 1), align 4
store i32 3, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.lptrp, i64 0, i64 1), align 4
%79 = load i32, ptr @nearnd_.i3, align 4
store i32 %79, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.listp, i64 0, i64 2), align 8
store i32 1, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.lptrp, i64 0, i64 2), align 8
store i32 3, ptr @nearnd_.l, align 4
br label %134
80: ; preds = %73
%81 = load i32, ptr @nearnd_.i1, align 4
store i32 %81, ptr @nearnd_.n1, align 4
store i32 1, ptr @nearnd_.l, align 4
store i32 2, ptr @nearnd_.lp1, align 4
%82 = load i32, ptr @nearnd_.n1, align 4
%83 = load i32, ptr @nearnd_.l, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %85
store i32 %82, ptr %86, align 4
%87 = load i32, ptr @nearnd_.lp1, align 4
%88 = load i32, ptr @nearnd_.l, align 4
%89 = sub nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %90
store i32 %87, ptr %91, align 4
br label %92
92: ; preds = %123, %80
%93 = load ptr, ptr %20, align 8
%94 = load i32, ptr @nearnd_.n1, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
store i32 %97, ptr @nearnd_.lpl, align 4
%98 = load ptr, ptr %18, align 8
%99 = load i32, ptr @nearnd_.lpl, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = sub nsw i32 0, %102
store i32 %103, ptr @nearnd_.n1, align 4
%104 = load i32, ptr @nearnd_.lp1, align 4
store i32 %104, ptr @nearnd_.l, align 4
%105 = load i32, ptr @nearnd_.l, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr @nearnd_.lp1, align 4
%107 = load i32, ptr @nearnd_.n1, align 4
%108 = load i32, ptr @nearnd_.l, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %110
store i32 %107, ptr %111, align 4
%112 = load i32, ptr @nearnd_.lp1, align 4
%113 = load i32, ptr @nearnd_.l, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %115
store i32 %112, ptr %116, align 4
%117 = load i32, ptr @nearnd_.n1, align 4
%118 = load i32, ptr @nearnd_.i2, align 4
%119 = icmp ne i32 %117, %118
br i1 %119, label %120, label %124
120: ; preds = %92
%121 = load i32, ptr @nearnd_.lp1, align 4
%122 = icmp slt i32 %121, 25
br i1 %122, label %123, label %124
123: ; preds = %120
br label %92
124: ; preds = %120, %92
%125 = load i32, ptr @nearnd_.lp1, align 4
store i32 %125, ptr @nearnd_.l, align 4
%126 = load i32, ptr @nearnd_.l, align 4
%127 = sub nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %128
store i32 0, ptr %129, align 4
%130 = load i32, ptr @nearnd_.l, align 4
%131 = sub nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %132
store i32 1, ptr %133, align 4
br label %134
134: ; preds = %124, %76
store i32 1, ptr @nearnd_.lp2, align 4
%135 = load i32, ptr @nearnd_.i1, align 4
store i32 %135, ptr @nearnd_.n2, align 4
%136 = load i32, ptr @nearnd_.lptrp, align 16
store i32 %136, ptr @nearnd_.lp1, align 4
%137 = load i32, ptr @nearnd_.lp1, align 4
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %139
%141 = load i32, ptr %140, align 4
store i32 %141, ptr @nearnd_.n1, align 4
br label %142
142: ; preds = %334, %294, %134
%143 = load ptr, ptr %20, align 8
%144 = load i32, ptr @nearnd_.n1, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %143, i64 %145
%147 = load ptr, ptr %18, align 8
%148 = getelementptr inbounds i32, ptr %147, i64 1
%149 = load ptr, ptr %19, align 8
%150 = getelementptr inbounds i32, ptr %149, i64 1
%151 = call i32 @lstptr_(ptr noundef %146, ptr noundef @nearnd_.n2, ptr noundef %148, ptr noundef %150)
store i32 %151, ptr @nearnd_.lp, align 4
%152 = load ptr, ptr %18, align 8
%153 = load i32, ptr @nearnd_.lp, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4
%157 = icmp slt i32 %156, 0
br i1 %157, label %158, label %159
158: ; preds = %142
br label %314
159: ; preds = %142
%160 = load ptr, ptr %19, align 8
%161 = load i32, ptr @nearnd_.lp, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %160, i64 %162
%164 = load i32, ptr %163, align 4
store i32 %164, ptr @nearnd_.lp, align 4
%165 = load ptr, ptr %18, align 8
%166 = load i32, ptr @nearnd_.lp, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
%169 = load i32, ptr %168, align 4
store i32 %169, ptr %23, align 4
%170 = load i32, ptr %23, align 4
%171 = icmp sge i32 %170, 0
br i1 %171, label %172, label %174
172: ; preds = %159
%173 = load i32, ptr %23, align 4
br label %177
174: ; preds = %159
%175 = load i32, ptr %23, align 4
%176 = sub nsw i32 0, %175
br label %177
177: ; preds = %174, %172
%178 = phi i32 [ %173, %172 ], [ %176, %174 ]
store i32 %178, ptr @nearnd_.n3, align 4
%179 = load i32, ptr @nearnd_.l, align 4
%180 = icmp eq i32 %179, 25
br i1 %180, label %181, label %182
181: ; preds = %177
br label %335
182: ; preds = %177
%183 = load ptr, ptr %15, align 8
%184 = load i32, ptr @nearnd_.n1, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
%187 = load double, ptr %186, align 8
%188 = load ptr, ptr %12, align 8
%189 = getelementptr inbounds double, ptr %188, i64 1
%190 = load double, ptr %189, align 8
%191 = fsub double %187, %190
store double %191, ptr @nearnd_.dx1, align 8
%192 = load ptr, ptr %16, align 8
%193 = load i32, ptr @nearnd_.n1, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds double, ptr %192, i64 %194
%196 = load double, ptr %195, align 8
%197 = load ptr, ptr %12, align 8
%198 = getelementptr inbounds double, ptr %197, i64 2
%199 = load double, ptr %198, align 8
%200 = fsub double %196, %199
store double %200, ptr @nearnd_.dy1, align 8
%201 = load ptr, ptr %17, align 8
%202 = load i32, ptr @nearnd_.n1, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, ptr %201, i64 %203
%205 = load double, ptr %204, align 8
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds double, ptr %206, i64 3
%208 = load double, ptr %207, align 8
%209 = fsub double %205, %208
store double %209, ptr @nearnd_.dz1, align 8
%210 = load ptr, ptr %15, align 8
%211 = load i32, ptr @nearnd_.n2, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
%214 = load double, ptr %213, align 8
%215 = load ptr, ptr %12, align 8
%216 = getelementptr inbounds double, ptr %215, i64 1
%217 = load double, ptr %216, align 8
%218 = fsub double %214, %217
store double %218, ptr @nearnd_.dx2, align 8
%219 = load ptr, ptr %16, align 8
%220 = load i32, ptr @nearnd_.n2, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds double, ptr %219, i64 %221
%223 = load double, ptr %222, align 8
%224 = load ptr, ptr %12, align 8
%225 = getelementptr inbounds double, ptr %224, i64 2
%226 = load double, ptr %225, align 8
%227 = fsub double %223, %226
store double %227, ptr @nearnd_.dy2, align 8
%228 = load ptr, ptr %17, align 8
%229 = load i32, ptr @nearnd_.n2, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds double, ptr %228, i64 %230
%232 = load double, ptr %231, align 8
%233 = load ptr, ptr %12, align 8
%234 = getelementptr inbounds double, ptr %233, i64 3
%235 = load double, ptr %234, align 8
%236 = fsub double %232, %235
store double %236, ptr @nearnd_.dz2, align 8
%237 = load ptr, ptr %15, align 8
%238 = load i32, ptr @nearnd_.n3, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds double, ptr %237, i64 %239
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %12, align 8
%243 = getelementptr inbounds double, ptr %242, i64 1
%244 = load double, ptr %243, align 8
%245 = fsub double %241, %244
store double %245, ptr @nearnd_.dx3, align 8
%246 = load ptr, ptr %16, align 8
%247 = load i32, ptr @nearnd_.n3, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds double, ptr %246, i64 %248
%250 = load double, ptr %249, align 8
%251 = load ptr, ptr %12, align 8
%252 = getelementptr inbounds double, ptr %251, i64 2
%253 = load double, ptr %252, align 8
%254 = fsub double %250, %253
store double %254, ptr @nearnd_.dy3, align 8
%255 = load ptr, ptr %17, align 8
%256 = load i32, ptr @nearnd_.n3, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds double, ptr %255, i64 %257
%259 = load double, ptr %258, align 8
%260 = load ptr, ptr %12, align 8
%261 = getelementptr inbounds double, ptr %260, i64 3
%262 = load double, ptr %261, align 8
%263 = fsub double %259, %262
store double %263, ptr @nearnd_.dz3, align 8
%264 = load double, ptr @nearnd_.dx3, align 8
%265 = load double, ptr @nearnd_.dy2, align 8
%266 = load double, ptr @nearnd_.dz1, align 8
%267 = load double, ptr @nearnd_.dy1, align 8
%268 = load double, ptr @nearnd_.dz2, align 8
%269 = fmul double %267, %268
%270 = fneg double %269
%271 = call double @llvm.fmuladd.f64(double %265, double %266, double %270)
%272 = load double, ptr @nearnd_.dy3, align 8
%273 = load double, ptr @nearnd_.dx2, align 8
%274 = load double, ptr @nearnd_.dz1, align 8
%275 = load double, ptr @nearnd_.dx1, align 8
%276 = load double, ptr @nearnd_.dz2, align 8
%277 = fmul double %275, %276
%278 = fneg double %277
%279 = call double @llvm.fmuladd.f64(double %273, double %274, double %278)
%280 = fmul double %272, %279
%281 = fneg double %280
%282 = call double @llvm.fmuladd.f64(double %264, double %271, double %281)
%283 = load double, ptr @nearnd_.dz3, align 8
%284 = load double, ptr @nearnd_.dx2, align 8
%285 = load double, ptr @nearnd_.dy1, align 8
%286 = load double, ptr @nearnd_.dx1, align 8
%287 = load double, ptr @nearnd_.dy2, align 8
%288 = fmul double %286, %287
%289 = fneg double %288
%290 = call double @llvm.fmuladd.f64(double %284, double %285, double %289)
%291 = call double @llvm.fmuladd.f64(double %283, double %290, double %282)
%292 = fcmp ole double %291, 0.000000e+00
br i1 %292, label %293, label %294
293: ; preds = %182
br label %314
294: ; preds = %182
%295 = load i32, ptr @nearnd_.l, align 4
%296 = add nsw i32 %295, 1
store i32 %296, ptr @nearnd_.l, align 4
%297 = load i32, ptr @nearnd_.l, align 4
%298 = load i32, ptr @nearnd_.lp2, align 4
%299 = sub nsw i32 %298, 1
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %300
store i32 %297, ptr %301, align 4
%302 = load i32, ptr @nearnd_.n3, align 4
%303 = load i32, ptr @nearnd_.l, align 4
%304 = sub nsw i32 %303, 1
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %305
store i32 %302, ptr %306, align 4
%307 = load i32, ptr @nearnd_.lp1, align 4
%308 = load i32, ptr @nearnd_.l, align 4
%309 = sub nsw i32 %308, 1
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %310
store i32 %307, ptr %311, align 4
%312 = load i32, ptr @nearnd_.l, align 4
store i32 %312, ptr @nearnd_.lp1, align 4
%313 = load i32, ptr @nearnd_.n3, align 4
store i32 %313, ptr @nearnd_.n1, align 4
br label %142
314: ; preds = %293, %158
%315 = load i32, ptr @nearnd_.lp1, align 4
%316 = icmp eq i32 %315, 1
br i1 %316, label %317, label %318
317: ; preds = %314
br label %335
318: ; preds = %314
%319 = load i32, ptr @nearnd_.lp1, align 4
store i32 %319, ptr @nearnd_.lp2, align 4
%320 = load i32, ptr @nearnd_.n1, align 4
store i32 %320, ptr @nearnd_.n2, align 4
%321 = load i32, ptr @nearnd_.lp1, align 4
%322 = sub nsw i32 %321, 1
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %323
%325 = load i32, ptr %324, align 4
store i32 %325, ptr @nearnd_.lp1, align 4
%326 = load i32, ptr @nearnd_.lp1, align 4
%327 = sub nsw i32 %326, 1
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %328
%330 = load i32, ptr %329, align 4
store i32 %330, ptr @nearnd_.n1, align 4
%331 = load i32, ptr @nearnd_.n1, align 4
%332 = icmp eq i32 %331, 0
br i1 %332, label %333, label %334
333: ; preds = %318
br label %335
334: ; preds = %318
br label %142
335: ; preds = %333, %317, %181
%336 = load i32, ptr @nearnd_.i1, align 4
store i32 %336, ptr @nearnd_.nr, align 4
%337 = load ptr, ptr %15, align 8
%338 = load i32, ptr @nearnd_.nr, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds double, ptr %337, i64 %339
%341 = load double, ptr %340, align 8
%342 = load ptr, ptr %12, align 8
%343 = getelementptr inbounds double, ptr %342, i64 1
%344 = load double, ptr %343, align 8
%345 = load ptr, ptr %16, align 8
%346 = load i32, ptr @nearnd_.nr, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds double, ptr %345, i64 %347
%349 = load double, ptr %348, align 8
%350 = load ptr, ptr %12, align 8
%351 = getelementptr inbounds double, ptr %350, i64 2
%352 = load double, ptr %351, align 8
%353 = fmul double %349, %352
%354 = call double @llvm.fmuladd.f64(double %341, double %344, double %353)
%355 = load ptr, ptr %17, align 8
%356 = load i32, ptr @nearnd_.nr, align 4
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds double, ptr %355, i64 %357
%359 = load double, ptr %358, align 8
%360 = load ptr, ptr %12, align 8
%361 = getelementptr inbounds double, ptr %360, i64 3
%362 = load double, ptr %361, align 8
%363 = call double @llvm.fmuladd.f64(double %359, double %362, double %354)
%364 = fneg double %363
store double %364, ptr @nearnd_.dsr, align 8
%365 = load i32, ptr @nearnd_.l, align 4
store i32 %365, ptr %23, align 4
store i32 2, ptr @nearnd_.lp, align 4
br label %366
366: ; preds = %416, %335
%367 = load i32, ptr @nearnd_.lp, align 4
%368 = load i32, ptr %23, align 4
%369 = icmp sle i32 %367, %368
br i1 %369, label %370, label %419
370: ; preds = %366
%371 = load i32, ptr @nearnd_.lp, align 4
%372 = sub nsw i32 %371, 1
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %373
%375 = load i32, ptr %374, align 4
store i32 %375, ptr @nearnd_.n1, align 4
%376 = load i32, ptr @nearnd_.n1, align 4
%377 = icmp eq i32 %376, 0
br i1 %377, label %378, label %379
378: ; preds = %370
br label %415
379: ; preds = %370
%380 = load ptr, ptr %15, align 8
%381 = load i32, ptr @nearnd_.n1, align 4
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds double, ptr %380, i64 %382
%384 = load double, ptr %383, align 8
%385 = load ptr, ptr %12, align 8
%386 = getelementptr inbounds double, ptr %385, i64 1
%387 = load double, ptr %386, align 8
%388 = load ptr, ptr %16, align 8
%389 = load i32, ptr @nearnd_.n1, align 4
%390 = sext i32 %389 to i64
%391 = getelementptr inbounds double, ptr %388, i64 %390
%392 = load double, ptr %391, align 8
%393 = load ptr, ptr %12, align 8
%394 = getelementptr inbounds double, ptr %393, i64 2
%395 = load double, ptr %394, align 8
%396 = fmul double %392, %395
%397 = call double @llvm.fmuladd.f64(double %384, double %387, double %396)
%398 = load ptr, ptr %17, align 8
%399 = load i32, ptr @nearnd_.n1, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds double, ptr %398, i64 %400
%402 = load double, ptr %401, align 8
%403 = load ptr, ptr %12, align 8
%404 = getelementptr inbounds double, ptr %403, i64 3
%405 = load double, ptr %404, align 8
%406 = call double @llvm.fmuladd.f64(double %402, double %405, double %397)
%407 = fneg double %406
store double %407, ptr @nearnd_.ds1, align 8
%408 = load double, ptr @nearnd_.ds1, align 8
%409 = load double, ptr @nearnd_.dsr, align 8
%410 = fcmp olt double %408, %409
br i1 %410, label %411, label %414
411: ; preds = %379
%412 = load i32, ptr @nearnd_.n1, align 4
store i32 %412, ptr @nearnd_.nr, align 4
%413 = load double, ptr @nearnd_.ds1, align 8
store double %413, ptr @nearnd_.dsr, align 8
br label %414
414: ; preds = %411, %379
br label %415
415: ; preds = %414, %378
br label %416
416: ; preds = %415
%417 = load i32, ptr @nearnd_.lp, align 4
%418 = add nsw i32 %417, 1
store i32 %418, ptr @nearnd_.lp, align 4
br label %366, !llvm.loop !6
419: ; preds = %366
%420 = load double, ptr @nearnd_.dsr, align 8
%421 = fneg double %420
store double %421, ptr @nearnd_.dsr, align 8
%422 = load double, ptr @nearnd_.dsr, align 8
%423 = fcmp ogt double %422, 1.000000e+00
br i1 %423, label %424, label %425
424: ; preds = %419
store double 1.000000e+00, ptr @nearnd_.dsr, align 8
br label %425
425: ; preds = %424, %419
%426 = load double, ptr @nearnd_.dsr, align 8
%427 = call double @acos(double noundef %426) #4
%428 = load ptr, ptr %21, align 8
store double %427, ptr %428, align 8
%429 = load i32, ptr @nearnd_.nr, align 4
store i32 %429, ptr %22, align 4
%430 = load i32, ptr %22, align 4
store i32 %430, ptr %11, align 4
br label %433
431: ; preds = %72, %42
store i32 0, ptr %22, align 4
%432 = load i32, ptr %22, align 4
store i32 %432, ptr %11, align 4
br label %433
433: ; preds = %431, %425
%434 = load i32, ptr %11, align 4
ret i32 %434
}
declare i32 @trfind_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lstptr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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 @acos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree 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/tmpuwue7zug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nearnd_.l = internal global i32 0, align 4
@nearnd_.b1 = internal global double 0.000000e+00, align 8
@nearnd_.b2 = internal global double 0.000000e+00, align 8
@nearnd_.b3 = internal global double 0.000000e+00, align 8
@nearnd_.i1 = internal global i32 0, align 4
@nearnd_.i2 = internal global i32 0, align 4
@nearnd_.i3 = internal global i32 0, align 4
@nearnd_.n1 = internal global i32 0, align 4
@nearnd_.n2 = internal global i32 0, align 4
@nearnd_.n3 = internal global i32 0, align 4
@nearnd_.lp = internal global i32 0, align 4
@nearnd_.nn = internal global i32 0, align 4
@nearnd_.nr = internal global i32 0, align 4
@nearnd_.ds1 = internal global double 0.000000e+00, align 8
@nearnd_.lp1 = internal global i32 0, align 4
@nearnd_.lp2 = internal global i32 0, align 4
@nearnd_.dx1 = internal global double 0.000000e+00, align 8
@nearnd_.dx2 = internal global double 0.000000e+00, align 8
@nearnd_.dx3 = internal global double 0.000000e+00, align 8
@nearnd_.dy1 = internal global double 0.000000e+00, align 8
@nearnd_.dy2 = internal global double 0.000000e+00, align 8
@nearnd_.dy3 = internal global double 0.000000e+00, align 8
@nearnd_.dz1 = internal global double 0.000000e+00, align 8
@nearnd_.dz2 = internal global double 0.000000e+00, align 8
@nearnd_.dz3 = internal global double 0.000000e+00, align 8
@nearnd_.lpl = internal global i32 0, align 4
@nearnd_.dsr = internal global double 0.000000e+00, align 8
@nearnd_.nst = internal global i32 0, align 4
@nearnd_.listp = internal global [25 x i32] zeroinitializer, align 16
@nearnd_.lptrp = internal global [25 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nearnd_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds double, ptr %24, i32 -1
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %20, align 8
%27 = getelementptr inbounds i32, ptr %26, i32 -1
store ptr %27, ptr %20, align 8
%28 = load ptr, ptr %17, align 8
%29 = getelementptr inbounds double, ptr %28, i32 -1
store ptr %29, ptr %17, align 8
%30 = load ptr, ptr %16, align 8
%31 = getelementptr inbounds double, ptr %30, i32 -1
store ptr %31, ptr %16, align 8
%32 = load ptr, ptr %15, align 8
%33 = getelementptr inbounds double, ptr %32, i32 -1
store ptr %33, ptr %15, align 8
%34 = load ptr, ptr %18, align 8
%35 = getelementptr inbounds i32, ptr %34, i32 -1
store ptr %35, ptr %18, align 8
%36 = load ptr, ptr %19, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 -1
store ptr %37, ptr %19, align 8
%38 = load ptr, ptr %14, align 8
%39 = load i32, ptr %38, align 4
store i32 %39, ptr @nearnd_.nn, align 4
%40 = load i32, ptr @nearnd_.nn, align 4
%41 = icmp slt i32 %40, 3
br i1 %41, label %42, label %43
42: ; preds = %10
br label %432
43: ; preds = %10
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %44, align 4
store i32 %45, ptr @nearnd_.nst, align 4
%46 = load i32, ptr @nearnd_.nst, align 4
%47 = icmp slt i32 %46, 1
br i1 %47, label %52, label %48
48: ; preds = %43
%49 = load i32, ptr @nearnd_.nst, align 4
%50 = load i32, ptr @nearnd_.nn, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48, %43
store i32 1, ptr @nearnd_.nst, align 4
br label %53
53: ; preds = %52, %48
%54 = load ptr, ptr %12, align 8
%55 = getelementptr inbounds double, ptr %54, i64 1
%56 = load ptr, ptr %14, align 8
%57 = load ptr, ptr %15, align 8
%58 = getelementptr inbounds double, ptr %57, i64 1
%59 = load ptr, ptr %16, align 8
%60 = getelementptr inbounds double, ptr %59, i64 1
%61 = load ptr, ptr %17, align 8
%62 = getelementptr inbounds double, ptr %61, i64 1
%63 = load ptr, ptr %18, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 1
%65 = load ptr, ptr %19, align 8
%66 = getelementptr inbounds i32, ptr %65, i64 1
%67 = load ptr, ptr %20, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 1
%69 = call i32 @trfind_(ptr noundef @nearnd_.nst, ptr noundef %55, ptr noundef %56, ptr noundef %58, ptr noundef %60, ptr noundef %62, ptr noundef %64, ptr noundef %66, ptr noundef %68, ptr noundef @nearnd_.b1, ptr noundef @nearnd_.b2, ptr noundef @nearnd_.b3, ptr noundef @nearnd_.i1, ptr noundef @nearnd_.i2, ptr noundef @nearnd_.i3)
%70 = load i32, ptr @nearnd_.i1, align 4
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %53
br label %432
73: ; preds = %53
%74 = load i32, ptr @nearnd_.i3, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %73
%77 = load i32, ptr @nearnd_.i1, align 4
store i32 %77, ptr @nearnd_.listp, align 16
store i32 2, ptr @nearnd_.lptrp, align 16
%78 = load i32, ptr @nearnd_.i2, align 4
store i32 %78, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.listp, i64 0, i64 1), align 4
store i32 3, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.lptrp, i64 0, i64 1), align 4
%79 = load i32, ptr @nearnd_.i3, align 4
store i32 %79, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.listp, i64 0, i64 2), align 8
store i32 1, ptr getelementptr inbounds ([25 x i32], ptr @nearnd_.lptrp, i64 0, i64 2), align 8
store i32 3, ptr @nearnd_.l, align 4
br label %133
80: ; preds = %73
%81 = load i32, ptr @nearnd_.i1, align 4
store i32 %81, ptr @nearnd_.n1, align 4
store i32 1, ptr @nearnd_.l, align 4
store i32 2, ptr @nearnd_.lp1, align 4
%82 = load i32, ptr @nearnd_.n1, align 4
%83 = load i32, ptr @nearnd_.l, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %85
store i32 %82, ptr %86, align 4
%87 = load i32, ptr @nearnd_.lp1, align 4
%88 = load i32, ptr @nearnd_.l, align 4
%89 = sub nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %90
store i32 %87, ptr %91, align 4
br label %92
92: ; preds = %120, %80
%93 = load ptr, ptr %20, align 8
%94 = load i32, ptr @nearnd_.n1, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
store i32 %97, ptr @nearnd_.lpl, align 4
%98 = load ptr, ptr %18, align 8
%99 = load i32, ptr @nearnd_.lpl, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = sub nsw i32 0, %102
store i32 %103, ptr @nearnd_.n1, align 4
%104 = load i32, ptr @nearnd_.lp1, align 4
store i32 %104, ptr @nearnd_.l, align 4
%105 = load i32, ptr @nearnd_.l, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr @nearnd_.lp1, align 4
%107 = load i32, ptr @nearnd_.n1, align 4
%108 = load i32, ptr @nearnd_.l, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %110
store i32 %107, ptr %111, align 4
%112 = load i32, ptr @nearnd_.lp1, align 4
%113 = load i32, ptr @nearnd_.l, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %115
store i32 %112, ptr %116, align 4
%117 = load i32, ptr @nearnd_.n1, align 4
%118 = load i32, ptr @nearnd_.i2, align 4
%119 = icmp ne i32 %117, %118
br i1 %119, label %120, label %123
120: ; preds = %92
%121 = load i32, ptr @nearnd_.lp1, align 4
%122 = icmp slt i32 %121, 25
br i1 %122, label %92, label %123
123: ; preds = %120, %92
%124 = load i32, ptr @nearnd_.lp1, align 4
store i32 %124, ptr @nearnd_.l, align 4
%125 = load i32, ptr @nearnd_.l, align 4
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %127
store i32 0, ptr %128, align 4
%129 = load i32, ptr @nearnd_.l, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %131
store i32 1, ptr %132, align 4
br label %133
133: ; preds = %123, %76
store i32 1, ptr @nearnd_.lp2, align 4
%134 = load i32, ptr @nearnd_.i1, align 4
store i32 %134, ptr @nearnd_.n2, align 4
%135 = load i32, ptr @nearnd_.lptrp, align 16
store i32 %135, ptr @nearnd_.lp1, align 4
%136 = load i32, ptr @nearnd_.lp1, align 4
%137 = sub nsw i32 %136, 1
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %138
%140 = load i32, ptr %139, align 4
store i32 %140, ptr @nearnd_.n1, align 4
br label %141
141: ; preds = %.backedge, %133
%142 = load ptr, ptr %20, align 8
%143 = load i32, ptr @nearnd_.n1, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %142, i64 %144
%146 = load ptr, ptr %18, align 8
%147 = getelementptr inbounds i32, ptr %146, i64 1
%148 = load ptr, ptr %19, align 8
%149 = getelementptr inbounds i32, ptr %148, i64 1
%150 = call i32 @lstptr_(ptr noundef %145, ptr noundef @nearnd_.n2, ptr noundef %147, ptr noundef %149)
store i32 %150, ptr @nearnd_.lp, align 4
%151 = load ptr, ptr %18, align 8
%152 = load i32, ptr @nearnd_.lp, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i32, ptr %151, i64 %153
%155 = load i32, ptr %154, align 4
%156 = icmp slt i32 %155, 0
br i1 %156, label %157, label %158
157: ; preds = %141
br label %313
158: ; preds = %141
%159 = load ptr, ptr %19, align 8
%160 = load i32, ptr @nearnd_.lp, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i32, ptr %159, i64 %161
%163 = load i32, ptr %162, align 4
store i32 %163, ptr @nearnd_.lp, align 4
%164 = load ptr, ptr %18, align 8
%165 = load i32, ptr @nearnd_.lp, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i32, ptr %164, i64 %166
%168 = load i32, ptr %167, align 4
store i32 %168, ptr %23, align 4
%169 = load i32, ptr %23, align 4
%170 = icmp sge i32 %169, 0
br i1 %170, label %171, label %173
171: ; preds = %158
%172 = load i32, ptr %23, align 4
br label %176
173: ; preds = %158
%174 = load i32, ptr %23, align 4
%175 = sub nsw i32 0, %174
br label %176
176: ; preds = %173, %171
%177 = phi i32 [ %172, %171 ], [ %175, %173 ]
store i32 %177, ptr @nearnd_.n3, align 4
%178 = load i32, ptr @nearnd_.l, align 4
%179 = icmp eq i32 %178, 25
br i1 %179, label %180, label %181
180: ; preds = %176
br label %334
181: ; preds = %176
%182 = load ptr, ptr %15, align 8
%183 = load i32, ptr @nearnd_.n1, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, ptr %182, i64 %184
%186 = load double, ptr %185, align 8
%187 = load ptr, ptr %12, align 8
%188 = getelementptr inbounds double, ptr %187, i64 1
%189 = load double, ptr %188, align 8
%190 = fsub double %186, %189
store double %190, ptr @nearnd_.dx1, align 8
%191 = load ptr, ptr %16, align 8
%192 = load i32, ptr @nearnd_.n1, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, ptr %191, i64 %193
%195 = load double, ptr %194, align 8
%196 = load ptr, ptr %12, align 8
%197 = getelementptr inbounds double, ptr %196, i64 2
%198 = load double, ptr %197, align 8
%199 = fsub double %195, %198
store double %199, ptr @nearnd_.dy1, align 8
%200 = load ptr, ptr %17, align 8
%201 = load i32, ptr @nearnd_.n1, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds double, ptr %200, i64 %202
%204 = load double, ptr %203, align 8
%205 = load ptr, ptr %12, align 8
%206 = getelementptr inbounds double, ptr %205, i64 3
%207 = load double, ptr %206, align 8
%208 = fsub double %204, %207
store double %208, ptr @nearnd_.dz1, align 8
%209 = load ptr, ptr %15, align 8
%210 = load i32, ptr @nearnd_.n2, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds double, ptr %209, i64 %211
%213 = load double, ptr %212, align 8
%214 = load ptr, ptr %12, align 8
%215 = getelementptr inbounds double, ptr %214, i64 1
%216 = load double, ptr %215, align 8
%217 = fsub double %213, %216
store double %217, ptr @nearnd_.dx2, align 8
%218 = load ptr, ptr %16, align 8
%219 = load i32, ptr @nearnd_.n2, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds double, ptr %218, i64 %220
%222 = load double, ptr %221, align 8
%223 = load ptr, ptr %12, align 8
%224 = getelementptr inbounds double, ptr %223, i64 2
%225 = load double, ptr %224, align 8
%226 = fsub double %222, %225
store double %226, ptr @nearnd_.dy2, align 8
%227 = load ptr, ptr %17, align 8
%228 = load i32, ptr @nearnd_.n2, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, ptr %227, i64 %229
%231 = load double, ptr %230, align 8
%232 = load ptr, ptr %12, align 8
%233 = getelementptr inbounds double, ptr %232, i64 3
%234 = load double, ptr %233, align 8
%235 = fsub double %231, %234
store double %235, ptr @nearnd_.dz2, align 8
%236 = load ptr, ptr %15, align 8
%237 = load i32, ptr @nearnd_.n3, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds double, ptr %236, i64 %238
%240 = load double, ptr %239, align 8
%241 = load ptr, ptr %12, align 8
%242 = getelementptr inbounds double, ptr %241, i64 1
%243 = load double, ptr %242, align 8
%244 = fsub double %240, %243
store double %244, ptr @nearnd_.dx3, align 8
%245 = load ptr, ptr %16, align 8
%246 = load i32, ptr @nearnd_.n3, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds double, ptr %245, i64 %247
%249 = load double, ptr %248, align 8
%250 = load ptr, ptr %12, align 8
%251 = getelementptr inbounds double, ptr %250, i64 2
%252 = load double, ptr %251, align 8
%253 = fsub double %249, %252
store double %253, ptr @nearnd_.dy3, align 8
%254 = load ptr, ptr %17, align 8
%255 = load i32, ptr @nearnd_.n3, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %254, i64 %256
%258 = load double, ptr %257, align 8
%259 = load ptr, ptr %12, align 8
%260 = getelementptr inbounds double, ptr %259, i64 3
%261 = load double, ptr %260, align 8
%262 = fsub double %258, %261
store double %262, ptr @nearnd_.dz3, align 8
%263 = load double, ptr @nearnd_.dx3, align 8
%264 = load double, ptr @nearnd_.dy2, align 8
%265 = load double, ptr @nearnd_.dz1, align 8
%266 = load double, ptr @nearnd_.dy1, align 8
%267 = load double, ptr @nearnd_.dz2, align 8
%268 = fmul double %266, %267
%269 = fneg double %268
%270 = call double @llvm.fmuladd.f64(double %264, double %265, double %269)
%271 = load double, ptr @nearnd_.dy3, align 8
%272 = load double, ptr @nearnd_.dx2, align 8
%273 = load double, ptr @nearnd_.dz1, align 8
%274 = load double, ptr @nearnd_.dx1, align 8
%275 = load double, ptr @nearnd_.dz2, align 8
%276 = fmul double %274, %275
%277 = fneg double %276
%278 = call double @llvm.fmuladd.f64(double %272, double %273, double %277)
%279 = fmul double %271, %278
%280 = fneg double %279
%281 = call double @llvm.fmuladd.f64(double %263, double %270, double %280)
%282 = load double, ptr @nearnd_.dz3, align 8
%283 = load double, ptr @nearnd_.dx2, align 8
%284 = load double, ptr @nearnd_.dy1, align 8
%285 = load double, ptr @nearnd_.dx1, align 8
%286 = load double, ptr @nearnd_.dy2, align 8
%287 = fmul double %285, %286
%288 = fneg double %287
%289 = call double @llvm.fmuladd.f64(double %283, double %284, double %288)
%290 = call double @llvm.fmuladd.f64(double %282, double %289, double %281)
%291 = fcmp ole double %290, 0.000000e+00
br i1 %291, label %292, label %293
292: ; preds = %181
br label %313
293: ; preds = %181
%294 = load i32, ptr @nearnd_.l, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr @nearnd_.l, align 4
%296 = load i32, ptr @nearnd_.l, align 4
%297 = load i32, ptr @nearnd_.lp2, align 4
%298 = sub nsw i32 %297, 1
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %299
store i32 %296, ptr %300, align 4
%301 = load i32, ptr @nearnd_.n3, align 4
%302 = load i32, ptr @nearnd_.l, align 4
%303 = sub nsw i32 %302, 1
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %304
store i32 %301, ptr %305, align 4
%306 = load i32, ptr @nearnd_.lp1, align 4
%307 = load i32, ptr @nearnd_.l, align 4
%308 = sub nsw i32 %307, 1
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %309
store i32 %306, ptr %310, align 4
%311 = load i32, ptr @nearnd_.l, align 4
store i32 %311, ptr @nearnd_.lp1, align 4
%312 = load i32, ptr @nearnd_.n3, align 4
store i32 %312, ptr @nearnd_.n1, align 4
br label %.backedge
.backedge: ; preds = %293, %333
br label %141
313: ; preds = %292, %157
%314 = load i32, ptr @nearnd_.lp1, align 4
%315 = icmp eq i32 %314, 1
br i1 %315, label %316, label %317
316: ; preds = %313
br label %334
317: ; preds = %313
%318 = load i32, ptr @nearnd_.lp1, align 4
store i32 %318, ptr @nearnd_.lp2, align 4
%319 = load i32, ptr @nearnd_.n1, align 4
store i32 %319, ptr @nearnd_.n2, align 4
%320 = load i32, ptr @nearnd_.lp1, align 4
%321 = sub nsw i32 %320, 1
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds [25 x i32], ptr @nearnd_.lptrp, i64 0, i64 %322
%324 = load i32, ptr %323, align 4
store i32 %324, ptr @nearnd_.lp1, align 4
%325 = load i32, ptr @nearnd_.lp1, align 4
%326 = sub nsw i32 %325, 1
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %327
%329 = load i32, ptr %328, align 4
store i32 %329, ptr @nearnd_.n1, align 4
%330 = load i32, ptr @nearnd_.n1, align 4
%331 = icmp eq i32 %330, 0
br i1 %331, label %332, label %333
332: ; preds = %317
br label %334
333: ; preds = %317
br label %.backedge
334: ; preds = %332, %316, %180
%335 = load i32, ptr @nearnd_.i1, align 4
store i32 %335, ptr @nearnd_.nr, align 4
%336 = load ptr, ptr %15, align 8
%337 = load i32, ptr @nearnd_.nr, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %336, i64 %338
%340 = load double, ptr %339, align 8
%341 = load ptr, ptr %12, align 8
%342 = getelementptr inbounds double, ptr %341, i64 1
%343 = load double, ptr %342, align 8
%344 = load ptr, ptr %16, align 8
%345 = load i32, ptr @nearnd_.nr, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds double, ptr %344, i64 %346
%348 = load double, ptr %347, align 8
%349 = load ptr, ptr %12, align 8
%350 = getelementptr inbounds double, ptr %349, i64 2
%351 = load double, ptr %350, align 8
%352 = fmul double %348, %351
%353 = call double @llvm.fmuladd.f64(double %340, double %343, double %352)
%354 = load ptr, ptr %17, align 8
%355 = load i32, ptr @nearnd_.nr, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds double, ptr %354, i64 %356
%358 = load double, ptr %357, align 8
%359 = load ptr, ptr %12, align 8
%360 = getelementptr inbounds double, ptr %359, i64 3
%361 = load double, ptr %360, align 8
%362 = call double @llvm.fmuladd.f64(double %358, double %361, double %353)
%363 = fneg double %362
store double %363, ptr @nearnd_.dsr, align 8
%364 = load i32, ptr @nearnd_.l, align 4
store i32 %364, ptr %23, align 4
store i32 2, ptr @nearnd_.lp, align 4
%365 = load i32, ptr @nearnd_.lp, align 4
%366 = load i32, ptr %23, align 4
%367 = icmp sle i32 %365, %366
br i1 %367, label %.lr.ph, label %420
.lr.ph: ; preds = %334
br label %368
368: ; preds = %.lr.ph, %414
%369 = load i32, ptr @nearnd_.lp, align 4
%370 = sub nsw i32 %369, 1
%371 = sext i32 %370 to i64
%372 = getelementptr inbounds [25 x i32], ptr @nearnd_.listp, i64 0, i64 %371
%373 = load i32, ptr %372, align 4
store i32 %373, ptr @nearnd_.n1, align 4
%374 = load i32, ptr @nearnd_.n1, align 4
%375 = icmp eq i32 %374, 0
br i1 %375, label %376, label %377
376: ; preds = %368
br label %413
377: ; preds = %368
%378 = load ptr, ptr %15, align 8
%379 = load i32, ptr @nearnd_.n1, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds double, ptr %378, i64 %380
%382 = load double, ptr %381, align 8
%383 = load ptr, ptr %12, align 8
%384 = getelementptr inbounds double, ptr %383, i64 1
%385 = load double, ptr %384, align 8
%386 = load ptr, ptr %16, align 8
%387 = load i32, ptr @nearnd_.n1, align 4
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds double, ptr %386, i64 %388
%390 = load double, ptr %389, align 8
%391 = load ptr, ptr %12, align 8
%392 = getelementptr inbounds double, ptr %391, i64 2
%393 = load double, ptr %392, align 8
%394 = fmul double %390, %393
%395 = call double @llvm.fmuladd.f64(double %382, double %385, double %394)
%396 = load ptr, ptr %17, align 8
%397 = load i32, ptr @nearnd_.n1, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds double, ptr %396, i64 %398
%400 = load double, ptr %399, align 8
%401 = load ptr, ptr %12, align 8
%402 = getelementptr inbounds double, ptr %401, i64 3
%403 = load double, ptr %402, align 8
%404 = call double @llvm.fmuladd.f64(double %400, double %403, double %395)
%405 = fneg double %404
store double %405, ptr @nearnd_.ds1, align 8
%406 = load double, ptr @nearnd_.ds1, align 8
%407 = load double, ptr @nearnd_.dsr, align 8
%408 = fcmp olt double %406, %407
br i1 %408, label %409, label %412
409: ; preds = %377
%410 = load i32, ptr @nearnd_.n1, align 4
store i32 %410, ptr @nearnd_.nr, align 4
%411 = load double, ptr @nearnd_.ds1, align 8
store double %411, ptr @nearnd_.dsr, align 8
br label %412
412: ; preds = %409, %377
br label %413
413: ; preds = %412, %376
br label %414
414: ; preds = %413
%415 = load i32, ptr @nearnd_.lp, align 4
%416 = add nsw i32 %415, 1
store i32 %416, ptr @nearnd_.lp, align 4
%417 = load i32, ptr @nearnd_.lp, align 4
%418 = load i32, ptr %23, align 4
%419 = icmp sle i32 %417, %418
br i1 %419, label %368, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %414
br label %420
420: ; preds = %._crit_edge, %334
%421 = load double, ptr @nearnd_.dsr, align 8
%422 = fneg double %421
store double %422, ptr @nearnd_.dsr, align 8
%423 = load double, ptr @nearnd_.dsr, align 8
%424 = fcmp ogt double %423, 1.000000e+00
br i1 %424, label %425, label %426
425: ; preds = %420
store double 1.000000e+00, ptr @nearnd_.dsr, align 8
br label %426
426: ; preds = %425, %420
%427 = load double, ptr @nearnd_.dsr, align 8
%428 = call double @acos(double noundef %427) #4
%429 = load ptr, ptr %21, align 8
store double %428, ptr %429, align 8
%430 = load i32, ptr @nearnd_.nr, align 4
store i32 %430, ptr %22, align 4
%431 = load i32, ptr %22, align 4
store i32 %431, ptr %11, align 4
br label %434
432: ; preds = %72, %42
store i32 0, ptr %22, align 4
%433 = load i32, ptr %22, align 4
store i32 %433, ptr %11, align 4
br label %434
434: ; preds = %432, %426
%435 = load i32, ptr %11, align 4
ret i32 %435
}
declare i32 @trfind_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lstptr_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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 @acos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree 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/tmpzoezzvdx.c'
source_filename = "/tmp/tmpzoezzvdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_auto_ack_set(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 @nrf_802154_pib_auto_ack_set(i32 noundef %3)
ret void
}
declare i32 @nrf_802154_pib_auto_ack_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/tmpzoezzvdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_auto_ack_set(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 @nrf_802154_pib_auto_ack_set(i32 noundef %3)
ret void
}
declare i32 @nrf_802154_pib_auto_ack_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/tmpd0co30iv.c'
source_filename = "/tmp/tmpd0co30iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @times(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0co30iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @times(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_pubh37v.c'
source_filename = "/tmp/tmp_pubh37v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"round\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_pubh37v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"round\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp66fe45z6.c'
source_filename = "/tmp/tmp66fe45z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_del_mem_rsv(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%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 ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call ptr @_fdt_mem_rsv_w(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @_fdt_rw_check_header(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %3, align 4
br label %32
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %4, align 8
%20 = call i32 @fdt_num_mem_rsv(ptr noundef %19)
%21 = icmp sge i32 %18, %20
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr %3, align 4
br label %32
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @_fdt_splice_mem_rsv(ptr noundef %24, ptr noundef %25, i32 noundef 1, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = load i32, ptr %7, align 4
store i32 %30, ptr %3, align 4
br label %32
31: ; preds = %23
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %29, %22, %15
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare ptr @_fdt_mem_rsv_w(ptr noundef, i32 noundef) #1
declare i32 @_fdt_rw_check_header(ptr noundef) #1
declare i32 @fdt_num_mem_rsv(ptr noundef) #1
declare i32 @_fdt_splice_mem_rsv(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66fe45z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_del_mem_rsv(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%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 ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = call ptr @_fdt_mem_rsv_w(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @_fdt_rw_check_header(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %3, align 4
br label %32
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %4, align 8
%20 = call i32 @fdt_num_mem_rsv(ptr noundef %19)
%21 = icmp sge i32 %18, %20
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr %3, align 4
br label %32
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @_fdt_splice_mem_rsv(ptr noundef %24, ptr noundef %25, i32 noundef 1, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = load i32, ptr %7, align 4
store i32 %30, ptr %3, align 4
br label %32
31: ; preds = %23
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %29, %22, %15
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare ptr @_fdt_mem_rsv_w(ptr noundef, i32 noundef) #1
declare i32 @_fdt_rw_check_header(ptr noundef) #1
declare i32 @fdt_num_mem_rsv(ptr noundef) #1
declare i32 @_fdt_splice_mem_rsv(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplbbto3ij.c'
source_filename = "/tmp/tmplbbto3ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getint(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
br label %7
7: ; preds = %11, %1
%8 = call i32 (...) @getch()
store i32 %8, ptr %4, align 4
%9 = call i64 @isspace(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
br label %7, !llvm.loop !6
12: ; preds = %7
%13 = load i32, ptr %4, align 4
%14 = call i64 @isdigit(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %29, label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr @EOF, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 43
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 45
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %4, align 4
%28 = call i32 @ungetch(i32 noundef %27)
store i32 0, ptr %2, align 4
br label %101
29: ; preds = %23, %20, %16, %12
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, 45
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 -1, i32 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, 43
br i1 %35, label %39, label %36
36: ; preds = %29
%37 = load i32, ptr %4, align 4
%38 = icmp eq i32 %37, 45
br i1 %38, label %39, label %41
39: ; preds = %36, %29
%40 = call i32 (...) @getch()
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %39, %36
%42 = load ptr, ptr %3, align 8
store float 0.000000e+00, ptr %42, align 4
br label %43
43: ; preds = %57, %41
%44 = load i32, ptr %4, align 4
%45 = call i64 @isdigit(i32 noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = load ptr, ptr %3, align 8
%49 = load float, ptr %48, align 4
%50 = fpext float %49 to double
%51 = load i32, ptr %4, align 4
%52 = sub nsw i32 %51, 48
%53 = sitofp i32 %52 to double
%54 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %50, double %53)
%55 = fptrunc double %54 to float
%56 = load ptr, ptr %3, align 8
store float %55, ptr %56, align 4
br label %57
57: ; preds = %47
%58 = call i32 (...) @getch()
store i32 %58, ptr %4, align 4
br label %43, !llvm.loop !8
59: ; preds = %43
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %60, 46
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 (...) @getch()
store i32 %63, ptr %4, align 4
br label %64
64: ; preds = %62, %59
store float 1.000000e+00, ptr %6, align 4
br label %65
65: ; preds = %83, %64
%66 = load i32, ptr %4, align 4
%67 = call i64 @isdigit(i32 noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %85
69: ; preds = %65
%70 = load float, ptr %6, align 4
%71 = fpext float %70 to double
%72 = fmul double %71, 1.000000e+01
%73 = fptrunc double %72 to float
store float %73, ptr %6, align 4
%74 = load ptr, ptr %3, align 8
%75 = load float, ptr %74, align 4
%76 = fpext float %75 to double
%77 = load i32, ptr %4, align 4
%78 = sub nsw i32 %77, 48
%79 = sitofp i32 %78 to double
%80 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %76, double %79)
%81 = fptrunc double %80 to float
%82 = load ptr, ptr %3, align 8
store float %81, ptr %82, align 4
br label %83
83: ; preds = %69
%84 = call i32 (...) @getch()
store i32 %84, ptr %4, align 4
br label %65, !llvm.loop !9
85: ; preds = %65
%86 = load i32, ptr %5, align 4
%87 = sitofp i32 %86 to float
%88 = load float, ptr %6, align 4
%89 = fdiv float %87, %88
%90 = load ptr, ptr %3, align 8
%91 = load float, ptr %90, align 4
%92 = fmul float %91, %89
store float %92, ptr %90, align 4
%93 = load i32, ptr %4, align 4
%94 = load i32, ptr @EOF, align 4
%95 = icmp ne i32 %93, %94
br i1 %95, label %96, label %99
96: ; preds = %85
%97 = load i32, ptr %4, align 4
%98 = call i32 @ungetch(i32 noundef %97)
br label %99
99: ; preds = %96, %85
%100 = load i32, ptr %4, align 4
store i32 %100, ptr %2, align 4
br label %101
101: ; preds = %99, %26
%102 = load i32, ptr %2, align 4
ret i32 %102
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetch(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbbto3ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getint(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %3, align 8
br label %7
7: ; preds = %7, %1
%8 = call i32 (...) @getch()
store i32 %8, ptr %4, align 4
%9 = call i64 @isspace(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %7, label %11, !llvm.loop !6
11: ; preds = %7
%12 = load i32, ptr %4, align 4
%13 = call i64 @isdigit(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %28, label %15
15: ; preds = %11
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 43
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 45
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = call i32 @ungetch(i32 noundef %26)
store i32 0, ptr %2, align 4
br label %104
28: ; preds = %22, %19, %15, %11
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 45
%31 = zext i1 %30 to i64
%32 = select i1 %30, i32 -1, i32 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %38, label %35
35: ; preds = %28
%36 = load i32, ptr %4, align 4
%37 = icmp eq i32 %36, 45
br i1 %37, label %38, label %40
38: ; preds = %35, %28
%39 = call i32 (...) @getch()
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %38, %35
%41 = load ptr, ptr %3, align 8
store float 0.000000e+00, ptr %41, align 4
%42 = load i32, ptr %4, align 4
%43 = call i64 @isdigit(i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %.lr.ph, label %60
.lr.ph: ; preds = %40
br label %45
45: ; preds = %.lr.ph, %55
%46 = load ptr, ptr %3, align 8
%47 = load float, ptr %46, align 4
%48 = fpext float %47 to double
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 48
%51 = sitofp i32 %50 to double
%52 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %48, double %51)
%53 = fptrunc double %52 to float
%54 = load ptr, ptr %3, align 8
store float %53, ptr %54, align 4
br label %55
55: ; preds = %45
%56 = call i32 (...) @getch()
store i32 %56, ptr %4, align 4
%57 = load i32, ptr %4, align 4
%58 = call i64 @isdigit(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %45, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %55
br label %60
60: ; preds = %._crit_edge, %40
%61 = load i32, ptr %4, align 4
%62 = icmp eq i32 %61, 46
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 (...) @getch()
store i32 %64, ptr %4, align 4
br label %65
65: ; preds = %63, %60
store float 1.000000e+00, ptr %6, align 4
%66 = load i32, ptr %4, align 4
%67 = call i64 @isdigit(i32 noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %.lr.ph2, label %88
.lr.ph2: ; preds = %65
br label %69
69: ; preds = %.lr.ph2, %83
%70 = load float, ptr %6, align 4
%71 = fpext float %70 to double
%72 = fmul double %71, 1.000000e+01
%73 = fptrunc double %72 to float
store float %73, ptr %6, align 4
%74 = load ptr, ptr %3, align 8
%75 = load float, ptr %74, align 4
%76 = fpext float %75 to double
%77 = load i32, ptr %4, align 4
%78 = sub nsw i32 %77, 48
%79 = sitofp i32 %78 to double
%80 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %76, double %79)
%81 = fptrunc double %80 to float
%82 = load ptr, ptr %3, align 8
store float %81, ptr %82, align 4
br label %83
83: ; preds = %69
%84 = call i32 (...) @getch()
store i32 %84, ptr %4, align 4
%85 = load i32, ptr %4, align 4
%86 = call i64 @isdigit(i32 noundef %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %69, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %83
br label %88
88: ; preds = %._crit_edge3, %65
%89 = load i32, ptr %5, align 4
%90 = sitofp i32 %89 to float
%91 = load float, ptr %6, align 4
%92 = fdiv float %90, %91
%93 = load ptr, ptr %3, align 8
%94 = load float, ptr %93, align 4
%95 = fmul float %94, %92
store float %95, ptr %93, align 4
%96 = load i32, ptr %4, align 4
%97 = load i32, ptr @EOF, align 4
%98 = icmp ne i32 %96, %97
br i1 %98, label %99, label %102
99: ; preds = %88
%100 = load i32, ptr %4, align 4
%101 = call i32 @ungetch(i32 noundef %100)
br label %102
102: ; preds = %99, %88
%103 = load i32, ptr %4, align 4
store i32 %103, ptr %2, align 4
br label %104
104: ; preds = %102, %25
%105 = load i32, ptr %2, align 4
ret i32 %105
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetch(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_rn1160x.c'
source_filename = "/tmp/tmp_rn1160x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 19088743, ptr %2, align 4
%3 = call i32 @show_mem_rep(ptr noundef %2, i32 noundef 4)
%4 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @show_mem_rep(ptr noundef, i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_rn1160x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 19088743, ptr %2, align 4
%3 = call i32 @show_mem_rep(ptr noundef %2, i32 noundef 4)
%4 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @show_mem_rep(ptr noundef, i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_8ehg2h3.c'
source_filename = "/tmp/tmp_8ehg2h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_CAN = dso_local global i32 0, align 4
@CAN_RAW = dso_local global i32 0, align 4
@PF_CAN = dso_local global i32 0, align 4
@SIOCGIFINDEX = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8ehg2h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_CAN = dso_local global i32 0, align 4
@CAN_RAW = dso_local global i32 0, align 4
@PF_CAN = dso_local global i32 0, align 4
@SIOCGIFINDEX = dso_local global i32 0, align 4
@SOCK_RAW = 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/tmpn8fs3iih.c'
source_filename = "/tmp/tmpn8fs3iih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_int(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 = call i32 (...) @rand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = call i32 @abs(i32 noundef %9) #3
%11 = srem i32 %6, %10
%12 = add nsw i32 %5, %11
ret i32 %12
}
declare i32 @rand(...) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8fs3iih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_int(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 = call i32 (...) @rand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = call i32 @abs(i32 noundef %9) #3
%11 = srem i32 %6, %10
%12 = add nsw i32 %5, %11
ret i32 %12
}
declare i32 @rand(...) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppp_7in_8.c'
source_filename = "/tmp/tmppp_7in_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Enter the Product Code: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"RECORD FOUND!!! \0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"Poduct Code: %d \0ACost: %d\0AQuantity: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"SORRY RECORD NOT FOUND!!!! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [5 x [3 x i32]], align 16
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %26, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %29
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %14
%16 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %18
%20 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 1
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %22
%24 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 2
%25 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.2, ptr noundef %16, ptr noundef %20, ptr noundef %24)
br label %26
26: ; preds = %11
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %8, !llvm.loop !6
29: ; preds = %8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%31 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %4)
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %62, %29
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 5
br i1 %34, label %35, label %65
35: ; preds = %32
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %38
%40 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %36, %41
br i1 %42, label %43, label %61
43: ; preds = %35
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %46
%48 = getelementptr inbounds [3 x i32], ptr %47, i64 0, i64 0
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %51
%53 = getelementptr inbounds [3 x i32], ptr %52, i64 0, i64 1
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %56
%58 = getelementptr inbounds [3 x i32], ptr %57, i64 0, i64 2
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %49, i32 noundef %54, i32 noundef %59)
store i32 0, ptr %1, align 4
br label %67
61: ; preds = %35
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
br label %32, !llvm.loop !8
65: ; preds = %32
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %1, align 4
br label %67
67: ; preds = %65, %43
%68 = load i32, ptr %1, align 4
ret i32 %68
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppp_7in_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Enter the Product Code: \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"RECORD FOUND!!! \0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"Poduct Code: %d \0ACost: %d\0AQuantity: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"SORRY RECORD NOT FOUND!!!! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [5 x [3 x i32]], align 16
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %25
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %17
%19 = getelementptr inbounds [3 x i32], ptr %18, i64 0, i64 1
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %21
%23 = getelementptr inbounds [3 x i32], ptr %22, i64 0, i64 2
%24 = call i32 @fscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %15, ptr noundef %19, ptr noundef %23)
br label %25
25: ; preds = %10
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 5
br i1 %29, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%32 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %4)
store i32 0, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 5
br i1 %34, label %.lr.ph2, label %67
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %62
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %38
%40 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %36, %41
br i1 %42, label %43, label %61
43: ; preds = %35
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %46
%48 = getelementptr inbounds [3 x i32], ptr %47, i64 0, i64 0
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %51
%53 = getelementptr inbounds [3 x i32], ptr %52, i64 0, i64 1
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x [3 x i32]], ptr %6, i64 0, i64 %56
%58 = getelementptr inbounds [3 x i32], ptr %57, i64 0, i64 2
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %49, i32 noundef %54, i32 noundef %59)
store i32 0, ptr %1, align 4
br label %69
61: ; preds = %35
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %65, 5
br i1 %66, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %67
67: ; preds = %._crit_edge3, %30
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %1, align 4
br label %69
69: ; preds = %67, %43
%70 = load i32, ptr %1, align 4
ret i32 %70
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa4nn2geo.c'
source_filename = "/tmp/tmpa4nn2geo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Hello makefiles!\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"This is my first git programme\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myPrintHelloMake() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4nn2geo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Hello makefiles!\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"This is my first git programme\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myPrintHelloMake() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx82_cau7.c'
source_filename = "/tmp/tmpx82_cau7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"You should enter a valid positive integer as argument\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
br label %16
15: ; preds = %2
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %15, %10
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %28
21: ; preds = %16
%22 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%23 = load i32, ptr @stdin, align 4
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 256, i32 noundef %23)
%25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%26 = load i32, ptr %6, align 4
%27 = call i32 @decode(ptr noundef %25, i32 noundef %26)
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %21, %19
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @decode(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/tmpx82_cau7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"You should enter a valid positive integer as argument\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
br label %16
15: ; preds = %2
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %15, %10
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %28
21: ; preds = %16
%22 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%23 = load i32, ptr @stdin, align 4
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 256, i32 noundef %23)
%25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%26 = load i32, ptr %6, align 4
%27 = call i32 @decode(ptr noundef %25, i32 noundef %26)
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %21, %19
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @decode(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/tmpw01xov8q.c'
source_filename = "/tmp/tmpw01xov8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@TIMER_ABSTIME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio18/direction\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Can not open direction file.\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"out\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Can not write in direction file\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Can not open direction file.s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"in\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Can not write in direction file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_blink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timespec, align 4
store ptr %0, ptr %2, align 8
store i32 200000000, ptr %4, align 4
%6 = load i32, ptr @CLOCK_MONOTONIC, align 4
%7 = call i32 @clock_gettime(i32 noundef %6, ptr noundef %5)
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, %8
store i32 %11, ptr %9, align 4
%12 = call i32 @overflow(ptr noundef %5)
br label %13
13: ; preds = %1, %56
%14 = load i32, ptr @CLOCK_MONOTONIC, align 4
%15 = load i32, ptr @TIMER_ABSTIME, align 4
%16 = call i32 @clock_nanosleep(i32 noundef %14, i32 noundef %15, ptr noundef %5, ptr noundef null)
%17 = load i32, ptr @O_WRONLY, align 4
%18 = call i32 @open(ptr noundef @.str, i32 noundef %17)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = call i32 @printf(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %13
%25 = load i32, ptr %3, align 4
%26 = call i32 @write(i32 noundef %25, ptr noundef @.str.2, i32 noundef 4)
%27 = icmp ne i32 %26, 4
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = call i32 @printf(ptr noundef @.str.3)
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %24
%32 = load i32, ptr %3, align 4
%33 = call i32 @close(i32 noundef %32)
%34 = load i32, ptr %4, align 4
%35 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, %34
store i32 %37, ptr %35, align 4
%38 = call i32 @overflow(ptr noundef %5)
%39 = load i32, ptr @CLOCK_MONOTONIC, align 4
%40 = load i32, ptr @TIMER_ABSTIME, align 4
%41 = call i32 @clock_nanosleep(i32 noundef %39, i32 noundef %40, ptr noundef %5, ptr noundef null)
%42 = load i32, ptr @O_WRONLY, align 4
%43 = call i32 @open(ptr noundef @.str, i32 noundef %42)
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %31
%47 = call i32 @printf(ptr noundef @.str.4)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %31
%50 = load i32, ptr %3, align 4
%51 = call i32 @write(i32 noundef %50, ptr noundef @.str.5, i32 noundef 3)
%52 = icmp ne i32 %51, 3
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = call i32 @printf(ptr noundef @.str.6)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %49
%57 = load i32, ptr %3, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = load i32, ptr %4, align 4
%60 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %61, %59
store i32 %62, ptr %60, align 4
%63 = call i32 @overflow(ptr noundef %5)
br label %13
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @overflow(ptr noundef) #1
declare i32 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(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" }
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/tmpw01xov8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@TIMER_ABSTIME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio18/direction\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Can not open direction file.\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"out\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Can not write in direction file\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Can not open direction file.s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"in\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Can not write in direction file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_blink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timespec, align 4
store ptr %0, ptr %2, align 8
store i32 200000000, ptr %4, align 4
%6 = load i32, ptr @CLOCK_MONOTONIC, align 4
%7 = call i32 @clock_gettime(i32 noundef %6, ptr noundef %5)
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, %8
store i32 %11, ptr %9, align 4
%12 = call i32 @overflow(ptr noundef %5)
%13 = load i32, ptr @CLOCK_MONOTONIC, align 4
%14 = load i32, ptr @TIMER_ABSTIME, align 4
%15 = call i32 @clock_nanosleep(i32 noundef %13, i32 noundef %14, ptr noundef %5, ptr noundef null)
%16 = load i32, ptr @O_WRONLY, align 4
%17 = call i32 @open(ptr noundef @.str, i32 noundef %16)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %.lr.ph
.lr.ph: ; preds = %1
br label %23
._crit_edge: ; preds = %55
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 @printf(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %.lr.ph, %55
%24 = load i32, ptr %3, align 4
%25 = call i32 @write(i32 noundef %24, ptr noundef @.str.2, i32 noundef 4)
%26 = icmp ne i32 %25, 4
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = call i32 @printf(ptr noundef @.str.3)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = load i32, ptr %4, align 4
%34 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%35 = load i32, ptr %34, align 4
%36 = add nsw i32 %35, %33
store i32 %36, ptr %34, align 4
%37 = call i32 @overflow(ptr noundef %5)
%38 = load i32, ptr @CLOCK_MONOTONIC, align 4
%39 = load i32, ptr @TIMER_ABSTIME, align 4
%40 = call i32 @clock_nanosleep(i32 noundef %38, i32 noundef %39, ptr noundef %5, ptr noundef null)
%41 = load i32, ptr @O_WRONLY, align 4
%42 = call i32 @open(ptr noundef @.str, i32 noundef %41)
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %30
%46 = call i32 @printf(ptr noundef @.str.4)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %30
%49 = load i32, ptr %3, align 4
%50 = call i32 @write(i32 noundef %49, ptr noundef @.str.5, i32 noundef 3)
%51 = icmp ne i32 %50, 3
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = call i32 @printf(ptr noundef @.str.6)
%54 = call i32 @exit(i32 noundef 1) #3
unreachable
55: ; preds = %48
%56 = load i32, ptr %3, align 4
%57 = call i32 @close(i32 noundef %56)
%58 = load i32, ptr %4, align 4
%59 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %60, %58
store i32 %61, ptr %59, align 4
%62 = call i32 @overflow(ptr noundef %5)
%63 = load i32, ptr @CLOCK_MONOTONIC, align 4
%64 = load i32, ptr @TIMER_ABSTIME, align 4
%65 = call i32 @clock_nanosleep(i32 noundef %63, i32 noundef %64, ptr noundef %5, ptr noundef null)
%66 = load i32, ptr @O_WRONLY, align 4
%67 = call i32 @open(ptr noundef @.str, i32 noundef %66)
store i32 %67, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %._crit_edge, label %23
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @overflow(ptr noundef) #1
declare i32 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(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" }
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/tmp2vacdzzu.c'
source_filename = "/tmp/tmp2vacdzzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uppercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %17, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @toupper(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 %10, ptr %14, align 1
%15 = sext i8 %10 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2vacdzzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uppercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = call signext i8 @toupper(i8 noundef signext %8)
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store i8 %9, ptr %13, align 1
%14 = sext i8 %9 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call signext i8 @toupper(i8 noundef signext %23)
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = sext i8 %24 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %31
31: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw2mopnpd.c'
source_filename = "/tmp/tmpw2mopnpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel222nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel222nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel222nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2mopnpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel222nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel222nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel222nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv29ruxql.c'
source_filename = "/tmp/tmpv29ruxql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call i32 @write(i32 noundef %5, ptr noundef %6, i64 noundef %9)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @ft_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/tmpv29ruxql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call i32 @write(i32 noundef %5, ptr noundef %6, i64 noundef %9)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @ft_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/tmpbeoue_ef.c'
source_filename = "/tmp/tmpbeoue_ef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_DEPTH_BUFFER_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%2 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4
%3 = or i32 %1, %2
%4 = call i32 @glClear(i32 noundef %3)
%5 = call i32 @glCallList(i32 noundef 1)
%6 = call i32 (...) @glutSwapBuffers()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glCallList(i32 noundef) #1
declare i32 @glutSwapBuffers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbeoue_ef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_DEPTH_BUFFER_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%2 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4
%3 = or i32 %1, %2
%4 = call i32 @glClear(i32 noundef %3)
%5 = call i32 @glCallList(i32 noundef 1)
%6 = call i32 (...) @glutSwapBuffers()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glCallList(i32 noundef) #1
declare i32 @glutSwapBuffers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplr87nhwa.c'
source_filename = "/tmp/tmplr87nhwa.c"
target datalayout = "e-m:e-p270: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/tmplr87nhwa.c"
target datalayout = "e-m:e-p270: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/tmp8_ct_p6u.c'
source_filename = "/tmp/tmp8_ct_p6u.c"
target datalayout = "e-m:e-p270: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/tmp8_ct_p6u.c"
target datalayout = "e-m:e-p270: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/tmp8c2w1469.c'
source_filename = "/tmp/tmp8c2w1469.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHA256_sodium(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 ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @crypto_hash_sha256(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret i32 %10
}
declare i32 @crypto_hash_sha256(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/tmp8c2w1469.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHA256_sodium(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 ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @crypto_hash_sha256(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret i32 %10
}
declare i32 @crypto_hash_sha256(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/tmpe3kwm1ql.c'
source_filename = "/tmp/tmpe3kwm1ql.c"
target datalayout = "e-m:e-p270: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/tmpe3kwm1ql.c"
target datalayout = "e-m:e-p270: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/tmp2ub_97_b.c'
source_filename = "/tmp/tmp2ub_97_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for j\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x6a() #0 {
%1 = call i64 @ispunct(i32 noundef 106)
%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 535, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ub_97_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for j\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x6a() #0 {
%1 = call i64 @ispunct(i32 noundef 106)
%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 535, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppwamf_qe.c'
source_filename = "/tmp/tmppwamf_qe.c"
target datalayout = "e-m:e-p270: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/tmppwamf_qe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.