llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp7a197dec.c' source_filename = "/tmp/tmp7a197dec.c" target datalayout = "e-m:e-p270: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/tmp7a197dec.c" target datalayout = "e-m:e-p270: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/tmpqteysepf.c' source_filename = "/tmp/tmpqteysepf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srec_save_start(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 @srec_set_hdr(ptr noundef %5, ptr noundef %6) ret i32 0 } declare i32 @srec_set_hdr(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/tmpqteysepf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srec_save_start(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 @srec_set_hdr(ptr noundef %5, ptr noundef %6) ret i32 0 } declare i32 @srec_set_hdr(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/tmpytitgi4h.c' source_filename = "/tmp/tmpytitgi4h.c" target datalayout = "e-m:e-p270: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/tmpytitgi4h.c" target datalayout = "e-m:e-p270: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/tmpmbzkmuan.c' source_filename = "/tmp/tmpmbzkmuan.c" target datalayout = "e-m:e-p270: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/tmpmbzkmuan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ddp6ln5.c' source_filename = "/tmp/tmp_ddp6ln5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ddp6ln5.c" target datalayout = "e-m:e-p270: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/tmpkmwoo1ir.c' source_filename = "/tmp/tmpkmwoo1ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 48, ptr %2, align 4 store i32 48, ptr %3, align 4 br label %4 4: ; preds = %29, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 57 br i1 %6, label %7, label %32 7: ; preds = %4 br label %8 8: ; preds = %26, %7 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 57 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = trunc i32 %12 to i8 %14 = call i32 @putchar(i8 noundef signext %13) %15 = load i32, ptr %3, align 4 %16 = trunc i32 %15 to i8 %17 = call i32 @putchar(i8 noundef signext %16) %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 57 br i1 %19, label %23, label %20 20: ; preds = %11 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %21, 57 br i1 %22, label %23, label %26 23: ; preds = %20, %11 %24 = call i32 @putchar(i8 noundef signext 44) %25 = call i32 @putchar(i8 noundef signext 32) br label %26 26: ; preds = %23, %20 %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 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 store i32 48, ptr %3, align 4 br label %4, !llvm.loop !8 32: ; preds = %4 %33 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmwoo1ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 48, ptr %2, align 4 store i32 48, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 57 br i1 %5, label %.lr.ph2, label %34 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %29 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 57 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %6 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %2, align 4 %11 = trunc i32 %10 to i8 %12 = call i32 @putchar(i8 noundef signext %11) %13 = load i32, ptr %3, align 4 %14 = trunc i32 %13 to i8 %15 = call i32 @putchar(i8 noundef signext %14) %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 57 br i1 %17, label %21, label %18 18: ; preds = %9 %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 57 br i1 %20, label %21, label %24 21: ; preds = %18, %9 %22 = call i32 @putchar(i8 noundef signext 44) %23 = call i32 @putchar(i8 noundef signext 32) br label %24 24: ; preds = %21, %18 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp sle i32 %27, 57 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %6 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 store i32 48, ptr %3, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp sle i32 %32, 57 br i1 %33, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %0 %35 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpb_r99i1l.c' source_filename = "/tmp/tmpb_r99i1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndChoice(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %42, %3 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br label %19 19: ; preds = %15, %11 %20 = phi i1 [ false, %11 ], [ %18, %15 ] br i1 %20, label %21, label %45 21: ; preds = %19 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %10, align 4 %28 = call i32 (...) @genrand_real1() %29 = load i32, ptr %9, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %41 33: ; preds = %21 %34 = load i32, ptr %7, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %34, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %33, %21 br label %42 42: ; preds = %41 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %11, !llvm.loop !6 45: ; preds = %19 ret void } declare i32 @genrand_real1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpb_r99i1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndChoice(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %42, %3 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br label %19 19: ; preds = %15, %11 %20 = phi i1 [ false, %11 ], [ %18, %15 ] br i1 %20, label %21, label %45 21: ; preds = %19 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %10, align 4 %28 = call i32 (...) @genrand_real1() %29 = load i32, ptr %9, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %41 33: ; preds = %21 %34 = load i32, ptr %7, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %34, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %33, %21 br label %42 42: ; preds = %41 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %11, !llvm.loop !6 45: ; preds = %19 ret void } declare i32 @genrand_real1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxim4bk_e.c' source_filename = "/tmp/tmpxim4bk_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy_type_info(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12) %14 = load i32, ptr %6, align 4 ret i32 %14 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxim4bk_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copy_type_info(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12) %14 = load i32, ptr %6, align 4 ret i32 %14 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpapkx7473.c' source_filename = "/tmp/tmpapkx7473.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strendswith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %9, %10 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %59 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %20, label %19 19: ; preds = %16, %13 store i32 0, ptr %3, align 4 br label %59 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %20 %28 = load i32, ptr %7, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27, %20 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp eq i32 %31, %32 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %59 35: ; preds = %27 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %40 39: ; preds = %35 store i32 0, ptr %3, align 4 br label %59 40: ; preds = %35 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %41, %42 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %40 br label %57 47: ; preds = %40 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %7, align 4 %54 = call i64 @strncmp(ptr noundef %51, ptr noundef %52, i32 noundef %53) %55 = icmp eq i64 %54, 0 %56 = zext i1 %55 to i32 br label %57 57: ; preds = %47, %46 %58 = phi i32 [ 0, %46 ], [ %56, %47 ] store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %57, %39, %30, %19, %12 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpapkx7473.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strendswith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %9, %10 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %59 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %20, label %19 19: ; preds = %16, %13 store i32 0, ptr %3, align 4 br label %59 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %20 %28 = load i32, ptr %7, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27, %20 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp eq i32 %31, %32 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %59 35: ; preds = %27 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %40 39: ; preds = %35 store i32 0, ptr %3, align 4 br label %59 40: ; preds = %35 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %41, %42 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %40 br label %57 47: ; preds = %40 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %7, align 4 %54 = call i64 @strncmp(ptr noundef %51, ptr noundef %52, i32 noundef %53) %55 = icmp eq i64 %54, 0 %56 = zext i1 %55 to i32 br label %57 57: ; preds = %47, %46 %58 = phi i32 [ 0, %46 ], [ %56, %47 ] store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %57, %39, %30, %19, %12 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi_o0xgum.c' source_filename = "/tmp/tmpi_o0xgum.c" target datalayout = "e-m:e-p270: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/tmpi_o0xgum.c" target datalayout = "e-m:e-p270: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/tmpeok2783i.c' source_filename = "/tmp/tmpeok2783i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LPCIRQClear(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp eq i64 %6, 1074266112 %8 = zext i1 %7 to i32 %9 = call i32 @DEBUG_ASSERT(i32 noundef %8) %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to ptr %13 = load volatile i64, ptr %12, align 8 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %4, align 8 %15 = and i64 %14, 4294901760 %16 = xor i64 %15, -1 %17 = load i64, ptr %5, align 8 %18 = and i64 %17, %16 store i64 %18, ptr %5, align 8 %19 = load i64, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to ptr store volatile i64 %19, ptr %22, align 8 ret void } declare i32 @DEBUG_ASSERT(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/tmpeok2783i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LPCIRQClear(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp eq i64 %6, 1074266112 %8 = zext i1 %7 to i32 %9 = call i32 @DEBUG_ASSERT(i32 noundef %8) %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to ptr %13 = load volatile i64, ptr %12, align 8 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %4, align 8 %15 = and i64 %14, 4294901760 %16 = xor i64 %15, -1 %17 = load i64, ptr %5, align 8 %18 = and i64 %17, %16 store i64 %18, ptr %5, align 8 %19 = load i64, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to ptr store volatile i64 %19, ptr %22, align 8 ret void } declare i32 @DEBUG_ASSERT(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/tmpqicrtqcq.c' source_filename = "/tmp/tmpqicrtqcq.c" target datalayout = "e-m:e-p270: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.mntent = type { ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Cannot initialize fanotify: %s.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @FAN_MARK_ADD = dso_local global i32 0, align 4 @FAN_MARK_MOUNT = dso_local global i32 0, align 4 @FAN_ACCESS = dso_local global i32 0, align 4 @FAN_MODIFY = dso_local global i32 0, align 4 @FAN_OPEN = dso_local global i32 0, align 4 @FAN_CLOSE = dso_local global i32 0, align 4 @FAN_ONDIR = dso_local global i32 0, align 4 @FAN_EVENT_ON_CHILD = dso_local global i32 0, align 4 @AT_FDCWD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Cannot add fanotify watch on /: %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"/proc/self/mounts\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Cannot get mount points.\0A\00", align 1 @ENOENT = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [21 x i8] c"/sys/power/wake_lock\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"/sys/power/wake_unlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fnotify_event_init() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = call i32 @fanotify_init(i32 noundef 0, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr @errno, align 8 %11 = call ptr @strerror(i64 noundef %10) %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11) store i32 -1, ptr %1, align 4 br label %96 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @FAN_MARK_ADD, align 4 %16 = load i32, ptr @FAN_MARK_MOUNT, align 4 %17 = or i32 %15, %16 %18 = load i32, ptr @FAN_ACCESS, align 4 %19 = load i32, ptr @FAN_MODIFY, align 4 %20 = or i32 %18, %19 %21 = load i32, ptr @FAN_OPEN, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @FAN_CLOSE, align 4 %24 = or i32 %22, %23 %25 = load i32, ptr @FAN_ONDIR, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @FAN_EVENT_ON_CHILD, align 4 %28 = or i32 %26, %27 %29 = load i32, ptr @AT_FDCWD, align 4 %30 = call i32 @fanotify_mark(i32 noundef %14, i32 noundef %17, i32 noundef %28, i32 noundef %29, ptr noundef @.str.1) store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %13 %34 = load i32, ptr @stderr, align 4 %35 = load i64, ptr @errno, align 8 %36 = call ptr @strerror(i64 noundef %35) %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %36) br label %38 38: ; preds = %33, %13 %39 = call ptr @setmntent(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %39, ptr %4, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr @stderr, align 4 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.5) store i32 -1, ptr %1, align 4 br label %96 44: ; preds = %38 br label %45 45: ; preds = %77, %76, %44 %46 = load ptr, ptr %4, align 8 %47 = call ptr @getmntent(ptr noundef %46) store ptr %47, ptr %5, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %78 49: ; preds = %45 %50 = load i32, ptr %2, align 4 %51 = load i32, ptr @FAN_MARK_ADD, align 4 %52 = load i32, ptr @FAN_MARK_MOUNT, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr @FAN_ACCESS, align 4 %55 = load i32, ptr @FAN_MODIFY, align 4 %56 = or i32 %54, %55 %57 = load i32, ptr @FAN_OPEN, align 4 %58 = or i32 %56, %57 %59 = load i32, ptr @FAN_CLOSE, align 4 %60 = or i32 %58, %59 %61 = load i32, ptr @FAN_ONDIR, align 4 %62 = or i32 %60, %61 %63 = load i32, ptr @FAN_EVENT_ON_CHILD, align 4 %64 = or i32 %62, %63 %65 = load i32, ptr @AT_FDCWD, align 4 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds %struct.mntent, ptr %66, i32 0, i32 0 %68 = load ptr, ptr %67, align 8 %69 = call i32 @fanotify_mark(i32 noundef %50, i32 noundef %53, i32 noundef %64, i32 noundef %65, ptr noundef %68) store i32 %69, ptr %3, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %49 %73 = load i64, ptr @errno, align 8 %74 = load i64, ptr @ENOENT, align 8 %75 = icmp ne i64 %73, %74 br i1 %75, label %76, label %77 76: ; preds = %72 br label %45, !llvm.loop !6 77: ; preds = %72, %49 br label %45, !llvm.loop !6 78: ; preds = %45 %79 = load ptr, ptr %4, align 8 %80 = call i32 @endmntent(ptr noundef %79) %81 = load i32, ptr %2, align 4 %82 = load i32, ptr @FAN_MARK_ADD, align 4 %83 = load i32, ptr @FAN_ACCESS, align 4 %84 = load i32, ptr @FAN_MODIFY, align 4 %85 = or i32 %83, %84 %86 = load i32, ptr @AT_FDCWD, align 4 %87 = call i32 @fanotify_mark(i32 noundef %81, i32 noundef %82, i32 noundef %85, i32 noundef %86, ptr noundef @.str.6) %88 = load i32, ptr %2, align 4 %89 = load i32, ptr @FAN_MARK_ADD, align 4 %90 = load i32, ptr @FAN_ACCESS, align 4 %91 = load i32, ptr @FAN_MODIFY, align 4 %92 = or i32 %90, %91 %93 = load i32, ptr @AT_FDCWD, align 4 %94 = call i32 @fanotify_mark(i32 noundef %88, i32 noundef %89, i32 noundef %92, i32 noundef %93, ptr noundef @.str.7) %95 = load i32, ptr %2, align 4 store i32 %95, ptr %1, align 4 br label %96 96: ; preds = %78, %41, %8 %97 = load i32, ptr %1, align 4 ret i32 %97 } declare i32 @fanotify_init(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fanotify_mark(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @setmntent(ptr noundef, ptr noundef) #1 declare ptr @getmntent(ptr noundef) #1 declare i32 @endmntent(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqicrtqcq.c" target datalayout = "e-m:e-p270: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.mntent = type { ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Cannot initialize fanotify: %s.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @FAN_MARK_ADD = dso_local global i32 0, align 4 @FAN_MARK_MOUNT = dso_local global i32 0, align 4 @FAN_ACCESS = dso_local global i32 0, align 4 @FAN_MODIFY = dso_local global i32 0, align 4 @FAN_OPEN = dso_local global i32 0, align 4 @FAN_CLOSE = dso_local global i32 0, align 4 @FAN_ONDIR = dso_local global i32 0, align 4 @FAN_EVENT_ON_CHILD = dso_local global i32 0, align 4 @AT_FDCWD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Cannot add fanotify watch on /: %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"/proc/self/mounts\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Cannot get mount points.\0A\00", align 1 @ENOENT = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [21 x i8] c"/sys/power/wake_lock\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"/sys/power/wake_unlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fnotify_event_init() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = call i32 @fanotify_init(i32 noundef 0, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr @errno, align 8 %11 = call ptr @strerror(i64 noundef %10) %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11) store i32 -1, ptr %1, align 4 br label %98 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @FAN_MARK_ADD, align 4 %16 = load i32, ptr @FAN_MARK_MOUNT, align 4 %17 = or i32 %15, %16 %18 = load i32, ptr @FAN_ACCESS, align 4 %19 = load i32, ptr @FAN_MODIFY, align 4 %20 = or i32 %18, %19 %21 = load i32, ptr @FAN_OPEN, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @FAN_CLOSE, align 4 %24 = or i32 %22, %23 %25 = load i32, ptr @FAN_ONDIR, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @FAN_EVENT_ON_CHILD, align 4 %28 = or i32 %26, %27 %29 = load i32, ptr @AT_FDCWD, align 4 %30 = call i32 @fanotify_mark(i32 noundef %14, i32 noundef %17, i32 noundef %28, i32 noundef %29, ptr noundef @.str.1) store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %13 %34 = load i32, ptr @stderr, align 4 %35 = load i64, ptr @errno, align 8 %36 = call ptr @strerror(i64 noundef %35) %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %36) br label %38 38: ; preds = %33, %13 %39 = call ptr @setmntent(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %39, ptr %4, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr @stderr, align 4 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.5) store i32 -1, ptr %1, align 4 br label %98 44: ; preds = %38 %45 = load ptr, ptr %4, align 8 %46 = call ptr @getmntent(ptr noundef %45) store ptr %46, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %.lr.ph, label %80 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %.backedge %49 = load i32, ptr %2, align 4 %50 = load i32, ptr @FAN_MARK_ADD, align 4 %51 = load i32, ptr @FAN_MARK_MOUNT, align 4 %52 = or i32 %50, %51 %53 = load i32, ptr @FAN_ACCESS, align 4 %54 = load i32, ptr @FAN_MODIFY, align 4 %55 = or i32 %53, %54 %56 = load i32, ptr @FAN_OPEN, align 4 %57 = or i32 %55, %56 %58 = load i32, ptr @FAN_CLOSE, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @FAN_ONDIR, align 4 %61 = or i32 %59, %60 %62 = load i32, ptr @FAN_EVENT_ON_CHILD, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @AT_FDCWD, align 4 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds %struct.mntent, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = call i32 @fanotify_mark(i32 noundef %49, i32 noundef %52, i32 noundef %63, i32 noundef %64, ptr noundef %67) store i32 %68, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = icmp slt i32 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %48 %72 = load i64, ptr @errno, align 8 %73 = load i64, ptr @ENOENT, align 8 %74 = icmp ne i64 %72, %73 br i1 %74, label %75, label %79 75: ; preds = %71 br label %.backedge .backedge: ; preds = %75, %79 %76 = load ptr, ptr %4, align 8 %77 = call ptr @getmntent(ptr noundef %76) store ptr %77, ptr %5, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %48, label %._crit_edge, !llvm.loop !6 79: ; preds = %71, %48 br label %.backedge ._crit_edge: ; preds = %.backedge br label %80 80: ; preds = %._crit_edge, %44 %81 = load ptr, ptr %4, align 8 %82 = call i32 @endmntent(ptr noundef %81) %83 = load i32, ptr %2, align 4 %84 = load i32, ptr @FAN_MARK_ADD, align 4 %85 = load i32, ptr @FAN_ACCESS, align 4 %86 = load i32, ptr @FAN_MODIFY, align 4 %87 = or i32 %85, %86 %88 = load i32, ptr @AT_FDCWD, align 4 %89 = call i32 @fanotify_mark(i32 noundef %83, i32 noundef %84, i32 noundef %87, i32 noundef %88, ptr noundef @.str.6) %90 = load i32, ptr %2, align 4 %91 = load i32, ptr @FAN_MARK_ADD, align 4 %92 = load i32, ptr @FAN_ACCESS, align 4 %93 = load i32, ptr @FAN_MODIFY, align 4 %94 = or i32 %92, %93 %95 = load i32, ptr @AT_FDCWD, align 4 %96 = call i32 @fanotify_mark(i32 noundef %90, i32 noundef %91, i32 noundef %94, i32 noundef %95, ptr noundef @.str.7) %97 = load i32, ptr %2, align 4 store i32 %97, ptr %1, align 4 br label %98 98: ; preds = %80, %41, %8 %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @fanotify_init(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fanotify_mark(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @setmntent(ptr noundef, ptr noundef) #1 declare ptr @getmntent(ptr noundef) #1 declare i32 @endmntent(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpg48wlq4x.c' source_filename = "/tmp/tmpg48wlq4x.c" target datalayout = "e-m:e-p270: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/tmpg48wlq4x.c" target datalayout = "e-m:e-p270: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/tmpquh8j_tx.c' source_filename = "/tmp/tmpquh8j_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @splay(ptr noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @splay(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/tmpquh8j_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @splay(ptr noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @splay(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/tmpx2vzxq8x.c' source_filename = "/tmp/tmpx2vzxq8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"You only have one argument. You suck.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Here's your arguments:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"You have too many arguments. You suck.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %38 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %35 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %35 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %19 19: ; preds = %30, %17 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) br label %30 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %19, !llvm.loop !6 33: ; preds = %19 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %37 35: ; preds = %14, %11 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %37 37: ; preds = %35, %33 br label %38 38: ; preds = %37, %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx2vzxq8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"You only have one argument. You suck.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Here's your arguments:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"You have too many arguments. You suck.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %40 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %37 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %37 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %35 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %29 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %22 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %17 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %39 37: ; preds = %14, %11 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %39 39: ; preds = %37, %35 br label %40 40: ; preds = %39, %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpreowho6i.c' source_filename = "/tmp/tmpreowho6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parser_str_to_upper(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 = %9, %1 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp ult i32 %5, %7 br i1 %8, label %9, label %22 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call signext i8 @parser_UpCase(i8 noundef signext %14) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 %20 = load i32, ptr %3, align 4 %21 = add i32 %20, 1 store i32 %21, ptr %3, align 4 br label %4, !llvm.loop !6 22: ; preds = %4 ret void } declare i32 @strlen(ptr noundef) #1 declare signext i8 @parser_UpCase(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/tmpreowho6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parser_str_to_upper(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 i32, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp ult i32 %4, %6 br i1 %7, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call signext i8 @parser_UpCase(i8 noundef signext %13) %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 %14, ptr %18, align 1 %19 = load i32, ptr %3, align 4 %20 = add i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr %2, align 8 %23 = call i32 @strlen(ptr noundef %22) %24 = icmp ult i32 %21, %23 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %25 25: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 declare signext i8 @parser_UpCase(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/tmpwuhp8cql.c' source_filename = "/tmp/tmpwuhp8cql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"Allocation memory error. Trying to allocate %zu bytes.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @palloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i64 noundef %10) %12 = call i32 (...) @my_abort() br label %13 13: ; preds = %8, %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @my_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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwuhp8cql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"Allocation memory error. Trying to allocate %zu bytes.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @palloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i64 noundef %10) %12 = call i32 (...) @my_abort() br label %13 13: ; preds = %8, %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @my_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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfyau2yv8.c' source_filename = "/tmp/tmpfyau2yv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atm_decode_atmnam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 store i8 0, ptr %17, align 1 %18 = load ptr, ptr %8, align 8 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %9, align 8 store i8 0, ptr %19, align 1 store i32 0, ptr %5, align 4 br label %117 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 58) store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %6, align 8 %24 = call ptr @strrchr(ptr noundef %23, i8 noundef signext 46) store ptr %24, ptr %11, align 8 %25 = load ptr, ptr %11, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %36 27: ; preds = %20 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load ptr, ptr %7, align 8 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %8, align 8 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34) store i32 1, ptr %5, align 4 br label %117 36: ; preds = %27, %20 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %62 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %11, align 8 %42 = load ptr, ptr %6, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 %46 = trunc i64 %45 to i32 store i32 %46, ptr %12, align 4 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %12, align 4 %50 = call i32 @strncpy(ptr noundef %47, ptr noundef %48, i32 noundef %49) %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %9, align 8 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = call i32 @strcpy(ptr noundef %55, ptr noundef %60) store i32 1, ptr %5, align 4 br label %117 62: ; preds = %36 %63 = load ptr, ptr %11, align 8 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %71 65: ; preds = %62 %66 = load ptr, ptr %9, align 8 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %6, align 8 %68 = load ptr, ptr %7, align 8 %69 = load ptr, ptr %8, align 8 %70 = call i32 @atm_decode_resnam(ptr noundef %67, ptr noundef %68, ptr noundef %69) store i32 1, ptr %5, align 4 br label %117 71: ; preds = %62 %72 = load ptr, ptr %10, align 8 %73 = load ptr, ptr %6, align 8 %74 = ptrtoint ptr %72 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = trunc i64 %76 to i32 store i32 %77, ptr %12, align 4 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %12, align 4 %81 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 0, ptr %85, align 1 %86 = load ptr, ptr %11, align 8 %87 = load ptr, ptr %6, align 8 %88 = ptrtoint ptr %86 to i64 %89 = ptrtoint ptr %87 to i64 %90 = sub i64 %88, %89 %91 = trunc i64 %90 to i32 store i32 %91, ptr %13, align 4 %92 = load ptr, ptr %9, align 8 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %13, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 %98 = call i32 @strcpy(ptr noundef %92, ptr noundef %97) %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %12, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %100, i64 %103 %105 = load i32, ptr %13, align 4 %106 = load i32, ptr %12, align 4 %107 = sub nsw i32 %105, %106 %108 = sub nsw i32 %107, 1 %109 = call i32 @strncpy(ptr noundef %99, ptr noundef %104, i32 noundef %108) %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %12, align 4 %113 = sub nsw i32 %111, %112 %114 = sub nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %110, i64 %115 store i8 0, ptr %116, align 1 store i32 1, ptr %5, align 4 br label %117 117: ; preds = %71, %65, %39, %30, %16 %118 = load i32, ptr %5, align 4 ret i32 %118 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atm_decode_resnam(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/tmpfyau2yv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atm_decode_atmnam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 store i8 0, ptr %17, align 1 %18 = load ptr, ptr %8, align 8 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %9, align 8 store i8 0, ptr %19, align 1 store i32 0, ptr %5, align 4 br label %117 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 58) store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %6, align 8 %24 = call ptr @strrchr(ptr noundef %23, i8 noundef signext 46) store ptr %24, ptr %11, align 8 %25 = load ptr, ptr %11, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %36 27: ; preds = %20 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load ptr, ptr %7, align 8 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %8, align 8 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34) store i32 1, ptr %5, align 4 br label %117 36: ; preds = %27, %20 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %62 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %11, align 8 %42 = load ptr, ptr %6, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 %46 = trunc i64 %45 to i32 store i32 %46, ptr %12, align 4 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %12, align 4 %50 = call i32 @strncpy(ptr noundef %47, ptr noundef %48, i32 noundef %49) %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %9, align 8 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = call i32 @strcpy(ptr noundef %55, ptr noundef %60) store i32 1, ptr %5, align 4 br label %117 62: ; preds = %36 %63 = load ptr, ptr %11, align 8 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %71 65: ; preds = %62 %66 = load ptr, ptr %9, align 8 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %6, align 8 %68 = load ptr, ptr %7, align 8 %69 = load ptr, ptr %8, align 8 %70 = call i32 @atm_decode_resnam(ptr noundef %67, ptr noundef %68, ptr noundef %69) store i32 1, ptr %5, align 4 br label %117 71: ; preds = %62 %72 = load ptr, ptr %10, align 8 %73 = load ptr, ptr %6, align 8 %74 = ptrtoint ptr %72 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = trunc i64 %76 to i32 store i32 %77, ptr %12, align 4 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %12, align 4 %81 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 0, ptr %85, align 1 %86 = load ptr, ptr %11, align 8 %87 = load ptr, ptr %6, align 8 %88 = ptrtoint ptr %86 to i64 %89 = ptrtoint ptr %87 to i64 %90 = sub i64 %88, %89 %91 = trunc i64 %90 to i32 store i32 %91, ptr %13, align 4 %92 = load ptr, ptr %9, align 8 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %13, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 %98 = call i32 @strcpy(ptr noundef %92, ptr noundef %97) %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %12, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %100, i64 %103 %105 = load i32, ptr %13, align 4 %106 = load i32, ptr %12, align 4 %107 = sub nsw i32 %105, %106 %108 = sub nsw i32 %107, 1 %109 = call i32 @strncpy(ptr noundef %99, ptr noundef %104, i32 noundef %108) %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %12, align 4 %113 = sub nsw i32 %111, %112 %114 = sub nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %110, i64 %115 store i8 0, ptr %116, align 1 store i32 1, ptr %5, align 4 br label %117 117: ; preds = %71, %65, %39, %30, %16 %118 = load i32, ptr %5, align 4 ret i32 %118 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atm_decode_resnam(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/tmpv4r7_50q.c' source_filename = "/tmp/tmpv4r7_50q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"hello %s, do you like %s?\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"dragonite\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"chicken\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %3, align 8 %4 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %5 = load ptr, ptr %3, align 8 %6 = call i32 @snprintf(ptr noundef %4, i32 noundef 1024, ptr noundef %5, ptr noundef @.str.1) %7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7) %9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 1024, ptr noundef %10, ptr noundef @.str.3) %12 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str.2, ptr noundef %12) ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv4r7_50q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"hello %s, do you like %s?\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"dragonite\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"chicken\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %3, align 8 %4 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %5 = load ptr, ptr %3, align 8 %6 = call i32 @snprintf(ptr noundef %4, i32 noundef 1024, ptr noundef %5, ptr noundef @.str.1) %7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7) %9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 1024, ptr noundef %10, ptr noundef @.str.3) %12 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str.2, ptr noundef %12) ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ya79psk.c' source_filename = "/tmp/tmp9ya79psk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"poll() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Poll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 br label %8 8: ; preds = %3, %29, %37 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @poll(ptr noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %22 15: ; preds = %8 %16 = load i64, ptr @errno, align 8 %17 = load i64, ptr @EINTR, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str) %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %15, %8 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i64, ptr @errno, align 8 %27 = load i64, ptr @EINTR, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 br label %8 30: ; preds = %25, %22 %31 = load i32, ptr %7, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = load i32, ptr %7, align 4 ret i32 %34 35: ; preds = %30 br label %36 36: ; preds = %35 br label %37 37: ; preds = %36 br label %8 } declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ya79psk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"poll() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Poll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 br label %8 8: ; preds = %.backedge, %3 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @poll(ptr noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %22 15: ; preds = %8 %16 = load i64, ptr @errno, align 8 %17 = load i64, ptr @EINTR, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str) %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %15, %8 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i64, ptr @errno, align 8 %27 = load i64, ptr @EINTR, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 br label %.backedge .backedge: ; preds = %29, %37 br label %8 30: ; preds = %25, %22 %31 = load i32, ptr %7, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = load i32, ptr %7, align 4 ret i32 %34 35: ; preds = %30 br label %36 36: ; preds = %35 br label %37 37: ; preds = %36 br label %.backedge } declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp40km48j_.c' source_filename = "/tmp/tmp40km48j_.c" target datalayout = "e-m:e-p270: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/tmp40km48j_.c" target datalayout = "e-m:e-p270: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/tmpx16ushmj.c' source_filename = "/tmp/tmpx16ushmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_mkdir(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14) #0 { %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store i32 %0, ptr %16, align 4 store i32 %1, ptr %17, align 4 store i32 %2, ptr %18, align 4 store i32 %3, ptr %19, align 4 store ptr %4, ptr %20, align 8 store i32 %5, ptr %21, align 4 store i32 %6, ptr %22, align 4 store i32 %7, ptr %23, align 4 store i32 %8, ptr %24, align 4 store ptr %9, ptr %25, align 8 store i32 %10, ptr %26, align 4 store i32 %11, ptr %27, align 4 store i32 %12, ptr %28, align 4 store ptr %13, ptr %29, align 8 store ptr %14, ptr %30, align 8 %31 = call i32 (...) @main_time() %32 = load i32, ptr %16, align 4 %33 = load i32, ptr %17, align 4 %34 = load i32, ptr %18, align 4 %35 = load i32, ptr %19, align 4 %36 = load ptr, ptr %20, align 8 %37 = load i32, ptr %21, align 4 %38 = load i32, ptr %22, align 4 %39 = load i32, ptr %23, align 4 %40 = load i32, ptr %24, align 4 %41 = load ptr, ptr %25, align 8 %42 = load i32, ptr %26, align 4 %43 = load i32, ptr %27, align 4 %44 = load i32, ptr %28, align 4 %45 = load ptr, ptr %29, align 8 %46 = load ptr, ptr %30, align 8 %47 = call i32 @fs_univ_create(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef %36, i32 noundef 2, i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef 0, i32 noundef %44, ptr noundef %45, ptr noundef %46) ret i32 %47 } declare i32 @fs_univ_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @main_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx16ushmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_mkdir(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14) #0 { %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store i32 %0, ptr %16, align 4 store i32 %1, ptr %17, align 4 store i32 %2, ptr %18, align 4 store i32 %3, ptr %19, align 4 store ptr %4, ptr %20, align 8 store i32 %5, ptr %21, align 4 store i32 %6, ptr %22, align 4 store i32 %7, ptr %23, align 4 store i32 %8, ptr %24, align 4 store ptr %9, ptr %25, align 8 store i32 %10, ptr %26, align 4 store i32 %11, ptr %27, align 4 store i32 %12, ptr %28, align 4 store ptr %13, ptr %29, align 8 store ptr %14, ptr %30, align 8 %31 = call i32 (...) @main_time() %32 = load i32, ptr %16, align 4 %33 = load i32, ptr %17, align 4 %34 = load i32, ptr %18, align 4 %35 = load i32, ptr %19, align 4 %36 = load ptr, ptr %20, align 8 %37 = load i32, ptr %21, align 4 %38 = load i32, ptr %22, align 4 %39 = load i32, ptr %23, align 4 %40 = load i32, ptr %24, align 4 %41 = load ptr, ptr %25, align 8 %42 = load i32, ptr %26, align 4 %43 = load i32, ptr %27, align 4 %44 = load i32, ptr %28, align 4 %45 = load ptr, ptr %29, align 8 %46 = load ptr, ptr %30, align 8 %47 = call i32 @fs_univ_create(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef %36, i32 noundef 2, i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef 0, i32 noundef %44, ptr noundef %45, ptr noundef %46) ret i32 %47 } declare i32 @fs_univ_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @main_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpklfkpiqm.c' source_filename = "/tmp/tmpklfkpiqm.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 } @mkhttpdlogtime.buf = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [19 x i8] c"%d/%b/%Y:%H:%M:%S \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%+03d%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mkhttpdlogtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @gmtime(ptr noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 1 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %5, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 2 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %6, align 4 %22 = load ptr, ptr %2, align 8 %23 = call ptr @localtime(ptr noundef %22) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 2 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %32 31: ; preds = %1 store i32 -1, ptr %7, align 4 br label %37 32: ; preds = %1 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, -1 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 1, ptr %7, align 4 br label %36 36: ; preds = %35, %32 br label %37 37: ; preds = %36, %31 %38 = load i32, ptr %7, align 4 %39 = mul nsw i32 %38, 1440 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %5, align 4 %44 = sub nsw i32 %42, %43 %45 = mul nsw i32 %44, 60 %46 = add nsw i32 %39, %45 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %4, align 4 %51 = sub nsw i32 %49, %50 %52 = add nsw i32 %46, %51 store i32 %52, ptr %10, align 4 %53 = load ptr, ptr %9, align 8 %54 = call i64 @strftime(ptr noundef @mkhttpdlogtime.buf, i32 noundef 122, ptr noundef @.str, ptr noundef %53) store i64 %54, ptr %8, align 8 %55 = load i64, ptr %8, align 8 %56 = getelementptr inbounds i8, ptr @mkhttpdlogtime.buf, i64 %55 %57 = load i64, ptr %8, align 8 %58 = sub i64 128, %57 %59 = trunc i64 %58 to i32 %60 = load i32, ptr %10, align 4 %61 = sdiv i32 %60, 60 %62 = srem i32 %61, 24 %63 = load i32, ptr %10, align 4 %64 = srem i32 %63, 60 %65 = call i32 @snprintf(ptr noundef %56, i32 noundef %59, ptr noundef @.str.1, i32 noundef %62, i32 noundef %64) ret ptr @mkhttpdlogtime.buf } declare ptr @gmtime(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 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/tmpklfkpiqm.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 } @mkhttpdlogtime.buf = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [19 x i8] c"%d/%b/%Y:%H:%M:%S \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%+03d%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mkhttpdlogtime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @gmtime(ptr noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 1 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %5, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 2 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %6, align 4 %22 = load ptr, ptr %2, align 8 %23 = call ptr @localtime(ptr noundef %22) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 2 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %32 31: ; preds = %1 store i32 -1, ptr %7, align 4 br label %37 32: ; preds = %1 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, -1 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 1, ptr %7, align 4 br label %36 36: ; preds = %35, %32 br label %37 37: ; preds = %36, %31 %38 = load i32, ptr %7, align 4 %39 = mul nsw i32 %38, 1440 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds %struct.tm, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %5, align 4 %44 = sub nsw i32 %42, %43 %45 = mul nsw i32 %44, 60 %46 = add nsw i32 %39, %45 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %4, align 4 %51 = sub nsw i32 %49, %50 %52 = add nsw i32 %46, %51 store i32 %52, ptr %10, align 4 %53 = load ptr, ptr %9, align 8 %54 = call i64 @strftime(ptr noundef @mkhttpdlogtime.buf, i32 noundef 122, ptr noundef @.str, ptr noundef %53) store i64 %54, ptr %8, align 8 %55 = load i64, ptr %8, align 8 %56 = getelementptr inbounds i8, ptr @mkhttpdlogtime.buf, i64 %55 %57 = load i64, ptr %8, align 8 %58 = sub i64 128, %57 %59 = trunc i64 %58 to i32 %60 = load i32, ptr %10, align 4 %61 = sdiv i32 %60, 60 %62 = srem i32 %61, 24 %63 = load i32, ptr %10, align 4 %64 = srem i32 %63, 60 %65 = call i32 @snprintf(ptr noundef %56, i32 noundef %59, ptr noundef @.str.1, i32 noundef %62, i32 noundef %64) ret ptr @mkhttpdlogtime.buf } declare ptr @gmtime(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 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/tmpt3f4j_2q.c' source_filename = "/tmp/tmpt3f4j_2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDOUT_FILENO = 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/tmpt3f4j_2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDOUT_FILENO = 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/tmphlhexk0n.c' source_filename = "/tmp/tmphlhexk0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testCall2() #0 { %1 = call i64 @syscall(i32 noundef 350) ret i64 %1 } declare i64 @syscall(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/tmphlhexk0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testCall2() #0 { %1 = call i64 @syscall(i32 noundef 350) ret i64 %1 } declare i64 @syscall(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/tmpl8u2o29b.c' source_filename = "/tmp/tmpl8u2o29b.c" target datalayout = "e-m:e-p270: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/tmpl8u2o29b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_p2qirbu.c' source_filename = "/tmp/tmp_p2qirbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_tables() #0 { %1 = call i32 (...) @create_inverses() %2 = call i32 (...) @create_byte_sub() %3 = call i32 (...) @create_inv_byte_sub() %4 = call i32 (...) @create_rcon() %5 = call i32 (...) @create_large_tables() ret void } declare i32 @create_inverses(...) #1 declare i32 @create_byte_sub(...) #1 declare i32 @create_inv_byte_sub(...) #1 declare i32 @create_rcon(...) #1 declare i32 @create_large_tables(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_p2qirbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_tables() #0 { %1 = call i32 (...) @create_inverses() %2 = call i32 (...) @create_byte_sub() %3 = call i32 (...) @create_inv_byte_sub() %4 = call i32 (...) @create_rcon() %5 = call i32 (...) @create_large_tables() ret void } declare i32 @create_inverses(...) #1 declare i32 @create_byte_sub(...) #1 declare i32 @create_inv_byte_sub(...) #1 declare i32 @create_rcon(...) #1 declare i32 @create_large_tables(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprz6qvwoe.c' source_filename = "/tmp/tmprz6qvwoe.c" target datalayout = "e-m:e-p270: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.anon = type { i32, ptr } @ll_type_n2a.arphrd_names = internal global [54 x %struct.anon] [%struct.anon { i32 0, ptr @.str }, %struct.anon { i32 156, ptr @.str.1 }, %struct.anon { i32 157, ptr @.str.2 }, %struct.anon { i32 164, ptr @.str.3 }, %struct.anon { i32 137, ptr @.str.4 }, %struct.anon { i32 162, ptr @.str.5 }, %struct.anon { i32 147, ptr @.str.6 }, %struct.anon { i32 166, ptr @.str.7 }, %struct.anon { i32 167, ptr @.str.8 }, %struct.anon { i32 159, ptr @.str.9 }, %struct.anon { i32 140, ptr @.str.10 }, %struct.anon { i32 132, ptr @.str.11 }, %struct.anon { i32 161, ptr @.str.12 }, %struct.anon { i32 131, ptr @.str.13 }, %struct.anon { i32 160, ptr @.str.14 }, %struct.anon { i32 135, ptr @.str.15 }, %struct.anon { i32 168, ptr @.str.16 }, %struct.anon { i32 136, ptr @.str.17 }, %struct.anon { i32 128, ptr @.str.18 }, %struct.anon { i32 138, ptr @.str.19 }, %struct.anon { i32 149, ptr @.str.20 }, %struct.anon { i32 143, ptr @.str.21 }, %struct.anon { i32 130, ptr @.str.22 }, %struct.anon { i32 129, ptr @.str.23 }, %struct.anon { i32 150, ptr @.str.24 }, %struct.anon { i32 133, ptr @.str.25 }, %struct.anon { i32 141, ptr @.str.26 }, %struct.anon { i32 142, ptr @.str.27 }, %struct.anon { i32 151, ptr @.str.28 }, %struct.anon { i32 163, ptr @.str.29 }, %struct.anon { i32 134, ptr @.str.30 }, %struct.anon { i32 146, ptr @.str.31 }, %struct.anon { i32 145, ptr @.str.32 }, %struct.anon { i32 139, ptr @.str.33 }, %struct.anon { i32 148, ptr @.str.34 }, %struct.anon { i32 165, ptr @.str.35 }, %struct.anon { i32 158, ptr @.str.36 }, %struct.anon { i32 144, ptr @.str.37 }, %struct.anon { i32 152, ptr @.str.38 }, %struct.anon { i32 155, ptr @.str.39 }, %struct.anon { i32 153, ptr @.str.40 }, %struct.anon { i32 154, ptr @.str.41 }, %struct.anon { i32 155, ptr @.str.42 }, %struct.anon { i32 156, ptr @.str.43 }, %struct.anon { i32 157, ptr @.str.44 }, %struct.anon { i32 158, ptr @.str.45 }, %struct.anon { i32 159, ptr @.str.46 }, %struct.anon { i32 160, ptr @.str.47 }, %struct.anon { i32 161, ptr @.str.48 }, %struct.anon { i32 162, ptr @.str.49 }, %struct.anon { i32 163, ptr @.str.50 }, %struct.anon { i32 164, ptr @.str.51 }, %struct.anon { i32 165, ptr @.str.52 }, %struct.anon { i32 166, ptr @.str.53 }], align 16 @.str = private unnamed_addr constant [8 x i8] c"generic\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ether\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"eether\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ax25\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"pronet\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"chaos\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"tr\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"arcnet\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"atalk\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"dlci\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"metricom\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"slip\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"cslip\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"slip6\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"cslip6\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"rsrvd\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"adapt\00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c"rose\00", align 1 @.str.18 = private unnamed_addr constant [4 x i8] c"x25\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"ppp\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"hdlc\00", align 1 @.str.21 = private unnamed_addr constant [5 x i8] c"lapb\00", align 1 @.str.22 = private unnamed_addr constant [5 x i8] c"ipip\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"tunnel6\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"frad\00", align 1 @.str.25 = private unnamed_addr constant [5 x i8] c"skip\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"loopback\00", align 1 @.str.27 = private unnamed_addr constant [6 x i8] c"ltalk\00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"fddi\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"bif\00", align 1 @.str.30 = private unnamed_addr constant [4 x i8] c"sit\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"ip/ddp\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c"gre\00", align 1 @.str.33 = private unnamed_addr constant [7 x i8] c"pimreg\00", align 1 @.str.34 = private unnamed_addr constant [6 x i8] c"hippi\00", align 1 @.str.35 = private unnamed_addr constant [4 x i8] c"ash\00", align 1 @.str.36 = private unnamed_addr constant [7 x i8] c"econet\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"irda\00", align 1 @.str.38 = private unnamed_addr constant [5 x i8] c"fcpp\00", align 1 @.str.39 = private unnamed_addr constant [5 x i8] c"fcal\00", align 1 @.str.40 = private unnamed_addr constant [5 x i8] c"fcpl\00", align 1 @.str.41 = private unnamed_addr constant [6 x i8] c"fcfb0\00", align 1 @.str.42 = private unnamed_addr constant [6 x i8] c"fcfb1\00", align 1 @.str.43 = private unnamed_addr constant [6 x i8] c"fcfb2\00", align 1 @.str.44 = private unnamed_addr constant [6 x i8] c"fcfb3\00", align 1 @.str.45 = private unnamed_addr constant [6 x i8] c"fcfb4\00", align 1 @.str.46 = private unnamed_addr constant [6 x i8] c"fcfb5\00", align 1 @.str.47 = private unnamed_addr constant [6 x i8] c"fcfb6\00", align 1 @.str.48 = private unnamed_addr constant [6 x i8] c"fcfb7\00", align 1 @.str.49 = private unnamed_addr constant [6 x i8] c"fcfb8\00", align 1 @.str.50 = private unnamed_addr constant [6 x i8] c"fcfb9\00", align 1 @.str.51 = private unnamed_addr constant [7 x i8] c"fcfb10\00", align 1 @.str.52 = private unnamed_addr constant [7 x i8] c"fcfb11\00", align 1 @.str.53 = private unnamed_addr constant [7 x i8] c"fcfb12\00", align 1 @.str.54 = private unnamed_addr constant [5 x i8] c"[%d]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ll_type_n2a(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %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 i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %28, %3 %10 = load i32, ptr %8, align 4 %11 = sext i32 %10 to i64 %12 = icmp ult i64 %11, 54 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [54 x %struct.anon], ptr @ll_type_n2a.arphrd_names, i64 0, i64 %15 %17 = getelementptr inbounds %struct.anon, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 16 %19 = load i32, ptr %5, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %27 21: ; preds = %13 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [54 x %struct.anon], ptr @ll_type_n2a.arphrd_names, i64 0, i64 %23 %25 = getelementptr inbounds %struct.anon, ptr %24, i32 0, i32 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %4, align 8 br label %37 27: ; preds = %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 br label %9, !llvm.loop !6 31: ; preds = %9 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = call i32 @snprintf(ptr noundef %32, i32 noundef %33, ptr noundef @.str.54, i32 noundef %34) %36 = load ptr, ptr %6, align 8 store ptr %36, ptr %4, align 8 br label %37 37: ; preds = %31, %21 %38 = load ptr, ptr %4, align 8 ret ptr %38 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprz6qvwoe.c" target datalayout = "e-m:e-p270: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.anon = type { i32, ptr } @ll_type_n2a.arphrd_names = internal global [54 x %struct.anon] [%struct.anon { i32 0, ptr @.str }, %struct.anon { i32 156, ptr @.str.1 }, %struct.anon { i32 157, ptr @.str.2 }, %struct.anon { i32 164, ptr @.str.3 }, %struct.anon { i32 137, ptr @.str.4 }, %struct.anon { i32 162, ptr @.str.5 }, %struct.anon { i32 147, ptr @.str.6 }, %struct.anon { i32 166, ptr @.str.7 }, %struct.anon { i32 167, ptr @.str.8 }, %struct.anon { i32 159, ptr @.str.9 }, %struct.anon { i32 140, ptr @.str.10 }, %struct.anon { i32 132, ptr @.str.11 }, %struct.anon { i32 161, ptr @.str.12 }, %struct.anon { i32 131, ptr @.str.13 }, %struct.anon { i32 160, ptr @.str.14 }, %struct.anon { i32 135, ptr @.str.15 }, %struct.anon { i32 168, ptr @.str.16 }, %struct.anon { i32 136, ptr @.str.17 }, %struct.anon { i32 128, ptr @.str.18 }, %struct.anon { i32 138, ptr @.str.19 }, %struct.anon { i32 149, ptr @.str.20 }, %struct.anon { i32 143, ptr @.str.21 }, %struct.anon { i32 130, ptr @.str.22 }, %struct.anon { i32 129, ptr @.str.23 }, %struct.anon { i32 150, ptr @.str.24 }, %struct.anon { i32 133, ptr @.str.25 }, %struct.anon { i32 141, ptr @.str.26 }, %struct.anon { i32 142, ptr @.str.27 }, %struct.anon { i32 151, ptr @.str.28 }, %struct.anon { i32 163, ptr @.str.29 }, %struct.anon { i32 134, ptr @.str.30 }, %struct.anon { i32 146, ptr @.str.31 }, %struct.anon { i32 145, ptr @.str.32 }, %struct.anon { i32 139, ptr @.str.33 }, %struct.anon { i32 148, ptr @.str.34 }, %struct.anon { i32 165, ptr @.str.35 }, %struct.anon { i32 158, ptr @.str.36 }, %struct.anon { i32 144, ptr @.str.37 }, %struct.anon { i32 152, ptr @.str.38 }, %struct.anon { i32 155, ptr @.str.39 }, %struct.anon { i32 153, ptr @.str.40 }, %struct.anon { i32 154, ptr @.str.41 }, %struct.anon { i32 155, ptr @.str.42 }, %struct.anon { i32 156, ptr @.str.43 }, %struct.anon { i32 157, ptr @.str.44 }, %struct.anon { i32 158, ptr @.str.45 }, %struct.anon { i32 159, ptr @.str.46 }, %struct.anon { i32 160, ptr @.str.47 }, %struct.anon { i32 161, ptr @.str.48 }, %struct.anon { i32 162, ptr @.str.49 }, %struct.anon { i32 163, ptr @.str.50 }, %struct.anon { i32 164, ptr @.str.51 }, %struct.anon { i32 165, ptr @.str.52 }, %struct.anon { i32 166, ptr @.str.53 }], align 16 @.str = private unnamed_addr constant [8 x i8] c"generic\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ether\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"eether\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ax25\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"pronet\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"chaos\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"tr\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"arcnet\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"atalk\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"dlci\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"metricom\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"slip\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"cslip\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"slip6\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"cslip6\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"rsrvd\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"adapt\00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c"rose\00", align 1 @.str.18 = private unnamed_addr constant [4 x i8] c"x25\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"ppp\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"hdlc\00", align 1 @.str.21 = private unnamed_addr constant [5 x i8] c"lapb\00", align 1 @.str.22 = private unnamed_addr constant [5 x i8] c"ipip\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"tunnel6\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"frad\00", align 1 @.str.25 = private unnamed_addr constant [5 x i8] c"skip\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"loopback\00", align 1 @.str.27 = private unnamed_addr constant [6 x i8] c"ltalk\00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"fddi\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"bif\00", align 1 @.str.30 = private unnamed_addr constant [4 x i8] c"sit\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"ip/ddp\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c"gre\00", align 1 @.str.33 = private unnamed_addr constant [7 x i8] c"pimreg\00", align 1 @.str.34 = private unnamed_addr constant [6 x i8] c"hippi\00", align 1 @.str.35 = private unnamed_addr constant [4 x i8] c"ash\00", align 1 @.str.36 = private unnamed_addr constant [7 x i8] c"econet\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"irda\00", align 1 @.str.38 = private unnamed_addr constant [5 x i8] c"fcpp\00", align 1 @.str.39 = private unnamed_addr constant [5 x i8] c"fcal\00", align 1 @.str.40 = private unnamed_addr constant [5 x i8] c"fcpl\00", align 1 @.str.41 = private unnamed_addr constant [6 x i8] c"fcfb0\00", align 1 @.str.42 = private unnamed_addr constant [6 x i8] c"fcfb1\00", align 1 @.str.43 = private unnamed_addr constant [6 x i8] c"fcfb2\00", align 1 @.str.44 = private unnamed_addr constant [6 x i8] c"fcfb3\00", align 1 @.str.45 = private unnamed_addr constant [6 x i8] c"fcfb4\00", align 1 @.str.46 = private unnamed_addr constant [6 x i8] c"fcfb5\00", align 1 @.str.47 = private unnamed_addr constant [6 x i8] c"fcfb6\00", align 1 @.str.48 = private unnamed_addr constant [6 x i8] c"fcfb7\00", align 1 @.str.49 = private unnamed_addr constant [6 x i8] c"fcfb8\00", align 1 @.str.50 = private unnamed_addr constant [6 x i8] c"fcfb9\00", align 1 @.str.51 = private unnamed_addr constant [7 x i8] c"fcfb10\00", align 1 @.str.52 = private unnamed_addr constant [7 x i8] c"fcfb11\00", align 1 @.str.53 = private unnamed_addr constant [7 x i8] c"fcfb12\00", align 1 @.str.54 = private unnamed_addr constant [5 x i8] c"[%d]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ll_type_n2a(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %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 i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = sext i32 %9 to i64 %11 = icmp ult i64 %10, 54 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %27 %13 = load i32, ptr %8, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [54 x %struct.anon], ptr @ll_type_n2a.arphrd_names, i64 0, i64 %14 %16 = getelementptr inbounds %struct.anon, ptr %15, i32 0, i32 0 %17 = load i32, ptr %16, align 16 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %26 20: ; preds = %12 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [54 x %struct.anon], ptr @ll_type_n2a.arphrd_names, i64 0, i64 %22 %24 = getelementptr inbounds %struct.anon, ptr %23, i32 0, i32 1 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %4, align 8 br label %39 26: ; preds = %12 br label %27 27: ; preds = %26 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = icmp ult i64 %31, 54 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str.54, i32 noundef %36) %38 = load ptr, ptr %6, align 8 store ptr %38, ptr %4, align 8 br label %39 39: ; preds = %33, %20 %40 = load ptr, ptr %4, align 8 ret ptr %40 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5epjcrr_.c' source_filename = "/tmp/tmp5epjcrr_.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"(%.15e, %.15e) -> (%.15e, %.15e)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"(%.15e, %.15e) <- (%.15e, %.15e)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [6 x double], align 16 %8 = alloca [6 x double], align 16 %9 = alloca [2 x double], align 16 %10 = alloca [6 x double], align 16 %11 = alloca [6 x double], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %13 = load i32, ptr @M_PI, align 4 %14 = sdiv i32 %13, 2 %15 = sitofp i32 %14 to double store double %15, ptr %12, align 8 %16 = getelementptr inbounds double, ptr %12, i64 1 store double 0.000000e+00, ptr %16, align 8 %17 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 store double 1.000000e-01, ptr %17, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 store double 2.000000e-01, ptr %18, align 8 %19 = getelementptr inbounds double, ptr %18, i64 1 store double 3.000000e-01, ptr %19, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 store double 3.000000e-01, ptr %20, align 8 %21 = getelementptr inbounds double, ptr %20, i64 1 %22 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %23 = load double, ptr %22, align 16 store double %23, ptr %21, align 8 %24 = getelementptr inbounds double, ptr %21, i64 1 %25 = load i32, ptr @M_PI, align 4 %26 = sdiv i32 %25, 4 %27 = sitofp i32 %26 to double store double %27, ptr %24, align 8 %28 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 store double 1.000000e-01, ptr %28, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 store double 1.000000e-01, ptr %29, align 8 %30 = getelementptr inbounds double, ptr %29, i64 1 store double 3.000000e-01, ptr %30, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 store double 4.000000e-01, ptr %31, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 %33 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1 %34 = load double, ptr %33, align 8 store double %34, ptr %32, align 8 %35 = getelementptr inbounds double, ptr %32, i64 1 %36 = load i32, ptr @M_PI, align 4 %37 = sdiv i32 %36, 4 %38 = sitofp i32 %37 to double store double %38, ptr %35, align 8 %39 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %40 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %41 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %42 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0 %43 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 0 %44 = call i32 @spherical_to_uv2(ptr noundef %39, i32 noundef 6, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43) store i32 0, ptr %6, align 4 br label %45 45: ; preds = %67, %2 %46 = load i32, ptr %6, align 4 %47 = icmp slt i32 %46, 6 br i1 %47, label %48, label %70 48: ; preds = %45 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %51 %53 = load double, ptr %52, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %55 %57 = load double, ptr %56, align 8 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 %59 %61 = load double, ptr %60, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 %63 %65 = load double, ptr %64, align 8 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str, double noundef %53, double noundef %57, double noundef %61, double noundef %65) br label %67 67: ; preds = %48 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 br label %45, !llvm.loop !6 70: ; preds = %45 %71 = load i32, ptr @stderr, align 4 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.1) %73 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %74 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0 %75 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 0 %76 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %77 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %78 = call i32 @uv_to_spherical(ptr noundef %73, i32 noundef 6, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77) store i32 0, ptr %6, align 4 br label %79 79: ; preds = %101, %70 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %80, 6 br i1 %81, label %82, label %104 82: ; preds = %79 %83 = load i32, ptr @stderr, align 4 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %85 %87 = load double, ptr %86, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %89 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %6, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 %93 %95 = load double, ptr %94, align 8 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 %97 %99 = load double, ptr %98, align 8 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.2, double noundef %87, double noundef %91, double noundef %95, double noundef %99) br label %101 101: ; preds = %82 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %6, align 4 br label %79, !llvm.loop !8 104: ; preds = %79 ret i32 0 } declare i32 @spherical_to_uv2(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @uv_to_spherical(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5epjcrr_.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"(%.15e, %.15e) -> (%.15e, %.15e)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"(%.15e, %.15e) <- (%.15e, %.15e)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [6 x double], align 16 %8 = alloca [6 x double], align 16 %9 = alloca [2 x double], align 16 %10 = alloca [6 x double], align 16 %11 = alloca [6 x double], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %13 = load i32, ptr @M_PI, align 4 %14 = sdiv i32 %13, 2 %15 = sitofp i32 %14 to double store double %15, ptr %12, align 8 %16 = getelementptr inbounds double, ptr %12, i64 1 store double 0.000000e+00, ptr %16, align 8 %17 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 store double 1.000000e-01, ptr %17, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 store double 2.000000e-01, ptr %18, align 8 %19 = getelementptr inbounds double, ptr %18, i64 1 store double 3.000000e-01, ptr %19, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 store double 3.000000e-01, ptr %20, align 8 %21 = getelementptr inbounds double, ptr %20, i64 1 %22 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %23 = load double, ptr %22, align 16 store double %23, ptr %21, align 8 %24 = getelementptr inbounds double, ptr %21, i64 1 %25 = load i32, ptr @M_PI, align 4 %26 = sdiv i32 %25, 4 %27 = sitofp i32 %26 to double store double %27, ptr %24, align 8 %28 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 store double 1.000000e-01, ptr %28, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 store double 1.000000e-01, ptr %29, align 8 %30 = getelementptr inbounds double, ptr %29, i64 1 store double 3.000000e-01, ptr %30, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 store double 4.000000e-01, ptr %31, align 8 %32 = getelementptr inbounds double, ptr %31, i64 1 %33 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1 %34 = load double, ptr %33, align 8 store double %34, ptr %32, align 8 %35 = getelementptr inbounds double, ptr %32, i64 1 %36 = load i32, ptr @M_PI, align 4 %37 = sdiv i32 %36, 4 %38 = sitofp i32 %37 to double store double %38, ptr %35, align 8 %39 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %40 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %41 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %42 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0 %43 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 0 %44 = call i32 @spherical_to_uv2(ptr noundef %39, i32 noundef 6, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43) store i32 0, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = icmp slt i32 %45, 6 br i1 %46, label %.lr.ph, label %71 .lr.ph: ; preds = %2 br label %47 47: ; preds = %.lr.ph, %66 %48 = load i32, ptr @stderr, align 4 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %50 %52 = load double, ptr %51, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %54 %56 = load double, ptr %55, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 %58 %60 = load double, ptr %59, align 8 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 %62 %64 = load double, ptr %63, align 8 %65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str, double noundef %52, double noundef %56, double noundef %60, double noundef %64) br label %66 66: ; preds = %47 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp slt i32 %69, 6 br i1 %70, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %2 %72 = load i32, ptr @stderr, align 4 %73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.1) %74 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %75 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0 %76 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 0 %77 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 0 %78 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %79 = call i32 @uv_to_spherical(ptr noundef %74, i32 noundef 6, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78) store i32 0, ptr %6, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %80, 6 br i1 %81, label %.lr.ph2, label %106 .lr.ph2: ; preds = %71 br label %82 82: ; preds = %.lr.ph2, %101 %83 = load i32, ptr @stderr, align 4 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [6 x double], ptr %10, i64 0, i64 %85 %87 = load double, ptr %86, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 %89 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %6, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 %93 %95 = load double, ptr %94, align 8 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [6 x double], ptr %8, i64 0, i64 %97 %99 = load double, ptr %98, align 8 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.2, double noundef %87, double noundef %91, double noundef %95, double noundef %99) br label %101 101: ; preds = %82 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %6, align 4 %104 = load i32, ptr %6, align 4 %105 = icmp slt i32 %104, 6 br i1 %105, label %82, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %106 106: ; preds = %._crit_edge3, %71 ret i32 0 } declare i32 @spherical_to_uv2(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @uv_to_spherical(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpeoto1cei.c' source_filename = "/tmp/tmpeoto1cei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_nothing() #0 { 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/tmpeoto1cei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_nothing() #0 { 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/tmpsg9pn7zo.c' source_filename = "/tmp/tmpsg9pn7zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"123\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"12123121212\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 [32 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str.1, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds [32 x i64], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16) store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp eq i64 %18, 2 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(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/tmpsg9pn7zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"123\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"12123121212\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 [32 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str.1, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds [32 x i64], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16) store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp eq i64 %18, 2 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(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/tmpoovdlslk.c' source_filename = "/tmp/tmpoovdlslk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"\0ATree Kernel in SVM-light %s : SVM Classification module %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"V5.01-TK-1.2\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"15.11.06\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"by Alessandro Moschitti, moschitti@info.uniroma2.it\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"University of Rome \22Tor Vergata\22\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [71 x i8] c" usage: svm_classify [options] example_file model_file output_file\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"options: -h -> this help\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c" -v [0..3] -> verbosity level (default 2)\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" -f [0,1] -> 0: old output format of V1.0\0A\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c" -> 1: output the value of decision function (default)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %4 = call i32 (...) @copyright_notice() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @copyright_notice(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoovdlslk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"\0ATree Kernel in SVM-light %s : SVM Classification module %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"V5.01-TK-1.2\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"15.11.06\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"by Alessandro Moschitti, moschitti@info.uniroma2.it\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"University of Rome \22Tor Vergata\22\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [71 x i8] c" usage: svm_classify [options] example_file model_file output_file\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"options: -h -> this help\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c" -v [0..3] -> verbosity level (default 2)\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" -f [0,1] -> 0: old output format of V1.0\0A\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c" -> 1: output the value of decision function (default)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %4 = call i32 (...) @copyright_notice() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @copyright_notice(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe42ch9bm.c' source_filename = "/tmp/tmpe42ch9bm.c" target datalayout = "e-m:e-p270: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/tmpe42ch9bm.c" target datalayout = "e-m:e-p270: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/tmpqfw290vt.c' source_filename = "/tmp/tmpqfw290vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_clear() #0 { %1 = call i32 @lcd_command(i32 noundef 1) ret void } declare i32 @lcd_command(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/tmpqfw290vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_clear() #0 { %1 = call i32 @lcd_command(i32 noundef 1) ret void } declare i32 @lcd_command(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/tmp3iknegp_.c' source_filename = "/tmp/tmp3iknegp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callee3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @increment(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @increment(i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @increment(i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %12, %13 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @increment(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/tmp3iknegp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callee3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @increment(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @increment(i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @increment(i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %12, %13 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @increment(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/tmph1uy41gr.c' source_filename = "/tmp/tmph1uy41gr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @atanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call double (...) @__infer_nondet_double() ret double %3 } declare double @__infer_nondet_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph1uy41gr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @atanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call double (...) @__infer_nondet_double() ret double %3 } declare double @__infer_nondet_double(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp08hzii1k.c' source_filename = "/tmp/tmp08hzii1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Punto: (%d, %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"Impresion de la llamada con parametros por Valor. Punto: (%d, %d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c"Impresion de la llamada con parametros por Referencia. Punto: (%d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 30, ptr %4, align 4 store i32 -45, ptr %5, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @desplazar1(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @desplazar2(ptr noundef %2, ptr noundef %3, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24, i32 noundef %25) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @desplazar1(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @desplazar2(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/tmp08hzii1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Punto: (%d, %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"Impresion de la llamada con parametros por Valor. Punto: (%d, %d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c"Impresion de la llamada con parametros por Referencia. Punto: (%d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 30, ptr %4, align 4 store i32 -45, ptr %5, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @desplazar1(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @desplazar2(ptr noundef %2, ptr noundef %3, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24, i32 noundef %25) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @desplazar1(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @desplazar2(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/tmpyxuox7oo.c' source_filename = "/tmp/tmpyxuox7oo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand() #0 { %1 = call i64 (...) @random() %2 = trunc i64 %1 to i32 ret i32 %2 } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxuox7oo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand() #0 { %1 = call i64 (...) @random() %2 = trunc i64 %1 to i32 ret i32 %2 } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvur_6zkl.c' source_filename = "/tmp/tmpvur_6zkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = mul nsw i32 %6, 1000 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = sdiv i32 %9, 1000 %11 = add nsw i32 %7, %10 %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (...) @rand() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 (...) @rand() store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = call i32 (...) @rand() store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 (...) @rand() store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #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/tmpvur_6zkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = mul nsw i32 %6, 1000 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = sdiv i32 %9, 1000 %11 = add nsw i32 %7, %10 %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (...) @rand() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 (...) @rand() store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = call i32 (...) @rand() store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = call i32 (...) @rand() store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #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/tmp3wykrf45.c' source_filename = "/tmp/tmp3wykrf45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3wykrf45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4i9peug0.c' source_filename = "/tmp/tmp4i9peug0.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32, i32, i64 } %struct.timeval = type { i64 } %struct.timezone = type { i32 } @.str = private unnamed_addr constant [25 x i8] c"gettimeofday() error, %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_datetime_of_day(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) #0 { %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 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 %struct.tm, align 8 %21 = alloca %struct.timeval, align 8 %22 = alloca %struct.timezone, align 4 %23 = alloca [200 x i8], align 16 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %24 = call i32 @time(ptr noundef null) store i32 %24, ptr %19, align 4 %25 = call ptr @localtime(ptr noundef %19) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %25, i64 40, i1 false) %26 = call i32 @gettimeofday(ptr noundef %21, ptr noundef %22) %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %32 28: ; preds = %9 %29 = getelementptr inbounds [200 x i8], ptr %23, i64 0, i64 0 %30 = call i32 @os_last_err_desc(ptr noundef %29, i32 noundef 200) %31 = call i32 @fatal_error(ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %28, %9 %33 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = load ptr, ptr %10, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1900 %39 = load ptr, ptr %11, align 8 store i32 %38, ptr %39, align 4 %40 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 2 %41 = load i32, ptr %40, align 8 %42 = add nsw i32 %41, 1 %43 = load ptr, ptr %12, align 8 store i32 %42, ptr %43, align 4 %44 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %13, align 8 store i32 %45, ptr %46, align 4 %47 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 4 %48 = load i32, ptr %47, align 8 %49 = load ptr, ptr %14, align 8 store i32 %48, ptr %49, align 4 %50 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 5 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %15, align 8 store i32 %51, ptr %52, align 4 %53 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 6 %54 = load i32, ptr %53, align 8 %55 = load ptr, ptr %16, align 8 store i32 %54, ptr %55, align 4 %56 = getelementptr inbounds %struct.timeval, ptr %21, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = load ptr, ptr %17, align 8 store i64 %57, ptr %58, align 8 %59 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 7 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %18, align 8 store i64 %60, ptr %61, align 8 ret void } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fatal_error(ptr noundef, i32 noundef) #1 declare i32 @os_last_err_desc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4i9peug0.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32, i32, i64 } %struct.timeval = type { i64 } %struct.timezone = type { i32 } @.str = private unnamed_addr constant [25 x i8] c"gettimeofday() error, %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_datetime_of_day(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) #0 { %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 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 %struct.tm, align 8 %21 = alloca %struct.timeval, align 8 %22 = alloca %struct.timezone, align 4 %23 = alloca [200 x i8], align 16 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %24 = call i32 @time(ptr noundef null) store i32 %24, ptr %19, align 4 %25 = call ptr @localtime(ptr noundef %19) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %25, i64 40, i1 false) %26 = call i32 @gettimeofday(ptr noundef %21, ptr noundef %22) %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %32 28: ; preds = %9 %29 = getelementptr inbounds [200 x i8], ptr %23, i64 0, i64 0 %30 = call i32 @os_last_err_desc(ptr noundef %29, i32 noundef 200) %31 = call i32 @fatal_error(ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %28, %9 %33 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = load ptr, ptr %10, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1900 %39 = load ptr, ptr %11, align 8 store i32 %38, ptr %39, align 4 %40 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 2 %41 = load i32, ptr %40, align 8 %42 = add nsw i32 %41, 1 %43 = load ptr, ptr %12, align 8 store i32 %42, ptr %43, align 4 %44 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %13, align 8 store i32 %45, ptr %46, align 4 %47 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 4 %48 = load i32, ptr %47, align 8 %49 = load ptr, ptr %14, align 8 store i32 %48, ptr %49, align 4 %50 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 5 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %15, align 8 store i32 %51, ptr %52, align 4 %53 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 6 %54 = load i32, ptr %53, align 8 %55 = load ptr, ptr %16, align 8 store i32 %54, ptr %55, align 4 %56 = getelementptr inbounds %struct.timeval, ptr %21, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = load ptr, ptr %17, align 8 store i64 %57, ptr %58, align 8 %59 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 7 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %18, align 8 store i64 %60, ptr %61, align 8 ret void } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fatal_error(ptr noundef, i32 noundef) #1 declare i32 @os_last_err_desc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu_39vv4a.c' source_filename = "/tmp/tmpu_39vv4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @breakline(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = call ptr @calloc(i32 noundef 8, i32 noundef 1) store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %35, %21, %2 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = call ptr @strsep(ptr noundef %3, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = icmp ne ptr %13, null br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %46 17: ; preds = %15 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 br label %9, !llvm.loop !6 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = mul i64 8, %28 %30 = trunc i64 %29 to i32 %31 = call ptr @realloc(ptr noundef %25, i32 noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %35, label %34 34: ; preds = %22 store i32 0, ptr %5, align 4 br label %46 35: ; preds = %22 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %5, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %37, i64 %40 store ptr %36, ptr %41, align 8 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 store ptr null, ptr %45, align 8 br label %9, !llvm.loop !6 46: ; preds = %34, %15 %47 = load i32, ptr %5, align 4 %48 = load ptr, ptr %4, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %7, align 8 ret ptr %49 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare ptr @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu_39vv4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @breakline(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = call ptr @calloc(i32 noundef 8, i32 noundef 1) store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %.backedge, %2 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = call ptr @strsep(ptr noundef %3, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = icmp ne ptr %13, null br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %.loopexit 17: ; preds = %15 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 br label %.backedge .backedge: ; preds = %21, %35 br label %9, !llvm.loop !6 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = mul i64 8, %28 %30 = trunc i64 %29 to i32 %31 = call ptr @realloc(ptr noundef %25, i32 noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %35, label %34 34: ; preds = %22 store i32 0, ptr %5, align 4 br label %46 35: ; preds = %22 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %5, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %37, i64 %40 store ptr %36, ptr %41, align 8 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 store ptr null, ptr %45, align 8 br label %.backedge .loopexit: ; preds = %15 br label %46 46: ; preds = %.loopexit, %34 %47 = load i32, ptr %5, align 4 %48 = load ptr, ptr %4, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %7, align 8 ret ptr %49 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare ptr @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp30ubgxp_.c' source_filename = "/tmp/tmp30ubgxp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Equilikely(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = call i64 (...) @Random() %11 = mul nsw i64 %9, %10 %12 = add nsw i64 %5, %11 ret i64 %12 } declare i64 @Random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp30ubgxp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Equilikely(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = call i64 (...) @Random() %11 = mul nsw i64 %9, %10 %12 = add nsw i64 %5, %11 ret i64 %12 } declare i64 @Random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpholow3zz.c' source_filename = "/tmp/tmpholow3zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ACS_LTEE = dso_local global i32 0, align 4 @ACS_RTEE = dso_local global i32 0, align 4 @ACS_TTEE = dso_local global i32 0, align 4 @ACS_BTEE = dso_local global i32 0, align 4 @ACS_PLUS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_board(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @box(ptr noundef %9, i32 noundef 0, i32 noundef 0) %11 = load ptr, ptr %5, align 8 %12 = call i32 @mvwhline(ptr noundef %11, i32 noundef 8, i32 noundef 1, i32 noundef 0, i32 noundef 47) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr @ACS_LTEE, align 4 %15 = call i32 @mvwaddch(ptr noundef %13, i32 noundef 8, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @ACS_RTEE, align 4 %18 = call i32 @mvwaddch(ptr noundef %16, i32 noundef 8, i32 noundef 48, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @mvwhline(ptr noundef %19, i32 noundef 16, i32 noundef 1, i32 noundef 0, i32 noundef 47) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @ACS_LTEE, align 4 %23 = call i32 @mvwaddch(ptr noundef %21, i32 noundef 16, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr @ACS_RTEE, align 4 %26 = call i32 @mvwaddch(ptr noundef %24, i32 noundef 16, i32 noundef 48, i32 noundef %25) %27 = load ptr, ptr %5, align 8 %28 = call i32 @mvwvline(ptr noundef %27, i32 noundef 1, i32 noundef 16, i32 noundef 0, i32 noundef 23) %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr @ACS_TTEE, align 4 %31 = call i32 @mvwaddch(ptr noundef %29, i32 noundef 0, i32 noundef 16, i32 noundef %30) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr @ACS_BTEE, align 4 %34 = call i32 @mvwaddch(ptr noundef %32, i32 noundef 24, i32 noundef 16, i32 noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call i32 @mvwvline(ptr noundef %35, i32 noundef 1, i32 noundef 32, i32 noundef 0, i32 noundef 23) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr @ACS_TTEE, align 4 %39 = call i32 @mvwaddch(ptr noundef %37, i32 noundef 0, i32 noundef 32, i32 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr @ACS_BTEE, align 4 %42 = call i32 @mvwaddch(ptr noundef %40, i32 noundef 24, i32 noundef 32, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr @ACS_PLUS, align 4 %45 = call i32 @mvwaddch(ptr noundef %43, i32 noundef 8, i32 noundef 16, i32 noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr @ACS_PLUS, align 4 %48 = call i32 @mvwaddch(ptr noundef %46, i32 noundef 16, i32 noundef 16, i32 noundef %47) %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr @ACS_PLUS, align 4 %51 = call i32 @mvwaddch(ptr noundef %49, i32 noundef 8, i32 noundef 32, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr @ACS_PLUS, align 4 %54 = call i32 @mvwaddch(ptr noundef %52, i32 noundef 16, i32 noundef 32, i32 noundef %53) %55 = load i32, ptr %8, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %4 %58 = load ptr, ptr %5, align 8 %59 = call i32 @draw_numbers(ptr noundef %58) br label %60 60: ; preds = %57, %4 %61 = load ptr, ptr %5, align 8 %62 = call i32 @wrefresh(ptr noundef %61) ret void } declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwhline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwvline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @draw_numbers(ptr noundef) #1 declare i32 @wrefresh(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpholow3zz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ACS_LTEE = dso_local global i32 0, align 4 @ACS_RTEE = dso_local global i32 0, align 4 @ACS_TTEE = dso_local global i32 0, align 4 @ACS_BTEE = dso_local global i32 0, align 4 @ACS_PLUS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_board(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @box(ptr noundef %9, i32 noundef 0, i32 noundef 0) %11 = load ptr, ptr %5, align 8 %12 = call i32 @mvwhline(ptr noundef %11, i32 noundef 8, i32 noundef 1, i32 noundef 0, i32 noundef 47) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr @ACS_LTEE, align 4 %15 = call i32 @mvwaddch(ptr noundef %13, i32 noundef 8, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @ACS_RTEE, align 4 %18 = call i32 @mvwaddch(ptr noundef %16, i32 noundef 8, i32 noundef 48, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @mvwhline(ptr noundef %19, i32 noundef 16, i32 noundef 1, i32 noundef 0, i32 noundef 47) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @ACS_LTEE, align 4 %23 = call i32 @mvwaddch(ptr noundef %21, i32 noundef 16, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr @ACS_RTEE, align 4 %26 = call i32 @mvwaddch(ptr noundef %24, i32 noundef 16, i32 noundef 48, i32 noundef %25) %27 = load ptr, ptr %5, align 8 %28 = call i32 @mvwvline(ptr noundef %27, i32 noundef 1, i32 noundef 16, i32 noundef 0, i32 noundef 23) %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr @ACS_TTEE, align 4 %31 = call i32 @mvwaddch(ptr noundef %29, i32 noundef 0, i32 noundef 16, i32 noundef %30) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr @ACS_BTEE, align 4 %34 = call i32 @mvwaddch(ptr noundef %32, i32 noundef 24, i32 noundef 16, i32 noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call i32 @mvwvline(ptr noundef %35, i32 noundef 1, i32 noundef 32, i32 noundef 0, i32 noundef 23) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr @ACS_TTEE, align 4 %39 = call i32 @mvwaddch(ptr noundef %37, i32 noundef 0, i32 noundef 32, i32 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr @ACS_BTEE, align 4 %42 = call i32 @mvwaddch(ptr noundef %40, i32 noundef 24, i32 noundef 32, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr @ACS_PLUS, align 4 %45 = call i32 @mvwaddch(ptr noundef %43, i32 noundef 8, i32 noundef 16, i32 noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr @ACS_PLUS, align 4 %48 = call i32 @mvwaddch(ptr noundef %46, i32 noundef 16, i32 noundef 16, i32 noundef %47) %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr @ACS_PLUS, align 4 %51 = call i32 @mvwaddch(ptr noundef %49, i32 noundef 8, i32 noundef 32, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr @ACS_PLUS, align 4 %54 = call i32 @mvwaddch(ptr noundef %52, i32 noundef 16, i32 noundef 32, i32 noundef %53) %55 = load i32, ptr %8, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %4 %58 = load ptr, ptr %5, align 8 %59 = call i32 @draw_numbers(ptr noundef %58) br label %60 60: ; preds = %57, %4 %61 = load ptr, ptr %5, align 8 %62 = call i32 @wrefresh(ptr noundef %61) ret void } declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwhline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwvline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @draw_numbers(ptr noundef) #1 declare i32 @wrefresh(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1aa4q6mw.c' source_filename = "/tmp/tmp1aa4q6mw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"StringAppendChar: maxlen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @StringAppendChar(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp sge i32 %10, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @Dbg(i32 noundef 128, i32 noundef 1, ptr noundef @.str) br label %28 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %16, %14 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @Dbg(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1aa4q6mw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"StringAppendChar: maxlen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @StringAppendChar(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp sge i32 %10, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @Dbg(i32 noundef 128, i32 noundef 1, ptr noundef @.str) br label %28 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %16, %14 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @Dbg(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphqr37txv.c' source_filename = "/tmp/tmphqr37txv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"100000000\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca 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 store i32 0, ptr %1, align 4 %27 = call i32 (...) @initRand() store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 %28 = call i32 @AskForBonus(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %12, align 4 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %15, align 4 %36 = call i32 @mpz_inits(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef null) %37 = load i32, ptr %16, align 4 %38 = load i32, ptr %17, align 4 %39 = load i32, ptr %18, align 4 %40 = load i32, ptr %19, align 4 %41 = load i32, ptr %20, align 4 %42 = load i32, ptr %21, align 4 %43 = load i32, ptr %22, align 4 %44 = load i32, ptr %23, align 4 %45 = load i32, ptr %24, align 4 %46 = load i32, ptr %25, align 4 %47 = call i32 @mpf_inits(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef null) %48 = load i32, ptr %15, align 4 %49 = call i32 @mpz_set_str(i32 noundef %48, ptr noundef @.str, i32 noundef 10) %50 = load i32, ptr %5, align 4 %51 = call i32 @CalcMaxAcceptedRand(i32 noundef %50) store i32 %51, ptr %26, align 4 br label %52 52: ; preds = %0, %93 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %5, align 4 %55 = call i32 @DoPlayerRoll(ptr noundef %7, i32 noundef %53, i32 noundef %54, ptr noundef %26) %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %5, align 4 %58 = call i32 @DoPlayerRoll(ptr noundef %8, i32 noundef %56, i32 noundef %57, ptr noundef %26) %59 = load i64, ptr %7, align 8 %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = add nsw i64 %59, %61 %63 = load i64, ptr %8, align 8 %64 = icmp sgt i64 %62, %63 br i1 %64, label %65, label %69 65: ; preds = %52 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = call i32 @mpz_add_ui(i32 noundef %66, i32 noundef %67, i32 noundef 1) br label %93 69: ; preds = %52 %70 = load i64, ptr %7, align 8 %71 = load i32, ptr %2, align 4 %72 = sext i32 %71 to i64 %73 = add nsw i64 %70, %72 %74 = load i64, ptr %8, align 8 %75 = icmp slt i64 %73, %74 br i1 %75, label %76, label %80 76: ; preds = %69 %77 = load i32, ptr %10, align 4 %78 = load i32, ptr %10, align 4 %79 = call i32 @mpz_add_ui(i32 noundef %77, i32 noundef %78, i32 noundef 1) br label %92 80: ; preds = %69 %81 = load i32, ptr %3, align 4 %82 = icmp eq i32 %81, 1 br i1 %82, label %83, label %87 83: ; preds = %80 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = call i32 @mpz_add_ui(i32 noundef %84, i32 noundef %85, i32 noundef 1) br label %91 87: ; preds = %80 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %13, align 4 %90 = call i32 @mpz_add_ui(i32 noundef %88, i32 noundef %89, i32 noundef 1) br label %91 91: ; preds = %87, %83 br label %92 92: ; preds = %91, %76 br label %93 93: ; preds = %92, %65 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %11, align 4 %96 = call i32 @mpz_add_ui(i32 noundef %94, i32 noundef %95, i32 noundef 1) %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr %12, align 4 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %14, align 4 %104 = load i32, ptr %15, align 4 %105 = load i32, ptr %16, align 4 %106 = load i32, ptr %17, align 4 %107 = load i32, ptr %18, align 4 %108 = load i32, ptr %19, align 4 %109 = load i32, ptr %20, align 4 %110 = load i32, ptr %21, align 4 %111 = load i32, ptr %22, align 4 %112 = load i32, ptr %23, align 4 %113 = load i32, ptr %24, align 4 %114 = load i32, ptr %25, align 4 %115 = call i32 @PrintIfNeeded(i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113, i32 noundef %114) br label %52 } declare i32 @initRand(...) #1 declare i32 @AskForBonus(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mpz_inits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpf_inits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpz_set_str(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @CalcMaxAcceptedRand(i32 noundef) #1 declare i32 @DoPlayerRoll(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpz_add_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @PrintIfNeeded(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphqr37txv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"100000000\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca 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 store i32 0, ptr %1, align 4 %27 = call i32 (...) @initRand() store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 %28 = call i32 @AskForBonus(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %12, align 4 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %15, align 4 %36 = call i32 @mpz_inits(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef null) %37 = load i32, ptr %16, align 4 %38 = load i32, ptr %17, align 4 %39 = load i32, ptr %18, align 4 %40 = load i32, ptr %19, align 4 %41 = load i32, ptr %20, align 4 %42 = load i32, ptr %21, align 4 %43 = load i32, ptr %22, align 4 %44 = load i32, ptr %23, align 4 %45 = load i32, ptr %24, align 4 %46 = load i32, ptr %25, align 4 %47 = call i32 @mpf_inits(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef null) %48 = load i32, ptr %15, align 4 %49 = call i32 @mpz_set_str(i32 noundef %48, ptr noundef @.str, i32 noundef 10) %50 = load i32, ptr %5, align 4 %51 = call i32 @CalcMaxAcceptedRand(i32 noundef %50) store i32 %51, ptr %26, align 4 br label %52 52: ; preds = %93, %0 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %5, align 4 %55 = call i32 @DoPlayerRoll(ptr noundef %7, i32 noundef %53, i32 noundef %54, ptr noundef %26) %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %5, align 4 %58 = call i32 @DoPlayerRoll(ptr noundef %8, i32 noundef %56, i32 noundef %57, ptr noundef %26) %59 = load i64, ptr %7, align 8 %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = add nsw i64 %59, %61 %63 = load i64, ptr %8, align 8 %64 = icmp sgt i64 %62, %63 br i1 %64, label %65, label %69 65: ; preds = %52 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = call i32 @mpz_add_ui(i32 noundef %66, i32 noundef %67, i32 noundef 1) br label %93 69: ; preds = %52 %70 = load i64, ptr %7, align 8 %71 = load i32, ptr %2, align 4 %72 = sext i32 %71 to i64 %73 = add nsw i64 %70, %72 %74 = load i64, ptr %8, align 8 %75 = icmp slt i64 %73, %74 br i1 %75, label %76, label %80 76: ; preds = %69 %77 = load i32, ptr %10, align 4 %78 = load i32, ptr %10, align 4 %79 = call i32 @mpz_add_ui(i32 noundef %77, i32 noundef %78, i32 noundef 1) br label %92 80: ; preds = %69 %81 = load i32, ptr %3, align 4 %82 = icmp eq i32 %81, 1 br i1 %82, label %83, label %87 83: ; preds = %80 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = call i32 @mpz_add_ui(i32 noundef %84, i32 noundef %85, i32 noundef 1) br label %91 87: ; preds = %80 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %13, align 4 %90 = call i32 @mpz_add_ui(i32 noundef %88, i32 noundef %89, i32 noundef 1) br label %91 91: ; preds = %87, %83 br label %92 92: ; preds = %91, %76 br label %93 93: ; preds = %92, %65 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %11, align 4 %96 = call i32 @mpz_add_ui(i32 noundef %94, i32 noundef %95, i32 noundef 1) %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr %12, align 4 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %14, align 4 %104 = load i32, ptr %15, align 4 %105 = load i32, ptr %16, align 4 %106 = load i32, ptr %17, align 4 %107 = load i32, ptr %18, align 4 %108 = load i32, ptr %19, align 4 %109 = load i32, ptr %20, align 4 %110 = load i32, ptr %21, align 4 %111 = load i32, ptr %22, align 4 %112 = load i32, ptr %23, align 4 %113 = load i32, ptr %24, align 4 %114 = load i32, ptr %25, align 4 %115 = call i32 @PrintIfNeeded(i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113, i32 noundef %114) br label %52 } declare i32 @initRand(...) #1 declare i32 @AskForBonus(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mpz_inits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpf_inits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpz_set_str(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @CalcMaxAcceptedRand(i32 noundef) #1 declare i32 @DoPlayerRoll(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mpz_add_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @PrintIfNeeded(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5dl1eaoz.c' source_filename = "/tmp/tmp5dl1eaoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f\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 [5 x float], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %12, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 store i32 4, ptr %2, align 4 br label %16 16: ; preds = %25, %15 %17 = load i32, ptr %2, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %21 %23 = load float, ptr %22, align 4 %24 = call i32 @printf(ptr noundef @.str.1, float noundef %23) br label %25 25: ; preds = %19 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %2, align 4 br label %16, !llvm.loop !8 28: ; preds = %16 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5dl1eaoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f\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 [5 x float], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %11 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %8 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 5 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 store i32 4, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %.lr.ph2, label %30 .lr.ph2: ; preds = %16 br label %19 19: ; preds = %.lr.ph2, %25 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %21 %23 = load float, ptr %22, align 4 %24 = call i32 @printf(ptr noundef @.str.1, float noundef %23) br label %25 25: ; preds = %19 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %25 br label %30 30: ; preds = %._crit_edge3, %16 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkmxnoxyl.c' source_filename = "/tmp/tmpkmxnoxyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 10, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %40 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 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp ne i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 br label %19 19: ; preds = %16, %10 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp ne i32 %23, 0 br i1 %24, label %39, label %25 25: ; preds = %19 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 2 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) br label %35 33: ; preds = %25 %34 = load i32, ptr %7, align 4 br label %35 35: ; preds = %33, %28 %36 = phi i32 [ %32, %28 ], [ %34, %33 ] store i32 %36, ptr %7, align 4 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 2 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %35, %19 br label %40 40: ; preds = %39, %2 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %51 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 br label %52 51: ; preds = %40 br label %52 52: ; preds = %51, %45 %53 = phi ptr [ %50, %45 ], [ @.str.2, %51 ] %54 = call i32 @head(i32 noundef %41, ptr noundef %53) ret i32 %54 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @head(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmxnoxyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 10, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %40 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 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp ne i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 br label %19 19: ; preds = %16, %10 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.1) %24 = icmp ne i32 %23, 0 br i1 %24, label %39, label %25 25: ; preds = %19 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 2 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) br label %35 33: ; preds = %25 %34 = load i32, ptr %7, align 4 br label %35 35: ; preds = %33, %28 %36 = phi i32 [ %32, %28 ], [ %34, %33 ] store i32 %36, ptr %7, align 4 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 2 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %35, %19 br label %40 40: ; preds = %39, %2 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %51 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 br label %52 51: ; preds = %40 br label %52 52: ; preds = %51, %45 %53 = phi ptr [ %50, %45 ], [ @.str.2, %51 ] %54 = call i32 @head(i32 noundef %41, ptr noundef %53) ret i32 %54 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @head(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzq4hnxmt.c' source_filename = "/tmp/tmpzq4hnxmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %21, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = call double (...) @rand_double() %12 = call double @llvm.fmuladd.f64(double %11, double 1.000000e+01, double -5.000000e+00) store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call double @tan(double noundef %13) #4 store double %14, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %3, align 8 %17 = fcmp une double %15, %16 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @printf(ptr noundef @.str) br label %24 20: ; preds = %10 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %7, !llvm.loop !6 24: ; preds = %18, %7 %25 = call double (...) @tic() %26 = load double, ptr %4, align 8 %27 = fsub double %25, %26 store double %27, ptr %1, align 8 %28 = load double, ptr %3, align 8 %29 = load double, ptr %3, align 8 %30 = fcmp une double %28, %29 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 @printf(ptr noundef @.str) br label %33 33: ; preds = %31, %24 %34 = load double, ptr %1, align 8 ret double %34 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @tan(double noundef) #3 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzq4hnxmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %20 %10 = call double (...) @rand_double() %11 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+01, double -5.000000e+00) store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call double @tan(double noundef %12) #4 store double %13, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = fcmp une double %14, %15 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = call i32 @printf(ptr noundef @.str) br label %25 19: ; preds = %9 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 1000000 br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %25 25: ; preds = %.loopexit, %17 %26 = call double (...) @tic() %27 = load double, ptr %4, align 8 %28 = fsub double %26, %27 store double %28, ptr %1, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %3, align 8 %31 = fcmp une double %29, %30 br i1 %31, label %32, label %34 32: ; preds = %25 %33 = call i32 @printf(ptr noundef @.str) br label %34 34: ; preds = %32, %25 %35 = load double, ptr %1, align 8 ret double %35 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @tan(double noundef) #3 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpumu2hkww.c' source_filename = "/tmp/tmpumu2hkww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @p_fqnname(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %11, align 4 %22 = call i32 @dn_expand(ptr noundef %14, ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %12, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %57 25: ; preds = %5 %26 = load ptr, ptr %10, align 8 %27 = call i32 @strlen(ptr noundef %26) store i32 %27, ptr %13, align 4 %28 = load i32, ptr %13, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %39, label %30 30: ; preds = %25 %31 = load ptr, ptr %10, align 8 %32 = load i32, ptr %13, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 46 br i1 %38, label %39, label %52 39: ; preds = %30, %25 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %40, 1 %42 = load i32, ptr %11, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %39 store ptr null, ptr %6, align 8 br label %57 45: ; preds = %39 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str) br label %51 51: ; preds = %45 br label %52 52: ; preds = %51, %30 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store ptr %56, ptr %6, align 8 br label %57 57: ; preds = %52, %44, %24 %58 = load ptr, ptr %6, align 8 ret ptr %58 } declare i32 @dn_expand(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpumu2hkww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @p_fqnname(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %11, align 4 %22 = call i32 @dn_expand(ptr noundef %14, ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %12, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %57 25: ; preds = %5 %26 = load ptr, ptr %10, align 8 %27 = call i32 @strlen(ptr noundef %26) store i32 %27, ptr %13, align 4 %28 = load i32, ptr %13, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %39, label %30 30: ; preds = %25 %31 = load ptr, ptr %10, align 8 %32 = load i32, ptr %13, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 46 br i1 %38, label %39, label %52 39: ; preds = %30, %25 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %40, 1 %42 = load i32, ptr %11, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %39 store ptr null, ptr %6, align 8 br label %57 45: ; preds = %39 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str) br label %51 51: ; preds = %45 br label %52 52: ; preds = %51, %30 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store ptr %56, ptr %6, align 8 br label %57 57: ; preds = %52, %44, %24 %58 = load ptr, ptr %6, align 8 ret ptr %58 } declare i32 @dn_expand(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqlsyeb1o.c' source_filename = "/tmp/tmpqlsyeb1o.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [36 x i8] c"Blanks: %d, Tabs: %d, Newlines: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %32, %0 %9 = call i32 (...) @getchar() store i32 %9, ptr %2, align 4 %10 = load i32, ptr @EOF, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %12, label %33 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 9 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %32 18: ; preds = %12 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 32 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %31 24: ; preds = %18 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %27, %24 br label %31 31: ; preds = %30, %21 br label %32 32: ; preds = %31, %15 br label %8, !llvm.loop !6 33: ; preds = %8 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqlsyeb1o.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [36 x i8] c"Blanks: %d, Tabs: %d, Newlines: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = call i32 (...) @getchar() store i32 %8, ptr %2, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %31 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 9 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %31 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, 32 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %30 23: ; preds = %17 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %26, %23 br label %30 30: ; preds = %29, %20 br label %31 31: ; preds = %30, %14 %32 = call i32 (...) @getchar() store i32 %32, ptr %2, align 4 %33 = load i32, ptr @EOF, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %0 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %36, i32 noundef %37, i32 noundef %38) %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6e1jo674.c' source_filename = "/tmp/tmp6e1jo674.c" target datalayout = "e-m:e-p270: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/tmp6e1jo674.c" target datalayout = "e-m:e-p270: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/tmpbnprzbso.c' source_filename = "/tmp/tmpbnprzbso.c" target datalayout = "e-m:e-p270: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/tmpbnprzbso.c" target datalayout = "e-m:e-p270: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/tmpya1rfkwe.c' source_filename = "/tmp/tmpya1rfkwe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_kill(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 9, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %8, %2 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @kill(i32 noundef %17, i32 noundef %18) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) br label %23 23: ; preds = %21, %13 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpya1rfkwe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_kill(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 9, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %8, %2 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @kill(i32 noundef %17, i32 noundef %18) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @perror(ptr noundef @.str) br label %23 23: ; preds = %21, %13 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4or013wp.c' source_filename = "/tmp/tmp4or013wp.c" target datalayout = "e-m:e-p270: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_MIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"is substract ok: %d\0A\00", align 1 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %4 = load i32, ptr @INT_MIN, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @tsub_ok(i32 noundef %5, i32 noundef %6) %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) store i32 -10, ptr %2, align 4 %9 = load i32, ptr @INT_MAX, align 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @tsub_ok(i32 noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) store i32 -1024, ptr %2, align 4 %14 = load i32, ptr @INT_MIN, align 4 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @tsub_ok(i32 noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) store i32 1024, ptr %2, align 4 store i32 2048, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = call i32 @tsub_ok(i32 noundef %19, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @tsub_ok(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/tmp4or013wp.c" target datalayout = "e-m:e-p270: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_MIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"is substract ok: %d\0A\00", align 1 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %4 = load i32, ptr @INT_MIN, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @tsub_ok(i32 noundef %5, i32 noundef %6) %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) store i32 -10, ptr %2, align 4 %9 = load i32, ptr @INT_MAX, align 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @tsub_ok(i32 noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) store i32 -1024, ptr %2, align 4 %14 = load i32, ptr @INT_MIN, align 4 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @tsub_ok(i32 noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) store i32 1024, ptr %2, align 4 store i32 2048, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = call i32 @tsub_ok(i32 noundef %19, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @tsub_ok(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/tmpyvtrw0mn.c' source_filename = "/tmp/tmpyvtrw0mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ascii(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @pkt_len(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 br label %16 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = call i32 @pkt_pull(ptr noundef %10, i64 noundef %11) %13 = load i64, ptr %3, align 8 %14 = call i32 @_ascii(i32 noundef %12, i64 noundef %13) %15 = call i32 @tprintf(ptr noundef @.str) br label %16 16: ; preds = %9, %8 ret void } declare i64 @pkt_len(ptr noundef) #1 declare i32 @_ascii(i32 noundef, i64 noundef) #1 declare i32 @pkt_pull(ptr noundef, i64 noundef) #1 declare i32 @tprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyvtrw0mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ascii(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @pkt_len(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1 br label %16 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = call i32 @pkt_pull(ptr noundef %10, i64 noundef %11) %13 = load i64, ptr %3, align 8 %14 = call i32 @_ascii(i32 noundef %12, i64 noundef %13) %15 = call i32 @tprintf(ptr noundef @.str) br label %16 16: ; preds = %9, %8 ret void } declare i64 @pkt_len(ptr noundef) #1 declare i32 @_ascii(i32 noundef, i64 noundef) #1 declare i32 @pkt_pull(ptr noundef, i64 noundef) #1 declare i32 @tprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparvga3va.c' source_filename = "/tmp/tmparvga3va.c" target datalayout = "e-m:e-p270: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/tmparvga3va.c" target datalayout = "e-m:e-p270: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/tmpl_tqe4ck.c' source_filename = "/tmp/tmpl_tqe4ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @factorial(i32 noundef %4) store i64 %5, ptr %3, align 8 ret i32 0 } declare i64 @factorial(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/tmpl_tqe4ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @factorial(i32 noundef %4) store i64 %5, ptr %3, align 8 ret i32 0 } declare i64 @factorial(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/tmp172v6rq0.c' source_filename = "/tmp/tmp172v6rq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_getppid = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getppid() #0 { %1 = load i32, ptr @SYS_getppid, align 4 %2 = call i32 @syscall_0(i32 noundef %1) ret i32 %2 } declare i32 @syscall_0(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/tmp172v6rq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_getppid = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getppid() #0 { %1 = load i32, ptr @SYS_getppid, align 4 %2 = call i32 @syscall_0(i32 noundef %1) ret i32 %2 } declare i32 @syscall_0(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/tmpxm9eovkq.c' source_filename = "/tmp/tmpxm9eovkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s%c%c\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Content-Type:text/html;charset=iso-8859-1\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"<TITLE>Decoded NH </TITLE>\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"<P>Error! Error in passing query string (%p) to script.\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"<P>Error! Input hex (0x%s) longer than 64 bit\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"0123456789abcdefABCDEF\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"<P>Error! Invalide input hex (0x%s)\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"%16s&start_bit=%d&end_bit=%d\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"<P>Error! 2Invalid query string (%s) to script.\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"<P>Error: Invalid start bit (%d)\0A\00", align 1 @.str.12 = private unnamed_addr constant [32 x i8] c"<P>Error: Invalid end bit (%d)\0A\00", align 1 @.str.13 = private unnamed_addr constant [52 x i8] c"<P>Error: End bit (%d) smaller that start bit (%d)\0A\00", align 1 @.str.14 = private unnamed_addr constant [35 x i8] c"<P>Invalid 74 bit hex string (%s)\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"<pre>\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"</pre>\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 ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [20 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr null, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %8, align 8 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13, i32 noundef 10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %16 = call ptr @getenv(ptr noundef @.str.3) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %0 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20) store i32 -1, ptr %1, align 4 br label %157 22: ; preds = %0 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 8 store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 48 br i1 %29, label %30, label %45 30: ; preds = %22 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 120 br i1 %35, label %42, label %36 36: ; preds = %30 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 88 br i1 %41, label %42, label %45 42: ; preds = %36, %30 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %42, %36, %22 store i32 0, ptr %2, align 4 store i32 0, ptr %13, align 4 %46 = load ptr, ptr %3, align 8 store ptr %46, ptr %4, align 8 br label %47 47: ; preds = %52, %45 %48 = load ptr, ptr %4, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 38 br i1 %51, label %52, label %63 52: ; preds = %47 %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %13, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %4, align 8 %57 = load ptr, ptr %4, align 8 %58 = load i8, ptr %57, align 1 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %2, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %61 store i8 %58, ptr %62, align 1 br label %47, !llvm.loop !6 63: ; preds = %47 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %2, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %66 store i8 0, ptr %67, align 1 %68 = load i32, ptr %13, align 4 %69 = icmp sgt i32 %68, 16 br i1 %69, label %70, label %73 70: ; preds = %63 %71 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %71) store i32 -1, ptr %1, align 4 br label %157 73: ; preds = %63 %74 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %75 = call i64 @strspn(ptr noundef %74, ptr noundef @.str.6) %76 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %83 80: ; preds = %73 %81 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %81) store i32 -1, ptr %1, align 4 br label %157 83: ; preds = %73 %84 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %84, align 16 store i32 0, ptr %2, align 4 br label %85 85: ; preds = %97, %83 %86 = load i32, ptr %2, align 4 %87 = load i32, ptr %13, align 4 %88 = sub nsw i32 16, %87 %89 = icmp slt i32 %86, %88 br i1 %89, label %90, label %100 90: ; preds = %85 %91 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %92 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %93 = call i32 @strlen(ptr noundef %92) %94 = sub nsw i32 100, %93 %95 = sub nsw i32 %94, 1 %96 = call i32 @strncat(ptr noundef %91, ptr noundef @.str.8, i32 noundef %95) br label %97 97: ; preds = %90 %98 = load i32, ptr %2, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %2, align 4 br label %85, !llvm.loop !8 100: ; preds = %85 %101 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %104 = call i32 @strlen(ptr noundef %103) %105 = sub nsw i32 100, %104 %106 = sub nsw i32 %105, 1 %107 = call i32 @strncat(ptr noundef %101, ptr noundef %102, i32 noundef %106) %108 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %109 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %110 = call i32 @sscanf(ptr noundef %108, ptr noundef @.str.9, ptr noundef %109, ptr noundef %10, ptr noundef %11) store i32 %110, ptr %12, align 4 %111 = load i32, ptr %12, align 4 %112 = icmp ne i32 %111, 3 br i1 %112, label %113, label %116 113: ; preds = %100 %114 = load ptr, ptr %3, align 8 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %114) store i32 -1, ptr %1, align 4 br label %157 116: ; preds = %100 %117 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 store ptr %117, ptr %8, align 8 %118 = load i32, ptr %10, align 4 %119 = icmp slt i32 %118, 0 br i1 %119, label %123, label %120 120: ; preds = %116 %121 = load i32, ptr %10, align 4 %122 = icmp sgt i32 %121, 63 br i1 %122, label %123, label %126 123: ; preds = %120, %116 %124 = load i32, ptr %10, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %124) store i32 -1, ptr %1, align 4 br label %157 126: ; preds = %120 %127 = load i32, ptr %11, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %132, label %129 129: ; preds = %126 %130 = load i32, ptr %11, align 4 %131 = icmp sgt i32 %130, 63 br i1 %131, label %132, label %135 132: ; preds = %129, %126 %133 = load i32, ptr %11, align 4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %133) store i32 -1, ptr %1, align 4 br label %157 135: ; preds = %129 %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %10, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %139, label %143 139: ; preds = %135 %140 = load i32, ptr %11, align 4 %141 = load i32, ptr %10, align 4 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %140, i32 noundef %141) store i32 -1, ptr %1, align 4 br label %157 143: ; preds = %135 %144 = load ptr, ptr %8, align 8 %145 = call i32 @strlen(ptr noundef %144) %146 = icmp ne i32 %145, 16 br i1 %146, label %147, label %150 147: ; preds = %143 %148 = load ptr, ptr %8, align 8 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %148) store i32 -1, ptr %1, align 4 br label %157 150: ; preds = %143 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %152 = load ptr, ptr %8, align 8 %153 = load i32, ptr %10, align 4 %154 = load i32, ptr %11, align 4 %155 = call i32 @print_string_as_binary(ptr noundef %152, i32 noundef %153, i32 noundef %154) %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %1, align 4 br label %157 157: ; preds = %150, %147, %139, %132, %123, %113, %80, %70, %19 %158 = load i32, ptr %1, align 4 ret i32 %158 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strspn(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_string_as_binary(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxm9eovkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s%c%c\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Content-Type:text/html;charset=iso-8859-1\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"<TITLE>Decoded NH </TITLE>\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"<P>Error! Error in passing query string (%p) to script.\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"<P>Error! Input hex (0x%s) longer than 64 bit\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"0123456789abcdefABCDEF\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"<P>Error! Invalide input hex (0x%s)\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"%16s&start_bit=%d&end_bit=%d\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"<P>Error! 2Invalid query string (%s) to script.\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"<P>Error: Invalid start bit (%d)\0A\00", align 1 @.str.12 = private unnamed_addr constant [32 x i8] c"<P>Error: Invalid end bit (%d)\0A\00", align 1 @.str.13 = private unnamed_addr constant [52 x i8] c"<P>Error: End bit (%d) smaller that start bit (%d)\0A\00", align 1 @.str.14 = private unnamed_addr constant [35 x i8] c"<P>Invalid 74 bit hex string (%s)\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"<pre>\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"</pre>\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 ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [100 x i8], align 16 %6 = alloca [100 x i8], align 16 %7 = alloca [20 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr null, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %8, align 8 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13, i32 noundef 10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %16 = call ptr @getenv(ptr noundef @.str.3) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %0 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20) store i32 -1, ptr %1, align 4 br label %163 22: ; preds = %0 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 8 store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 48 br i1 %29, label %30, label %45 30: ; preds = %22 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 120 br i1 %35, label %42, label %36 36: ; preds = %30 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 88 br i1 %41, label %42, label %45 42: ; preds = %36, %30 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %3, align 8 br label %45 45: ; preds = %42, %36, %22 store i32 0, ptr %2, align 4 store i32 0, ptr %13, align 4 %46 = load ptr, ptr %3, align 8 store ptr %46, ptr %4, align 8 %47 = load ptr, ptr %4, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 38 br i1 %50, label %.lr.ph, label %66 .lr.ph: ; preds = %45 br label %51 51: ; preds = %.lr.ph, %51 %52 = load i32, ptr %13, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %13, align 4 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %4, align 8 %56 = load ptr, ptr %4, align 8 %57 = load i8, ptr %56, align 1 %58 = load i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %2, align 4 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %60 store i8 %57, ptr %61, align 1 %62 = load ptr, ptr %4, align 8 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 38 br i1 %65, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %66 66: ; preds = %._crit_edge, %45 %67 = load i32, ptr %2, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %2, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %69 store i8 0, ptr %70, align 1 %71 = load i32, ptr %13, align 4 %72 = icmp sgt i32 %71, 16 br i1 %72, label %73, label %76 73: ; preds = %66 %74 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %74) store i32 -1, ptr %1, align 4 br label %163 76: ; preds = %66 %77 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %78 = call i64 @strspn(ptr noundef %77, ptr noundef @.str.6) %79 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %76 %84 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %84) store i32 -1, ptr %1, align 4 br label %163 86: ; preds = %76 %87 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %87, align 16 store i32 0, ptr %2, align 4 %88 = load i32, ptr %2, align 4 %89 = load i32, ptr %13, align 4 %90 = sub nsw i32 16, %89 %91 = icmp slt i32 %88, %90 br i1 %91, label %.lr.ph2, label %106 .lr.ph2: ; preds = %86 br label %92 92: ; preds = %.lr.ph2, %99 %93 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %94 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %95 = call i32 @strlen(ptr noundef %94) %96 = sub nsw i32 100, %95 %97 = sub nsw i32 %96, 1 %98 = call i32 @strncat(ptr noundef %93, ptr noundef @.str.8, i32 noundef %97) br label %99 99: ; preds = %92 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 %102 = load i32, ptr %2, align 4 %103 = load i32, ptr %13, align 4 %104 = sub nsw i32 16, %103 %105 = icmp slt i32 %102, %104 br i1 %105, label %92, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %99 br label %106 106: ; preds = %._crit_edge3, %86 %107 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %108 = load ptr, ptr %3, align 8 %109 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %110 = call i32 @strlen(ptr noundef %109) %111 = sub nsw i32 100, %110 %112 = sub nsw i32 %111, 1 %113 = call i32 @strncat(ptr noundef %107, ptr noundef %108, i32 noundef %112) %114 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %115 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %116 = call i32 @sscanf(ptr noundef %114, ptr noundef @.str.9, ptr noundef %115, ptr noundef %10, ptr noundef %11) store i32 %116, ptr %12, align 4 %117 = load i32, ptr %12, align 4 %118 = icmp ne i32 %117, 3 br i1 %118, label %119, label %122 119: ; preds = %106 %120 = load ptr, ptr %3, align 8 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %120) store i32 -1, ptr %1, align 4 br label %163 122: ; preds = %106 %123 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 store ptr %123, ptr %8, align 8 %124 = load i32, ptr %10, align 4 %125 = icmp slt i32 %124, 0 br i1 %125, label %129, label %126 126: ; preds = %122 %127 = load i32, ptr %10, align 4 %128 = icmp sgt i32 %127, 63 br i1 %128, label %129, label %132 129: ; preds = %126, %122 %130 = load i32, ptr %10, align 4 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %130) store i32 -1, ptr %1, align 4 br label %163 132: ; preds = %126 %133 = load i32, ptr %11, align 4 %134 = icmp slt i32 %133, 0 br i1 %134, label %138, label %135 135: ; preds = %132 %136 = load i32, ptr %11, align 4 %137 = icmp sgt i32 %136, 63 br i1 %137, label %138, label %141 138: ; preds = %135, %132 %139 = load i32, ptr %11, align 4 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %139) store i32 -1, ptr %1, align 4 br label %163 141: ; preds = %135 %142 = load i32, ptr %11, align 4 %143 = load i32, ptr %10, align 4 %144 = icmp slt i32 %142, %143 br i1 %144, label %145, label %149 145: ; preds = %141 %146 = load i32, ptr %11, align 4 %147 = load i32, ptr %10, align 4 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %146, i32 noundef %147) store i32 -1, ptr %1, align 4 br label %163 149: ; preds = %141 %150 = load ptr, ptr %8, align 8 %151 = call i32 @strlen(ptr noundef %150) %152 = icmp ne i32 %151, 16 br i1 %152, label %153, label %156 153: ; preds = %149 %154 = load ptr, ptr %8, align 8 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %154) store i32 -1, ptr %1, align 4 br label %163 156: ; preds = %149 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %10, align 4 %160 = load i32, ptr %11, align 4 %161 = call i32 @print_string_as_binary(ptr noundef %158, i32 noundef %159, i32 noundef %160) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %1, align 4 br label %163 163: ; preds = %156, %153, %145, %138, %129, %119, %83, %73, %19 %164 = load i32, ptr %1, align 4 ret i32 %164 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strspn(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_string_as_binary(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzevn_fzp.c' source_filename = "/tmp/tmpzevn_fzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PlaceText.buffer = internal global [56 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [10 x i8] c"6 %d %d '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PlaceText(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = call i32 @sprintf(ptr noundef @PlaceText.buffer, ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @strncat(ptr noundef @PlaceText.buffer, ptr noundef %10, i32 noundef 39) %12 = call i32 @msgqueue_sendstring(ptr noundef @PlaceText.buffer) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @msgqueue_sendstring(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzevn_fzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PlaceText.buffer = internal global [56 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [10 x i8] c"6 %d %d '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PlaceText(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = call i32 @sprintf(ptr noundef @PlaceText.buffer, ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @strncat(ptr noundef @PlaceText.buffer, ptr noundef %10, i32 noundef 39) %12 = call i32 @msgqueue_sendstring(ptr noundef @PlaceText.buffer) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @msgqueue_sendstring(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpml0g3ptc.c' source_filename = "/tmp/tmpml0g3ptc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_hpi_write_words(i16 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i16, ptr %4, align 2 %9 = call i32 @outw(i16 noundef zeroext %8, ptr noundef inttoptr (i64 4294066180 to ptr)) store i32 0, ptr %7, align 4 br label %10 10: ; preds = %19, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i16, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load i16, ptr %15, align 2 %18 = call i32 @outw(i16 noundef zeroext %17, ptr noundef inttoptr (i64 4294066176 to ptr)) br label %19 19: ; preds = %14 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 ret void } declare i32 @outw(i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpml0g3ptc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_hpi_write_words(i16 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i16, ptr %4, align 2 %9 = call i32 @outw(i16 noundef zeroext %8, ptr noundef inttoptr (i64 4294066180 to ptr)) store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %18 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i16, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i16, ptr %14, align 2 %17 = call i32 @outw(i16 noundef zeroext %16, ptr noundef inttoptr (i64 4294066176 to ptr)) br label %18 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %3 ret void } declare i32 @outw(i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfoq9_kk_.c' source_filename = "/tmp/tmpfoq9_kk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Welcome to Ullman's puzzle.\0An: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"t: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"k: \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"FALSE\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 float, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca float, i64 %11, align 16 store i64 %11, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %13, i64 %20 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %7, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = call i32 @printf(ptr noundef @.str.3) %28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) %29 = call i32 @printf(ptr noundef @.str.4) %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = load float, ptr %4, align 4 %34 = call i64 @solveUllmans(ptr noundef %13, i32 noundef %31, i32 noundef %32, float noundef %33) %35 = icmp ne i64 %34, 0 %36 = zext i1 %35 to i64 %37 = select i1 %35, ptr @.str.5, ptr @.str.6 %38 = call i32 @puts(ptr noundef %37) %39 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %39) %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @puts(ptr noundef) #1 declare i64 @solveUllmans(ptr noundef, i32 noundef, i32 noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfoq9_kk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Welcome to Ullman's puzzle.\0An: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"t: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"k: \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"FALSE\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 float, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca float, i64 %11, align 16 store i64 %11, ptr %6, align 8 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds float, ptr %13, i64 %19 %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %20) br label %22 22: ; preds = %17 %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 %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = call i32 @printf(ptr noundef @.str.3) %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) %31 = call i32 @printf(ptr noundef @.str.4) %32 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = load float, ptr %4, align 4 %36 = call i64 @solveUllmans(ptr noundef %13, i32 noundef %33, i32 noundef %34, float noundef %35) %37 = icmp ne i64 %36, 0 %38 = zext i1 %37 to i64 %39 = select i1 %37, ptr @.str.5, ptr @.str.6 %40 = call i32 @puts(ptr noundef %39) %41 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @puts(ptr noundef) #1 declare i64 @solveUllmans(ptr noundef, i32 noundef, i32 noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv1w3qvf4.c' source_filename = "/tmp/tmpv1w3qvf4.c" target datalayout = "e-m:e-p270: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/tmpv1w3qvf4.c" target datalayout = "e-m:e-p270: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/tmpliwitpfc.c' source_filename = "/tmp/tmpliwitpfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"Invalid JSON: unprocessed trailing string at position: %d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @jsonParseLm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @jsonParseExpressionLm(ptr noundef %7, ptr noundef %5, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @skipLeadingSpacesWithPos(ptr noundef %10, ptr noundef %5) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %25 18: ; preds = %2 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = call i32 @errAbort(ptr noundef @.str, i32 noundef %19, ptr noundef %23) br label %25 25: ; preds = %18, %2 %26 = load ptr, ptr %6, align 8 ret ptr %26 } declare ptr @jsonParseExpressionLm(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @skipLeadingSpacesWithPos(ptr noundef, ptr noundef) #1 declare i32 @errAbort(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpliwitpfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"Invalid JSON: unprocessed trailing string at position: %d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @jsonParseLm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @jsonParseExpressionLm(ptr noundef %7, ptr noundef %5, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @skipLeadingSpacesWithPos(ptr noundef %10, ptr noundef %5) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %25 18: ; preds = %2 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = call i32 @errAbort(ptr noundef @.str, i32 noundef %19, ptr noundef %23) br label %25 25: ; preds = %18, %2 %26 = load ptr, ptr %6, align 8 ret ptr %26 } declare ptr @jsonParseExpressionLm(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @skipLeadingSpacesWithPos(ptr noundef, ptr noundef) #1 declare i32 @errAbort(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwj2twoyp.c' source_filename = "/tmp/tmpwj2twoyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_init() #0 { %1 = call i32 @outb(i32 noundef 67, i32 noundef 52) %2 = call i32 @outb(i32 noundef 64, i32 noundef 156) %3 = call i32 @outb(i32 noundef 64, i32 noundef 46) %4 = call i32 @pic_enable(i32 noundef 0) ret void } declare i32 @outb(i32 noundef, i32 noundef) #1 declare i32 @pic_enable(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/tmpwj2twoyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_init() #0 { %1 = call i32 @outb(i32 noundef 67, i32 noundef 52) %2 = call i32 @outb(i32 noundef 64, i32 noundef 156) %3 = call i32 @outb(i32 noundef 64, i32 noundef 46) %4 = call i32 @pic_enable(i32 noundef 0) ret void } declare i32 @outb(i32 noundef, i32 noundef) #1 declare i32 @pic_enable(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/tmpnwvau9_r.c' source_filename = "/tmp/tmpnwvau9_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOCK_STREAM = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @IPPROTO_IP = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @IPPROTO_ICMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [2 x i32], align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %6 = call i32 @socketpair(i32 noundef 0, i32 noundef %4, i32 noundef 0, ptr noundef %5) %7 = load i32, ptr @PF_INET, align 4 %8 = load i32, ptr @IPPROTO_IP, align 4 %9 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %10 = call i32 @socketpair(i32 noundef %7, i32 noundef 75, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr @PF_UNIX, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socketpair(i32 noundef %11, i32 noundef %12, i32 noundef 0, ptr noundef null) %14 = load i32, ptr @PF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = load i32, ptr @IPPROTO_UDP, align 4 %17 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %18 = call i32 @socketpair(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @PF_INET, align 4 %20 = load i32, ptr @SOCK_DGRAM, align 4 %21 = load i32, ptr @IPPROTO_TCP, align 4 %22 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %23 = call i32 @socketpair(i32 noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef %22) %24 = load i32, ptr @PF_INET, align 4 %25 = load i32, ptr @SOCK_STREAM, align 4 %26 = load i32, ptr @IPPROTO_TCP, align 4 %27 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %28 = call i32 @socketpair(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27) %29 = load i32, ptr @PF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = load i32, ptr @IPPROTO_ICMP, align 4 %32 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %33 = call i32 @socketpair(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32) %34 = load i32, ptr @PF_UNIX, align 4 %35 = load i32, ptr @SOCK_DGRAM, align 4 %36 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %37 = call i32 @socketpair(i32 noundef %34, i32 noundef %35, i32 noundef 0, ptr noundef %36) %38 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %42 = load i32, ptr %41, align 4 %43 = call i32 @close(i32 noundef %42) %44 = load i32, ptr @PF_UNIX, align 4 %45 = load i32, ptr @SOCK_STREAM, align 4 %46 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %47 = call i32 @socketpair(i32 noundef %44, i32 noundef %45, i32 noundef 0, ptr noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @close(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr @SOCK_STREAM, align 4 %55 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %56 = call i32 @socketpair(i32 noundef -1, i32 noundef %54, i32 noundef 0, ptr noundef %55) %57 = load i32, ptr @PF_UNIX, align 4 %58 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %59 = call i32 @socketpair(i32 noundef %57, i32 noundef -1, i32 noundef 0, ptr noundef %58) %60 = load i32, ptr @PF_UNIX, align 4 %61 = load i32, ptr @SOCK_STREAM, align 4 %62 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %63 = call i32 @socketpair(i32 noundef %60, i32 noundef %61, i32 noundef -1, ptr noundef %62) %64 = load i32, ptr @PF_UNIX, align 4 %65 = load i32, ptr @SOCK_STREAM, align 4 %66 = call i32 @socketpair(i32 noundef %64, i32 noundef %65, i32 noundef 0, ptr noundef inttoptr (i64 -1 to ptr)) ret i32 0 } declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr 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/tmpnwvau9_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOCK_STREAM = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @IPPROTO_IP = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @IPPROTO_ICMP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [2 x i32], align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %6 = call i32 @socketpair(i32 noundef 0, i32 noundef %4, i32 noundef 0, ptr noundef %5) %7 = load i32, ptr @PF_INET, align 4 %8 = load i32, ptr @IPPROTO_IP, align 4 %9 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %10 = call i32 @socketpair(i32 noundef %7, i32 noundef 75, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr @PF_UNIX, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socketpair(i32 noundef %11, i32 noundef %12, i32 noundef 0, ptr noundef null) %14 = load i32, ptr @PF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = load i32, ptr @IPPROTO_UDP, align 4 %17 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %18 = call i32 @socketpair(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @PF_INET, align 4 %20 = load i32, ptr @SOCK_DGRAM, align 4 %21 = load i32, ptr @IPPROTO_TCP, align 4 %22 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %23 = call i32 @socketpair(i32 noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef %22) %24 = load i32, ptr @PF_INET, align 4 %25 = load i32, ptr @SOCK_STREAM, align 4 %26 = load i32, ptr @IPPROTO_TCP, align 4 %27 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %28 = call i32 @socketpair(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27) %29 = load i32, ptr @PF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = load i32, ptr @IPPROTO_ICMP, align 4 %32 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %33 = call i32 @socketpair(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32) %34 = load i32, ptr @PF_UNIX, align 4 %35 = load i32, ptr @SOCK_DGRAM, align 4 %36 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %37 = call i32 @socketpair(i32 noundef %34, i32 noundef %35, i32 noundef 0, ptr noundef %36) %38 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %42 = load i32, ptr %41, align 4 %43 = call i32 @close(i32 noundef %42) %44 = load i32, ptr @PF_UNIX, align 4 %45 = load i32, ptr @SOCK_STREAM, align 4 %46 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %47 = call i32 @socketpair(i32 noundef %44, i32 noundef %45, i32 noundef 0, ptr noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @close(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr @SOCK_STREAM, align 4 %55 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %56 = call i32 @socketpair(i32 noundef -1, i32 noundef %54, i32 noundef 0, ptr noundef %55) %57 = load i32, ptr @PF_UNIX, align 4 %58 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %59 = call i32 @socketpair(i32 noundef %57, i32 noundef -1, i32 noundef 0, ptr noundef %58) %60 = load i32, ptr @PF_UNIX, align 4 %61 = load i32, ptr @SOCK_STREAM, align 4 %62 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %63 = call i32 @socketpair(i32 noundef %60, i32 noundef %61, i32 noundef -1, ptr noundef %62) %64 = load i32, ptr @PF_UNIX, align 4 %65 = load i32, ptr @SOCK_STREAM, align 4 %66 = call i32 @socketpair(i32 noundef %64, i32 noundef %65, i32 noundef 0, ptr noundef inttoptr (i64 -1 to ptr)) ret i32 0 } declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr 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/tmpb0cs0w25.c' source_filename = "/tmp/tmpb0cs0w25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [6 x double], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 48, i1 false) %8 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 0 store double 3.000000e+00, ptr %8, align 16 %9 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 1 store double 1.950000e+00, ptr %9, align 8 %10 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 2 store double 2.227000e+00, ptr %10, align 16 %11 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 3 store double 4.000000e+00, ptr %11, align 8 %12 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 4 store double 2.560000e+02, ptr %12, align 16 %13 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 5 store double 8.797000e-04, ptr %13, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %33, %2 %15 = load i32, ptr %7, align 4 %16 = icmp ult i32 %15, 6 br i1 %16, label %17, label %36 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 %19 %21 = load double, ptr %20, align 8 %22 = call double @convert_it(double noundef %21) %23 = load i32, ptr %7, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 %24 %26 = load double, ptr %25, align 8 %27 = call double @sqrt(double noundef %26) #5 %28 = call double @sqrt(double noundef %27) #5 %29 = fcmp une double %22, %28 br i1 %29, label %30, label %32 30: ; preds = %17 %31 = call i32 (...) @abort() #6 unreachable 32: ; preds = %17 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %7, align 4 br label %14, !llvm.loop !6 36: ; preds = %14 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 double @convert_it(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: noreturn declare i32 @abort(...) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 = { 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 #5 = { nounwind } attributes #6 = { 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/tmpb0cs0w25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [6 x double], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 48, i1 false) %8 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 0 store double 3.000000e+00, ptr %8, align 16 %9 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 1 store double 1.950000e+00, ptr %9, align 8 %10 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 2 store double 2.227000e+00, ptr %10, align 16 %11 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 3 store double 4.000000e+00, ptr %11, align 8 %12 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 4 store double 2.560000e+02, ptr %12, align 16 %13 = getelementptr inbounds [6 x double], ptr %6, i32 0, i32 5 store double 8.797000e-04, ptr %13, align 8 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ult i32 %14, 6 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %32 %17 = load i32, ptr %7, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 %18 %20 = load double, ptr %19, align 8 %21 = call double @convert_it(double noundef %20) %22 = load i32, ptr %7, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds [6 x double], ptr %6, i64 0, i64 %23 %25 = load double, ptr %24, align 8 %26 = call double @sqrt(double noundef %25) #5 %27 = call double @sqrt(double noundef %26) #5 %28 = fcmp une double %21, %27 br i1 %28, label %29, label %31 29: ; preds = %16 %30 = call i32 (...) @abort() #6 unreachable 31: ; preds = %16 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp ult i32 %35, 6 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %2 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 double @convert_it(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: noreturn declare i32 @abort(...) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 = { 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 #5 = { nounwind } attributes #6 = { 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/tmp0m3i_jm8.c' source_filename = "/tmp/tmp0m3i_jm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_stdio() #0 { %1 = call i32 (...) @test_sio1() %2 = call i32 (...) @test_sio2() %3 = call i32 (...) @test_sio3() %4 = call i32 (...) @test_sio4() ret void } declare i32 @test_sio1(...) #1 declare i32 @test_sio2(...) #1 declare i32 @test_sio3(...) #1 declare i32 @test_sio4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0m3i_jm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_stdio() #0 { %1 = call i32 (...) @test_sio1() %2 = call i32 (...) @test_sio2() %3 = call i32 (...) @test_sio3() %4 = call i32 (...) @test_sio4() ret void } declare i32 @test_sio1(...) #1 declare i32 @test_sio2(...) #1 declare i32 @test_sio3(...) #1 declare i32 @test_sio4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpymm4jxxn.c' source_filename = "/tmp/tmpymm4jxxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"[%d] %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_show_param(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 1024, i1 false) store i32 0, ptr %7, align 4 br label %9 9: ; preds = %25, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %9 %14 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %15 = load i32, ptr %7, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %15, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %24 = call i32 @cli_send_feedback(i32 noundef %22, ptr noundef %23) br label %25 25: ; preds = %13 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %9, !llvm.loop !6 28: ; preds = %9 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 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @cli_send_feedback(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpymm4jxxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"[%d] %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_show_param(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [1024 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 1024, i1 false) store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %24 %13 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14, ptr noundef %19) %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @cli_send_feedback(i32 noundef %21, ptr noundef %22) br label %24 24: ; preds = %12 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %3 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 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @cli_send_feedback(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvpmibij7.c' source_filename = "/tmp/tmpvpmibij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @calculateAverageXNumbers() ret i32 0 } declare i32 @calculateAverageXNumbers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpmibij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @calculateAverageXNumbers() ret i32 0 } declare i32 @calculateAverageXNumbers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm86g_od5.c' source_filename = "/tmp/tmpm86g_od5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm86g_od5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpisgd0szi.c' source_filename = "/tmp/tmpisgd0szi.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XSizeHints_width_inc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpisgd0szi.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XSizeHints_width_inc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpspfq9ui3.c' source_filename = "/tmp/tmpspfq9ui3.c" target datalayout = "e-m:e-p270: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/tmpspfq9ui3.c" target datalayout = "e-m:e-p270: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/tmpdwu3me8b.c' source_filename = "/tmp/tmpdwu3me8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__environ = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [9 x i8] c"argc=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"argv[%d]='%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"environ[%d]='%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr @__environ, align 8 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %6, align 4 br label %11 11: ; preds = %23, %2 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %26 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %16, ptr noundef %21) br label %23 23: ; preds = %15 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %11, !llvm.loop !6 26: ; preds = %11 store i32 0, ptr %6, align 4 br label %27 27: ; preds = %31, %26 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds ptr, ptr %34, i32 1 store ptr %35, ptr %7, align 8 %36 = load ptr, ptr %34, align 8 %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %32, ptr noundef %36) br label %27, !llvm.loop !8 38: ; preds = %27 %39 = call i32 @exit(i32 noundef 0) #3 unreachable } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwu3me8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__environ = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [9 x i8] c"argc=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"argv[%d]='%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"environ[%d]='%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr @__environ, align 8 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %2 store i32 0, ptr %6, align 4 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %.lr.ph2, label %42 .lr.ph2: ; preds = %28 br label %32 32: ; preds = %.lr.ph2, %32 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds ptr, ptr %35, i32 1 store ptr %36, ptr %7, align 8 %37 = load ptr, ptr %35, align 8 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %33, ptr noundef %37) %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %42 42: ; preds = %._crit_edge3, %28 %43 = call i32 @exit(i32 noundef 0) #3 unreachable } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgk5_tl_q.c' source_filename = "/tmp/tmpgk5_tl_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"e\1B^^\22\22''\\\\n\0Ar\0Dt\09b\08f\0Ca\07\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\\%c\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_chars(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %7, align 8 store ptr %14, ptr %13, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store ptr %18, ptr %12, align 8 store i32 0, ptr %9, align 4 %19 = load ptr, ptr %5, align 8 store ptr %19, ptr %10, align 8 br label %20 20: ; preds = %112, %4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %10, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 br label %117 29: ; preds = %23 br label %36 30: ; preds = %20 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 br label %117 35: ; preds = %30 br label %36 36: ; preds = %35, %29 store ptr getelementptr inbounds (i8, ptr @.str, i64 1), ptr %11, align 8 br label %37 37: ; preds = %53, %36 %38 = load ptr, ptr %11, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 -1 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %56 43: ; preds = %37 %44 = load ptr, ptr %11, align 8 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = load ptr, ptr %10, align 8 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp eq i32 %46, %49 br i1 %50, label %51, label %52 51: ; preds = %43 br label %56 52: ; preds = %43 br label %53 53: ; preds = %52 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 2 store ptr %55, ptr %11, align 8 br label %37, !llvm.loop !6 56: ; preds = %51, %37 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 -1 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %76 62: ; preds = %56 %63 = load ptr, ptr %13, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 2 %65 = load ptr, ptr %12, align 8 %66 = icmp uge ptr %64, %65 br i1 %66, label %67, label %68 67: ; preds = %62 br label %117 68: ; preds = %62 %69 = load ptr, ptr %13, align 8 %70 = load ptr, ptr %11, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 -1 %72 = load i8, ptr %71, align 1 %73 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str.1, i8 noundef zeroext %72) %74 = load ptr, ptr %13, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 2 store ptr %75, ptr %13, align 8 br label %112 76: ; preds = %56 %77 = load ptr, ptr %10, align 8 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp slt i32 %79, 128 br i1 %80, label %81, label %98 81: ; preds = %76 %82 = load ptr, ptr %10, align 8 %83 = load i8, ptr %82, align 1 %84 = call i64 @isprint(i8 noundef zeroext %83) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %98 86: ; preds = %81 %87 = load ptr, ptr %13, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 1 %89 = load ptr, ptr %12, align 8 %90 = icmp uge ptr %88, %89 br i1 %90, label %91, label %92 91: ; preds = %86 br label %117 92: ; preds = %86 %93 = load ptr, ptr %10, align 8 %94 = load i8, ptr %93, align 1 %95 = load ptr, ptr %13, align 8 store i8 %94, ptr %95, align 1 %96 = load ptr, ptr %13, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 store ptr %97, ptr %13, align 8 br label %111 98: ; preds = %81, %76 %99 = load ptr, ptr %13, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 4 %101 = load ptr, ptr %12, align 8 %102 = icmp uge ptr %100, %101 br i1 %102, label %103, label %104 103: ; preds = %98 br label %117 104: ; preds = %98 %105 = load ptr, ptr %13, align 8 %106 = load ptr, ptr %10, align 8 %107 = load i8, ptr %106, align 1 %108 = call i32 @sprintf(ptr noundef %105, ptr noundef @.str.2, i8 noundef zeroext %107) %109 = load ptr, ptr %13, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 4 store ptr %110, ptr %13, align 8 br label %111 111: ; preds = %104, %92 br label %112 112: ; preds = %111, %68 %113 = load i32, ptr %9, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %9, align 4 %115 = load ptr, ptr %10, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %10, align 8 br label %20 117: ; preds = %103, %91, %67, %34, %28 %118 = load ptr, ptr %13, align 8 %119 = load ptr, ptr %7, align 8 %120 = ptrtoint ptr %118 to i64 %121 = ptrtoint ptr %119 to i64 %122 = sub i64 %120, %121 %123 = trunc i64 %122 to i32 ret i32 %123 } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i64 @isprint(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgk5_tl_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"e\1B^^\22\22''\\\\n\0Ar\0Dt\09b\08f\0Ca\07\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\\%c\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_chars(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %7, align 8 store ptr %14, ptr %13, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store ptr %18, ptr %12, align 8 store i32 0, ptr %9, align 4 %19 = load ptr, ptr %5, align 8 store ptr %19, ptr %10, align 8 br label %20 20: ; preds = %116, %4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %10, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 br label %121 29: ; preds = %23 br label %36 30: ; preds = %20 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 br label %121 35: ; preds = %30 br label %36 36: ; preds = %35, %29 store ptr getelementptr inbounds (i8, ptr @.str, i64 1), ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 -1 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %36 br label %42 42: ; preds = %.lr.ph, %52 %43 = load ptr, ptr %11, align 8 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = load ptr, ptr %10, align 8 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp eq i32 %45, %48 br i1 %49, label %50, label %51 50: ; preds = %42 br label %60 51: ; preds = %42 br label %52 52: ; preds = %51 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 2 store ptr %54, ptr %11, align 8 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 -1 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %42, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %52 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %60 60: ; preds = %.loopexit, %50 %61 = load ptr, ptr %11, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 -1 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %80 66: ; preds = %60 %67 = load ptr, ptr %13, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 2 %69 = load ptr, ptr %12, align 8 %70 = icmp uge ptr %68, %69 br i1 %70, label %71, label %72 71: ; preds = %66 br label %121 72: ; preds = %66 %73 = load ptr, ptr %13, align 8 %74 = load ptr, ptr %11, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 -1 %76 = load i8, ptr %75, align 1 %77 = call i32 @sprintf(ptr noundef %73, ptr noundef @.str.1, i8 noundef zeroext %76) %78 = load ptr, ptr %13, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 2 store ptr %79, ptr %13, align 8 br label %116 80: ; preds = %60 %81 = load ptr, ptr %10, align 8 %82 = load i8, ptr %81, align 1 %83 = zext i8 %82 to i32 %84 = icmp slt i32 %83, 128 br i1 %84, label %85, label %102 85: ; preds = %80 %86 = load ptr, ptr %10, align 8 %87 = load i8, ptr %86, align 1 %88 = call i64 @isprint(i8 noundef zeroext %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %102 90: ; preds = %85 %91 = load ptr, ptr %13, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 1 %93 = load ptr, ptr %12, align 8 %94 = icmp uge ptr %92, %93 br i1 %94, label %95, label %96 95: ; preds = %90 br label %121 96: ; preds = %90 %97 = load ptr, ptr %10, align 8 %98 = load i8, ptr %97, align 1 %99 = load ptr, ptr %13, align 8 store i8 %98, ptr %99, align 1 %100 = load ptr, ptr %13, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 1 store ptr %101, ptr %13, align 8 br label %115 102: ; preds = %85, %80 %103 = load ptr, ptr %13, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 4 %105 = load ptr, ptr %12, align 8 %106 = icmp uge ptr %104, %105 br i1 %106, label %107, label %108 107: ; preds = %102 br label %121 108: ; preds = %102 %109 = load ptr, ptr %13, align 8 %110 = load ptr, ptr %10, align 8 %111 = load i8, ptr %110, align 1 %112 = call i32 @sprintf(ptr noundef %109, ptr noundef @.str.2, i8 noundef zeroext %111) %113 = load ptr, ptr %13, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 4 store ptr %114, ptr %13, align 8 br label %115 115: ; preds = %108, %96 br label %116 116: ; preds = %115, %72 %117 = load i32, ptr %9, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %9, align 4 %119 = load ptr, ptr %10, align 8 %120 = getelementptr inbounds i8, ptr %119, i32 1 store ptr %120, ptr %10, align 8 br label %20 121: ; preds = %107, %95, %71, %34, %28 %122 = load ptr, ptr %13, align 8 %123 = load ptr, ptr %7, align 8 %124 = ptrtoint ptr %122 to i64 %125 = ptrtoint ptr %123 to i64 %126 = sub i64 %124, %125 %127 = trunc i64 %126 to i32 ret i32 %127 } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i64 @isprint(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7dbg57fl.c' source_filename = "/tmp/tmp7dbg57fl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, double } @.str = private unnamed_addr constant [31 x i8] c"Usage: %s <nx> <ny> <ns> <nt>\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Value for nx is invalid: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Value for ny is invalid: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Value for ns is invalid: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Value for nt is invalid: %d\0A\00", align 1 @RAND_MAX = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [23 x i8] c"alpha = %f, beta = %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"Error allocating memory for arrays: %p, %p\0A\00", align 1 @acc_device_default = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [17 x i8] c"Final mean = %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Time for computing: %.2f s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %25, 5 br i1 %26, label %27, label %33 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %30) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %2 %34 = call i32 @srand(i32 noundef 17) %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %14, align 4 %39 = load i32, ptr %14, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %33 %42 = load i32, ptr %14, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %33 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = call i32 @atoi(ptr noundef %48) store i32 %49, ptr %15, align 4 %50 = load i32, ptr %15, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %45 %53 = load i32, ptr %15, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %45 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 3 %59 = load ptr, ptr %58, align 8 %60 = call i32 @atoi(ptr noundef %59) store i32 %60, ptr %16, align 4 %61 = load i32, ptr %16, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %56 %64 = load i32, ptr %16, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %56 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 4 %70 = load ptr, ptr %69, align 8 %71 = call i32 @atoi(ptr noundef %70) store i32 %71, ptr %17, align 4 %72 = load i32, ptr %17, align 4 %73 = icmp slt i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %67 %75 = load i32, ptr %17, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %67 %79 = call double (...) @rand() %80 = load i64, ptr @RAND_MAX, align 8 %81 = sitofp i64 %80 to double %82 = fdiv double %79, %81 store double %82, ptr %18, align 8 %83 = call double (...) @rand() %84 = load i64, ptr @RAND_MAX, align 8 %85 = sitofp i64 %84 to double %86 = fdiv double %83, %85 store double %86, ptr %19, align 8 %87 = load double, ptr %18, align 8 %88 = load double, ptr %19, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %87, double noundef %88) %90 = load i32, ptr %14, align 4 %91 = load i32, ptr %15, align 4 %92 = mul i32 %90, %91 %93 = load i32, ptr %16, align 4 %94 = mul i32 %92, %93 store i32 %94, ptr %20, align 4 %95 = load i32, ptr %20, align 4 %96 = zext i32 %95 to i64 %97 = mul i64 %96, 8 %98 = trunc i64 %97 to i32 store i32 %98, ptr %21, align 4 %99 = load i32, ptr %21, align 4 %100 = call i64 @malloc(i32 noundef %99) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %22, align 8 %102 = load i32, ptr %21, align 4 %103 = call i64 @malloc(i32 noundef %102) %104 = inttoptr i64 %103 to ptr store ptr %104, ptr %23, align 8 %105 = load ptr, ptr %22, align 8 %106 = icmp ne ptr %105, null br i1 %106, label %107, label %110 107: ; preds = %78 %108 = load ptr, ptr %23, align 8 %109 = icmp ne ptr %108, null br i1 %109, label %115, label %110 110: ; preds = %107, %78 %111 = load ptr, ptr %22, align 8 %112 = load ptr, ptr %23, align 8 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %111, ptr noundef %112) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %107 store i32 0, ptr %6, align 4 br label %116 116: ; preds = %137, %115 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %20, align 4 %119 = icmp ult i32 %117, %118 br i1 %119, label %120, label %140 120: ; preds = %116 %121 = call double (...) @rand() %122 = load i64, ptr @RAND_MAX, align 8 %123 = sitofp i64 %122 to double %124 = fdiv double %121, %123 %125 = load ptr, ptr %22, align 8 %126 = load i32, ptr %6, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 store double %124, ptr %128, align 8 %129 = call double (...) @rand() %130 = load i64, ptr @RAND_MAX, align 8 %131 = sitofp i64 %130 to double %132 = fdiv double %129, %131 %133 = load ptr, ptr %23, align 8 %134 = load i32, ptr %6, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 store double %132, ptr %136, align 8 br label %137 137: ; preds = %120 %138 = load i32, ptr %6, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %6, align 4 br label %116, !llvm.loop !6 140: ; preds = %116 %141 = load i32, ptr @acc_device_default, align 4 %142 = call i32 @acc_init(i32 noundef %141) %143 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %144 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %145 = load double, ptr %144, align 8 %146 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %147 = load double, ptr %146, align 8 %148 = fdiv double %147, 1.000000e+06 %149 = fadd double %145, %148 store double %149, ptr %12, align 8 store i32 0, ptr %9, align 4 br label %150 150: ; preds = %166, %140 %151 = load i32, ptr %9, align 4 %152 = load i32, ptr %17, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %154, label %169 154: ; preds = %150 %155 = load i32, ptr %14, align 4 %156 = load i32, ptr %15, align 4 %157 = load i32, ptr %16, align 4 %158 = load double, ptr %18, align 8 %159 = load double, ptr %19, align 8 %160 = load ptr, ptr %22, align 8 %161 = load ptr, ptr %23, align 8 %162 = call i32 @laplacian(i32 noundef %155, i32 noundef %156, i32 noundef %157, double noundef %158, double noundef %159, ptr noundef %160, ptr noundef %161) %163 = load ptr, ptr %22, align 8 store ptr %163, ptr %24, align 8 %164 = load ptr, ptr %23, align 8 store ptr %164, ptr %22, align 8 %165 = load ptr, ptr %24, align 8 store ptr %165, ptr %23, align 8 br label %166 166: ; preds = %154 %167 = load i32, ptr %9, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %9, align 4 br label %150, !llvm.loop !8 169: ; preds = %150 %170 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %171 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %172 = load double, ptr %171, align 8 %173 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %174 = load double, ptr %173, align 8 %175 = fdiv double %174, 1.000000e+06 %176 = fadd double %172, %175 store double %176, ptr %13, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %6, align 4 br label %177 177: ; preds = %189, %169 %178 = load i32, ptr %6, align 4 %179 = load i32, ptr %20, align 4 %180 = icmp ult i32 %178, %179 br i1 %180, label %181, label %192 181: ; preds = %177 %182 = load ptr, ptr %22, align 8 %183 = load i32, ptr %6, 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 double, ptr %10, align 8 %188 = fadd double %187, %186 store double %188, ptr %10, align 8 br label %189 189: ; preds = %181 %190 = load i32, ptr %6, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %6, align 4 br label %177, !llvm.loop !9 192: ; preds = %177 %193 = load double, ptr %10, align 8 %194 = load i32, ptr %20, align 4 %195 = uitofp i32 %194 to double %196 = fdiv double %193, %195 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %196) %198 = load double, ptr %13, align 8 %199 = load double, ptr %12, align 8 %200 = fsub double %198, %199 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %200) %202 = load ptr, ptr %22, align 8 %203 = call i32 @free(ptr noundef %202) %204 = load ptr, ptr %23, align 8 %205 = call i32 @free(ptr noundef %204) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare double @rand(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @acc_init(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @laplacian(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dbg57fl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, double } @.str = private unnamed_addr constant [31 x i8] c"Usage: %s <nx> <ny> <ns> <nt>\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Value for nx is invalid: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Value for ny is invalid: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Value for ns is invalid: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Value for nt is invalid: %d\0A\00", align 1 @RAND_MAX = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [23 x i8] c"alpha = %f, beta = %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"Error allocating memory for arrays: %p, %p\0A\00", align 1 @acc_device_default = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [17 x i8] c"Final mean = %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Time for computing: %.2f s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %25, 5 br i1 %26, label %27, label %33 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %30) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %2 %34 = call i32 @srand(i32 noundef 17) %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %14, align 4 %39 = load i32, ptr %14, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %33 %42 = load i32, ptr %14, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %33 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = call i32 @atoi(ptr noundef %48) store i32 %49, ptr %15, align 4 %50 = load i32, ptr %15, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %45 %53 = load i32, ptr %15, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %45 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 3 %59 = load ptr, ptr %58, align 8 %60 = call i32 @atoi(ptr noundef %59) store i32 %60, ptr %16, align 4 %61 = load i32, ptr %16, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %56 %64 = load i32, ptr %16, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %56 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 4 %70 = load ptr, ptr %69, align 8 %71 = call i32 @atoi(ptr noundef %70) store i32 %71, ptr %17, align 4 %72 = load i32, ptr %17, align 4 %73 = icmp slt i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %67 %75 = load i32, ptr %17, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %67 %79 = call double (...) @rand() %80 = load i64, ptr @RAND_MAX, align 8 %81 = sitofp i64 %80 to double %82 = fdiv double %79, %81 store double %82, ptr %18, align 8 %83 = call double (...) @rand() %84 = load i64, ptr @RAND_MAX, align 8 %85 = sitofp i64 %84 to double %86 = fdiv double %83, %85 store double %86, ptr %19, align 8 %87 = load double, ptr %18, align 8 %88 = load double, ptr %19, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %87, double noundef %88) %90 = load i32, ptr %14, align 4 %91 = load i32, ptr %15, align 4 %92 = mul i32 %90, %91 %93 = load i32, ptr %16, align 4 %94 = mul i32 %92, %93 store i32 %94, ptr %20, align 4 %95 = load i32, ptr %20, align 4 %96 = zext i32 %95 to i64 %97 = mul i64 %96, 8 %98 = trunc i64 %97 to i32 store i32 %98, ptr %21, align 4 %99 = load i32, ptr %21, align 4 %100 = call i64 @malloc(i32 noundef %99) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %22, align 8 %102 = load i32, ptr %21, align 4 %103 = call i64 @malloc(i32 noundef %102) %104 = inttoptr i64 %103 to ptr store ptr %104, ptr %23, align 8 %105 = load ptr, ptr %22, align 8 %106 = icmp ne ptr %105, null br i1 %106, label %107, label %110 107: ; preds = %78 %108 = load ptr, ptr %23, align 8 %109 = icmp ne ptr %108, null br i1 %109, label %115, label %110 110: ; preds = %107, %78 %111 = load ptr, ptr %22, align 8 %112 = load ptr, ptr %23, align 8 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %111, ptr noundef %112) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %107 store i32 0, ptr %6, align 4 %116 = load i32, ptr %6, align 4 %117 = load i32, ptr %20, align 4 %118 = icmp ult i32 %116, %117 br i1 %118, label %.lr.ph, label %142 .lr.ph: ; preds = %115 br label %119 119: ; preds = %.lr.ph, %136 %120 = call double (...) @rand() %121 = load i64, ptr @RAND_MAX, align 8 %122 = sitofp i64 %121 to double %123 = fdiv double %120, %122 %124 = load ptr, ptr %22, align 8 %125 = load i32, ptr %6, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 store double %123, ptr %127, align 8 %128 = call double (...) @rand() %129 = load i64, ptr @RAND_MAX, align 8 %130 = sitofp i64 %129 to double %131 = fdiv double %128, %130 %132 = load ptr, ptr %23, align 8 %133 = load i32, ptr %6, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %132, i64 %134 store double %131, ptr %135, align 8 br label %136 136: ; preds = %119 %137 = load i32, ptr %6, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %6, align 4 %139 = load i32, ptr %6, align 4 %140 = load i32, ptr %20, align 4 %141 = icmp ult i32 %139, %140 br i1 %141, label %119, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %136 br label %142 142: ; preds = %._crit_edge, %115 %143 = load i32, ptr @acc_device_default, align 4 %144 = call i32 @acc_init(i32 noundef %143) %145 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %146 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %147 = load double, ptr %146, align 8 %148 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %149 = load double, ptr %148, align 8 %150 = fdiv double %149, 1.000000e+06 %151 = fadd double %147, %150 store double %151, ptr %12, align 8 store i32 0, ptr %9, align 4 %152 = load i32, ptr %9, align 4 %153 = load i32, ptr %17, align 4 %154 = icmp slt i32 %152, %153 br i1 %154, label %.lr.ph2, label %173 .lr.ph2: ; preds = %142 br label %155 155: ; preds = %.lr.ph2, %167 %156 = load i32, ptr %14, align 4 %157 = load i32, ptr %15, align 4 %158 = load i32, ptr %16, align 4 %159 = load double, ptr %18, align 8 %160 = load double, ptr %19, align 8 %161 = load ptr, ptr %22, align 8 %162 = load ptr, ptr %23, align 8 %163 = call i32 @laplacian(i32 noundef %156, i32 noundef %157, i32 noundef %158, double noundef %159, double noundef %160, ptr noundef %161, ptr noundef %162) %164 = load ptr, ptr %22, align 8 store ptr %164, ptr %24, align 8 %165 = load ptr, ptr %23, align 8 store ptr %165, ptr %22, align 8 %166 = load ptr, ptr %24, align 8 store ptr %166, ptr %23, align 8 br label %167 167: ; preds = %155 %168 = load i32, ptr %9, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %9, align 4 %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %17, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %155, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %167 br label %173 173: ; preds = %._crit_edge3, %142 %174 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %175 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %176 = load double, ptr %175, align 8 %177 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %178 = load double, ptr %177, align 8 %179 = fdiv double %178, 1.000000e+06 %180 = fadd double %176, %179 store double %180, ptr %13, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %6, align 4 %181 = load i32, ptr %6, align 4 %182 = load i32, ptr %20, align 4 %183 = icmp ult i32 %181, %182 br i1 %183, label %.lr.ph5, label %198 .lr.ph5: ; preds = %173 br label %184 184: ; preds = %.lr.ph5, %192 %185 = load ptr, ptr %22, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %185, i64 %187 %189 = load double, ptr %188, align 8 %190 = load double, ptr %10, align 8 %191 = fadd double %190, %189 store double %191, ptr %10, align 8 br label %192 192: ; preds = %184 %193 = load i32, ptr %6, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %6, align 4 %195 = load i32, ptr %6, align 4 %196 = load i32, ptr %20, align 4 %197 = icmp ult i32 %195, %196 br i1 %197, label %184, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %192 br label %198 198: ; preds = %._crit_edge6, %173 %199 = load double, ptr %10, align 8 %200 = load i32, ptr %20, align 4 %201 = uitofp i32 %200 to double %202 = fdiv double %199, %201 %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %202) %204 = load double, ptr %13, align 8 %205 = load double, ptr %12, align 8 %206 = fsub double %204, %205 %207 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %206) %208 = load ptr, ptr %22, align 8 %209 = call i32 @free(ptr noundef %208) %210 = load ptr, ptr %23, align 8 %211 = call i32 @free(ptr noundef %210) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare double @rand(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @acc_init(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @laplacian(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp55e2g90d.c' source_filename = "/tmp/tmp55e2g90d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Toktype: %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tokenise(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [50 x [80 x i8]], align 16 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %230, %1 %9 = load i8, ptr %4, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %233 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 store i8 %17, ptr %4, align 1 %18 = load i8, ptr %4, align 1 %19 = call i64 @isspace(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %30 21: ; preds = %12 br label %22 22: ; preds = %26, %21 %23 = load i8, ptr %4, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %22, !llvm.loop !6 29: ; preds = %22 store i32 0, ptr %6, align 4 br label %230 30: ; preds = %12 %31 = load i8, ptr %4, align 1 %32 = call i64 @isalpha(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %30 %35 = load i8, ptr %4, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 95 br i1 %37, label %38, label %77 38: ; preds = %34, %30 store i32 0, ptr %6, align 4 br label %39 39: ; preds = %53, %38 %40 = load i8, ptr %4, align 1 %41 = call i64 @isalpha(i8 noundef signext %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %51, label %43 43: ; preds = %39 %44 = load i8, ptr %4, align 1 %45 = call i64 @isdigit(i8 noundef signext %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %43 %48 = load i8, ptr %4, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 95 br label %51 51: ; preds = %47, %43, %39 %52 = phi i1 [ true, %43 ], [ true, %39 ], [ %50, %47 ] br i1 %52, label %53, label %68 53: ; preds = %51 %54 = load ptr, ptr %2, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 store i8 %58, ptr %4, align 1 %59 = load i8, ptr %4, align 1 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %61 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [80 x i8], ptr %62, i64 0, i64 %64 store i8 %59, ptr %65, align 1 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 br label %39, !llvm.loop !8 68: ; preds = %51 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %70 %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [80 x i8], ptr %71, i64 0, i64 %73 store i8 0, ptr %74, align 1 store i32 0, ptr %6, align 4 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %5, align 4 br label %229 77: ; preds = %34 %78 = load i8, ptr %4, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 34 br i1 %80, label %81, label %110 81: ; preds = %77 store i32 0, ptr %6, align 4 br label %82 82: ; preds = %86, %81 %83 = load i8, ptr %4, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %84, 34 br i1 %85, label %86, label %101 86: ; preds = %82 %87 = load ptr, ptr %2, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 store i8 %91, ptr %4, align 1 %92 = load i8, ptr %4, align 1 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %94 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [80 x i8], ptr %95, i64 0, i64 %97 store i8 %92, ptr %98, align 1 %99 = load i32, ptr %6, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %6, align 4 br label %82, !llvm.loop !9 101: ; preds = %82 %102 = load i32, ptr %5, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %103 %105 = load i32, ptr %6, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [80 x i8], ptr %104, i64 0, i64 %106 store i8 0, ptr %107, align 1 store i32 0, ptr %6, align 4 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %5, align 4 br label %228 110: ; preds = %77 %111 = load i8, ptr %4, align 1 %112 = call i64 @isdigit(i8 noundef signext %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %114, label %143 114: ; preds = %110 store i32 0, ptr %6, align 4 br label %115 115: ; preds = %119, %114 %116 = load i8, ptr %4, align 1 %117 = call i64 @isdigit(i8 noundef signext %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %134 119: ; preds = %115 %120 = load ptr, ptr %2, align 8 %121 = load i32, ptr %6, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 store i8 %124, ptr %4, align 1 %125 = load i8, ptr %4, align 1 %126 = load i32, ptr %5, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %127 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [80 x i8], ptr %128, i64 0, i64 %130 store i8 %125, ptr %131, align 1 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 br label %115, !llvm.loop !10 134: ; preds = %115 %135 = load i32, ptr %5, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %136 %138 = load i32, ptr %6, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [80 x i8], ptr %137, i64 0, i64 %139 store i8 0, ptr %140, align 1 store i32 0, ptr %6, align 4 %141 = load i32, ptr %5, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %5, align 4 br label %227 143: ; preds = %110 %144 = load i8, ptr %4, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 44 br i1 %146, label %147, label %170 147: ; preds = %143 %148 = load ptr, ptr %2, align 8 %149 = load i32, ptr %6, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i8, ptr %148, i64 %150 %152 = load i8, ptr %151, align 1 store i8 %152, ptr %4, align 1 %153 = load i8, ptr %4, align 1 %154 = load i32, ptr %5, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %155 %157 = load i32, ptr %6, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [80 x i8], ptr %156, i64 0, i64 %158 store i8 %153, ptr %159, align 1 %160 = load i32, ptr %6, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %6, align 4 %162 = load i32, ptr %5, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %163 %165 = load i32, ptr %6, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [80 x i8], ptr %164, i64 0, i64 %166 store i8 0, ptr %167, align 1 store i32 0, ptr %6, align 4 %168 = load i32, ptr %5, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %5, align 4 br label %226 170: ; preds = %143 %171 = load i8, ptr %4, align 1 %172 = sext i8 %171 to i32 %173 = icmp eq i32 %172, 61 br i1 %173, label %174, label %197 174: ; preds = %170 %175 = load ptr, ptr %2, align 8 %176 = load i32, ptr %6, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i8, ptr %175, i64 %177 %179 = load i8, ptr %178, align 1 store i8 %179, ptr %4, align 1 %180 = load i8, ptr %4, align 1 %181 = load i32, ptr %5, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %182 %184 = load i32, ptr %6, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [80 x i8], ptr %183, i64 0, i64 %185 store i8 %180, ptr %186, align 1 %187 = load i32, ptr %6, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %6, align 4 %189 = load i32, ptr %5, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %190 %192 = load i32, ptr %6, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds [80 x i8], ptr %191, i64 0, i64 %193 store i8 0, ptr %194, align 1 store i32 0, ptr %6, align 4 %195 = load i32, ptr %5, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %5, align 4 br label %225 197: ; preds = %170 %198 = load i8, ptr %4, align 1 %199 = sext i8 %198 to i32 %200 = icmp eq i32 %199, 59 br i1 %200, label %201, label %224 201: ; preds = %197 %202 = load ptr, ptr %2, align 8 %203 = load i32, ptr %6, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %202, i64 %204 %206 = load i8, ptr %205, align 1 store i8 %206, ptr %4, align 1 %207 = load i8, ptr %4, align 1 %208 = load i32, ptr %5, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %209 %211 = load i32, ptr %6, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds [80 x i8], ptr %210, i64 0, i64 %212 store i8 %207, ptr %213, align 1 %214 = load i32, ptr %6, align 4 %215 = add nsw i32 %214, 1 store i32 %215, ptr %6, align 4 %216 = load i32, ptr %5, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %217 %219 = load i32, ptr %6, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [80 x i8], ptr %218, i64 0, i64 %220 store i8 0, ptr %221, align 1 store i32 0, ptr %6, align 4 %222 = load i32, ptr %5, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %5, align 4 br label %224 224: ; preds = %201, %197 br label %225 225: ; preds = %224, %174 br label %226 226: ; preds = %225, %147 br label %227 227: ; preds = %226, %134 br label %228 228: ; preds = %227, %101 br label %229 229: ; preds = %228, %68 br label %230 230: ; preds = %229, %29 %231 = load i32, ptr %6, align 4 %232 = add nsw i32 %231, 1 store i32 %232, ptr %6, align 4 br label %8, !llvm.loop !11 233: ; preds = %8 %234 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 0 %235 = getelementptr inbounds [80 x i8], ptr %234, i64 0, i64 0 %236 = call i32 @printf(ptr noundef @.str, ptr noundef %235) store i32 0, ptr %7, align 4 br label %237 237: ; preds = %246, %233 %238 = load i32, ptr %7, align 4 %239 = icmp slt i32 %238, 5 br i1 %239, label %240, label %249 240: ; preds = %237 %241 = load i32, ptr %7, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %242 %244 = getelementptr inbounds [80 x i8], ptr %243, i64 0, i64 0 %245 = call i32 @printf(ptr noundef @.str, ptr noundef %244) br label %246 246: ; preds = %240 %247 = load i32, ptr %7, align 4 %248 = add nsw i32 %247, 1 store i32 %248, ptr %7, align 4 br label %237, !llvm.loop !12 249: ; preds = %237 ret void } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp55e2g90d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Toktype: %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tokenise(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [50 x [80 x i8]], align 16 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph8, label %241 .lr.ph8: ; preds = %1 br label %11 11: ; preds = %.lr.ph8, %235 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %4, align 1 %17 = load i8, ptr %4, align 1 %18 = call i64 @isspace(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %11 %21 = load i8, ptr %4, align 1 %22 = call i64 @isspace(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %.lr.ph5, label %30 .lr.ph5: ; preds = %20 br label %24 24: ; preds = %.lr.ph5, %24 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i8, ptr %4, align 1 %28 = call i64 @isspace(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %24, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %24 br label %30 30: ; preds = %._crit_edge6, %20 store i32 0, ptr %6, align 4 br label %235 31: ; preds = %11 %32 = load i8, ptr %4, align 1 %33 = call i64 @isalpha(i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %31 %36 = load i8, ptr %4, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 95 br i1 %38, label %39, label %78 39: ; preds = %35, %31 store i32 0, ptr %6, align 4 br label %40 40: ; preds = %54, %39 %41 = load i8, ptr %4, align 1 %42 = call i64 @isalpha(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %52, label %44 44: ; preds = %40 %45 = load i8, ptr %4, align 1 %46 = call i64 @isdigit(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %52, label %48 48: ; preds = %44 %49 = load i8, ptr %4, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 95 br label %52 52: ; preds = %48, %44, %40 %53 = phi i1 [ true, %44 ], [ true, %40 ], [ %51, %48 ] br i1 %53, label %54, label %69 54: ; preds = %52 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 store i8 %59, ptr %4, align 1 %60 = load i8, ptr %4, align 1 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %62 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [80 x i8], ptr %63, i64 0, i64 %65 store i8 %60, ptr %66, align 1 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %40, !llvm.loop !8 69: ; preds = %52 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %71 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [80 x i8], ptr %72, i64 0, i64 %74 store i8 0, ptr %75, align 1 store i32 0, ptr %6, align 4 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %234 78: ; preds = %35 %79 = load i8, ptr %4, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 34 br i1 %81, label %82, label %113 82: ; preds = %78 store i32 0, ptr %6, align 4 %83 = load i8, ptr %4, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %84, 34 br i1 %85, label %.lr.ph2, label %104 .lr.ph2: ; preds = %82 br label %86 86: ; preds = %.lr.ph2, %86 %87 = load ptr, ptr %2, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 store i8 %91, ptr %4, align 1 %92 = load i8, ptr %4, align 1 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %94 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [80 x i8], ptr %95, i64 0, i64 %97 store i8 %92, ptr %98, align 1 %99 = load i32, ptr %6, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %6, align 4 %101 = load i8, ptr %4, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 34 br i1 %103, label %86, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %86 br label %104 104: ; preds = %._crit_edge3, %82 %105 = load i32, ptr %5, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %106 %108 = load i32, ptr %6, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [80 x i8], ptr %107, i64 0, i64 %109 store i8 0, ptr %110, align 1 store i32 0, ptr %6, align 4 %111 = load i32, ptr %5, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %5, align 4 br label %233 113: ; preds = %78 %114 = load i8, ptr %4, align 1 %115 = call i64 @isdigit(i8 noundef signext %114) %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %148 117: ; preds = %113 store i32 0, ptr %6, align 4 %118 = load i8, ptr %4, align 1 %119 = call i64 @isdigit(i8 noundef signext %118) %120 = icmp ne i64 %119, 0 br i1 %120, label %.lr.ph, label %139 .lr.ph: ; preds = %117 br label %121 121: ; preds = %.lr.ph, %121 %122 = load ptr, ptr %2, align 8 %123 = load i32, ptr %6, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 store i8 %126, ptr %4, align 1 %127 = load i8, ptr %4, align 1 %128 = load i32, ptr %5, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %129 %131 = load i32, ptr %6, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [80 x i8], ptr %130, i64 0, i64 %132 store i8 %127, ptr %133, align 1 %134 = load i32, ptr %6, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %6, align 4 %136 = load i8, ptr %4, align 1 %137 = call i64 @isdigit(i8 noundef signext %136) %138 = icmp ne i64 %137, 0 br i1 %138, label %121, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %121 br label %139 139: ; preds = %._crit_edge, %117 %140 = load i32, ptr %5, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %141 %143 = load i32, ptr %6, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [80 x i8], ptr %142, i64 0, i64 %144 store i8 0, ptr %145, align 1 store i32 0, ptr %6, align 4 %146 = load i32, ptr %5, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %5, align 4 br label %232 148: ; preds = %113 %149 = load i8, ptr %4, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 44 br i1 %151, label %152, label %175 152: ; preds = %148 %153 = load ptr, ptr %2, align 8 %154 = load i32, ptr %6, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i8, ptr %153, i64 %155 %157 = load i8, ptr %156, align 1 store i8 %157, ptr %4, align 1 %158 = load i8, ptr %4, align 1 %159 = load i32, ptr %5, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %160 %162 = load i32, ptr %6, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [80 x i8], ptr %161, i64 0, i64 %163 store i8 %158, ptr %164, align 1 %165 = load i32, ptr %6, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %6, align 4 %167 = load i32, ptr %5, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %168 %170 = load i32, ptr %6, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [80 x i8], ptr %169, i64 0, i64 %171 store i8 0, ptr %172, align 1 store i32 0, ptr %6, align 4 %173 = load i32, ptr %5, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %5, align 4 br label %231 175: ; preds = %148 %176 = load i8, ptr %4, align 1 %177 = sext i8 %176 to i32 %178 = icmp eq i32 %177, 61 br i1 %178, label %179, label %202 179: ; preds = %175 %180 = load ptr, ptr %2, align 8 %181 = load i32, ptr %6, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %180, i64 %182 %184 = load i8, ptr %183, align 1 store i8 %184, ptr %4, align 1 %185 = load i8, ptr %4, align 1 %186 = load i32, ptr %5, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %187 %189 = load i32, ptr %6, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [80 x i8], ptr %188, i64 0, i64 %190 store i8 %185, ptr %191, align 1 %192 = load i32, ptr %6, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %6, align 4 %194 = load i32, ptr %5, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %195 %197 = load i32, ptr %6, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [80 x i8], ptr %196, i64 0, i64 %198 store i8 0, ptr %199, align 1 store i32 0, ptr %6, align 4 %200 = load i32, ptr %5, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %5, align 4 br label %230 202: ; preds = %175 %203 = load i8, ptr %4, align 1 %204 = sext i8 %203 to i32 %205 = icmp eq i32 %204, 59 br i1 %205, label %206, label %229 206: ; preds = %202 %207 = load ptr, ptr %2, align 8 %208 = load i32, ptr %6, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i8, ptr %207, i64 %209 %211 = load i8, ptr %210, align 1 store i8 %211, ptr %4, align 1 %212 = load i8, ptr %4, align 1 %213 = load i32, ptr %5, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %214 %216 = load i32, ptr %6, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [80 x i8], ptr %215, i64 0, i64 %217 store i8 %212, ptr %218, align 1 %219 = load i32, ptr %6, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %6, align 4 %221 = load i32, ptr %5, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %222 %224 = load i32, ptr %6, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [80 x i8], ptr %223, i64 0, i64 %225 store i8 0, ptr %226, align 1 store i32 0, ptr %6, align 4 %227 = load i32, ptr %5, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %5, align 4 br label %229 229: ; preds = %206, %202 br label %230 230: ; preds = %229, %179 br label %231 231: ; preds = %230, %152 br label %232 232: ; preds = %231, %139 br label %233 233: ; preds = %232, %104 br label %234 234: ; preds = %233, %69 br label %235 235: ; preds = %234, %30 %236 = load i32, ptr %6, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %6, align 4 %238 = load i8, ptr %4, align 1 %239 = sext i8 %238 to i32 %240 = icmp ne i32 %239, 0 br i1 %240, label %11, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %235 br label %241 241: ; preds = %._crit_edge9, %1 %242 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 0 %243 = getelementptr inbounds [80 x i8], ptr %242, i64 0, i64 0 %244 = call i32 @printf(ptr noundef @.str, ptr noundef %243) store i32 0, ptr %7, align 4 %245 = load i32, ptr %7, align 4 %246 = icmp slt i32 %245, 5 br i1 %246, label %.lr.ph11, label %258 .lr.ph11: ; preds = %241 br label %247 247: ; preds = %.lr.ph11, %253 %248 = load i32, ptr %7, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [50 x [80 x i8]], ptr %3, i64 0, i64 %249 %251 = getelementptr inbounds [80 x i8], ptr %250, i64 0, i64 0 %252 = call i32 @printf(ptr noundef @.str, ptr noundef %251) br label %253 253: ; preds = %247 %254 = load i32, ptr %7, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %7, align 4 %256 = load i32, ptr %7, align 4 %257 = icmp slt i32 %256, 5 br i1 %257, label %247, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %253 br label %258 258: ; preds = %._crit_edge12, %241 ret void } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp4c_ry6mx.c' source_filename = "/tmp/tmp4c_ry6mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StmvSetClAf() #0 { %1 = call i32 @RegWriteA(i32 noundef 480, i32 noundef 16) %2 = call i32 @RegWriteA(i32 noundef 484, i32 noundef 0) %3 = call i32 @RamAccFixMod(i32 noundef 1) %4 = call i32 @RamWriteA(i32 noundef 5396, i32 noundef 64) %5 = call i32 @RamWriteA(i32 noundef 4642, i32 noundef 24576) %6 = call i32 @RamWriteA(i32 noundef 4643, i32 noundef 28672) %7 = call i32 @RamWriteA(i32 noundef 4637, i32 noundef 32767) %8 = call i32 @RamWriteA(i32 noundef 4638, i32 noundef 8192) %9 = call i32 @RamWriteA(i32 noundef 4639, i32 noundef 2560) %10 = call i32 @RamAccFixMod(i32 noundef 0) %11 = call i32 @RegWriteA(i32 noundef 482, i32 noundef 0) ret void } declare i32 @RegWriteA(i32 noundef, i32 noundef) #1 declare i32 @RamAccFixMod(i32 noundef) #1 declare i32 @RamWriteA(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/tmp4c_ry6mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StmvSetClAf() #0 { %1 = call i32 @RegWriteA(i32 noundef 480, i32 noundef 16) %2 = call i32 @RegWriteA(i32 noundef 484, i32 noundef 0) %3 = call i32 @RamAccFixMod(i32 noundef 1) %4 = call i32 @RamWriteA(i32 noundef 5396, i32 noundef 64) %5 = call i32 @RamWriteA(i32 noundef 4642, i32 noundef 24576) %6 = call i32 @RamWriteA(i32 noundef 4643, i32 noundef 28672) %7 = call i32 @RamWriteA(i32 noundef 4637, i32 noundef 32767) %8 = call i32 @RamWriteA(i32 noundef 4638, i32 noundef 8192) %9 = call i32 @RamWriteA(i32 noundef 4639, i32 noundef 2560) %10 = call i32 @RamAccFixMod(i32 noundef 0) %11 = call i32 @RegWriteA(i32 noundef 482, i32 noundef 0) ret void } declare i32 @RegWriteA(i32 noundef, i32 noundef) #1 declare i32 @RamAccFixMod(i32 noundef) #1 declare i32 @RamWriteA(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/tmpo2ryj06y.c' source_filename = "/tmp/tmpo2ryj06y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getop.c_buf = internal global i32 0, align 4 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getop(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @getop.c_buf, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @getch() store i32 %9, ptr %5, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr @getop.c_buf, align 4 store i32 %11, ptr %5, align 4 store i32 0, ptr @getop.c_buf, align 4 br label %12 12: ; preds = %10, %8 br label %13 13: ; preds = %25, %12 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 store i8 %15, ptr %17, align 1 %18 = sext i8 %15 to i32 %19 = icmp eq i32 %18, 32 br i1 %19, label %23, label %20 20: ; preds = %13 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 9 br label %23 23: ; preds = %20, %13 %24 = phi i1 [ true, %13 ], [ %22, %20 ] br i1 %24, label %25, label %27 25: ; preds = %23 %26 = call i32 (...) @getch() store i32 %26, ptr %5, align 4 br label %13, !llvm.loop !6 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store i8 0, ptr %29, align 1 %30 = load i32, ptr %5, align 4 %31 = icmp sle i32 65, %30 br i1 %31, label %32, label %36 32: ; preds = %27 %33 = load i32, ptr %5, align 4 %34 = icmp sle i32 %33, 90 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 56, ptr %2, align 4 br label %130 36: ; preds = %32, %27 %37 = load i32, ptr %5, align 4 %38 = icmp sle i32 97, %37 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %5, align 4 %41 = icmp sle i32 %40, 122 br i1 %41, label %42, label %43 42: ; preds = %39 store i32 57, ptr %2, align 4 br label %130 43: ; preds = %39, %36 %44 = load i32, ptr %5, align 4 %45 = trunc i32 %44 to i8 %46 = call i64 @isdigit(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %56, label %48 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = icmp ne i32 %49, 46 br i1 %50, label %51, label %56 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = icmp ne i32 %52, 45 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = load i32, ptr %5, align 4 store i32 %55, ptr %2, align 4 br label %130 56: ; preds = %51, %48, %43 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 45 br i1 %58, label %59, label %84 59: ; preds = %56 %60 = call i32 (...) @getch() store i32 %60, ptr %5, align 4 %61 = trunc i32 %60 to i8 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 store i8 %61, ptr %63, align 1 %64 = call i64 @isdigit(i8 noundef signext %61) %65 = icmp ne i64 %64, 0 br i1 %65, label %76, label %66 66: ; preds = %59 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr @EOF, align 4 %69 = icmp ne i32 %67, %68 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = load i32, ptr %5, align 4 store i32 %71, ptr @getop.c_buf, align 4 br label %72 72: ; preds = %70, %66 store i32 45, ptr %5, align 4 %73 = load ptr, ptr %3, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 0 store i8 45, ptr %74, align 1 %75 = load i32, ptr %5, align 4 store i32 %75, ptr %2, align 4 br label %130 76: ; preds = %59 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 0 store i8 45, ptr %78, align 1 %79 = load i32, ptr %5, align 4 %80 = trunc i32 %79 to i8 %81 = load ptr, ptr %3, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 1 store i8 %80, ptr %82, align 1 store i32 1, ptr %4, align 4 br label %83 83: ; preds = %76 br label %85 84: ; preds = %56 store i32 0, ptr %4, align 4 br label %85 85: ; preds = %84, %83 %86 = load i32, ptr %5, align 4 %87 = trunc i32 %86 to i8 %88 = call i64 @isdigit(i8 noundef signext %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %103 90: ; preds = %85 br label %91 91: ; preds = %101, %90 %92 = call i32 (...) @getch() store i32 %92, ptr %5, align 4 %93 = trunc i32 %92 to i8 %94 = load ptr, ptr %3, align 8 %95 = load i32, ptr %4, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %4, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %94, i64 %97 store i8 %93, ptr %98, align 1 %99 = call i64 @isdigit(i8 noundef signext %93) %100 = icmp ne i64 %99, 0 br i1 %100, label %101, label %102 101: ; preds = %91 br label %91, !llvm.loop !8 102: ; preds = %91 br label %103 103: ; preds = %102, %85 %104 = load i32, ptr %5, align 4 %105 = icmp eq i32 %104, 46 br i1 %105, label %106, label %119 106: ; preds = %103 br label %107 107: ; preds = %117, %106 %108 = call i32 (...) @getch() store i32 %108, ptr %5, align 4 %109 = trunc i32 %108 to i8 %110 = load ptr, ptr %3, align 8 %111 = load i32, ptr %4, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %4, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %110, i64 %113 store i8 %109, ptr %114, align 1 %115 = call i64 @isdigit(i8 noundef signext %109) %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %107 br label %107, !llvm.loop !9 118: ; preds = %107 br label %119 119: ; preds = %118, %103 %120 = load ptr, ptr %3, align 8 %121 = load i32, ptr %4, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 store i8 0, ptr %123, align 1 %124 = load i32, ptr %5, align 4 %125 = load i32, ptr @EOF, align 4 %126 = icmp ne i32 %124, %125 br i1 %126, label %127, label %129 127: ; preds = %119 %128 = load i32, ptr %5, align 4 store i32 %128, ptr @getop.c_buf, align 4 br label %129 129: ; preds = %127, %119 store i32 48, ptr %2, align 4 br label %130 130: ; preds = %129, %72, %54, %42, %35 %131 = load i32, ptr %2, align 4 ret i32 %131 } declare i32 @getch(...) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo2ryj06y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getop.c_buf = internal global i32 0, align 4 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getop(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @getop.c_buf, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @getch() store i32 %9, ptr %5, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr @getop.c_buf, align 4 store i32 %11, ptr %5, align 4 store i32 0, ptr @getop.c_buf, align 4 br label %12 12: ; preds = %10, %8 br label %13 13: ; preds = %25, %12 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 store i8 %15, ptr %17, align 1 %18 = sext i8 %15 to i32 %19 = icmp eq i32 %18, 32 br i1 %19, label %23, label %20 20: ; preds = %13 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 9 br label %23 23: ; preds = %20, %13 %24 = phi i1 [ true, %13 ], [ %22, %20 ] br i1 %24, label %25, label %27 25: ; preds = %23 %26 = call i32 (...) @getch() store i32 %26, ptr %5, align 4 br label %13, !llvm.loop !6 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store i8 0, ptr %29, align 1 %30 = load i32, ptr %5, align 4 %31 = icmp sle i32 65, %30 br i1 %31, label %32, label %36 32: ; preds = %27 %33 = load i32, ptr %5, align 4 %34 = icmp sle i32 %33, 90 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 56, ptr %2, align 4 br label %128 36: ; preds = %32, %27 %37 = load i32, ptr %5, align 4 %38 = icmp sle i32 97, %37 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %5, align 4 %41 = icmp sle i32 %40, 122 br i1 %41, label %42, label %43 42: ; preds = %39 store i32 57, ptr %2, align 4 br label %128 43: ; preds = %39, %36 %44 = load i32, ptr %5, align 4 %45 = trunc i32 %44 to i8 %46 = call i64 @isdigit(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %56, label %48 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = icmp ne i32 %49, 46 br i1 %50, label %51, label %56 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = icmp ne i32 %52, 45 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = load i32, ptr %5, align 4 store i32 %55, ptr %2, align 4 br label %128 56: ; preds = %51, %48, %43 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 45 br i1 %58, label %59, label %84 59: ; preds = %56 %60 = call i32 (...) @getch() store i32 %60, ptr %5, align 4 %61 = trunc i32 %60 to i8 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 store i8 %61, ptr %63, align 1 %64 = call i64 @isdigit(i8 noundef signext %61) %65 = icmp ne i64 %64, 0 br i1 %65, label %76, label %66 66: ; preds = %59 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr @EOF, align 4 %69 = icmp ne i32 %67, %68 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = load i32, ptr %5, align 4 store i32 %71, ptr @getop.c_buf, align 4 br label %72 72: ; preds = %70, %66 store i32 45, ptr %5, align 4 %73 = load ptr, ptr %3, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 0 store i8 45, ptr %74, align 1 %75 = load i32, ptr %5, align 4 store i32 %75, ptr %2, align 4 br label %128 76: ; preds = %59 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 0 store i8 45, ptr %78, align 1 %79 = load i32, ptr %5, align 4 %80 = trunc i32 %79 to i8 %81 = load ptr, ptr %3, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 1 store i8 %80, ptr %82, align 1 store i32 1, ptr %4, align 4 br label %83 83: ; preds = %76 br label %85 84: ; preds = %56 store i32 0, ptr %4, align 4 br label %85 85: ; preds = %84, %83 %86 = load i32, ptr %5, align 4 %87 = trunc i32 %86 to i8 %88 = call i64 @isdigit(i8 noundef signext %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %102 90: ; preds = %85 br label %91 91: ; preds = %91, %90 %92 = call i32 (...) @getch() store i32 %92, ptr %5, align 4 %93 = trunc i32 %92 to i8 %94 = load ptr, ptr %3, align 8 %95 = load i32, ptr %4, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %4, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %94, i64 %97 store i8 %93, ptr %98, align 1 %99 = call i64 @isdigit(i8 noundef signext %93) %100 = icmp ne i64 %99, 0 br i1 %100, label %91, label %101, !llvm.loop !8 101: ; preds = %91 br label %102 102: ; preds = %101, %85 %103 = load i32, ptr %5, align 4 %104 = icmp eq i32 %103, 46 br i1 %104, label %105, label %117 105: ; preds = %102 br label %106 106: ; preds = %106, %105 %107 = call i32 (...) @getch() store i32 %107, ptr %5, align 4 %108 = trunc i32 %107 to i8 %109 = load ptr, ptr %3, align 8 %110 = load i32, ptr %4, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %4, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %109, i64 %112 store i8 %108, ptr %113, align 1 %114 = call i64 @isdigit(i8 noundef signext %108) %115 = icmp ne i64 %114, 0 br i1 %115, label %106, label %116, !llvm.loop !9 116: ; preds = %106 br label %117 117: ; preds = %116, %102 %118 = load ptr, ptr %3, align 8 %119 = load i32, ptr %4, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 store i8 0, ptr %121, align 1 %122 = load i32, ptr %5, align 4 %123 = load i32, ptr @EOF, align 4 %124 = icmp ne i32 %122, %123 br i1 %124, label %125, label %127 125: ; preds = %117 %126 = load i32, ptr %5, align 4 store i32 %126, ptr @getop.c_buf, align 4 br label %127 127: ; preds = %125, %117 store i32 48, ptr %2, align 4 br label %128 128: ; preds = %127, %72, %54, %42, %35 %129 = load i32, ptr %2, align 4 ret i32 %129 } declare i32 @getch(...) #1 declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp2v_rip8s.c' source_filename = "/tmp/tmp2v_rip8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 @__const.main.arr2 = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca [7 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @__array_print(ptr noundef %4, i32 noundef 7) %6 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @arr_lrotate(ptr noundef %6, i32 noundef 7, i32 noundef 3) %8 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %9 = call i32 @__array_print(ptr noundef %8, i32 noundef 7) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr2, i64 28, i1 false) %10 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @__array_print(ptr noundef %10, i32 noundef 7) %12 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @arr_lrotate(ptr noundef %12, i32 noundef 7, i32 noundef 7) %14 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %15 = call i32 @__array_print(ptr noundef %14, i32 noundef 7) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @__array_print(ptr noundef, i32 noundef) #2 declare i32 @arr_lrotate(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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2v_rip8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 @__const.main.arr2 = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca [7 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @__array_print(ptr noundef %4, i32 noundef 7) %6 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @arr_lrotate(ptr noundef %6, i32 noundef 7, i32 noundef 3) %8 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %9 = call i32 @__array_print(ptr noundef %8, i32 noundef 7) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr2, i64 28, i1 false) %10 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @__array_print(ptr noundef %10, i32 noundef 7) %12 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @arr_lrotate(ptr noundef %12, i32 noundef 7, i32 noundef 7) %14 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %15 = call i32 @__array_print(ptr noundef %14, i32 noundef 7) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @__array_print(ptr noundef, i32 noundef) #2 declare i32 @arr_lrotate(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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf74fanrl.c' source_filename = "/tmp/tmpf74fanrl.c" target datalayout = "e-m:e-p270: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/tmpf74fanrl.c" target datalayout = "e-m:e-p270: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/tmp52728uzq.c' source_filename = "/tmp/tmp52728uzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array1 = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 3, i32 4, i32 5, i32 7, i32 7, i32 -1], align 16 @__const.main.array2 = private unnamed_addr constant [9 x i32] [i32 3, i32 4, i32 5, i32 6, i32 7, i32 9, i32 10, i32 11, i32 -1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array1, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array2, i64 36, i1 false) %6 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @interseccionA(ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %22, %0 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %25 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %16 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %5, align 4 br label %27 27: ; preds = %39, %25 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %42 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %37) br label %39 39: ; preds = %33 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 br label %27, !llvm.loop !8 42: ; preds = %27 %43 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %5, align 4 br label %44 44: ; preds = %56, %42 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp ne i32 %48, -1 br i1 %49, label %50, label %59 50: ; preds = %44 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 @printf(ptr noundef @.str, i32 noundef %54) br label %56 56: ; preds = %50 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %44, !llvm.loop !9 59: ; preds = %44 %60 = call i32 @putchar(i8 noundef signext 10) %61 = load i32, ptr %1, align 4 ret i32 %61 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @interseccionA(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @putchar(i8 noundef signext) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp52728uzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array1 = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 3, i32 4, i32 5, i32 7, i32 7, i32 -1], align 16 @__const.main.array2 = private unnamed_addr constant [9 x i32] [i32 3, i32 4, i32 5, i32 6, i32 7, i32 9, i32 10, i32 11, i32 -1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array1, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array2, i64 36, i1 false) %6 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @interseccionA(ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %21 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %15 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %29 29: ; preds = %._crit_edge, %0 %30 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp ne i32 %34, -1 br i1 %35, label %.lr.ph2, label %50 .lr.ph2: ; preds = %29 br label %36 36: ; preds = %.lr.ph2, %42 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) 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 = sext i32 %45 to i64 %47 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp ne i32 %48, -1 br i1 %49, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %50 50: ; preds = %._crit_edge3, %29 %51 = call i32 @putchar(i8 noundef signext 10) store i32 0, ptr %5, align 4 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp ne i32 %55, -1 br i1 %56, label %.lr.ph5, label %71 .lr.ph5: ; preds = %50 br label %57 57: ; preds = %.lr.ph5, %63 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %61) br label %63 63: ; preds = %57 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 %66 = load i32, ptr %5, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = icmp ne i32 %69, -1 br i1 %70, label %57, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %71 71: ; preds = %._crit_edge6, %50 %72 = call i32 @putchar(i8 noundef signext 10) %73 = load i32, ptr %1, align 4 ret i32 %73 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @interseccionA(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @putchar(i8 noundef signext) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpka2xe8w0.c' source_filename = "/tmp/tmpka2xe8w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @somaNumerosDiv3ou5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %18, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %21 9: ; preds = %5 %10 = load i32, ptr %4, align 4 %11 = call i32 @ehDivisivelPor3ou5(i32 noundef %10) %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %13, %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @ehDivisivelPor3ou5(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/tmpka2xe8w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @somaNumerosDiv3ou5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %4, align 4 %10 = call i32 @ehDivisivelPor3ou5(i32 noundef %9) %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %12, %8 br label %17 17: ; preds = %16 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @ehDivisivelPor3ou5(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/tmppxv9k4y2.c' source_filename = "/tmp/tmppxv9k4y2.c" target datalayout = "e-m:e-p270: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/tmppxv9k4y2.c" target datalayout = "e-m:e-p270: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/tmpqfandnm0.c' source_filename = "/tmp/tmpqfandnm0.c" target datalayout = "e-m:e-p270: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/tmpqfandnm0.c" target datalayout = "e-m:e-p270: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/tmplig_gw7z.c' source_filename = "/tmp/tmplig_gw7z.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XKeyEvent_x(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplig_gw7z.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XKeyEvent_x(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpueyk9g1w.c' source_filename = "/tmp/tmpueyk9g1w.c" target datalayout = "e-m:e-p270: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/tmpueyk9g1w.c" target datalayout = "e-m:e-p270: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/tmpfhl51ogn.c' source_filename = "/tmp/tmpfhl51ogn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Sum: %.0f\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0AAvg: %.2f\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 float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 br label %8 8: ; preds = %18, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %14 = load float, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = sitofp i32 %15 to float %17 = fadd float %14, %16 store float %17, ptr %6, align 4 br label %18 18: ; preds = %12 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = load float, ptr %6, align 4 %23 = load i32, ptr %2, align 4 %24 = sitofp i32 %23 to float %25 = fdiv float %22, %24 store float %25, ptr %5, align 4 %26 = load float, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.1, float noundef %26) %28 = load float, ptr %5, align 4 %29 = call i32 @printf(ptr noundef @.str.2, float noundef %28) ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhl51ogn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Sum: %.0f\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0AAvg: %.2f\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 float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %17 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %13 = load float, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to float %16 = fadd float %13, %15 store float %16, ptr %6, align 4 br label %17 17: ; preds = %11 %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 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 %24 = load float, ptr %6, align 4 %25 = load i32, ptr %2, align 4 %26 = sitofp i32 %25 to float %27 = fdiv float %24, %26 store float %27, ptr %5, align 4 %28 = load float, ptr %6, align 4 %29 = call i32 @printf(ptr noundef @.str.1, float noundef %28) %30 = load float, ptr %5, align 4 %31 = call i32 @printf(ptr noundef @.str.2, float noundef %30) ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1lkvspaj.c' source_filename = "/tmp/tmp1lkvspaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test_33.s = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_33() #0 { %1 = load i32, ptr @test_33.s, align 4 %2 = icmp eq i32 %1, 42 %3 = zext i1 %2 to i32 %4 = call i32 @__analyzer_eval(i32 noundef %3) store i32 42, ptr @test_33.s, align 4 %5 = load i32, ptr @test_33.s, align 4 %6 = icmp eq i32 %5, 42 %7 = zext i1 %6 to i32 %8 = call i32 @__analyzer_eval(i32 noundef %7) ret void } declare i32 @__analyzer_eval(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/tmp1lkvspaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test_33.s = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_33() #0 { %1 = load i32, ptr @test_33.s, align 4 %2 = icmp eq i32 %1, 42 %3 = zext i1 %2 to i32 %4 = call i32 @__analyzer_eval(i32 noundef %3) store i32 42, ptr @test_33.s, align 4 %5 = load i32, ptr @test_33.s, align 4 %6 = icmp eq i32 %5, 42 %7 = zext i1 %6 to i32 %8 = call i32 @__analyzer_eval(i32 noundef %7) ret void } declare i32 @__analyzer_eval(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/tmpzdc0uvpe.c' source_filename = "/tmp/tmpzdc0uvpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_out(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i32 @putchar(i8 noundef signext %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @putchar(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/tmpzdc0uvpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_out(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i32 @putchar(i8 noundef signext %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @putchar(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/tmp9yz6uhsm.c' source_filename = "/tmp/tmp9yz6uhsm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"\0A\09Please enter the %s:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get(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 @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @printf(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9yz6uhsm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"\0A\09Please enter the %s:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get(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 @printf(ptr noundef @.str, ptr noundef %4) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @printf(ptr noundef, 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"}
; ModuleID = '/tmp/tmpk9udoyib.c' source_filename = "/tmp/tmpk9udoyib.c" target datalayout = "e-m:e-p270: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/tmpk9udoyib.c" target datalayout = "e-m:e-p270: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/tmppqstqf8o.c' source_filename = "/tmp/tmppqstqf8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostPwrFaultEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 1024 %5 = inttoptr i64 %4 to ptr %6 = load volatile i32, ptr %5, align 4 %7 = or i32 %6, 16 store volatile i32 %7, ptr %5, 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/tmppqstqf8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostPwrFaultEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 1024 %5 = inttoptr i64 %4 to ptr %6 = load volatile i32, ptr %5, align 4 %7 = or i32 %6, 16 store volatile i32 %7, ptr %5, 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/tmpkbdcic7t.c' source_filename = "/tmp/tmpkbdcic7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint2_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 0, ptr %4, align 4 br label %20 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = sdiv i32 %18, 2 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %17, %16 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkbdcic7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint2_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 0, ptr %4, align 4 br label %20 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = sdiv i32 %18, 2 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %17, %16 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkwptbmlt.c' source_filename = "/tmp/tmpkwptbmlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.d1 = private unnamed_addr constant [9 x i32] [i32 8, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9], align 16 @__const.main.d2 = private unnamed_addr constant [9 x i32] [i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.d1, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.d2, i64 36, i1 false) %9 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 0 %10 = call ptr @plusOne(ptr noundef %9, i32 noundef 9, ptr noundef %4) store ptr %10, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %22, %0 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %11, !llvm.loop !6 25: ; preds = %11 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %28 = call ptr @plusOne(ptr noundef %27, i32 noundef 9, ptr noundef %4) store ptr %28, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %40, %25 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %43 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38) br label %40 40: ; preds = %33 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 br label %29, !llvm.loop !8 43: ; preds = %29 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @plusOne(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkwptbmlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.d1 = private unnamed_addr constant [9 x i32] [i32 8, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9], align 16 @__const.main.d2 = private unnamed_addr constant [9 x i32] [i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.d1, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.d2, i64 36, i1 false) %9 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 0 %10 = call ptr @plusOne(ptr noundef %9, i32 noundef 9, ptr noundef %4) store ptr %10, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %29 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 0 %30 = call ptr @plusOne(ptr noundef %29, i32 noundef 9, ptr noundef %4) store ptr %30, ptr %7, align 8 store i32 0, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %47 .lr.ph2: ; preds = %27 br label %34 34: ; preds = %.lr.ph2, %41 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39) br label %41 41: ; preds = %34 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %27 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @plusOne(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnppecskg.c' source_filename = "/tmp/tmpnppecskg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlappingWriteFunction_memccpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %7, align 4 %12 = load i64, ptr %8, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @memccpy(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %8, align 8 %18 = trunc i64 %17 to i32 %19 = call i32 @memccpy(ptr noundef %15, ptr noundef %16, i32 noundef 42, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @memccpy(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef 4) %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 3 %27 = load i32, ptr %7, align 4 %28 = call i32 @memccpy(ptr noundef %24, ptr noundef %26, i32 noundef %27, i32 noundef 4) ret void } declare i32 @memccpy(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/tmpnppecskg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlappingWriteFunction_memccpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %7, align 4 %12 = load i64, ptr %8, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @memccpy(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %8, align 8 %18 = trunc i64 %17 to i32 %19 = call i32 @memccpy(ptr noundef %15, ptr noundef %16, i32 noundef 42, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @memccpy(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef 4) %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 3 %27 = load i32, ptr %7, align 4 %28 = call i32 @memccpy(ptr noundef %24, ptr noundef %26, i32 noundef %27, i32 noundef 4) ret void } declare i32 @memccpy(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/tmpvaxe9a07.c' source_filename = "/tmp/tmpvaxe9a07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search_str(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %25, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %9 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i64 @gmx_strcasecmp(ptr noundef %18, ptr noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = load i32, ptr %8, align 4 store i32 %23, ptr %4, align 4 br label %29 24: ; preds = %13 br label %25 25: ; preds = %24 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 br label %9, !llvm.loop !6 28: ; preds = %9 store i32 -1, ptr %4, align 4 br label %29 29: ; preds = %28, %22 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare i64 @gmx_strcasecmp(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/tmpvaxe9a07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search_str(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %24 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %7, align 8 %19 = call i64 @gmx_strcasecmp(ptr noundef %17, ptr noundef %18) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %12 %22 = load i32, ptr %8, align 4 store i32 %22, ptr %4, align 4 br label %31 23: ; preds = %12 br label %24 24: ; preds = %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %31 31: ; preds = %30, %21 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @gmx_strcasecmp(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/tmpt9t5kg8n.c' source_filename = "/tmp/tmpt9t5kg8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Checking that exceptional lib calls set errno\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [29 x i8] c"%s - errno %d not set at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"pow(-3, 4.4)\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"log(-3.0)\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"sqrt(-0.001)\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"asin(1.0001)\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"acosh(0.999)\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"remainder(3.3, 0.0)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_exception() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr @errno, align 8 %3 = call i32 @pow(i32 noundef -3, double noundef 4.400000e+00) %4 = load i64, ptr @errno, align 8 %5 = icmp ne i64 0, %4 br i1 %5, label %6, label %7 6: ; preds = %0 br label %10 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %8, i32 noundef 155) br label %10 10: ; preds = %7, %6 %11 = phi i32 [ 0, %6 ], [ 1, %7 ] %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %1, align 4 store i64 0, ptr @errno, align 8 %14 = call i32 @log(double noundef -3.000000e+00) %15 = load i64, ptr @errno, align 8 %16 = icmp ne i64 0, %15 br i1 %16, label %17, label %18 17: ; preds = %10 br label %21 18: ; preds = %10 %19 = load i64, ptr @errno, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i64 noundef %19, i32 noundef 156) br label %21 21: ; preds = %18, %17 %22 = phi i32 [ 0, %17 ], [ 1, %18 ] %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %1, align 4 store i64 0, ptr @errno, align 8 %25 = call i32 @sqrt(double noundef -1.000000e-03) %26 = load i64, ptr @errno, align 8 %27 = icmp ne i64 0, %26 br i1 %27, label %28, label %29 28: ; preds = %21 br label %32 29: ; preds = %21 %30 = load i64, ptr @errno, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i64 noundef %30, i32 noundef 157) br label %32 32: ; preds = %29, %28 %33 = phi i32 [ 0, %28 ], [ 1, %29 ] %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %1, align 4 store i64 0, ptr @errno, align 8 %36 = call i32 @asin(double noundef 1.000100e+00) %37 = load i64, ptr @errno, align 8 %38 = icmp ne i64 0, %37 br i1 %38, label %39, label %40 39: ; preds = %32 br label %43 40: ; preds = %32 %41 = load i64, ptr @errno, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5, i64 noundef %41, i32 noundef 158) br label %43 43: ; preds = %40, %39 %44 = phi i32 [ 0, %39 ], [ 1, %40 ] %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %1, align 4 store i64 0, ptr @errno, align 8 %47 = call i32 @acosh(double noundef 0x3FEFF7CED916872B) %48 = load i64, ptr @errno, align 8 %49 = icmp ne i64 0, %48 br i1 %49, label %50, label %51 50: ; preds = %43 br label %54 51: ; preds = %43 %52 = load i64, ptr @errno, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i64 noundef %52, i32 noundef 166) br label %54 54: ; preds = %51, %50 %55 = phi i32 [ 0, %50 ], [ 1, %51 ] %56 = load i32, ptr %1, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %1, align 4 store i64 0, ptr @errno, align 8 %58 = call i32 @remainder(double noundef 3.300000e+00, double noundef 0.000000e+00) %59 = load i64, ptr @errno, align 8 %60 = icmp ne i64 0, %59 br i1 %60, label %61, label %62 61: ; preds = %54 br label %65 62: ; preds = %54 %63 = load i64, ptr @errno, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i64 noundef %63, i32 noundef 167) br label %65 65: ; preds = %62, %61 %66 = phi i32 [ 0, %61 ], [ 1, %62 ] %67 = load i32, ptr %1, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %1, align 4 %69 = load i32, ptr %1, align 4 ret i32 %69 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @pow(i32 noundef, double noundef) #1 declare i32 @log(double noundef) #1 declare i32 @sqrt(double noundef) #1 declare i32 @asin(double noundef) #1 declare i32 @acosh(double noundef) #1 declare i32 @remainder(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt9t5kg8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Checking that exceptional lib calls set errno\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [29 x i8] c"%s - errno %d not set at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"pow(-3, 4.4)\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"log(-3.0)\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"sqrt(-0.001)\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"asin(1.0001)\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"acosh(0.999)\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"remainder(3.3, 0.0)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_exception() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr @errno, align 8 %3 = call i32 @pow(i32 noundef -3, double noundef 4.400000e+00) %4 = load i64, ptr @errno, align 8 %5 = icmp ne i64 0, %4 br i1 %5, label %6, label %7 6: ; preds = %0 br label %10 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %8, i32 noundef 155) br label %10 10: ; preds = %7, %6 %11 = phi i32 [ 0, %6 ], [ 1, %7 ] %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %1, align 4 store i64 0, ptr @errno, align 8 %14 = call i32 @log(double noundef -3.000000e+00) %15 = load i64, ptr @errno, align 8 %16 = icmp ne i64 0, %15 br i1 %16, label %17, label %18 17: ; preds = %10 br label %21 18: ; preds = %10 %19 = load i64, ptr @errno, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i64 noundef %19, i32 noundef 156) br label %21 21: ; preds = %18, %17 %22 = phi i32 [ 0, %17 ], [ 1, %18 ] %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %1, align 4 store i64 0, ptr @errno, align 8 %25 = call i32 @sqrt(double noundef -1.000000e-03) %26 = load i64, ptr @errno, align 8 %27 = icmp ne i64 0, %26 br i1 %27, label %28, label %29 28: ; preds = %21 br label %32 29: ; preds = %21 %30 = load i64, ptr @errno, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i64 noundef %30, i32 noundef 157) br label %32 32: ; preds = %29, %28 %33 = phi i32 [ 0, %28 ], [ 1, %29 ] %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %1, align 4 store i64 0, ptr @errno, align 8 %36 = call i32 @asin(double noundef 1.000100e+00) %37 = load i64, ptr @errno, align 8 %38 = icmp ne i64 0, %37 br i1 %38, label %39, label %40 39: ; preds = %32 br label %43 40: ; preds = %32 %41 = load i64, ptr @errno, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5, i64 noundef %41, i32 noundef 158) br label %43 43: ; preds = %40, %39 %44 = phi i32 [ 0, %39 ], [ 1, %40 ] %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %1, align 4 store i64 0, ptr @errno, align 8 %47 = call i32 @acosh(double noundef 0x3FEFF7CED916872B) %48 = load i64, ptr @errno, align 8 %49 = icmp ne i64 0, %48 br i1 %49, label %50, label %51 50: ; preds = %43 br label %54 51: ; preds = %43 %52 = load i64, ptr @errno, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i64 noundef %52, i32 noundef 166) br label %54 54: ; preds = %51, %50 %55 = phi i32 [ 0, %50 ], [ 1, %51 ] %56 = load i32, ptr %1, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %1, align 4 store i64 0, ptr @errno, align 8 %58 = call i32 @remainder(double noundef 3.300000e+00, double noundef 0.000000e+00) %59 = load i64, ptr @errno, align 8 %60 = icmp ne i64 0, %59 br i1 %60, label %61, label %62 61: ; preds = %54 br label %65 62: ; preds = %54 %63 = load i64, ptr @errno, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i64 noundef %63, i32 noundef 167) br label %65 65: ; preds = %62, %61 %66 = phi i32 [ 0, %61 ], [ 1, %62 ] %67 = load i32, ptr %1, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %1, align 4 %69 = load i32, ptr %1, align 4 ret i32 %69 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @pow(i32 noundef, double noundef) #1 declare i32 @log(double noundef) #1 declare i32 @sqrt(double noundef) #1 declare i32 @asin(double noundef) #1 declare i32 @acosh(double noundef) #1 declare i32 @remainder(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk7a9e7s5.c' source_filename = "/tmp/tmpk7a9e7s5.c" target datalayout = "e-m:e-p270: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/tmpk7a9e7s5.c" target datalayout = "e-m:e-p270: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"}