llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp5u8s9k_2.c' source_filename = "/tmp/tmp5u8s9k_2.c" target datalayout = "e-m:e-p270: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/tmp5u8s9k_2.c" target datalayout = "e-m:e-p270: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/tmppjrkdd38.c' source_filename = "/tmp/tmppjrkdd38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %10, align 8 br label %13 13: ; preds = %16, %3 %14 = load i64, ptr %6, align 8 %15 = icmp uge i64 %14, 4 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load ptr, ptr %10, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %10, align 8 %19 = load i32, ptr %17, align 4 %20 = load ptr, ptr %9, align 8 %21 = getelementptr inbounds i32, ptr %20, i32 1 store ptr %21, ptr %9, align 8 store i32 %19, ptr %20, align 4 %22 = load i64, ptr %6, align 8 %23 = sub i64 %22, 4 store i64 %23, ptr %6, align 8 br label %13, !llvm.loop !6 24: ; preds = %13 %25 = load ptr, ptr %9, align 8 store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %10, align 8 store ptr %26, ptr %8, align 8 br label %27 27: ; preds = %30, %24 %28 = load i64, ptr %6, align 8 %29 = icmp ugt i64 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %8, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %7, align 8 store i8 %33, ptr %34, align 1 %36 = load i64, ptr %6, align 8 %37 = sub i64 %36, 1 store i64 %37, ptr %6, align 8 br label %27, !llvm.loop !8 38: ; preds = %27 %39 = load ptr, ptr %4, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppjrkdd38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %10, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp uge i64 %13, 4 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %15 %16 = load ptr, ptr %10, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %10, align 8 %18 = load i32, ptr %16, align 4 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %9, align 8 store i32 %18, ptr %19, align 4 %21 = load i64, ptr %6, align 8 %22 = sub i64 %21, 4 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp uge i64 %23, 4 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %9, align 8 store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %10, align 8 store ptr %27, ptr %8, align 8 %28 = load i64, ptr %6, align 8 %29 = icmp ugt i64 %28, 0 br i1 %29, label %.lr.ph2, label %40 .lr.ph2: ; preds = %25 br label %30 30: ; preds = %.lr.ph2, %30 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %8, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %7, align 8 store i8 %33, ptr %34, align 1 %36 = load i64, ptr %6, align 8 %37 = sub i64 %36, 1 store i64 %37, ptr %6, align 8 %38 = load i64, ptr %6, align 8 %39 = icmp ugt i64 %38, 0 br i1 %39, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %40 40: ; preds = %._crit_edge3, %25 %41 = load ptr, ptr %4, align 8 ret ptr %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0ft9iin3.c' source_filename = "/tmp/tmp0ft9iin3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qu2omLoopf(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca [4 x double], align 16 %17 = alloca [9 x double], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i64 4, ptr %14, align 8 store i64 9, ptr %15, align 8 store i64 0, ptr %11, align 8 br label %18 18: ; preds = %69, %4 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %7, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %72 22: ; preds = %18 %23 = load i64, ptr %11, align 8 %24 = load i64, ptr %14, align 8 %25 = mul i64 %23, %24 store i64 %25, ptr %12, align 8 %26 = load i64, ptr %11, align 8 %27 = load i64, ptr %15, align 8 %28 = mul i64 %26, %27 store i64 %28, ptr %13, align 8 store i64 0, ptr %10, align 8 br label %29 29: ; preds = %43, %22 %30 = load i64, ptr %10, align 8 %31 = load i64, ptr %14, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %33, label %46 33: ; preds = %29 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %12, align 8 %36 = load i64, ptr %10, align 8 %37 = add i64 %35, %36 %38 = getelementptr inbounds float, ptr %34, i64 %37 %39 = load float, ptr %38, align 4 %40 = fpext float %39 to double %41 = load i64, ptr %10, align 8 %42 = getelementptr inbounds [4 x double], ptr %16, i64 0, i64 %41 store double %40, ptr %42, align 8 br label %43 43: ; preds = %33 %44 = load i64, ptr %10, align 8 %45 = add i64 %44, 1 store i64 %45, ptr %10, align 8 br label %29, !llvm.loop !6 46: ; preds = %29 %47 = getelementptr inbounds [4 x double], ptr %16, i64 0, i64 0 %48 = getelementptr inbounds [9 x double], ptr %17, i64 0, i64 0 %49 = load i32, ptr %8, align 4 %50 = call i32 @qu2om(ptr noundef %47, ptr noundef %48, i32 noundef %49) store i32 %50, ptr %9, align 4 store i64 0, ptr %10, align 8 br label %51 51: ; preds = %65, %46 %52 = load i64, ptr %10, align 8 %53 = load i64, ptr %15, align 8 %54 = icmp ult i64 %52, %53 br i1 %54, label %55, label %68 55: ; preds = %51 %56 = load i64, ptr %10, align 8 %57 = getelementptr inbounds [9 x double], ptr %17, i64 0, i64 %56 %58 = load double, ptr %57, align 8 %59 = fptrunc double %58 to float %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %13, align 8 %62 = load i64, ptr %10, align 8 %63 = add i64 %61, %62 %64 = getelementptr inbounds float, ptr %60, i64 %63 store float %59, ptr %64, align 4 br label %65 65: ; preds = %55 %66 = load i64, ptr %10, align 8 %67 = add i64 %66, 1 store i64 %67, ptr %10, align 8 br label %51, !llvm.loop !8 68: ; preds = %51 br label %69 69: ; preds = %68 %70 = load i64, ptr %11, align 8 %71 = add i64 %70, 1 store i64 %71, ptr %11, align 8 br label %18, !llvm.loop !9 72: ; preds = %18 ret i32 1 } declare i32 @qu2om(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ft9iin3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qu2omLoopf(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca [4 x double], align 16 %17 = alloca [9 x double], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i64 4, ptr %14, align 8 store i64 9, ptr %15, align 8 store i64 0, ptr %11, align 8 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %7, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph5, label %78 .lr.ph5: ; preds = %4 br label %21 21: ; preds = %.lr.ph5, %72 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %14, align 8 %24 = mul i64 %22, %23 store i64 %24, ptr %12, align 8 %25 = load i64, ptr %11, align 8 %26 = load i64, ptr %15, align 8 %27 = mul i64 %25, %26 store i64 %27, ptr %13, align 8 store i64 0, ptr %10, align 8 %28 = load i64, ptr %10, align 8 %29 = load i64, ptr %14, align 8 %30 = icmp ult i64 %28, %29 br i1 %30, label %.lr.ph, label %47 .lr.ph: ; preds = %21 br label %31 31: ; preds = %.lr.ph, %41 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %12, align 8 %34 = load i64, ptr %10, align 8 %35 = add i64 %33, %34 %36 = getelementptr inbounds float, ptr %32, i64 %35 %37 = load float, ptr %36, align 4 %38 = fpext float %37 to double %39 = load i64, ptr %10, align 8 %40 = getelementptr inbounds [4 x double], ptr %16, i64 0, i64 %39 store double %38, ptr %40, align 8 br label %41 41: ; preds = %31 %42 = load i64, ptr %10, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %10, align 8 %44 = load i64, ptr %10, align 8 %45 = load i64, ptr %14, align 8 %46 = icmp ult i64 %44, %45 br i1 %46, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %21 %48 = getelementptr inbounds [4 x double], ptr %16, i64 0, i64 0 %49 = getelementptr inbounds [9 x double], ptr %17, i64 0, i64 0 %50 = load i32, ptr %8, align 4 %51 = call i32 @qu2om(ptr noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %9, align 4 store i64 0, ptr %10, align 8 %52 = load i64, ptr %10, align 8 %53 = load i64, ptr %15, align 8 %54 = icmp ult i64 %52, %53 br i1 %54, label %.lr.ph2, label %71 .lr.ph2: ; preds = %47 br label %55 55: ; preds = %.lr.ph2, %65 %56 = load i64, ptr %10, align 8 %57 = getelementptr inbounds [9 x double], ptr %17, i64 0, i64 %56 %58 = load double, ptr %57, align 8 %59 = fptrunc double %58 to float %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %13, align 8 %62 = load i64, ptr %10, align 8 %63 = add i64 %61, %62 %64 = getelementptr inbounds float, ptr %60, i64 %63 store float %59, ptr %64, align 4 br label %65 65: ; preds = %55 %66 = load i64, ptr %10, align 8 %67 = add i64 %66, 1 store i64 %67, ptr %10, align 8 %68 = load i64, ptr %10, align 8 %69 = load i64, ptr %15, align 8 %70 = icmp ult i64 %68, %69 br i1 %70, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %47 br label %72 72: ; preds = %71 %73 = load i64, ptr %11, align 8 %74 = add i64 %73, 1 store i64 %74, ptr %11, align 8 %75 = load i64, ptr %11, align 8 %76 = load i64, ptr %7, align 8 %77 = icmp ult i64 %75, %76 br i1 %77, label %21, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %78 78: ; preds = %._crit_edge6, %4 ret i32 1 } declare i32 @qu2om(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpfwebw0my.c' source_filename = "/tmp/tmpfwebw0my.c" target datalayout = "e-m:e-p270: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 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/tmpfwebw0my.c" target datalayout = "e-m:e-p270: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 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/tmpuegpzlrw.c' source_filename = "/tmp/tmpuegpzlrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @acosf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 %6 = load float, ptr %3, align 4 %7 = call float @llvm.fabs.f32(float %6) store float %7, ptr %4, align 4 %8 = load float, ptr %4, align 4 %9 = fsub float 1.000000e+00, %8 %10 = call float @sqrtf(float noundef %9) #3 %11 = load float, ptr %4, align 4 %12 = load float, ptr %4, align 4 %13 = load float, ptr %4, align 4 %14 = call float @llvm.fmuladd.f32(float 0xBF932DC600000000, float %13, float 0x3FB302C4E0000000) %15 = call float @llvm.fmuladd.f32(float %12, float %14, float 0xBFCB269080000000) %16 = call float @llvm.fmuladd.f32(float %11, float %15, float 0x3FF921B480000000) %17 = fmul float %10, %16 store float %17, ptr %5, align 4 %18 = load float, ptr %3, align 4 %19 = fcmp olt float %18, 0.000000e+00 br i1 %19, label %20, label %23 20: ; preds = %1 %21 = load float, ptr %5, align 4 %22 = fsub float 0x400921FB60000000, %21 store float %22, ptr %2, align 4 br label %25 23: ; preds = %1 %24 = load float, ptr %5, align 4 store float %24, ptr %2, align 4 br label %25 25: ; preds = %23, %20 %26 = load float, ptr %2, align 4 ret float %26 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #1 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuegpzlrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @acosf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 %6 = load float, ptr %3, align 4 %7 = call float @llvm.fabs.f32(float %6) store float %7, ptr %4, align 4 %8 = load float, ptr %4, align 4 %9 = fsub float 1.000000e+00, %8 %10 = call float @sqrtf(float noundef %9) #3 %11 = load float, ptr %4, align 4 %12 = load float, ptr %4, align 4 %13 = load float, ptr %4, align 4 %14 = call float @llvm.fmuladd.f32(float 0xBF932DC600000000, float %13, float 0x3FB302C4E0000000) %15 = call float @llvm.fmuladd.f32(float %12, float %14, float 0xBFCB269080000000) %16 = call float @llvm.fmuladd.f32(float %11, float %15, float 0x3FF921B480000000) %17 = fmul float %10, %16 store float %17, ptr %5, align 4 %18 = load float, ptr %3, align 4 %19 = fcmp olt float %18, 0.000000e+00 br i1 %19, label %20, label %23 20: ; preds = %1 %21 = load float, ptr %5, align 4 %22 = fsub float 0x400921FB60000000, %21 store float %22, ptr %2, align 4 br label %25 23: ; preds = %1 %24 = load float, ptr %5, align 4 store float %24, ptr %2, align 4 br label %25 25: ; preds = %23, %20 %26 = load float, ptr %2, align 4 ret float %26 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #1 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk7ficnxk.c' source_filename = "/tmp/tmpk7ficnxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_data(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i64 0, ptr %7, align 8 br label %9 9: ; preds = %32, %3 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %5, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %35 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = and i32 %18, 255 %20 = call i64 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %8, align 4 %22 = zext i32 %21 to i64 %23 = add nsw i64 %22, %20 %24 = trunc i64 %23 to i32 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %6, align 4 %27 = sub i32 %26, 3 %28 = icmp uge i32 %25, %27 br i1 %28, label %29, label %31 29: ; preds = %13 %30 = call i64 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %8, align 4 br label %31 31: ; preds = %29, %13 br label %32 32: ; preds = %31 %33 = load i64, ptr %7, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %7, align 8 br label %9, !llvm.loop !6 35: ; preds = %9 ret void } declare i64 @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/tmpk7ficnxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_data(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i64 0, ptr %7, align 8 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %5, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %31 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = getelementptr i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = and i32 %17, 255 %19 = call i64 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %8, align 4 %21 = zext i32 %20 to i64 %22 = add nsw i64 %21, %19 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = sub i32 %25, 3 %27 = icmp uge i32 %24, %26 br i1 %27, label %28, label %30 28: ; preds = %12 %29 = call i64 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %8, align 4 br label %30 30: ; preds = %28, %12 br label %31 31: ; preds = %30 %32 = load i64, ptr %7, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %7, align 8 %35 = load i64, ptr %5, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %3 ret void } declare i64 @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/tmp5t6qb7t8.c' source_filename = "/tmp/tmp5t6qb7t8.c" target datalayout = "e-m:e-p270: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/tmp5t6qb7t8.c" target datalayout = "e-m:e-p270: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/tmpohosdq42.c' source_filename = "/tmp/tmpohosdq42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltoa(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @_ltoa(i64 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1) ret ptr %10 } declare ptr @_ltoa(i64 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/tmpohosdq42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltoa(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i64, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @_ltoa(i64 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1) ret ptr %10 } declare ptr @_ltoa(i64 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/tmpf_cr83js.c' source_filename = "/tmp/tmpf_cr83js.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_extras_init() #0 { %1 = call i32 (...) @extras_init() ret i32 %1 } declare i32 @extras_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_cr83js.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_extras_init() #0 { %1 = call i32 (...) @extras_init() ret i32 %1 } declare i32 @extras_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfri704k9.c' source_filename = "/tmp/tmpfri704k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_current_num_comments.text = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_current_num_comments() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @RTAlerts_CurrentAlert_Has_Comments() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = call i32 (...) @RTAlerts_Get_Current_Alert_Id() %9 = call i32 @RTAlerts_Get_Number_of_Comments(i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @sprintf(ptr noundef @get_current_num_comments.text, ptr noundef @.str, i32 noundef %10) store ptr @get_current_num_comments.text, ptr %1, align 8 br label %13 12: ; preds = %0 store ptr @.str.1, ptr %1, align 8 br label %13 13: ; preds = %12, %7 %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare i32 @RTAlerts_CurrentAlert_Has_Comments(...) #1 declare i32 @RTAlerts_Get_Number_of_Comments(i32 noundef) #1 declare i32 @RTAlerts_Get_Current_Alert_Id(...) #1 declare i32 @sprintf(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/tmpfri704k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_current_num_comments.text = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_current_num_comments() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @RTAlerts_CurrentAlert_Has_Comments() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = call i32 (...) @RTAlerts_Get_Current_Alert_Id() %9 = call i32 @RTAlerts_Get_Number_of_Comments(i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @sprintf(ptr noundef @get_current_num_comments.text, ptr noundef @.str, i32 noundef %10) store ptr @get_current_num_comments.text, ptr %1, align 8 br label %13 12: ; preds = %0 store ptr @.str.1, ptr %1, align 8 br label %13 13: ; preds = %12, %7 %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare i32 @RTAlerts_CurrentAlert_Has_Comments(...) #1 declare i32 @RTAlerts_Get_Number_of_Comments(i32 noundef) #1 declare i32 @RTAlerts_Get_Current_Alert_Id(...) #1 declare i32 @sprintf(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/tmppvbyfavj.c' source_filename = "/tmp/tmppvbyfavj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"end rtl;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mprf_epilogue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(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/tmppvbyfavj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"end rtl;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mprf_epilogue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(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/tmprp10ojq1.c' source_filename = "/tmp/tmprp10ojq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo_div(i32 noundef -10, i32 noundef 5) %3 = icmp ne i32 %2, -2 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i32 @foo_div(i32 noundef -16, i32 noundef 4) %8 = icmp ne i32 %7, -4 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 %12 = call i32 @foo_div(i32 noundef -15, i32 noundef -5) %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @foo_div(i32 noundef 8, i32 noundef 2) %18 = icmp ne i32 %17, 4 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %16 %22 = call i32 @foo_div(i32 noundef 10, i32 noundef -2) %23 = icmp ne i32 %22, -5 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (...) @abort() #3 unreachable 26: ; preds = %21 %27 = call i32 @foo_div(i32 noundef 20, i32 noundef 5) %28 = icmp ne i32 %27, 4 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 (...) @abort() #3 unreachable 31: ; preds = %26 %32 = call i32 @foo_div(i32 noundef 15, i32 noundef -3) %33 = icmp ne i32 %32, -5 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (...) @abort() #3 unreachable 36: ; preds = %31 %37 = call i32 @foo_mult(i32 noundef -10, i32 noundef 5) %38 = icmp ne i32 %37, -50 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 (...) @abort() #3 unreachable 41: ; preds = %36 %42 = call i32 @foo_mult(i32 noundef -16, i32 noundef 4) %43 = icmp ne i32 %42, -64 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (...) @abort() #3 unreachable 46: ; preds = %41 %47 = call i32 @foo_mult(i32 noundef -15, i32 noundef -5) %48 = icmp ne i32 %47, 75 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (...) @abort() #3 unreachable 51: ; preds = %46 %52 = call i32 @foo_mult(i32 noundef 8, i32 noundef 2) %53 = icmp ne i32 %52, 16 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 (...) @abort() #3 unreachable 56: ; preds = %51 %57 = call i32 @foo_mult(i32 noundef 10, i32 noundef -2) %58 = icmp ne i32 %57, -20 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 (...) @abort() #3 unreachable 61: ; preds = %56 %62 = call i32 @foo_mult(i32 noundef 20, i32 noundef 5) %63 = icmp ne i32 %62, 100 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 (...) @abort() #3 unreachable 66: ; preds = %61 %67 = call i32 @foo_mult(i32 noundef 15, i32 noundef -3) %68 = icmp ne i32 %67, -45 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = call i32 (...) @abort() #3 unreachable 71: ; preds = %66 ret i32 0 } declare i32 @foo_div(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @foo_mult(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprp10ojq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo_div(i32 noundef -10, i32 noundef 5) %3 = icmp ne i32 %2, -2 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i32 @foo_div(i32 noundef -16, i32 noundef 4) %8 = icmp ne i32 %7, -4 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 %12 = call i32 @foo_div(i32 noundef -15, i32 noundef -5) %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @foo_div(i32 noundef 8, i32 noundef 2) %18 = icmp ne i32 %17, 4 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %16 %22 = call i32 @foo_div(i32 noundef 10, i32 noundef -2) %23 = icmp ne i32 %22, -5 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (...) @abort() #3 unreachable 26: ; preds = %21 %27 = call i32 @foo_div(i32 noundef 20, i32 noundef 5) %28 = icmp ne i32 %27, 4 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 (...) @abort() #3 unreachable 31: ; preds = %26 %32 = call i32 @foo_div(i32 noundef 15, i32 noundef -3) %33 = icmp ne i32 %32, -5 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (...) @abort() #3 unreachable 36: ; preds = %31 %37 = call i32 @foo_mult(i32 noundef -10, i32 noundef 5) %38 = icmp ne i32 %37, -50 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 (...) @abort() #3 unreachable 41: ; preds = %36 %42 = call i32 @foo_mult(i32 noundef -16, i32 noundef 4) %43 = icmp ne i32 %42, -64 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (...) @abort() #3 unreachable 46: ; preds = %41 %47 = call i32 @foo_mult(i32 noundef -15, i32 noundef -5) %48 = icmp ne i32 %47, 75 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (...) @abort() #3 unreachable 51: ; preds = %46 %52 = call i32 @foo_mult(i32 noundef 8, i32 noundef 2) %53 = icmp ne i32 %52, 16 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 (...) @abort() #3 unreachable 56: ; preds = %51 %57 = call i32 @foo_mult(i32 noundef 10, i32 noundef -2) %58 = icmp ne i32 %57, -20 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 (...) @abort() #3 unreachable 61: ; preds = %56 %62 = call i32 @foo_mult(i32 noundef 20, i32 noundef 5) %63 = icmp ne i32 %62, 100 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 (...) @abort() #3 unreachable 66: ; preds = %61 %67 = call i32 @foo_mult(i32 noundef 15, i32 noundef -3) %68 = icmp ne i32 %67, -45 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = call i32 (...) @abort() #3 unreachable 71: ; preds = %66 ret i32 0 } declare i32 @foo_div(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @foo_mult(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpffc3ovgw.c' source_filename = "/tmp/tmpffc3ovgw.c" target datalayout = "e-m:e-p270: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/tmpffc3ovgw.c" target datalayout = "e-m:e-p270: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/tmputp88pvm.c' source_filename = "/tmp/tmputp88pvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ifg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_io_get_gpio_ifg_addr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @cfg_processor_get_hex_int_attr(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @cfg_processor_get_hex_int_attr(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/tmputp88pvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ifg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_io_get_gpio_ifg_addr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @cfg_processor_get_hex_int_attr(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @cfg_processor_get_hex_int_attr(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/tmpmezl0yci.c' source_filename = "/tmp/tmpmezl0yci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Enter a number for the program to guess: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"The program guessed: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Response:\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"h = Too high\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"l = Too low\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"The program guessed your number!\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 i8, align 1 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i64 @time(ptr noundef null) %10 = trunc i64 %9 to i32 %11 = call i32 @srand(i32 noundef %10) store i32 1, ptr %3, align 4 store i32 100, ptr %4, align 4 br label %12 12: ; preds = %45, %0 br label %13 13: ; preds = %25, %12 %14 = call i32 (...) @rand() %15 = srem i32 %14, 99 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %22, %23 br label %25 25: ; preds = %21, %17 %26 = phi i1 [ true, %17 ], [ %24, %21 ] br i1 %26, label %13, label %27, !llvm.loop !6 27: ; preds = %25 %28 = load i32, ptr %5, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %27 br label %46 34: ; preds = %27 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %39 = load i8, ptr %6, align 1 %40 = sext i8 %39 to i32 switch i32 %40, label %45 [ i32 104, label %41 i32 108, label %43 ] 41: ; preds = %34 %42 = load i32, ptr %5, align 4 store i32 %42, ptr %4, align 4 br label %45 43: ; preds = %34 %44 = load i32, ptr %5, align 4 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %43, %34, %41 br label %12 46: ; preds = %33 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmezl0yci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Enter a number for the program to guess: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"The program guessed: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Response:\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"h = Too high\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"l = Too low\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"The program guessed your number!\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 i8, align 1 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i64 @time(ptr noundef null) %10 = trunc i64 %9 to i32 %11 = call i32 @srand(i32 noundef %10) store i32 1, ptr %3, align 4 store i32 100, ptr %4, align 4 br label %12 12: ; preds = %45, %0 br label %13 13: ; preds = %25, %12 %14 = call i32 (...) @rand() %15 = srem i32 %14, 99 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %22, %23 br label %25 25: ; preds = %21, %17 %26 = phi i1 [ true, %17 ], [ %24, %21 ] br i1 %26, label %13, label %27, !llvm.loop !6 27: ; preds = %25 %28 = load i32, ptr %5, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %27 br label %46 34: ; preds = %27 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %39 = load i8, ptr %6, align 1 %40 = sext i8 %39 to i32 switch i32 %40, label %45 [ i32 104, label %41 i32 108, label %43 ] 41: ; preds = %34 %42 = load i32, ptr %5, align 4 store i32 %42, ptr %4, align 4 br label %45 43: ; preds = %34 %44 = load i32, ptr %5, align 4 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %43, %41, %34 br label %12 46: ; preds = %33 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2s44pvgo.c' source_filename = "/tmp/tmp2s44pvgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strLoc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %35 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %35 14: ; preds = %11 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %31, %14 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %34 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @stringcmp(ptr noundef %20, ptr noundef %25) %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = load i32, ptr %8, align 4 store i32 %29, ptr %4, align 4 br label %36 30: ; preds = %19 br label %31 31: ; preds = %30 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %15, !llvm.loop !6 34: ; preds = %15 store i32 -1, ptr %4, align 4 br label %36 35: ; preds = %11, %3 store i32 -1, ptr %4, align 4 br label %36 36: ; preds = %35, %34, %28 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @stringcmp(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/tmp2s44pvgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strLoc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %37 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %37 14: ; preds = %11 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %36 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %30 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @stringcmp(ptr noundef %19, ptr noundef %24) %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %18 %28 = load i32, ptr %8, align 4 store i32 %28, ptr %4, align 4 br label %38 29: ; preds = %18 br label %30 30: ; preds = %29 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %14 store i32 -1, ptr %4, align 4 br label %38 37: ; preds = %11, %3 store i32 -1, ptr %4, align 4 br label %38 38: ; preds = %37, %36, %27 %39 = load i32, ptr %4, align 4 ret i32 %39 } declare i32 @stringcmp(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/tmp_0z0sgwv.c' source_filename = "/tmp/tmp_0z0sgwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"guide.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"fopen failed\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @guide() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str.2) br label %20 8: ; preds = %0 br label %9 9: ; preds = %16, %8 %10 = load ptr, ptr %2, align 8 %11 = call signext i8 @fgetc(ptr noundef %10) store i8 %11, ptr %1, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i8, ptr %1, align 1 %18 = call i32 @printf(ptr noundef @.str.3, i8 noundef signext %17) br label %9, !llvm.loop !6 19: ; preds = %9 br label %20 20: ; preds = %19, %6 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = call i32 (...) @getch() %24 = call i32 (...) @getch() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_0z0sgwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"guide.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"fopen failed\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @guide() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str.2) br label %25 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call signext i8 @fgetc(ptr noundef %9) store i8 %10, ptr %1, align 1 %11 = sext i8 %10 to i32 %12 = load i8, ptr @EOF, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %11, %13 br i1 %14, label %.lr.ph, label %24 .lr.ph: ; preds = %8 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i8, ptr %1, align 1 %17 = call i32 @printf(ptr noundef @.str.3, i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = call signext i8 @fgetc(ptr noundef %18) store i8 %19, ptr %1, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr @EOF, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %20, %22 br i1 %23, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %24 24: ; preds = %._crit_edge, %8 br label %25 25: ; preds = %24, %6 %26 = load ptr, ptr %2, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = call i32 (...) @getch() %29 = call i32 (...) @getch() ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4dqg0ktm.c' source_filename = "/tmp/tmp4dqg0ktm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getmin() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %4, 60 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %5, %6 ret i32 %7 } declare i32 @scanf(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/tmp4dqg0ktm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getmin() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %4, 60 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %5, %6 ret i32 %7 } declare i32 @scanf(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/tmpaobga78c.c' source_filename = "/tmp/tmpaobga78c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"differences|count|first group|last group\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @initialize() %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @diff1(i32 noundef 2) %5 = call i32 @diff1(i32 noundef 1) %6 = call i32 @diff2(i32 noundef 2, i32 noundef 2) %7 = call i32 @diff2(i32 noundef 2, i32 noundef 4) %8 = call i32 @diff2(i32 noundef 4, i32 noundef 2) %9 = call i32 @diff3(i32 noundef 6, i32 noundef 4, i32 noundef 2) ret i32 0 } declare i32 @initialize(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @diff1(i32 noundef) #1 declare i32 @diff2(i32 noundef, i32 noundef) #1 declare i32 @diff3(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/tmpaobga78c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"differences|count|first group|last group\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @initialize() %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @diff1(i32 noundef 2) %5 = call i32 @diff1(i32 noundef 1) %6 = call i32 @diff2(i32 noundef 2, i32 noundef 2) %7 = call i32 @diff2(i32 noundef 2, i32 noundef 4) %8 = call i32 @diff2(i32 noundef 4, i32 noundef 2) %9 = call i32 @diff3(i32 noundef 6, i32 noundef 4, i32 noundef 2) ret i32 0 } declare i32 @initialize(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @diff1(i32 noundef) #1 declare i32 @diff2(i32 noundef, i32 noundef) #1 declare i32 @diff3(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/tmp05005pjg.c' source_filename = "/tmp/tmp05005pjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number of shelfs: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Number of shelfs must be 0 and %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Enter minimum safe distance: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Minimum safe distance must be positive or zero/n\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Enter coordinate X of shelf: \00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"Enter coordinate Y of shelf: \00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Enter coordinate X of ship: \00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"Enter coordinate Y of ship: \00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Dangerous field with shelfs.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"DANGER!!! The ship is only %f metres from shelf with coordinates (%f,%f).\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"The shelfs that are in dangerous position with the ship are: %d\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [39 x i8] c"Exit from dangerous field with shelfs!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca [200 x float], align 16 %6 = alloca [200 x float], align 16 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 br label %17 17: ; preds = %34, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1) %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %17 %23 = load i32, ptr %1, align 4 %24 = icmp sgt i32 %23, 200 br i1 %24, label %25, label %27 25: ; preds = %22, %17 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 200) br label %27 27: ; preds = %25, %22 br label %28 28: ; preds = %27 %29 = load i32, ptr %1, align 4 %30 = icmp sle i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = load i32, ptr %1, align 4 %33 = icmp sgt i32 %32, 200 br label %34 34: ; preds = %31, %28 %35 = phi i1 [ true, %28 ], [ %33, %31 ] br i1 %35, label %17, label %36, !llvm.loop !6 36: ; preds = %34 br label %37 37: ; preds = %45, %36 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %39 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4) %40 = load float, ptr %4, align 4 %41 = fcmp olt float %40, 0.000000e+00 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %44 44: ; preds = %42, %37 br label %45 45: ; preds = %44 %46 = load float, ptr %4, align 4 %47 = fcmp olt float %46, 0.000000e+00 br i1 %47, label %37, label %48, !llvm.loop !8 48: ; preds = %45 store i32 0, ptr %2, align 4 br label %49 49: ; preds = %82, %48 %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %1, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %85 53: ; preds = %49 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %56 %58 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %57) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %61 %63 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %62) %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %65 %67 = load float, ptr %66, align 4 %68 = load i32, ptr %1, align 4 %69 = sitofp i32 %68 to float %70 = fdiv float %67, %69 %71 = load float, ptr %7, align 4 %72 = fadd float %71, %70 store float %72, ptr %7, align 4 %73 = load i32, ptr %2, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %74 %76 = load float, ptr %75, align 4 %77 = load i32, ptr %1, align 4 %78 = sitofp i32 %77 to float %79 = fdiv float %76, %78 %80 = load float, ptr %8, align 4 %81 = fadd float %80, %79 store float %81, ptr %8, align 4 br label %82 82: ; preds = %53 %83 = load i32, ptr %2, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %2, align 4 br label %49, !llvm.loop !9 85: ; preds = %49 store i32 0, ptr %2, align 4 br label %86 86: ; preds = %113, %85 %87 = load i32, ptr %2, align 4 %88 = load i32, ptr %1, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %90, label %116 90: ; preds = %86 %91 = load i32, ptr %2, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %92 %94 = load float, ptr %93, align 4 %95 = load float, ptr %7, align 4 %96 = fsub float %94, %95 %97 = call i64 @pow(float noundef %96, i32 noundef 2) %98 = load i32, ptr %2, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %99 %101 = load float, ptr %100, align 4 %102 = load float, ptr %8, align 4 %103 = fsub float %101, %102 %104 = call i64 @pow(float noundef %103, i32 noundef 2) %105 = add nsw i64 %97, %104 %106 = call float @sqrt(i64 noundef %105) store float %106, ptr %10, align 4 %107 = load float, ptr %10, align 4 %108 = load float, ptr %9, align 4 %109 = fcmp ogt float %107, %108 br i1 %109, label %110, label %112 110: ; preds = %90 %111 = load float, ptr %10, align 4 store float %111, ptr %9, align 4 br label %112 112: ; preds = %110, %90 br label %113 113: ; preds = %112 %114 = load i32, ptr %2, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %2, align 4 br label %86, !llvm.loop !10 116: ; preds = %86 %117 = load float, ptr %9, align 4 %118 = load float, ptr %4, align 4 %119 = fadd float %117, %118 store float %119, ptr %11, align 4 br label %120 120: ; preds = %193, %116 store i32 0, ptr %16, align 4 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %122 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %12) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %124 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %13) %125 = load float, ptr %7, align 4 %126 = load float, ptr %12, align 4 %127 = fsub float %125, %126 %128 = call i64 @pow(float noundef %127, i32 noundef 2) %129 = load float, ptr %8, align 4 %130 = load float, ptr %13, align 4 %131 = fsub float %129, %130 %132 = call i64 @pow(float noundef %131, i32 noundef 2) %133 = add nsw i64 %128, %132 %134 = call float @sqrt(i64 noundef %133) store float %134, ptr %14, align 4 %135 = load float, ptr %14, align 4 %136 = load float, ptr %11, align 4 %137 = fcmp ole float %135, %136 br i1 %137, label %138, label %187 138: ; preds = %120 store i32 1, ptr %3, align 4 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %2, align 4 br label %140 140: ; preds = %181, %138 %141 = load i32, ptr %2, align 4 %142 = load i32, ptr %1, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %144, label %184 144: ; preds = %140 %145 = load i32, ptr %2, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %146 %148 = load float, ptr %147, align 4 %149 = load float, ptr %12, align 4 %150 = fsub float %148, %149 %151 = call i64 @pow(float noundef %150, i32 noundef 2) %152 = load i32, ptr %2, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %153 %155 = load float, ptr %154, align 4 %156 = load float, ptr %13, align 4 %157 = fsub float %155, %156 %158 = call i64 @pow(float noundef %157, i32 noundef 2) %159 = add nsw i64 %151, %158 %160 = call float @sqrt(i64 noundef %159) store float %160, ptr %15, align 4 %161 = load float, ptr %15, align 4 %162 = load float, ptr %4, align 4 %163 = fcmp ole float %161, %162 br i1 %163, label %164, label %180 164: ; preds = %144 %165 = load i32, ptr %16, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %16, align 4 %167 = load float, ptr %15, align 4 %168 = fpext float %167 to double %169 = load i32, ptr %2, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %170 %172 = load float, ptr %171, align 4 %173 = fpext float %172 to double %174 = load i32, ptr %2, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %175 %177 = load float, ptr %176, align 4 %178 = fpext float %177 to double %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %168, double noundef %173, double noundef %178) br label %180 180: ; preds = %164, %144 br label %181 181: ; preds = %180 %182 = load i32, ptr %2, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %2, align 4 br label %140, !llvm.loop !11 184: ; preds = %140 %185 = load i32, ptr %16, align 4 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %185) br label %193 187: ; preds = %120 %188 = load i32, ptr %3, align 4 %189 = icmp eq i32 %188, 1 br i1 %189, label %190, label %192 190: ; preds = %187 %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %194 192: ; preds = %187 br label %193 193: ; preds = %192, %184 br label %120 194: ; preds = %190 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare float @sqrt(i64 noundef) #1 declare i64 @pow(float noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp05005pjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number of shelfs: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Number of shelfs must be 0 and %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Enter minimum safe distance: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Minimum safe distance must be positive or zero/n\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Enter coordinate X of shelf: \00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"Enter coordinate Y of shelf: \00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Enter coordinate X of ship: \00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"Enter coordinate Y of ship: \00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Dangerous field with shelfs.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"DANGER!!! The ship is only %f metres from shelf with coordinates (%f,%f).\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"The shelfs that are in dangerous position with the ship are: %d\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [39 x i8] c"Exit from dangerous field with shelfs!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca [200 x float], align 16 %6 = alloca [200 x float], align 16 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 br label %17 17: ; preds = %34, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1) %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %17 %23 = load i32, ptr %1, align 4 %24 = icmp sgt i32 %23, 200 br i1 %24, label %25, label %27 25: ; preds = %22, %17 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 200) br label %27 27: ; preds = %25, %22 br label %28 28: ; preds = %27 %29 = load i32, ptr %1, align 4 %30 = icmp sle i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = load i32, ptr %1, align 4 %33 = icmp sgt i32 %32, 200 br label %34 34: ; preds = %31, %28 %35 = phi i1 [ true, %28 ], [ %33, %31 ] br i1 %35, label %17, label %36, !llvm.loop !6 36: ; preds = %34 br label %37 37: ; preds = %45, %36 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %39 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4) %40 = load float, ptr %4, align 4 %41 = fcmp olt float %40, 0.000000e+00 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %44 44: ; preds = %42, %37 br label %45 45: ; preds = %44 %46 = load float, ptr %4, align 4 %47 = fcmp olt float %46, 0.000000e+00 br i1 %47, label %37, label %48, !llvm.loop !8 48: ; preds = %45 store i32 0, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = load i32, ptr %1, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph, label %87 .lr.ph: ; preds = %48 br label %52 52: ; preds = %.lr.ph, %81 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %54 = load i32, ptr %2, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %55 %57 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %59 = load i32, ptr %2, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %60 %62 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %61) %63 = load i32, ptr %2, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %64 %66 = load float, ptr %65, align 4 %67 = load i32, ptr %1, align 4 %68 = sitofp i32 %67 to float %69 = fdiv float %66, %68 %70 = load float, ptr %7, align 4 %71 = fadd float %70, %69 store float %71, ptr %7, align 4 %72 = load i32, ptr %2, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %73 %75 = load float, ptr %74, align 4 %76 = load i32, ptr %1, align 4 %77 = sitofp i32 %76 to float %78 = fdiv float %75, %77 %79 = load float, ptr %8, align 4 %80 = fadd float %79, %78 store float %80, ptr %8, align 4 br label %81 81: ; preds = %52 %82 = load i32, ptr %2, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %2, align 4 %84 = load i32, ptr %2, align 4 %85 = load i32, ptr %1, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %52, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %48 store i32 0, ptr %2, align 4 %88 = load i32, ptr %2, align 4 %89 = load i32, ptr %1, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %.lr.ph2, label %120 .lr.ph2: ; preds = %87 br label %91 91: ; preds = %.lr.ph2, %114 %92 = load i32, ptr %2, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %93 %95 = load float, ptr %94, align 4 %96 = load float, ptr %7, align 4 %97 = fsub float %95, %96 %98 = call i64 @pow(float noundef %97, i32 noundef 2) %99 = load i32, ptr %2, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %100 %102 = load float, ptr %101, align 4 %103 = load float, ptr %8, align 4 %104 = fsub float %102, %103 %105 = call i64 @pow(float noundef %104, i32 noundef 2) %106 = add nsw i64 %98, %105 %107 = call float @sqrt(i64 noundef %106) store float %107, ptr %10, align 4 %108 = load float, ptr %10, align 4 %109 = load float, ptr %9, align 4 %110 = fcmp ogt float %108, %109 br i1 %110, label %111, label %113 111: ; preds = %91 %112 = load float, ptr %10, align 4 store float %112, ptr %9, align 4 br label %113 113: ; preds = %111, %91 br label %114 114: ; preds = %113 %115 = load i32, ptr %2, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %2, align 4 %117 = load i32, ptr %2, align 4 %118 = load i32, ptr %1, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %91, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %114 br label %120 120: ; preds = %._crit_edge3, %87 %121 = load float, ptr %9, align 4 %122 = load float, ptr %4, align 4 %123 = fadd float %121, %122 store float %123, ptr %11, align 4 br label %124 124: ; preds = %199, %120 store i32 0, ptr %16, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %126 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %12) %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %128 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %13) %129 = load float, ptr %7, align 4 %130 = load float, ptr %12, align 4 %131 = fsub float %129, %130 %132 = call i64 @pow(float noundef %131, i32 noundef 2) %133 = load float, ptr %8, align 4 %134 = load float, ptr %13, align 4 %135 = fsub float %133, %134 %136 = call i64 @pow(float noundef %135, i32 noundef 2) %137 = add nsw i64 %132, %136 %138 = call float @sqrt(i64 noundef %137) store float %138, ptr %14, align 4 %139 = load float, ptr %14, align 4 %140 = load float, ptr %11, align 4 %141 = fcmp ole float %139, %140 br i1 %141, label %142, label %193 142: ; preds = %124 store i32 1, ptr %3, align 4 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %2, align 4 %144 = load i32, ptr %2, align 4 %145 = load i32, ptr %1, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %.lr.ph5, label %190 .lr.ph5: ; preds = %142 br label %147 147: ; preds = %.lr.ph5, %184 %148 = load i32, ptr %2, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %149 %151 = load float, ptr %150, align 4 %152 = load float, ptr %12, align 4 %153 = fsub float %151, %152 %154 = call i64 @pow(float noundef %153, i32 noundef 2) %155 = load i32, ptr %2, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %156 %158 = load float, ptr %157, align 4 %159 = load float, ptr %13, align 4 %160 = fsub float %158, %159 %161 = call i64 @pow(float noundef %160, i32 noundef 2) %162 = add nsw i64 %154, %161 %163 = call float @sqrt(i64 noundef %162) store float %163, ptr %15, align 4 %164 = load float, ptr %15, align 4 %165 = load float, ptr %4, align 4 %166 = fcmp ole float %164, %165 br i1 %166, label %167, label %183 167: ; preds = %147 %168 = load i32, ptr %16, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %16, align 4 %170 = load float, ptr %15, align 4 %171 = fpext float %170 to double %172 = load i32, ptr %2, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [200 x float], ptr %5, i64 0, i64 %173 %175 = load float, ptr %174, align 4 %176 = fpext float %175 to double %177 = load i32, ptr %2, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [200 x float], ptr %6, i64 0, i64 %178 %180 = load float, ptr %179, align 4 %181 = fpext float %180 to double %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %171, double noundef %176, double noundef %181) br label %183 183: ; preds = %167, %147 br label %184 184: ; preds = %183 %185 = load i32, ptr %2, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %2, align 4 %187 = load i32, ptr %2, align 4 %188 = load i32, ptr %1, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %147, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %184 br label %190 190: ; preds = %._crit_edge6, %142 %191 = load i32, ptr %16, align 4 %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %191) br label %199 193: ; preds = %124 %194 = load i32, ptr %3, align 4 %195 = icmp eq i32 %194, 1 br i1 %195, label %196, label %198 196: ; preds = %193 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %200 198: ; preds = %193 br label %199 199: ; preds = %198, %190 br label %124 200: ; preds = %196 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare float @sqrt(i64 noundef) #1 declare i64 @pow(float noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp698lh2ja.c' source_filename = "/tmp/tmp698lh2ja.c" target datalayout = "e-m:e-p270: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/tmp698lh2ja.c" target datalayout = "e-m:e-p270: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/tmpnpsjrut5.c' source_filename = "/tmp/tmpnpsjrut5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_opt_set_unshare(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @uwsgi_build_unshare(ptr noundef %7) ret void } declare i32 @uwsgi_build_unshare(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnpsjrut5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_opt_set_unshare(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @uwsgi_build_unshare(ptr noundef %7) ret void } declare i32 @uwsgi_build_unshare(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfaahplce.c' source_filename = "/tmp/tmpfaahplce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xstrjoin(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 0, ptr %8, align 8 store i32 1, ptr %10, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %3 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %30, %15 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @xstrlen(ptr noundef %25) %27 = sext i32 %26 to i64 %28 = load i64, ptr %8, align 8 %29 = add i64 %28, %27 store i64 %29, ptr %8, align 8 br label %30 30: ; preds = %20 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 br label %56 34: ; preds = %3 store i32 0, ptr %9, align 4 br label %35 35: ; preds = %52, %34 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %55 42: ; preds = %35 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 @xstrlen(ptr noundef %47) %49 = sext i32 %48 to i64 %50 = load i64, ptr %8, align 8 %51 = add i64 %50, %49 store i64 %51, ptr %8, align 8 br label %52 52: ; preds = %42 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 br label %35, !llvm.loop !8 55: ; preds = %35 br label %56 56: ; preds = %55, %33 %57 = load i32, ptr %5, align 4 %58 = icmp sgt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = load i32, ptr %5, align 4 br label %63 61: ; preds = %56 %62 = load i32, ptr %9, align 4 br label %63 63: ; preds = %61, %59 %64 = phi i32 [ %60, %59 ], [ %62, %61 ] %65 = load ptr, ptr %6, align 8 %66 = call i32 @xstrlen(ptr noundef %65) %67 = mul nsw i32 %64, %66 %68 = sext i32 %67 to i64 %69 = load i64, ptr %8, align 8 %70 = add i64 %69, %68 store i64 %70, ptr %8, align 8 %71 = load i64, ptr %8, align 8 %72 = add i64 %71, 1 %73 = mul i64 %72, 1 %74 = call ptr @xmalloc(i64 noundef %73) store ptr %74, ptr %7, align 8 %75 = load i32, ptr %9, align 4 %76 = add nsw i32 %75, -1 store i32 %76, ptr %9, align 4 br label %77 77: ; preds = %138, %63 %78 = load i32, ptr %9, align 4 %79 = icmp sge i32 %78, 0 br i1 %79, label %80, label %141 80: ; preds = %77 %81 = load i32, ptr %10, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %103 83: ; preds = %80 %84 = load ptr, ptr %7, align 8 %85 = load ptr, ptr %4, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds ptr, ptr %85, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = call i32 @xstrlen(ptr noundef %89) %91 = load ptr, ptr %6, align 8 %92 = call i32 @xstrlen(ptr noundef %91) %93 = add nsw i32 %90, %92 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = load ptr, ptr %6, align 8 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds ptr, ptr %97, i64 %99 %101 = load ptr, ptr %100, align 8 %102 = call i32 (ptr, i64, ptr, ptr, ptr, ...) @snprintf(ptr noundef %84, i64 noundef %95, ptr noundef @.str, ptr noundef %96, ptr noundef %101) store i32 0, ptr %10, align 4 br label %137 103: ; preds = %80 %104 = load ptr, ptr %4, align 8 %105 = load i32, ptr %9, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds ptr, ptr %104, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = call i32 @xstrlen(ptr noundef %108) %110 = load ptr, ptr %6, align 8 %111 = call i32 @xstrlen(ptr noundef %110) %112 = add nsw i32 %109, %111 %113 = load ptr, ptr %7, align 8 %114 = call i32 @xstrlen(ptr noundef %113) %115 = add nsw i32 %112, %114 %116 = add nsw i32 %115, 1 %117 = sext i32 %116 to i64 store i64 %117, ptr %11, align 8 %118 = load i64, ptr %11, align 8 %119 = mul i64 %118, 1 %120 = call ptr @xmalloc(i64 noundef %119) store ptr %120, ptr %12, align 8 %121 = load ptr, ptr %12, align 8 %122 = load i64, ptr %11, align 8 %123 = load ptr, ptr %6, align 8 %124 = load ptr, ptr %4, align 8 %125 = load i32, ptr %9, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds ptr, ptr %124, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = load ptr, ptr %7, align 8 %130 = call i32 (ptr, i64, ptr, ptr, ptr, ...) @snprintf(ptr noundef %121, i64 noundef %122, ptr noundef @.str.1, ptr noundef %123, ptr noundef %128, ptr noundef %129) %131 = load ptr, ptr %7, align 8 %132 = call i32 @xfree(ptr noundef %131) %133 = load ptr, ptr %12, align 8 %134 = call ptr @xstrdup(ptr noundef %133) store ptr %134, ptr %7, align 8 %135 = load ptr, ptr %12, align 8 %136 = call i32 @xfree(ptr noundef %135) br label %137 137: ; preds = %103, %83 br label %138 138: ; preds = %137 %139 = load i32, ptr %9, align 4 %140 = add nsw i32 %139, -1 store i32 %140, ptr %9, align 4 br label %77, !llvm.loop !9 141: ; preds = %77 %142 = load ptr, ptr %7, align 8 %143 = load i64, ptr %8, align 8 %144 = getelementptr inbounds i8, ptr %142, i64 %143 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %7, align 8 ret ptr %145 } declare i32 @xstrlen(ptr noundef) #1 declare ptr @xmalloc(i64 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @xfree(ptr noundef) #1 declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfaahplce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xstrjoin(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 0, ptr %8, align 8 store i32 1, ptr %10, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %36 15: ; preds = %3 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %35 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %29 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @xstrlen(ptr noundef %24) %26 = sext i32 %25 to i64 %27 = load i64, ptr %8, align 8 %28 = add i64 %27, %26 store i64 %28, ptr %8, align 8 br label %29 29: ; preds = %19 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %19, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %29 br label %35 35: ; preds = %._crit_edge3, %15 br label %63 36: ; preds = %3 store i32 0, ptr %9, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %.lr.ph, label %62 .lr.ph: ; preds = %36 br label %43 43: ; preds = %.lr.ph, %53 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = call i32 @xstrlen(ptr noundef %48) %50 = sext i32 %49 to i64 %51 = load i64, ptr %8, align 8 %52 = add i64 %51, %50 store i64 %52, ptr %8, align 8 br label %53 53: ; preds = %43 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %43, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %53 br label %62 62: ; preds = %._crit_edge, %36 br label %63 63: ; preds = %62, %35 %64 = load i32, ptr %5, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %68 66: ; preds = %63 %67 = load i32, ptr %5, align 4 br label %70 68: ; preds = %63 %69 = load i32, ptr %9, align 4 br label %70 70: ; preds = %68, %66 %71 = phi i32 [ %67, %66 ], [ %69, %68 ] %72 = load ptr, ptr %6, align 8 %73 = call i32 @xstrlen(ptr noundef %72) %74 = mul nsw i32 %71, %73 %75 = sext i32 %74 to i64 %76 = load i64, ptr %8, align 8 %77 = add i64 %76, %75 store i64 %77, ptr %8, align 8 %78 = load i64, ptr %8, align 8 %79 = add i64 %78, 1 %80 = mul i64 %79, 1 %81 = call ptr @xmalloc(i64 noundef %80) store ptr %81, ptr %7, align 8 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, -1 store i32 %83, ptr %9, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp sge i32 %84, 0 br i1 %85, label %.lr.ph5, label %149 .lr.ph5: ; preds = %70 br label %86 86: ; preds = %.lr.ph5, %144 %87 = load i32, ptr %10, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %109 89: ; preds = %86 %90 = load ptr, ptr %7, align 8 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %9, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds ptr, ptr %91, i64 %93 %95 = load ptr, ptr %94, align 8 %96 = call i32 @xstrlen(ptr noundef %95) %97 = load ptr, ptr %6, align 8 %98 = call i32 @xstrlen(ptr noundef %97) %99 = add nsw i32 %96, %98 %100 = add nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = load ptr, ptr %6, align 8 %103 = load ptr, ptr %4, align 8 %104 = load i32, ptr %9, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = call i32 (ptr, i64, ptr, ptr, ptr, ...) @snprintf(ptr noundef %90, i64 noundef %101, ptr noundef @.str, ptr noundef %102, ptr noundef %107) store i32 0, ptr %10, align 4 br label %143 109: ; preds = %86 %110 = load ptr, ptr %4, align 8 %111 = load i32, ptr %9, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds ptr, ptr %110, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = call i32 @xstrlen(ptr noundef %114) %116 = load ptr, ptr %6, align 8 %117 = call i32 @xstrlen(ptr noundef %116) %118 = add nsw i32 %115, %117 %119 = load ptr, ptr %7, align 8 %120 = call i32 @xstrlen(ptr noundef %119) %121 = add nsw i32 %118, %120 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 store i64 %123, ptr %11, align 8 %124 = load i64, ptr %11, align 8 %125 = mul i64 %124, 1 %126 = call ptr @xmalloc(i64 noundef %125) store ptr %126, ptr %12, align 8 %127 = load ptr, ptr %12, align 8 %128 = load i64, ptr %11, align 8 %129 = load ptr, ptr %6, align 8 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %9, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds ptr, ptr %130, i64 %132 %134 = load ptr, ptr %133, align 8 %135 = load ptr, ptr %7, align 8 %136 = call i32 (ptr, i64, ptr, ptr, ptr, ...) @snprintf(ptr noundef %127, i64 noundef %128, ptr noundef @.str.1, ptr noundef %129, ptr noundef %134, ptr noundef %135) %137 = load ptr, ptr %7, align 8 %138 = call i32 @xfree(ptr noundef %137) %139 = load ptr, ptr %12, align 8 %140 = call ptr @xstrdup(ptr noundef %139) store ptr %140, ptr %7, align 8 %141 = load ptr, ptr %12, align 8 %142 = call i32 @xfree(ptr noundef %141) br label %143 143: ; preds = %109, %89 br label %144 144: ; preds = %143 %145 = load i32, ptr %9, align 4 %146 = add nsw i32 %145, -1 store i32 %146, ptr %9, align 4 %147 = load i32, ptr %9, align 4 %148 = icmp sge i32 %147, 0 br i1 %148, label %86, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %144 br label %149 149: ; preds = %._crit_edge6, %70 %150 = load ptr, ptr %7, align 8 %151 = load i64, ptr %8, align 8 %152 = getelementptr inbounds i8, ptr %150, i64 %151 store i8 0, ptr %152, align 1 %153 = load ptr, ptr %7, align 8 ret ptr %153 } declare i32 @xstrlen(ptr noundef) #1 declare ptr @xmalloc(i64 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @xfree(ptr noundef) #1 declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfg51ty9i.c' source_filename = "/tmp/tmpfg51ty9i.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfg51ty9i.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx33zjb47.c' source_filename = "/tmp/tmpx33zjb47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Calcular el factorial de: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 1, ptr %4, align 4 br label %23 10: ; preds = %0 store i32 1, ptr %3, align 4 br label %11 11: ; preds = %19, %10 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %11, !llvm.loop !6 22: ; preds = %11 br label %23 23: ; preds = %22, %9 %24 = load i32, ptr %4, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx33zjb47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Calcular el factorial de: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 1, ptr %4, align 4 br label %25 10: ; preds = %0 store i32 1, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %18 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %10 br label %25 25: ; preds = %24, %9 %26 = load i32, ptr %4, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgsziz0h6.c' source_filename = "/tmp/tmpgsziz0h6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xbb() #0 { %1 = call i64 @isbdigit(i32 noundef 187) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 940, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpgsziz0h6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xbb() #0 { %1 = call i64 @isbdigit(i32 noundef 187) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 940, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp6sb309nc.c' source_filename = "/tmp/tmp6sb309nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for M\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x4d() #0 { %1 = call i64 @isspace(i32 noundef 77) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 390, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmp6sb309nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for M\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x4d() #0 { %1 = call i64 @isspace(i32 noundef 77) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 390, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmpea54j8vd.c' source_filename = "/tmp/tmpea54j8vd.c" target datalayout = "e-m:e-p270: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/tmpea54j8vd.c" target datalayout = "e-m:e-p270: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/tmpbpdp_zch.c' source_filename = "/tmp/tmpbpdp_zch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Malloc error!\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"#include <stdio.h>\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"int main(int argc, char** argv)\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"{\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"for(int i = 0; i < 100; i++)\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"if (i == 0 ) { printf(\22FizzBuzz\\r\\n\22); }\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"else if (i == \00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Malloc failed!\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c") { printf(\22\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"\\r\\n\22); }\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"}\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"fizzbuzz_gen.c\00", align 1 @.str.14 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"gcc -std=c99 fizzbuzz_gen.c -o fizzbuzz\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"./fizzbuzz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = call ptr @malloc(i32 noundef 32768) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %94 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 32768) %19 = load ptr, ptr %6, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.2) %23 = load ptr, ptr %6, align 8 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str.3) %25 = load ptr, ptr %6, align 8 %26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.4) %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.3) %29 = load ptr, ptr %6, align 8 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str.5) store i32 0, ptr %8, align 4 store i32 1, ptr %7, align 4 br label %31 31: ; preds = %74, %16 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 100 br i1 %33, label %34, label %77 34: ; preds = %31 store i32 0, ptr %8, align 4 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strcat(ptr noundef %35, ptr noundef @.str.6) %37 = load i32, ptr %7, align 4 %38 = call ptr @intToString(i32 noundef %37) store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %3, align 4 br label %94 43: ; preds = %34 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %9, align 8 %46 = call i32 @strcat(ptr noundef %44, ptr noundef %45) %47 = load ptr, ptr %6, align 8 %48 = call i32 @strcat(ptr noundef %47, ptr noundef @.str.8) %49 = load i32, ptr %7, align 4 %50 = srem i32 %49, 3 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %43 %53 = load ptr, ptr %6, align 8 %54 = call i32 @strcat(ptr noundef %53, ptr noundef @.str.9) store i32 1, ptr %8, align 4 br label %55 55: ; preds = %52, %43 %56 = load i32, ptr %7, align 4 %57 = srem i32 %56, 5 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %55 %60 = load ptr, ptr %6, align 8 %61 = call i32 @strcat(ptr noundef %60, ptr noundef @.str.10) store i32 1, ptr %8, align 4 br label %62 62: ; preds = %59, %55 %63 = load i32, ptr %8, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %62 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %9, align 8 %68 = call i32 @strcat(ptr noundef %66, ptr noundef %67) br label %69 69: ; preds = %65, %62 %70 = load ptr, ptr %6, align 8 %71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.11) %72 = load ptr, ptr %9, align 8 %73 = call i32 @free(ptr noundef %72) br label %74 74: ; preds = %69 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %31, !llvm.loop !6 77: ; preds = %31 %78 = load ptr, ptr %6, align 8 %79 = call i32 @strcat(ptr noundef %78, ptr noundef @.str.12) %80 = load ptr, ptr %6, align 8 %81 = call i32 @strcat(ptr noundef %80, ptr noundef @.str.12) %82 = call ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.14) store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %10, align 8 %84 = icmp eq ptr %83, null br i1 %84, label %85, label %86 85: ; preds = %77 store i32 -1, ptr %3, align 4 br label %94 86: ; preds = %77 %87 = load ptr, ptr %10, align 8 %88 = load ptr, ptr %6, align 8 %89 = call i32 @fprintf(ptr noundef %87, ptr noundef @.str.15, ptr noundef %88) %90 = load ptr, ptr %10, align 8 %91 = call i32 @fclose(ptr noundef %90) %92 = call i32 @system(ptr noundef @.str.16) %93 = call i32 @system(ptr noundef @.str.17) store i32 0, ptr %3, align 4 br label %94 94: ; preds = %86, %85, %41, %14 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @intToString(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbpdp_zch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Malloc error!\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"#include <stdio.h>\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"int main(int argc, char** argv)\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"{\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"for(int i = 0; i < 100; i++)\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"if (i == 0 ) { printf(\22FizzBuzz\\r\\n\22); }\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"else if (i == \00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Malloc failed!\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c") { printf(\22\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"\\r\\n\22); }\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"}\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"fizzbuzz_gen.c\00", align 1 @.str.14 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"gcc -std=c99 fizzbuzz_gen.c -o fizzbuzz\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"./fizzbuzz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = call ptr @malloc(i32 noundef 32768) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %95 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 32768) %19 = load ptr, ptr %6, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.2) %23 = load ptr, ptr %6, align 8 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str.3) %25 = load ptr, ptr %6, align 8 %26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.4) %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.3) %29 = load ptr, ptr %6, align 8 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str.5) store i32 0, ptr %8, align 4 store i32 1, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 100 br i1 %32, label %.lr.ph, label %78 .lr.ph: ; preds = %16 br label %33 33: ; preds = %.lr.ph, %73 store i32 0, ptr %8, align 4 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.6) %36 = load i32, ptr %7, align 4 %37 = call ptr @intToString(i32 noundef %36) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %3, align 4 br label %95 42: ; preds = %33 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %9, align 8 %45 = call i32 @strcat(ptr noundef %43, ptr noundef %44) %46 = load ptr, ptr %6, align 8 %47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.8) %48 = load i32, ptr %7, align 4 %49 = srem i32 %48, 3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %42 %52 = load ptr, ptr %6, align 8 %53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str.9) store i32 1, ptr %8, align 4 br label %54 54: ; preds = %51, %42 %55 = load i32, ptr %7, align 4 %56 = srem i32 %55, 5 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %54 %59 = load ptr, ptr %6, align 8 %60 = call i32 @strcat(ptr noundef %59, ptr noundef @.str.10) store i32 1, ptr %8, align 4 br label %61 61: ; preds = %58, %54 %62 = load i32, ptr %8, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %68, label %64 64: ; preds = %61 %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %9, align 8 %67 = call i32 @strcat(ptr noundef %65, ptr noundef %66) br label %68 68: ; preds = %64, %61 %69 = load ptr, ptr %6, align 8 %70 = call i32 @strcat(ptr noundef %69, ptr noundef @.str.11) %71 = load ptr, ptr %9, align 8 %72 = call i32 @free(ptr noundef %71) br label %73 73: ; preds = %68 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %76, 100 br i1 %77, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %78 78: ; preds = %._crit_edge, %16 %79 = load ptr, ptr %6, align 8 %80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.12) %81 = load ptr, ptr %6, align 8 %82 = call i32 @strcat(ptr noundef %81, ptr noundef @.str.12) %83 = call ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.14) store ptr %83, ptr %10, align 8 %84 = load ptr, ptr %10, align 8 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %87 86: ; preds = %78 store i32 -1, ptr %3, align 4 br label %95 87: ; preds = %78 %88 = load ptr, ptr %10, align 8 %89 = load ptr, ptr %6, align 8 %90 = call i32 @fprintf(ptr noundef %88, ptr noundef @.str.15, ptr noundef %89) %91 = load ptr, ptr %10, align 8 %92 = call i32 @fclose(ptr noundef %91) %93 = call i32 @system(ptr noundef @.str.16) %94 = call i32 @system(ptr noundef @.str.17) store i32 0, ptr %3, align 4 br label %95 95: ; preds = %87, %86, %40, %14 %96 = load i32, ptr %3, align 4 ret i32 %96 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @intToString(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvc0zq1xg.c' source_filename = "/tmp/tmpvc0zq1xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvc0zq1xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo44v_30m.c' source_filename = "/tmp/tmpo44v_30m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_standby() #0 { %1 = call i32 @_change_mode(i32 noundef 4) ret void } declare i32 @_change_mode(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/tmpo44v_30m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_standby() #0 { %1 = call i32 @_change_mode(i32 noundef 4) ret void } declare i32 @_change_mode(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/tmp87of9mpy.c' source_filename = "/tmp/tmp87of9mpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fuzix_isdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 %5 = sext i8 %4 to i32 %6 = icmp sge i32 %5, 48 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = trunc i32 %8 to i8 %10 = sext i8 %9 to i32 %11 = icmp sle i32 %10, 57 br label %12 12: ; preds = %7, %1 %13 = phi i1 [ false, %1 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp87of9mpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fuzix_isdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 %5 = sext i8 %4 to i32 %6 = icmp sge i32 %5, 48 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = trunc i32 %8 to i8 %10 = sext i8 %9 to i32 %11 = icmp sle i32 %10, 57 br label %12 12: ; preds = %7, %1 %13 = phi i1 [ false, %1 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyput1ch6.c' source_filename = "/tmp/tmpyput1ch6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fset_config_change_use_color_value_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @fset_buffer_refresh(i32 noundef 0) ret void } declare i32 @fset_buffer_refresh(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/tmpyput1ch6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fset_config_change_use_color_value_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @fset_buffer_refresh(i32 noundef 0) ret void } declare i32 @fset_buffer_refresh(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/tmp1wko0cab.c' source_filename = "/tmp/tmp1wko0cab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#MATCHED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_no(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i64 @get_numvar(ptr noundef @.str) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @cmd_type(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i64 @get_numvar(ptr noundef) #1 declare i32 @cmd_type(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wko0cab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#MATCHED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_no(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i64 @get_numvar(ptr noundef @.str) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @cmd_type(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i64 @get_numvar(ptr noundef) #1 declare i32 @cmd_type(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatdw_lm6.c' source_filename = "/tmp/tmpatdw_lm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u_width_n(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @u_width_impl(ptr noundef %5, i64 noundef %6, i32 noundef 1) ret i64 %7 } declare i64 @u_width_impl(ptr noundef, i64 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/tmpatdw_lm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u_width_n(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @u_width_impl(ptr noundef %5, i64 noundef %6, i32 noundef 1) ret i64 %7 } declare i64 @u_width_impl(ptr noundef, i64 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/tmp08bsm5q8.c' source_filename = "/tmp/tmp08bsm5q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colle(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %7 7: ; preds = %71, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %75 11: ; preds = %7 br label %12 12: ; preds = %68, %11 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %71 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %32 23: ; preds = %19, %16 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %24, %25 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %32 30: ; preds = %27, %23 %31 = call i32 @ft_putchar(i8 noundef signext 111) br label %68 32: ; preds = %27, %19 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %39, label %36 36: ; preds = %32 %37 = load i32, ptr %5, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %48 39: ; preds = %36, %32 %40 = load i32, ptr %6, align 4 %41 = icmp ne i32 %40, 1 br i1 %41, label %42, label %48 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = call i32 @ft_putchar(i8 noundef signext 124) br label %67 48: ; preds = %42, %39, %36 %49 = load i32, ptr %6, align 4 %50 = icmp ne i32 %49, 1 br i1 %50, label %51, label %64 51: ; preds = %48 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp ne i32 %52, %53 br i1 %54, label %55, label %64 55: ; preds = %51 %56 = load i32, ptr %5, align 4 %57 = icmp ne i32 %56, 1 br i1 %57, label %58, label %64 58: ; preds = %55 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = call i32 @ft_putchar(i8 noundef signext 32) br label %66 64: ; preds = %58, %55, %51, %48 %65 = call i32 @ft_putchar(i8 noundef signext 45) br label %66 66: ; preds = %64, %62 br label %67 67: ; preds = %66, %46 br label %68 68: ; preds = %67, %30 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %12, !llvm.loop !6 71: ; preds = %12 %72 = call i32 @ft_putchar(i8 noundef signext 10) store i32 1, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %6, align 4 br label %7, !llvm.loop !8 75: ; preds = %7 ret void } declare i32 @ft_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/tmp08bsm5q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colle(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph2, label %79 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %72 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %72 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %66 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %21, label %17 17: ; preds = %14 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %30 21: ; preds = %17, %14 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %25, %21 %29 = call i32 @ft_putchar(i8 noundef signext 111) br label %66 30: ; preds = %25, %17 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %37, label %34 34: ; preds = %30 %35 = load i32, ptr %5, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %46 37: ; preds = %34, %30 %38 = load i32, ptr %6, align 4 %39 = icmp ne i32 %38, 1 br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @ft_putchar(i8 noundef signext 124) br label %65 46: ; preds = %40, %37, %34 %47 = load i32, ptr %6, align 4 %48 = icmp ne i32 %47, 1 br i1 %48, label %49, label %62 49: ; preds = %46 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %62 53: ; preds = %49 %54 = load i32, ptr %5, align 4 %55 = icmp ne i32 %54, 1 br i1 %55, label %56, label %62 56: ; preds = %53 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 @ft_putchar(i8 noundef signext 32) br label %64 62: ; preds = %56, %53, %49, %46 %63 = call i32 @ft_putchar(i8 noundef signext 45) br label %64 64: ; preds = %62, %60 br label %65 65: ; preds = %64, %44 br label %66 66: ; preds = %65, %28 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp sle i32 %69, %70 br i1 %71, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %72 72: ; preds = %._crit_edge, %10 %73 = call i32 @ft_putchar(i8 noundef signext 10) store i32 1, ptr %5, align 4 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %79 79: ; preds = %._crit_edge3, %2 ret void } declare i32 @ft_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/tmp8rg2soz_.c' source_filename = "/tmp/tmp8rg2soz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 1024) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @gethostname(ptr noundef %4, i32 noundef 1024) %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @gethostname(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8rg2soz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 1024) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @gethostname(ptr noundef %4, i32 noundef 1024) %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @gethostname(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1_oqhj1.c' source_filename = "/tmp/tmpd1_oqhj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @parsepipe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @parseexec(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @peek(ptr noundef %9, ptr noundef %10, ptr noundef @.str) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @gettoken(ptr noundef %14, ptr noundef %15, i32 noundef 0, i32 noundef 0) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = call ptr @parsepipe(ptr noundef %18, ptr noundef %19) %21 = call ptr @pipecmd(ptr noundef %17, ptr noundef %20) store ptr %21, ptr %5, align 8 br label %22 22: ; preds = %13, %2 %23 = load ptr, ptr %5, align 8 ret ptr %23 } declare ptr @parseexec(ptr noundef, ptr noundef) #1 declare i64 @peek(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettoken(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @pipecmd(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/tmpd1_oqhj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @parsepipe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @parseexec(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @peek(ptr noundef %9, ptr noundef %10, ptr noundef @.str) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @gettoken(ptr noundef %14, ptr noundef %15, i32 noundef 0, i32 noundef 0) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = call ptr @parsepipe(ptr noundef %18, ptr noundef %19) %21 = call ptr @pipecmd(ptr noundef %17, ptr noundef %20) store ptr %21, ptr %5, align 8 br label %22 22: ; preds = %13, %2 %23 = load ptr, ptr %5, align 8 ret ptr %23 } declare ptr @parseexec(ptr noundef, ptr noundef) #1 declare i64 @peek(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettoken(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @pipecmd(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/tmpbs20ryth.c' source_filename = "/tmp/tmpbs20ryth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_reverse_s64(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 %9 = 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 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp uge i32 %10, %11 br i1 %12, label %17, label %13 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp uge i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %13, %4 br label %49 18: ; preds = %13 br label %19 19: ; preds = %43, %18 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ult i32 %20, %21 br i1 %22, label %23, label %48 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %7, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %9, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %7, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 store i32 %33, ptr %37, align 4 %38 = load i32, ptr %9, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 %38, ptr %42, align 4 br label %43 43: ; preds = %23 %44 = load i32, ptr %7, align 4 %45 = add i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = add i32 %46, -1 store i32 %47, ptr %8, align 4 br label %19, !llvm.loop !6 48: ; preds = %19 br label %49 49: ; preds = %48, %17 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbs20ryth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_reverse_s64(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 %9 = 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 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp uge i32 %10, %11 br i1 %12, label %17, label %13 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp uge i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %13, %4 br label %51 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp ult i32 %19, %20 br i1 %21, label %.lr.ph, label %50 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %42 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %7, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %9, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = zext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %7, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 store i32 %32, ptr %36, align 4 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %8, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %37, ptr %41, align 4 br label %42 42: ; preds = %22 %43 = load i32, ptr %7, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = add i32 %45, -1 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp ult i32 %47, %48 br i1 %49, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %50 50: ; preds = %._crit_edge, %18 br label %51 51: ; preds = %50, %17 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsp_lx0vk.c' source_filename = "/tmp/tmpsp_lx0vk.c" target datalayout = "e-m:e-p270: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/tmpsp_lx0vk.c" target datalayout = "e-m:e-p270: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/tmpn1_ijei_.c' source_filename = "/tmp/tmpn1_ijei_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\09\00", align 1 @.str.1 = 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 i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 0, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %15, %0 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 255 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i8, ptr %2, align 1 %14 = add i8 %13, 1 store i8 %14, ptr %2, align 1 br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %4, !llvm.loop !6 18: ; preds = %4 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn1_ijei_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\09\00", align 1 @.str.1 = 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 i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 0, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 255 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %14 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i8, ptr %2, align 1 %13 = add i8 %12, 1 store i8 %13, ptr %2, align 1 br label %14 14: ; preds = %6 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 255 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzb6_3_3j.c' source_filename = "/tmp/tmpzb6_3_3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IFL\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"IFR\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [43 x i8] c"get_front_ir_dist: invalid side number %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_front_ir_dist(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 %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %3, align 4 switch i32 %6, label %11 [ i32 0, label %7 i32 1, label %9 ] 7: ; preds = %1 %8 = call i32 @one_sensor_read(ptr noundef @.str, ptr noundef %5) store i32 %8, ptr %4, align 4 br label %16 9: ; preds = %1 %10 = call i32 @one_sensor_read(ptr noundef @.str.1, ptr noundef %5) store i32 %10, ptr %4, align 4 br label %16 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2, i32 noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %9, %7 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 200, ptr %2, align 4 br label %23 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = call i32 @gp2d12_to_dist(i32 noundef %21) store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %20, %19 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @one_sensor_read(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @gp2d12_to_dist(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzb6_3_3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IFL\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"IFR\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [43 x i8] c"get_front_ir_dist: invalid side number %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_front_ir_dist(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 %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %3, align 4 switch i32 %6, label %11 [ i32 0, label %7 i32 1, label %9 ] 7: ; preds = %1 %8 = call i32 @one_sensor_read(ptr noundef @.str, ptr noundef %5) store i32 %8, ptr %4, align 4 br label %16 9: ; preds = %1 %10 = call i32 @one_sensor_read(ptr noundef @.str.1, ptr noundef %5) store i32 %10, ptr %4, align 4 br label %16 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2, i32 noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %9, %7 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 200, ptr %2, align 4 br label %23 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = call i32 @gp2d12_to_dist(i32 noundef %21) store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %20, %19 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @one_sensor_read(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @gp2d12_to_dist(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9p5_emrj.c' source_filename = "/tmp/tmp9p5_emrj.c" target datalayout = "e-m:e-p270: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/tmp9p5_emrj.c" target datalayout = "e-m:e-p270: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/tmpqowj92dv.c' source_filename = "/tmp/tmpqowj92dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqowj92dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6taw6ypl.c' source_filename = "/tmp/tmp6taw6ypl.c" target datalayout = "e-m:e-p270: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/tmp6taw6ypl.c" target datalayout = "e-m:e-p270: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/tmpip_29ett.c' source_filename = "/tmp/tmpip_29ett.c" target datalayout = "e-m:e-p270: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/tmpip_29ett.c" target datalayout = "e-m:e-p270: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/tmp6nfn1zch.c' source_filename = "/tmp/tmp6nfn1zch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strcpy(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 = load ptr, ptr %3, align 8 %8 = call i32 @u8_strlen(ptr noundef %7) %9 = call ptr @u8_strncpy(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret ptr %9 } declare ptr @u8_strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @u8_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nfn1zch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strcpy(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 = load ptr, ptr %3, align 8 %8 = call i32 @u8_strlen(ptr noundef %7) %9 = call ptr @u8_strncpy(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret ptr %9 } declare ptr @u8_strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @u8_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3qxc_alp.c' source_filename = "/tmp/tmp3qxc_alp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"ambiguous\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"not ambiguous\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 ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %57, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %63 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 4, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %3, align 8 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 4, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %23 23: ; preds = %44, %10 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %47 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 @scanf(ptr noundef @.str, ptr noundef %31) %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %35, i64 %42 store i32 %34, ptr %43, align 4 br label %44 44: ; preds = %27 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %23, !llvm.loop !6 47: ; preds = %23 %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %2, align 4 %51 = call i64 @equal(ptr noundef %48, ptr noundef %49, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = call i32 @printf(ptr noundef @.str.1) br label %57 55: ; preds = %47 %56 = call i32 @printf(ptr noundef @.str.2) br label %57 57: ; preds = %55, %53 %58 = load ptr, ptr %3, align 8 %59 = call i32 @free(ptr noundef %58) %60 = load ptr, ptr %4, align 8 %61 = call i32 @free(ptr noundef %60) %62 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %7, !llvm.loop !8 63: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @equal(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qxc_alp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"ambiguous\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"not ambiguous\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 ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph2, label %66 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %58 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 4, %11 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %3, align 8 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 4, %17 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %4, align 8 store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %48 .lr.ph: ; preds = %9 br label %25 25: ; preds = %.lr.ph, %42 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = call i32 @scanf(ptr noundef @.str, ptr noundef %29) %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %33, i64 %40 store i32 %32, ptr %41, align 4 br label %42 42: ; preds = %25 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %9 %49 = load ptr, ptr %3, align 8 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %2, align 4 %52 = call i64 @equal(ptr noundef %49, ptr noundef %50, i32 noundef %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %48 %55 = call i32 @printf(ptr noundef @.str.1) br label %58 56: ; preds = %48 %57 = call i32 @printf(ptr noundef @.str.2) br label %58 58: ; preds = %56, %54 %59 = load ptr, ptr %3, align 8 %60 = call i32 @free(ptr noundef %59) %61 = load ptr, ptr %4, align 8 %62 = call i32 @free(ptr noundef %61) %63 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %64 = load i32, ptr %2, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %66 66: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @equal(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9_nklasf.c' source_filename = "/tmp/tmp9_nklasf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"malloc successful\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"row:%d:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"findminmax in rows\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"find minmax in minmax\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @findMinMax2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 8 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %9, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %10, align 4 br label %18 18: ; preds = %40, %4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %18 %23 = load i32, ptr %10, align 4 %24 = mul nsw i32 2, %23 %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 2, %25 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24, i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %10, align 4 %35 = mul nsw i32 %34, 2 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %33, i64 %36 %38 = load i32, ptr %8, align 4 %39 = call i32 @findMinMax(ptr noundef %32, ptr noundef %37, i32 noundef %38) br label %40 40: ; preds = %22 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %18, !llvm.loop !6 43: ; preds = %18 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %7, align 4 %48 = mul nsw i32 2, %47 %49 = call i32 @findMinMax(ptr noundef %45, ptr noundef %46, i32 noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = load ptr, ptr %9, align 8 %52 = call i32 @free(ptr noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %54 = load ptr, ptr %6, align 8 ret ptr %54 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @findMinMax(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9_nklasf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"malloc successful\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"row:%d:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"findminmax in rows\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"find minmax in minmax\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @findMinMax2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 8 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %9, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %45 .lr.ph: ; preds = %4 br label %21 21: ; preds = %.lr.ph, %39 %22 = load i32, ptr %10, align 4 %23 = mul nsw i32 2, %22 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 2, %24 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %25) %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %10, align 4 %34 = mul nsw i32 %33, 2 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %32, i64 %35 %37 = load i32, ptr %8, align 4 %38 = call i32 @findMinMax(ptr noundef %31, ptr noundef %36, i32 noundef %37) br label %39 39: ; preds = %21 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = mul nsw i32 2, %49 %51 = call i32 @findMinMax(ptr noundef %47, ptr noundef %48, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %53 = load ptr, ptr %9, align 8 %54 = call i32 @free(ptr noundef %53) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %56 = load ptr, ptr %6, align 8 ret ptr %56 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @findMinMax(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpggdhi9d7.c' source_filename = "/tmp/tmpggdhi9d7.c" target datalayout = "e-m:e-p270: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/tmpggdhi9d7.c" target datalayout = "e-m:e-p270: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/tmp41j_s0g7.c' source_filename = "/tmp/tmp41j_s0g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @string_hash3(ptr noundef %2, i32 noundef 8) ret i32 %3 } declare i32 @string_hash3(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/tmp41j_s0g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @string_hash3(ptr noundef %2, i32 noundef 8) ret i32 %3 } declare i32 @string_hash3(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/tmpzn3jyx1i.c' source_filename = "/tmp/tmpzn3jyx1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endswith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %37 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strlen(ptr noundef %16) store i64 %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strlen(ptr noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ugt i64 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %15 store i32 0, ptr %3, align 4 br label %37 24: ; preds = %15 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i64, ptr %7, align 8 %29 = sub i64 0, %28 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i64 @strcmp(ptr noundef %31, ptr noundef %32) %34 = icmp eq i64 0, %33 %35 = zext i1 %34 to i64 %36 = select i1 %34, i32 1, i32 0 store i32 %36, ptr %3, align 4 br label %37 37: ; preds = %24, %23, %14 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i64 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzn3jyx1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endswith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %11, %2 store i32 0, ptr %3, align 4 br label %37 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strlen(ptr noundef %16) store i64 %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strlen(ptr noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ugt i64 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %15 store i32 0, ptr %3, align 4 br label %37 24: ; preds = %15 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i64, ptr %7, align 8 %29 = sub i64 0, %28 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i64 @strcmp(ptr noundef %31, ptr noundef %32) %34 = icmp eq i64 0, %33 %35 = zext i1 %34 to i64 %36 = select i1 %34, i32 1, i32 0 store i32 %36, ptr %3, align 4 br label %37 37: ; preds = %24, %23, %14 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i64 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvy8c1_3m.c' source_filename = "/tmp/tmpvy8c1_3m.c" target datalayout = "e-m:e-p270: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/tmpvy8c1_3m.c" target datalayout = "e-m:e-p270: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/tmp1ru8c1rj.c' source_filename = "/tmp/tmp1ru8c1rj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c" -g n Select the gpio pin to use by its number n (default: 2)\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c" -d s Select whether the direction of the pin is in or out (default: out)\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [89 x i8] c" -v x Select the value to set (out) or the value to compare with (in) (default: 1)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ru8c1rj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c" -g n Select the gpio pin to use by its number n (default: 2)\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c" -d s Select whether the direction of the pin is in or out (default: out)\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [89 x i8] c" -v x Select the value to set (out) or the value to compare with (in) (default: 1)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1zgpwt34.c' source_filename = "/tmp/tmp1zgpwt34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bar(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @Bar159(i64 noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14, i64 noundef %15) ret void } declare i32 @Bar159(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1zgpwt34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bar(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @Bar159(i64 noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14, i64 noundef %15) ret void } declare i32 @Bar159(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwtwo55i.c' source_filename = "/tmp/tmpxwtwo55i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_act_erase() #0 { %1 = call i32 (...) @at_chip_erase() ret i32 %1 } declare i32 @at_chip_erase(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwtwo55i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_act_erase() #0 { %1 = call i32 (...) @at_chip_erase() ret i32 %1 } declare i32 @at_chip_erase(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1pbq4pjd.c' source_filename = "/tmp/tmp1pbq4pjd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %4, 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 store i32 1, ptr %8, align 4 br label %9 9: ; preds = %35, %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 %38 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = icmp sgt i32 %14, 2 br i1 %15, label %16, label %23 16: ; preds = %13 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %8, 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, ...) @perror(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %16, %13 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %8, 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 @print_dir(ptr noundef %28) %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %30, 2 br i1 %31, label %32, label %34 32: ; preds = %23 %33 = call i32 (ptr, ...) @perror(ptr noundef @.str.1) br label %34 34: ; preds = %32, %23 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %9, !llvm.loop !6 38: ; preds = %9 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @print_dir(ptr noundef @.str.2) br label %43 43: ; preds = %41, %38 ret i32 0 } declare i32 @perror(ptr noundef, ...) #1 declare i32 @print_dir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1pbq4pjd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %4, 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 store i32 1, 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 %40 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %34 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 2 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %8, 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, ...) @perror(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %15, %12 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, 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 @print_dir(ptr noundef %27) %29 = load i32, ptr %5, align 4 %30 = icmp sgt i32 %29, 2 br i1 %30, label %31, label %33 31: ; preds = %22 %32 = call i32 (ptr, ...) @perror(ptr noundef @.str.1) br label %33 33: ; preds = %31, %22 br label %34 34: ; preds = %33 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 %41 = load i32, ptr %8, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 @print_dir(ptr noundef @.str.2) br label %45 45: ; preds = %43, %40 ret i32 0 } declare i32 @perror(ptr noundef, ...) #1 declare i32 @print_dir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp861j6mp8.c' source_filename = "/tmp/tmp861j6mp8.c" target datalayout = "e-m:e-p270: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/tmp861j6mp8.c" target datalayout = "e-m:e-p270: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/tmpy4n2jawy.c' source_filename = "/tmp/tmpy4n2jawy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printRoute(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [20 x i32], ptr %13, i64 %15 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [20 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 call void @printRoute(ptr noundef %11, i32 noundef %12, i32 noundef %20) br label %21 21: ; preds = %10, %3 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy4n2jawy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printRoute(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [20 x i32], ptr %13, i64 %15 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [20 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 call void @printRoute(ptr noundef %11, i32 noundef %12, i32 noundef %20) br label %21 21: ; preds = %10, %3 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp49e8k9hz.c' source_filename = "/tmp/tmp49e8k9hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Tiff_Annotator() #0 { %1 = call i32 (...) @reset_tannotator() ret void } declare i32 @reset_tannotator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49e8k9hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reset_Tiff_Annotator() #0 { %1 = call i32 (...) @reset_tannotator() ret void } declare i32 @reset_tannotator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwp3tjanw.c' source_filename = "/tmp/tmpwp3tjanw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpwp3tjanw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpzhklo7ui.c' source_filename = "/tmp/tmpzhklo7ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oauth_add_param_to_array(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %9, align 4 %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 8, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @xrealloc(ptr noundef %8, i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %5, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i64 @xstrdup(ptr noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %23, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds ptr, ptr %22, i64 %26 store ptr %20, ptr %27, align 8 ret void } declare i64 @xrealloc(ptr noundef, i32 noundef) #1 declare i64 @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzhklo7ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oauth_add_param_to_array(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %9, align 4 %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 8, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @xrealloc(ptr noundef %8, i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %5, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i64 @xstrdup(ptr noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %23, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds ptr, ptr %22, i64 %26 store ptr %20, ptr %27, align 8 ret void } declare i64 @xrealloc(ptr noundef, i32 noundef) #1 declare i64 @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpggtw0n7m.c' source_filename = "/tmp/tmpggtw0n7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_recv(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = call i64 @recv(i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef 0) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %16 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 ret i32 %23 } declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpggtw0n7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_recv(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = call i64 @recv(i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef 0) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %16 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 ret i32 %23 } declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxsxv3g6y.c' source_filename = "/tmp/tmpxsxv3g6y.c" target datalayout = "e-m:e-p270: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/tmpxsxv3g6y.c" target datalayout = "e-m:e-p270: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/tmpcujv7g51.c' source_filename = "/tmp/tmpcujv7g51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getop(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 br label %5 5: ; preds = %16, %1 %6 = call i32 (...) @getch() store i32 %6, ptr %4, align 4 %7 = trunc i32 %6 to i8 %8 = load ptr, ptr %3, align 8 store i8 %7, ptr %8, align 1 %9 = sext i8 %7 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %14, label %11 11: ; preds = %5 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, 9 br label %14 14: ; preds = %11, %5 %15 = phi i1 [ true, %5 ], [ %13, %11 ] br i1 %15, label %16, label %17 16: ; preds = %14 br label %5, !llvm.loop !6 17: ; preds = %14 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 store i8 0, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = trunc i32 %20 to i8 %22 = call i64 @isdigit(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %29, label %24 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %25, 46 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %2, align 4 br label %66 29: ; preds = %24, %17 %30 = load i32, ptr %4, align 4 %31 = trunc i32 %30 to i8 %32 = call i64 @isdigit(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %29 br label %35 35: ; preds = %42, %34 %36 = call i32 (...) @getch() store i32 %36, ptr %4, align 4 %37 = trunc i32 %36 to i8 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %3, align 8 store i8 %37, ptr %39, align 1 %40 = call i64 @isdigit(i8 noundef signext %37) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %35 br label %35, !llvm.loop !8 43: ; preds = %35 br label %44 44: ; preds = %43, %29 %45 = load i32, ptr %4, align 4 %46 = icmp eq i32 %45, 46 br i1 %46, label %47, label %57 47: ; preds = %44 br label %48 48: ; preds = %55, %47 %49 = call i32 (...) @getch() store i32 %49, ptr %4, align 4 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %3, align 8 store i8 %50, ptr %52, align 1 %53 = call i64 @isdigit(i8 noundef signext %50) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %48 br label %48, !llvm.loop !9 56: ; preds = %48 br label %57 57: ; preds = %56, %44 %58 = load ptr, ptr %3, align 8 store i8 0, ptr %58, align 1 %59 = load i32, ptr %4, align 4 %60 = load i32, ptr @EOF, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %57 %63 = load i32, ptr %4, align 4 %64 = call i32 @ungetch(i32 noundef %63) br label %65 65: ; preds = %62, %57 store i32 0, ptr %2, align 4 br label %66 66: ; preds = %65, %27 %67 = load i32, ptr %2, align 4 ret i32 %67 } declare i32 @getch(...) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @ungetch(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcujv7g51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getop(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 br label %5 5: ; preds = %14, %1 %6 = call i32 (...) @getch() store i32 %6, ptr %4, align 4 %7 = trunc i32 %6 to i8 %8 = load ptr, ptr %3, align 8 store i8 %7, ptr %8, align 1 %9 = sext i8 %7 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %14, label %11 11: ; preds = %5 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, 9 br label %14 14: ; preds = %11, %5 %15 = phi i1 [ true, %5 ], [ %13, %11 ] br i1 %15, label %5, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 store i8 0, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = trunc i32 %19 to i8 %21 = call i64 @isdigit(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %16 %24 = load i32, ptr %4, align 4 %25 = icmp ne i32 %24, 46 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load i32, ptr %4, align 4 store i32 %27, ptr %2, align 4 br label %63 28: ; preds = %23, %16 %29 = load i32, ptr %4, align 4 %30 = trunc i32 %29 to i8 %31 = call i64 @isdigit(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %28 br label %34 34: ; preds = %34, %33 %35 = call i32 (...) @getch() store i32 %35, ptr %4, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %3, align 8 store i8 %36, ptr %38, align 1 %39 = call i64 @isdigit(i8 noundef signext %36) %40 = icmp ne i64 %39, 0 br i1 %40, label %34, label %41, !llvm.loop !8 41: ; preds = %34 br label %42 42: ; preds = %41, %28 %43 = load i32, ptr %4, align 4 %44 = icmp eq i32 %43, 46 br i1 %44, label %45, label %54 45: ; preds = %42 br label %46 46: ; preds = %46, %45 %47 = call i32 (...) @getch() store i32 %47, ptr %4, align 4 %48 = trunc i32 %47 to i8 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %3, align 8 store i8 %48, ptr %50, align 1 %51 = call i64 @isdigit(i8 noundef signext %48) %52 = icmp ne i64 %51, 0 br i1 %52, label %46, label %53, !llvm.loop !9 53: ; preds = %46 br label %54 54: ; preds = %53, %42 %55 = load ptr, ptr %3, align 8 store i8 0, ptr %55, align 1 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr @EOF, align 4 %58 = icmp ne i32 %56, %57 br i1 %58, label %59, label %62 59: ; preds = %54 %60 = load i32, ptr %4, align 4 %61 = call i32 @ungetch(i32 noundef %60) br label %62 62: ; preds = %59, %54 store i32 0, ptr %2, align 4 br label %63 63: ; preds = %62, %26 %64 = load i32, ptr %2, align 4 ret i32 %64 } declare i32 @getch(...) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @ungetch(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprfcjqlvh.c' source_filename = "/tmp/tmprfcjqlvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mkfnv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr @PATH_MAX, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @vsnprintf(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr @PATH_MAX, align 4 %18 = icmp sge i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %20, ptr %4, align 4 br label %27 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load i32, ptr @errno, align 4 store i32 %25, ptr %4, align 4 br label %27 26: ; preds = %21 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %26, %24, %19 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i32 @vsnprintf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprfcjqlvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mkfnv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr @PATH_MAX, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @vsnprintf(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr @PATH_MAX, align 4 %18 = icmp sge i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %20, ptr %4, align 4 br label %27 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load i32, ptr @errno, align 4 store i32 %25, ptr %4, align 4 br label %27 26: ; preds = %21 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %26, %24, %19 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i32 @vsnprintf(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"}
; ModuleID = '/tmp/tmp6fdlrocd.c' source_filename = "/tmp/tmp6fdlrocd.c" target datalayout = "e-m:e-p270: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/tmp6fdlrocd.c" target datalayout = "e-m:e-p270: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/tmp2y5j7zn7.c' source_filename = "/tmp/tmp2y5j7zn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"@%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @w_original_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca [32 x i8], align 16 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = mul i32 %12, 16 %14 = add i32 16777216, %13 %15 = zext i32 %14 to i64 store i64 %15, ptr %11, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %11, align 8 %18 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str, i64 noundef %17) store i32 0, ptr %7, align 4 br label %19 19: ; preds = %46, %3 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 4 br i1 %21, label %22, label %49 22: ; preds = %19 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %42, %22 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %45 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sub nsw i32 3, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [4 x i8], ptr %27, i64 %30 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [4 x i8], ptr %31, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 store i8 %35, ptr %9, align 1 %36 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %37 = load i8, ptr %9, align 1 %38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.1, i8 noundef zeroext %37) %39 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %40 = load ptr, ptr %4, align 8 %41 = call i32 @fwrite(ptr noundef %39, i32 noundef 1, i32 noundef 3, ptr noundef %40) br label %42 42: ; preds = %26 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %23, !llvm.loop !6 45: ; preds = %23 br label %46 46: ; preds = %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 br label %19, !llvm.loop !8 49: ; preds = %19 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2y5j7zn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"@%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @w_original_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca [32 x i8], align 16 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = mul i32 %12, 16 %14 = add i32 16777216, %13 %15 = zext i32 %14 to i64 store i64 %15, ptr %11, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %11, align 8 %18 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str, i64 noundef %17) store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %.lr.ph2, label %51 .lr.ph2: ; preds = %3 br label %21 21: ; preds = %.lr.ph2, %46 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %.lr.ph, label %45 .lr.ph: ; preds = %21 br label %24 24: ; preds = %.lr.ph, %40 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 3, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i8], ptr %25, i64 %28 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [4 x i8], ptr %29, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 store i8 %33, ptr %9, align 1 %34 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %35 = load i8, ptr %9, align 1 %36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.1, i8 noundef zeroext %35) %37 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %38 = load ptr, ptr %4, align 8 %39 = call i32 @fwrite(ptr noundef %37, i32 noundef 1, i32 noundef 3, ptr noundef %38) br label %40 40: ; preds = %24 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp slt i32 %43, 4 br i1 %44, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %45 45: ; preds = %._crit_edge, %21 br label %46 46: ; preds = %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %49, 4 br i1 %50, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %51 51: ; preds = %._crit_edge3, %3 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxfyc5ynq.c' source_filename = "/tmp/tmpxfyc5ynq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc(%u): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reallock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i64, ptr %4, align 8 %16 = call i32 @fatal_perror(ptr noundef @.str, i64 noundef %15) br label %17 17: ; preds = %14, %11, %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fatal_perror(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxfyc5ynq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc(%u): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reallock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i64, ptr %4, align 8 %16 = call i32 @fatal_perror(ptr noundef @.str, i64 noundef %15) br label %17 17: ; preds = %14, %11, %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fatal_perror(ptr noundef, i64 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxjz9s6td.c' source_filename = "/tmp/tmpxjz9s6td.c" target datalayout = "e-m:e-p270: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/tmpxjz9s6td.c" target datalayout = "e-m:e-p270: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/tmpql5b6nbq.c' source_filename = "/tmp/tmpql5b6nbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putbits_fd(i8 noundef zeroext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 store i8 -128, ptr %5, align 1 br label %6 6: ; preds = %9, %2 %7 = load i8, ptr %5, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %25 9: ; preds = %6 %10 = load i8, ptr %3, align 1 %11 = zext i8 %10 to i32 %12 = load i8, ptr %5, align 1 %13 = zext i8 %12 to i32 %14 = and i32 %11, %13 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 49, i32 48 %18 = trunc i32 %17 to i8 %19 = load i32, ptr %4, align 4 %20 = call i32 @ft_putchar_fd(i8 noundef signext %18, i32 noundef %19) %21 = load i8, ptr %5, align 1 %22 = zext i8 %21 to i32 %23 = ashr i32 %22, 1 %24 = trunc i32 %23 to i8 store i8 %24, ptr %5, align 1 br label %6, !llvm.loop !6 25: ; preds = %6 ret void } declare i32 @ft_putchar_fd(i8 noundef signext, 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/tmpql5b6nbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putbits_fd(i8 noundef zeroext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 store i8 -128, ptr %5, align 1 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i8, ptr %3, align 1 %10 = zext i8 %9 to i32 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i32 %13 = and i32 %10, %12 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 49, i32 48 %17 = trunc i32 %16 to i8 %18 = load i32, ptr %4, align 4 %19 = call i32 @ft_putchar_fd(i8 noundef signext %17, i32 noundef %18) %20 = load i8, ptr %5, align 1 %21 = zext i8 %20 to i32 %22 = ashr i32 %21, 1 %23 = trunc i32 %22 to i8 store i8 %23, ptr %5, align 1 %24 = load i8, ptr %5, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %26 26: ; preds = %._crit_edge, %2 ret void } declare i32 @ft_putchar_fd(i8 noundef signext, 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/tmpr2qnxzql.c' source_filename = "/tmp/tmpr2qnxzql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nonblock_socket: fcntl\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xnonblock_socket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @nonblock_socket(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %1 ret void } declare i32 @nonblock_socket(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/tmpr2qnxzql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nonblock_socket: fcntl\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xnonblock_socket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @nonblock_socket(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %1 ret void } declare i32 @nonblock_socket(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/tmp8ep1vkyf.c' source_filename = "/tmp/tmp8ep1vkyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Values from limits.h:\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"max value of char: %d\0A\00", align 1 @CHAR_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"min calue of char: %d\0A\00", align 1 @CHAR_MIN = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [32 x i8] c"max value of int: %d\0A\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [32 x i8] c"min value of int: %d\0A\00", align 1 @INT_MIN = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [33 x i8] c"max value of long: %ld\0A\00", align 1 @LONG_MAX = dso_local global ptr null, align 8 @.str.6 = private unnamed_addr constant [33 x i8] c"min value of long: %ld\0A\00", align 1 @LONG_MIN = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [32 x i8] c"max value of signed char: %d\0A\00", align 1 @SCHAR_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [32 x i8] c"min value of signed char: %d\0A\00", align 1 @SCHAR_MIN = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [32 x i8] c"max value of short: %d\0A\00", align 1 @SHRT_MAX = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [32 x i8] c"min value of short: %d\0A\00", align 1 @SHRT_MIN = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [32 x i8] c"max value of unsigned char: %d\0A\00", align 1 @UCHAR_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [32 x i8] c"max value of unsigned int: %u\0A\00", align 1 @UINT_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [34 x i8] c"max value of unsigned long: %lu\0A\0A\00", align 1 @ULONG_MAX = dso_local global ptr null, align 8 @.str.14 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c"Calculations: \0A\00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c"-------------\0A\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"calculated char max : %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [27 x i8] c"calculated char min : %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [27 x i8] c"limits.h char max : %d\0A\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"limits.h char min : %d\0A\0A\00", align 1 @.str.21 = private unnamed_addr constant [27 x i8] c"calculated uchar max : %d\0A\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"calculated uchar min : %d\0A\00", align 1 @.str.23 = private unnamed_addr constant [27 x i8] c"limits.h uchar max : %d\0A\00", align 1 @.str.24 = private unnamed_addr constant [27 x i8] c"expected uchar min : 0\0A\0A\00", align 1 @.str.25 = private unnamed_addr constant [27 x i8] c"calculated short max : %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [27 x i8] c"calculated short min : %d\0A\00", align 1 @.str.27 = private unnamed_addr constant [27 x i8] c"limits.h short max : %d\0A\00", align 1 @.str.28 = private unnamed_addr constant [28 x i8] c"limits.h short min : %d\0A\0A\00", align 1 @.str.29 = private unnamed_addr constant [27 x i8] c"calculated ushort max: %d\0A\00", align 1 @.str.30 = private unnamed_addr constant [27 x i8] c"calculated ushort min: %d\0A\00", align 1 @.str.31 = private unnamed_addr constant [27 x i8] c"limits.h ushort max : %d\0A\00", align 1 @USHRT_MAX = dso_local global i32 0, align 4 @.str.32 = private unnamed_addr constant [27 x i8] c"expected ushort min : 0\0A\0A\00", align 1 @.str.33 = private unnamed_addr constant [27 x i8] c"calculated int max : %d\0A\00", align 1 @.str.34 = private unnamed_addr constant [27 x i8] c"calculated int min : %d\0A\00", align 1 @.str.35 = private unnamed_addr constant [27 x i8] c"limits.h int max : %d\0A\00", align 1 @.str.36 = private unnamed_addr constant [28 x i8] c"limits.h int min : %d\0A\0A\00", align 1 @.str.37 = private unnamed_addr constant [28 x i8] c"calculated long max : %ld\0A\00", align 1 @.str.38 = private unnamed_addr constant [28 x i8] c"calculated long min : %ld\0A\00", align 1 @.str.39 = private unnamed_addr constant [28 x i8] c"limits.h long max : %ld\0A\00", align 1 @.str.40 = private unnamed_addr constant [29 x i8] c"limits.h long min : %ld\0A\0A\00", align 1 @.str.41 = private unnamed_addr constant [28 x i8] c"calculated ulong max : %lu\0A\00", align 1 @.str.42 = private unnamed_addr constant [28 x i8] c"calculated ulong min : %lu\0A\00", align 1 @.str.43 = private unnamed_addr constant [28 x i8] c"limits.h ulong max : %lu\0A\00", align 1 @.str.44 = private unnamed_addr constant [27 x i8] c"expected ulong min : 0\0A\0A\00", align 1 @INFINITY = dso_local global float 0.000000e+00, align 4 @.str.45 = private unnamed_addr constant [27 x i8] c"calculated float max : %e\0A\00", align 1 @.str.46 = private unnamed_addr constant [27 x i8] c"limits.h float max : %e\0A\00", align 1 @FLT_MAX = dso_local global double 0.000000e+00, align 8 @.str.47 = private unnamed_addr constant [27 x i8] c"diff : %e\0A\00", align 1 @.str.48 = private unnamed_addr constant [28 x i8] c"The expected value? : %s\0A\0A\00", align 1 @.str.49 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.51 = private unnamed_addr constant [27 x i8] c"calculated double max: %e\0A\00", align 1 @.str.52 = private unnamed_addr constant [27 x i8] c"limits.h double max : %e\0A\00", align 1 @DBL_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i16, align 2 %11 = alloca i16, align 2 %12 = alloca i16, align 2 %13 = alloca i16, align 2 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 store i32 0, ptr %1, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str) %27 = load i32, ptr @CHAR_MAX, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr @CHAR_MIN, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29) %31 = load i32, ptr @INT_MAX, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31) %33 = load i32, ptr @INT_MIN, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) %35 = load ptr, ptr @LONG_MAX, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %35) %37 = load ptr, ptr @LONG_MIN, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %37) %39 = load i32, ptr @SCHAR_MAX, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %39) %41 = load i32, ptr @SCHAR_MIN, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %41) %43 = load i32, ptr @SHRT_MAX, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %43) %45 = load i32, ptr @SHRT_MIN, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %45) %47 = load i32, ptr @UCHAR_MAX, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %47) %49 = load i32, ptr @UINT_MAX, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %49) %51 = load ptr, ptr @ULONG_MAX, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i8 0, ptr %6, align 1 br label %56 56: ; preds = %63, %0 %57 = load i8, ptr %6, align 1 %58 = sext i8 %57 to i32 %59 = load i8, ptr %7, align 1 %60 = sext i8 %59 to i32 %61 = icmp slt i32 %58, %60 %62 = xor i1 %61, true br i1 %62, label %63, label %67 63: ; preds = %56 %64 = load i8, ptr %6, align 1 store i8 %64, ptr %7, align 1 %65 = load i8, ptr %6, align 1 %66 = add i8 %65, 1 store i8 %66, ptr %6, align 1 br label %56, !llvm.loop !6 67: ; preds = %56 %68 = load i8, ptr %7, align 1 %69 = sext i8 %68 to i32 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %69) %71 = load i8, ptr %6, align 1 %72 = sext i8 %71 to i32 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %72) %74 = load i32, ptr @CHAR_MAX, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %74) %76 = load i32, ptr @CHAR_MIN, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %76) store i8 0, ptr %8, align 1 br label %78 78: ; preds = %85, %67 %79 = load i8, ptr %8, align 1 %80 = zext i8 %79 to i32 %81 = load i8, ptr %9, align 1 %82 = zext i8 %81 to i32 %83 = icmp slt i32 %80, %82 %84 = xor i1 %83, true br i1 %84, label %85, label %89 85: ; preds = %78 %86 = load i8, ptr %8, align 1 store i8 %86, ptr %9, align 1 %87 = load i8, ptr %8, align 1 %88 = add i8 %87, 1 store i8 %88, ptr %8, align 1 br label %78, !llvm.loop !8 89: ; preds = %78 %90 = load i8, ptr %9, align 1 %91 = zext i8 %90 to i32 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %91) %93 = load i8, ptr %8, align 1 %94 = zext i8 %93 to i32 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %94) %96 = load i32, ptr @UCHAR_MAX, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %96) %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) store i16 1, ptr %10, align 2 store i16 1000, ptr %3, align 2 store i8 0, ptr %2, align 1 br label %99 99: ; preds = %133, %89 %100 = load i8, ptr %2, align 1 %101 = icmp ne i8 %100, 0 %102 = xor i1 %101, true br i1 %102, label %103, label %134 103: ; preds = %99 %104 = load i16, ptr %10, align 2 store i16 %104, ptr %11, align 2 %105 = load i16, ptr %3, align 2 %106 = sext i16 %105 to i32 %107 = load i16, ptr %10, align 2 %108 = sext i16 %107 to i32 %109 = add nsw i32 %108, %106 %110 = trunc i32 %109 to i16 store i16 %110, ptr %10, align 2 br label %111 111: ; preds = %126, %103 %112 = load i16, ptr %10, align 2 %113 = sext i16 %112 to i32 %114 = load i16, ptr %11, align 2 %115 = sext i16 %114 to i32 %116 = icmp slt i32 %113, %115 br i1 %116, label %117, label %133 117: ; preds = %111 %118 = load i16, ptr %3, align 2 %119 = sext i16 %118 to i32 %120 = sdiv i32 %119, 2 %121 = trunc i32 %120 to i16 store i16 %121, ptr %3, align 2 %122 = load i16, ptr %3, align 2 %123 = sext i16 %122 to i32 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %126 125: ; preds = %117 store i8 1, ptr %2, align 1 br label %133 126: ; preds = %117 %127 = load i16, ptr %11, align 2 %128 = sext i16 %127 to i32 %129 = load i16, ptr %3, align 2 %130 = sext i16 %129 to i32 %131 = add nsw i32 %128, %130 %132 = trunc i32 %131 to i16 store i16 %132, ptr %10, align 2 br label %111, !llvm.loop !9 133: ; preds = %125, %111 br label %99, !llvm.loop !10 134: ; preds = %99 %135 = load i16, ptr %11, align 2 %136 = sext i16 %135 to i32 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %136) %138 = load i16, ptr %10, align 2 %139 = sext i16 %138 to i32 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %139) %141 = load i32, ptr @SHRT_MAX, align 4 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %141) %143 = load i32, ptr @SHRT_MIN, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %143) store i16 1, ptr %12, align 2 store i16 1000, ptr %3, align 2 store i8 0, ptr %2, align 1 br label %145 145: ; preds = %179, %134 %146 = load i8, ptr %2, align 1 %147 = icmp ne i8 %146, 0 %148 = xor i1 %147, true br i1 %148, label %149, label %180 149: ; preds = %145 %150 = load i16, ptr %12, align 2 store i16 %150, ptr %13, align 2 %151 = load i16, ptr %3, align 2 %152 = sext i16 %151 to i32 %153 = load i16, ptr %12, align 2 %154 = zext i16 %153 to i32 %155 = add nsw i32 %154, %152 %156 = trunc i32 %155 to i16 store i16 %156, ptr %12, align 2 br label %157 157: ; preds = %172, %149 %158 = load i16, ptr %12, align 2 %159 = zext i16 %158 to i32 %160 = load i16, ptr %13, align 2 %161 = zext i16 %160 to i32 %162 = icmp slt i32 %159, %161 br i1 %162, label %163, label %179 163: ; preds = %157 %164 = load i16, ptr %3, align 2 %165 = sext i16 %164 to i32 %166 = sdiv i32 %165, 2 %167 = trunc i32 %166 to i16 store i16 %167, ptr %3, align 2 %168 = load i16, ptr %3, align 2 %169 = sext i16 %168 to i32 %170 = icmp eq i32 %169, 0 br i1 %170, label %171, label %172 171: ; preds = %163 store i8 1, ptr %2, align 1 br label %179 172: ; preds = %163 %173 = load i16, ptr %13, align 2 %174 = zext i16 %173 to i32 %175 = load i16, ptr %3, align 2 %176 = sext i16 %175 to i32 %177 = add nsw i32 %174, %176 %178 = trunc i32 %177 to i16 store i16 %178, ptr %12, align 2 br label %157, !llvm.loop !11 179: ; preds = %171, %157 br label %145, !llvm.loop !12 180: ; preds = %145 %181 = load i16, ptr %13, align 2 %182 = zext i16 %181 to i32 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %182) %184 = load i16, ptr %12, align 2 %185 = zext i16 %184 to i32 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %185) %187 = load i32, ptr @USHRT_MAX, align 4 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %187) %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) store i32 1, ptr %14, align 4 store i32 100000, ptr %4, align 4 store i8 0, ptr %2, align 1 br label %190 190: ; preds = %213, %180 %191 = load i8, ptr %2, align 1 %192 = icmp ne i8 %191, 0 %193 = xor i1 %192, true br i1 %193, label %194, label %214 194: ; preds = %190 %195 = load i32, ptr %14, align 4 store i32 %195, ptr %15, align 4 %196 = load i32, ptr %4, align 4 %197 = load i32, ptr %14, align 4 %198 = add nsw i32 %197, %196 store i32 %198, ptr %14, align 4 br label %199 199: ; preds = %209, %194 %200 = load i32, ptr %14, align 4 %201 = load i32, ptr %15, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %203, label %213 203: ; preds = %199 %204 = load i32, ptr %4, align 4 %205 = sdiv i32 %204, 2 store i32 %205, ptr %4, align 4 %206 = load i32, ptr %4, align 4 %207 = icmp eq i32 %206, 0 br i1 %207, label %208, label %209 208: ; preds = %203 store i8 1, ptr %2, align 1 br label %213 209: ; preds = %203 %210 = load i32, ptr %15, align 4 %211 = load i32, ptr %4, align 4 %212 = add nsw i32 %210, %211 store i32 %212, ptr %14, align 4 br label %199, !llvm.loop !13 213: ; preds = %208, %199 br label %190, !llvm.loop !14 214: ; preds = %190 %215 = load i32, ptr %15, align 4 %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i32 noundef %215) %217 = load i32, ptr %14, align 4 %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %217) %219 = load i32, ptr @INT_MAX, align 4 %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, i32 noundef %219) %221 = load i32, ptr @INT_MIN, align 4 %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %221) store i64 1, ptr %16, align 8 store i64 100000000000000, ptr %5, align 8 store i8 0, ptr %2, align 1 br label %223 223: ; preds = %246, %214 %224 = load i8, ptr %2, align 1 %225 = icmp ne i8 %224, 0 %226 = xor i1 %225, true br i1 %226, label %227, label %247 227: ; preds = %223 %228 = load i64, ptr %16, align 8 store i64 %228, ptr %17, align 8 %229 = load i64, ptr %5, align 8 %230 = load i64, ptr %16, align 8 %231 = add nsw i64 %230, %229 store i64 %231, ptr %16, align 8 br label %232 232: ; preds = %242, %227 %233 = load i64, ptr %16, align 8 %234 = load i64, ptr %17, align 8 %235 = icmp slt i64 %233, %234 br i1 %235, label %236, label %246 236: ; preds = %232 %237 = load i64, ptr %5, align 8 %238 = sdiv i64 %237, 2 store i64 %238, ptr %5, align 8 %239 = load i64, ptr %5, align 8 %240 = icmp eq i64 %239, 0 br i1 %240, label %241, label %242 241: ; preds = %236 store i8 1, ptr %2, align 1 br label %246 242: ; preds = %236 %243 = load i64, ptr %17, align 8 %244 = load i64, ptr %5, align 8 %245 = add nsw i64 %243, %244 store i64 %245, ptr %16, align 8 br label %232, !llvm.loop !15 246: ; preds = %241, %232 br label %223, !llvm.loop !16 247: ; preds = %223 %248 = load i64, ptr %17, align 8 %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, i64 noundef %248) %250 = load i64, ptr %16, align 8 %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i64 noundef %250) %252 = load ptr, ptr @LONG_MAX, align 8 %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %252) %254 = load ptr, ptr @LONG_MIN, align 8 %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.40, ptr noundef %254) store i64 1, ptr %18, align 8 store i64 100000000000000, ptr %5, align 8 store i8 0, ptr %2, align 1 br label %256 256: ; preds = %279, %247 %257 = load i8, ptr %2, align 1 %258 = icmp ne i8 %257, 0 %259 = xor i1 %258, true br i1 %259, label %260, label %280 260: ; preds = %256 %261 = load i64, ptr %18, align 8 store i64 %261, ptr %19, align 8 %262 = load i64, ptr %5, align 8 %263 = load i64, ptr %18, align 8 %264 = add i64 %263, %262 store i64 %264, ptr %18, align 8 br label %265 265: ; preds = %275, %260 %266 = load i64, ptr %18, align 8 %267 = load i64, ptr %19, align 8 %268 = icmp ult i64 %266, %267 br i1 %268, label %269, label %279 269: ; preds = %265 %270 = load i64, ptr %5, align 8 %271 = sdiv i64 %270, 2 store i64 %271, ptr %5, align 8 %272 = load i64, ptr %5, align 8 %273 = icmp eq i64 %272, 0 br i1 %273, label %274, label %275 274: ; preds = %269 store i8 1, ptr %2, align 1 br label %279 275: ; preds = %269 %276 = load i64, ptr %19, align 8 %277 = load i64, ptr %5, align 8 %278 = add i64 %276, %277 store i64 %278, ptr %18, align 8 br label %265, !llvm.loop !17 279: ; preds = %274, %265 br label %256, !llvm.loop !18 280: ; preds = %256 %281 = load i64, ptr %19, align 8 %282 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, i64 noundef %281) %283 = load i64, ptr %18, align 8 %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.42, i64 noundef %283) %285 = load ptr, ptr @ULONG_MAX, align 8 %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, ptr noundef %285) %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.44) store float 1.000000e+00, ptr %20, align 4 store float 9.000000e+00, ptr %22, align 4 br label %288 288: ; preds = %280, %318 %289 = load float, ptr %20, align 4 store float %289, ptr %21, align 4 %290 = load float, ptr %22, align 4 %291 = fpext float %290 to double %292 = fadd double 1.000000e+00, %291 %293 = load float, ptr %20, align 4 %294 = fpext float %293 to double %295 = fmul double %294, %292 %296 = fptrunc double %295 to float store float %296, ptr %20, align 4 br label %297 297: ; preds = %301, %288 %298 = load float, ptr %20, align 4 %299 = load float, ptr @INFINITY, align 4 %300 = fcmp oeq float %298, %299 br i1 %300, label %301, label %313 301: ; preds = %297 %302 = load float, ptr %22, align 4 %303 = fpext float %302 to double %304 = fdiv double %303, 2.000000e+00 %305 = fptrunc double %304 to float store float %305, ptr %22, align 4 %306 = load float, ptr %21, align 4 %307 = fpext float %306 to double %308 = load float, ptr %22, align 4 %309 = fpext float %308 to double %310 = fadd double 1.000000e+00, %309 %311 = fmul double %307, %310 %312 = fptrunc double %311 to float store float %312, ptr %20, align 4 br label %297, !llvm.loop !19 313: ; preds = %297 %314 = load float, ptr %20, align 4 %315 = load float, ptr %21, align 4 %316 = fcmp ogt float %314, %315 br i1 %316, label %318, label %317 317: ; preds = %313 br label %319 318: ; preds = %313 br label %288 319: ; preds = %317 %320 = load float, ptr %21, align 4 %321 = fpext float %320 to double %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, double noundef %321) %323 = load double, ptr @FLT_MAX, align 8 %324 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, double noundef %323) %325 = load double, ptr @FLT_MAX, align 8 %326 = load float, ptr %21, align 4 %327 = fpext float %326 to double %328 = fsub double %325, %327 %329 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %328) %330 = load double, ptr @FLT_MAX, align 8 %331 = load float, ptr %21, align 4 %332 = fpext float %331 to double %333 = fcmp oeq double %330, %332 %334 = zext i1 %333 to i64 %335 = select i1 %333, ptr @.str.49, ptr @.str.50 %336 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, ptr noundef %335) store double 1.000000e+00, ptr %23, align 8 store double 9.000000e+00, ptr %25, align 8 br label %337 337: ; preds = %319, %360 %338 = load double, ptr %23, align 8 store double %338, ptr %24, align 8 %339 = load double, ptr %25, align 8 %340 = fadd double 1.000000e+00, %339 %341 = load double, ptr %23, align 8 %342 = fmul double %341, %340 store double %342, ptr %23, align 8 br label %343 343: ; preds = %348, %337 %344 = load double, ptr %23, align 8 %345 = load float, ptr @INFINITY, align 4 %346 = fpext float %345 to double %347 = fcmp oeq double %344, %346 br i1 %347, label %348, label %355 348: ; preds = %343 %349 = load double, ptr %25, align 8 %350 = fdiv double %349, 2.000000e+00 store double %350, ptr %25, align 8 %351 = load double, ptr %24, align 8 %352 = load double, ptr %25, align 8 %353 = load double, ptr %24, align 8 %354 = call double @llvm.fmuladd.f64(double %352, double %353, double %351) store double %354, ptr %23, align 8 br label %343, !llvm.loop !20 355: ; preds = %343 %356 = load double, ptr %23, align 8 %357 = load double, ptr %24, align 8 %358 = fcmp ogt double %356, %357 br i1 %358, label %360, label %359 359: ; preds = %355 br label %361 360: ; preds = %355 br label %337 361: ; preds = %359 %362 = load double, ptr %24, align 8 %363 = call i32 (ptr, ...) @printf(ptr noundef @.str.51, double noundef %362) %364 = load double, ptr @DBL_MAX, align 8 %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.52, double noundef %364) %366 = load double, ptr @DBL_MAX, align 8 %367 = load double, ptr %24, align 8 %368 = fsub double %366, %367 %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %368) %370 = load double, ptr @DBL_MAX, align 8 %371 = load double, ptr %24, align 8 %372 = fcmp oeq double %370, %371 %373 = zext i1 %372 to i64 %374 = select i1 %372, ptr @.str.49, ptr @.str.50 %375 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, ptr noundef %374) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ep1vkyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Values from limits.h:\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"max value of char: %d\0A\00", align 1 @CHAR_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"min calue of char: %d\0A\00", align 1 @CHAR_MIN = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [32 x i8] c"max value of int: %d\0A\00", align 1 @INT_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [32 x i8] c"min value of int: %d\0A\00", align 1 @INT_MIN = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [33 x i8] c"max value of long: %ld\0A\00", align 1 @LONG_MAX = dso_local global ptr null, align 8 @.str.6 = private unnamed_addr constant [33 x i8] c"min value of long: %ld\0A\00", align 1 @LONG_MIN = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [32 x i8] c"max value of signed char: %d\0A\00", align 1 @SCHAR_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [32 x i8] c"min value of signed char: %d\0A\00", align 1 @SCHAR_MIN = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [32 x i8] c"max value of short: %d\0A\00", align 1 @SHRT_MAX = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [32 x i8] c"min value of short: %d\0A\00", align 1 @SHRT_MIN = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [32 x i8] c"max value of unsigned char: %d\0A\00", align 1 @UCHAR_MAX = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [32 x i8] c"max value of unsigned int: %u\0A\00", align 1 @UINT_MAX = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [34 x i8] c"max value of unsigned long: %lu\0A\0A\00", align 1 @ULONG_MAX = dso_local global ptr null, align 8 @.str.14 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c"Calculations: \0A\00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c"-------------\0A\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"calculated char max : %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [27 x i8] c"calculated char min : %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [27 x i8] c"limits.h char max : %d\0A\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"limits.h char min : %d\0A\0A\00", align 1 @.str.21 = private unnamed_addr constant [27 x i8] c"calculated uchar max : %d\0A\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"calculated uchar min : %d\0A\00", align 1 @.str.23 = private unnamed_addr constant [27 x i8] c"limits.h uchar max : %d\0A\00", align 1 @.str.24 = private unnamed_addr constant [27 x i8] c"expected uchar min : 0\0A\0A\00", align 1 @.str.25 = private unnamed_addr constant [27 x i8] c"calculated short max : %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [27 x i8] c"calculated short min : %d\0A\00", align 1 @.str.27 = private unnamed_addr constant [27 x i8] c"limits.h short max : %d\0A\00", align 1 @.str.28 = private unnamed_addr constant [28 x i8] c"limits.h short min : %d\0A\0A\00", align 1 @.str.29 = private unnamed_addr constant [27 x i8] c"calculated ushort max: %d\0A\00", align 1 @.str.30 = private unnamed_addr constant [27 x i8] c"calculated ushort min: %d\0A\00", align 1 @.str.31 = private unnamed_addr constant [27 x i8] c"limits.h ushort max : %d\0A\00", align 1 @USHRT_MAX = dso_local global i32 0, align 4 @.str.32 = private unnamed_addr constant [27 x i8] c"expected ushort min : 0\0A\0A\00", align 1 @.str.33 = private unnamed_addr constant [27 x i8] c"calculated int max : %d\0A\00", align 1 @.str.34 = private unnamed_addr constant [27 x i8] c"calculated int min : %d\0A\00", align 1 @.str.35 = private unnamed_addr constant [27 x i8] c"limits.h int max : %d\0A\00", align 1 @.str.36 = private unnamed_addr constant [28 x i8] c"limits.h int min : %d\0A\0A\00", align 1 @.str.37 = private unnamed_addr constant [28 x i8] c"calculated long max : %ld\0A\00", align 1 @.str.38 = private unnamed_addr constant [28 x i8] c"calculated long min : %ld\0A\00", align 1 @.str.39 = private unnamed_addr constant [28 x i8] c"limits.h long max : %ld\0A\00", align 1 @.str.40 = private unnamed_addr constant [29 x i8] c"limits.h long min : %ld\0A\0A\00", align 1 @.str.41 = private unnamed_addr constant [28 x i8] c"calculated ulong max : %lu\0A\00", align 1 @.str.42 = private unnamed_addr constant [28 x i8] c"calculated ulong min : %lu\0A\00", align 1 @.str.43 = private unnamed_addr constant [28 x i8] c"limits.h ulong max : %lu\0A\00", align 1 @.str.44 = private unnamed_addr constant [27 x i8] c"expected ulong min : 0\0A\0A\00", align 1 @INFINITY = dso_local global float 0.000000e+00, align 4 @.str.45 = private unnamed_addr constant [27 x i8] c"calculated float max : %e\0A\00", align 1 @.str.46 = private unnamed_addr constant [27 x i8] c"limits.h float max : %e\0A\00", align 1 @FLT_MAX = dso_local global double 0.000000e+00, align 8 @.str.47 = private unnamed_addr constant [27 x i8] c"diff : %e\0A\00", align 1 @.str.48 = private unnamed_addr constant [28 x i8] c"The expected value? : %s\0A\0A\00", align 1 @.str.49 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.51 = private unnamed_addr constant [27 x i8] c"calculated double max: %e\0A\00", align 1 @.str.52 = private unnamed_addr constant [27 x i8] c"limits.h double max : %e\0A\00", align 1 @DBL_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i16, align 2 %11 = alloca i16, align 2 %12 = alloca i16, align 2 %13 = alloca i16, align 2 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 store i32 0, ptr %1, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str) %27 = load i32, ptr @CHAR_MAX, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr @CHAR_MIN, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29) %31 = load i32, ptr @INT_MAX, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31) %33 = load i32, ptr @INT_MIN, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) %35 = load ptr, ptr @LONG_MAX, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %35) %37 = load ptr, ptr @LONG_MIN, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %37) %39 = load i32, ptr @SCHAR_MAX, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %39) %41 = load i32, ptr @SCHAR_MIN, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %41) %43 = load i32, ptr @SHRT_MAX, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %43) %45 = load i32, ptr @SHRT_MIN, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %45) %47 = load i32, ptr @UCHAR_MAX, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %47) %49 = load i32, ptr @UINT_MAX, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %49) %51 = load ptr, ptr @ULONG_MAX, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i8 0, ptr %6, align 1 %56 = load i8, ptr %6, align 1 %57 = sext i8 %56 to i32 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp slt i32 %57, %59 %61 = xor i1 %60, true br i1 %61, label %.lr.ph, label %72 .lr.ph: ; preds = %0 br label %62 62: ; preds = %.lr.ph, %62 %63 = load i8, ptr %6, align 1 store i8 %63, ptr %7, align 1 %64 = load i8, ptr %6, align 1 %65 = add i8 %64, 1 store i8 %65, ptr %6, align 1 %66 = load i8, ptr %6, align 1 %67 = sext i8 %66 to i32 %68 = load i8, ptr %7, align 1 %69 = sext i8 %68 to i32 %70 = icmp slt i32 %67, %69 %71 = xor i1 %70, true br i1 %71, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %72 72: ; preds = %._crit_edge, %0 %73 = load i8, ptr %7, align 1 %74 = sext i8 %73 to i32 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %74) %76 = load i8, ptr %6, align 1 %77 = sext i8 %76 to i32 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %77) %79 = load i32, ptr @CHAR_MAX, align 4 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %79) %81 = load i32, ptr @CHAR_MIN, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %81) store i8 0, ptr %8, align 1 %83 = load i8, ptr %8, align 1 %84 = zext i8 %83 to i32 %85 = load i8, ptr %9, align 1 %86 = zext i8 %85 to i32 %87 = icmp slt i32 %84, %86 %88 = xor i1 %87, true br i1 %88, label %.lr.ph6, label %99 .lr.ph6: ; preds = %72 br label %89 89: ; preds = %.lr.ph6, %89 %90 = load i8, ptr %8, align 1 store i8 %90, ptr %9, align 1 %91 = load i8, ptr %8, align 1 %92 = add i8 %91, 1 store i8 %92, ptr %8, align 1 %93 = load i8, ptr %8, align 1 %94 = zext i8 %93 to i32 %95 = load i8, ptr %9, align 1 %96 = zext i8 %95 to i32 %97 = icmp slt i32 %94, %96 %98 = xor i1 %97, true br i1 %98, label %89, label %._crit_edge7, !llvm.loop !8 ._crit_edge7: ; preds = %89 br label %99 99: ; preds = %._crit_edge7, %72 %100 = load i8, ptr %9, align 1 %101 = zext i8 %100 to i32 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %101) %103 = load i8, ptr %8, align 1 %104 = zext i8 %103 to i32 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %104) %106 = load i32, ptr @UCHAR_MAX, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) store i16 1, ptr %10, align 2 store i16 1000, ptr %3, align 2 store i8 0, ptr %2, align 1 %109 = load i8, ptr %2, align 1 %110 = icmp ne i8 %109, 0 %111 = xor i1 %110, true br i1 %111, label %.lr.ph11, label %150 .lr.ph11: ; preds = %99 br label %112 112: ; preds = %.lr.ph11, %146 %113 = load i16, ptr %10, align 2 store i16 %113, ptr %11, align 2 %114 = load i16, ptr %3, align 2 %115 = sext i16 %114 to i32 %116 = load i16, ptr %10, align 2 %117 = sext i16 %116 to i32 %118 = add nsw i32 %117, %115 %119 = trunc i32 %118 to i16 store i16 %119, ptr %10, align 2 %120 = load i16, ptr %10, align 2 %121 = sext i16 %120 to i32 %122 = load i16, ptr %11, align 2 %123 = sext i16 %122 to i32 %124 = icmp slt i32 %121, %123 br i1 %124, label %.lr.ph9, label %.loopexit4 .lr.ph9: ; preds = %112 br label %125 125: ; preds = %.lr.ph9, %134 %126 = load i16, ptr %3, align 2 %127 = sext i16 %126 to i32 %128 = sdiv i32 %127, 2 %129 = trunc i32 %128 to i16 store i16 %129, ptr %3, align 2 %130 = load i16, ptr %3, align 2 %131 = sext i16 %130 to i32 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %134 133: ; preds = %125 store i8 1, ptr %2, align 1 br label %146 134: ; preds = %125 %135 = load i16, ptr %11, align 2 %136 = sext i16 %135 to i32 %137 = load i16, ptr %3, align 2 %138 = sext i16 %137 to i32 %139 = add nsw i32 %136, %138 %140 = trunc i32 %139 to i16 store i16 %140, ptr %10, align 2 %141 = load i16, ptr %10, align 2 %142 = sext i16 %141 to i32 %143 = load i16, ptr %11, align 2 %144 = sext i16 %143 to i32 %145 = icmp slt i32 %142, %144 br i1 %145, label %125, label %..loopexit4_crit_edge, !llvm.loop !9 ..loopexit4_crit_edge: ; preds = %134 br label %.loopexit4 .loopexit4: ; preds = %..loopexit4_crit_edge, %112 br label %146 146: ; preds = %.loopexit4, %133 %147 = load i8, ptr %2, align 1 %148 = icmp ne i8 %147, 0 %149 = xor i1 %148, true br i1 %149, label %112, label %._crit_edge12, !llvm.loop !10 ._crit_edge12: ; preds = %146 br label %150 150: ; preds = %._crit_edge12, %99 %151 = load i16, ptr %11, align 2 %152 = sext i16 %151 to i32 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %152) %154 = load i16, ptr %10, align 2 %155 = sext i16 %154 to i32 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %155) %157 = load i32, ptr @SHRT_MAX, align 4 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %157) %159 = load i32, ptr @SHRT_MIN, align 4 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %159) store i16 1, ptr %12, align 2 store i16 1000, ptr %3, align 2 store i8 0, ptr %2, align 1 %161 = load i8, ptr %2, align 1 %162 = icmp ne i8 %161, 0 %163 = xor i1 %162, true br i1 %163, label %.lr.ph16, label %202 .lr.ph16: ; preds = %150 br label %164 164: ; preds = %.lr.ph16, %198 %165 = load i16, ptr %12, align 2 store i16 %165, ptr %13, align 2 %166 = load i16, ptr %3, align 2 %167 = sext i16 %166 to i32 %168 = load i16, ptr %12, align 2 %169 = zext i16 %168 to i32 %170 = add nsw i32 %169, %167 %171 = trunc i32 %170 to i16 store i16 %171, ptr %12, align 2 %172 = load i16, ptr %12, align 2 %173 = zext i16 %172 to i32 %174 = load i16, ptr %13, align 2 %175 = zext i16 %174 to i32 %176 = icmp slt i32 %173, %175 br i1 %176, label %.lr.ph14, label %.loopexit3 .lr.ph14: ; preds = %164 br label %177 177: ; preds = %.lr.ph14, %186 %178 = load i16, ptr %3, align 2 %179 = sext i16 %178 to i32 %180 = sdiv i32 %179, 2 %181 = trunc i32 %180 to i16 store i16 %181, ptr %3, align 2 %182 = load i16, ptr %3, align 2 %183 = sext i16 %182 to i32 %184 = icmp eq i32 %183, 0 br i1 %184, label %185, label %186 185: ; preds = %177 store i8 1, ptr %2, align 1 br label %198 186: ; preds = %177 %187 = load i16, ptr %13, align 2 %188 = zext i16 %187 to i32 %189 = load i16, ptr %3, align 2 %190 = sext i16 %189 to i32 %191 = add nsw i32 %188, %190 %192 = trunc i32 %191 to i16 store i16 %192, ptr %12, align 2 %193 = load i16, ptr %12, align 2 %194 = zext i16 %193 to i32 %195 = load i16, ptr %13, align 2 %196 = zext i16 %195 to i32 %197 = icmp slt i32 %194, %196 br i1 %197, label %177, label %..loopexit3_crit_edge, !llvm.loop !11 ..loopexit3_crit_edge: ; preds = %186 br label %.loopexit3 .loopexit3: ; preds = %..loopexit3_crit_edge, %164 br label %198 198: ; preds = %.loopexit3, %185 %199 = load i8, ptr %2, align 1 %200 = icmp ne i8 %199, 0 %201 = xor i1 %200, true br i1 %201, label %164, label %._crit_edge17, !llvm.loop !12 ._crit_edge17: ; preds = %198 br label %202 202: ; preds = %._crit_edge17, %150 %203 = load i16, ptr %13, align 2 %204 = zext i16 %203 to i32 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %204) %206 = load i16, ptr %12, align 2 %207 = zext i16 %206 to i32 %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %207) %209 = load i32, ptr @USHRT_MAX, align 4 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %209) %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) store i32 1, ptr %14, align 4 store i32 100000, ptr %4, align 4 store i8 0, ptr %2, align 1 %212 = load i8, ptr %2, align 1 %213 = icmp ne i8 %212, 0 %214 = xor i1 %213, true br i1 %214, label %.lr.ph21, label %240 .lr.ph21: ; preds = %202 br label %215 215: ; preds = %.lr.ph21, %236 %216 = load i32, ptr %14, align 4 store i32 %216, ptr %15, align 4 %217 = load i32, ptr %4, align 4 %218 = load i32, ptr %14, align 4 %219 = add nsw i32 %218, %217 store i32 %219, ptr %14, align 4 %220 = load i32, ptr %14, align 4 %221 = load i32, ptr %15, align 4 %222 = icmp slt i32 %220, %221 br i1 %222, label %.lr.ph19, label %.loopexit2 .lr.ph19: ; preds = %215 br label %223 223: ; preds = %.lr.ph19, %229 %224 = load i32, ptr %4, align 4 %225 = sdiv i32 %224, 2 store i32 %225, ptr %4, align 4 %226 = load i32, ptr %4, align 4 %227 = icmp eq i32 %226, 0 br i1 %227, label %228, label %229 228: ; preds = %223 store i8 1, ptr %2, align 1 br label %236 229: ; preds = %223 %230 = load i32, ptr %15, align 4 %231 = load i32, ptr %4, align 4 %232 = add nsw i32 %230, %231 store i32 %232, ptr %14, align 4 %233 = load i32, ptr %14, align 4 %234 = load i32, ptr %15, align 4 %235 = icmp slt i32 %233, %234 br i1 %235, label %223, label %..loopexit2_crit_edge, !llvm.loop !13 ..loopexit2_crit_edge: ; preds = %229 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %215 br label %236 236: ; preds = %.loopexit2, %228 %237 = load i8, ptr %2, align 1 %238 = icmp ne i8 %237, 0 %239 = xor i1 %238, true br i1 %239, label %215, label %._crit_edge22, !llvm.loop !14 ._crit_edge22: ; preds = %236 br label %240 240: ; preds = %._crit_edge22, %202 %241 = load i32, ptr %15, align 4 %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i32 noundef %241) %243 = load i32, ptr %14, align 4 %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %243) %245 = load i32, ptr @INT_MAX, align 4 %246 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, i32 noundef %245) %247 = load i32, ptr @INT_MIN, align 4 %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %247) store i64 1, ptr %16, align 8 store i64 100000000000000, ptr %5, align 8 store i8 0, ptr %2, align 1 %249 = load i8, ptr %2, align 1 %250 = icmp ne i8 %249, 0 %251 = xor i1 %250, true br i1 %251, label %.lr.ph26, label %277 .lr.ph26: ; preds = %240 br label %252 252: ; preds = %.lr.ph26, %273 %253 = load i64, ptr %16, align 8 store i64 %253, ptr %17, align 8 %254 = load i64, ptr %5, align 8 %255 = load i64, ptr %16, align 8 %256 = add nsw i64 %255, %254 store i64 %256, ptr %16, align 8 %257 = load i64, ptr %16, align 8 %258 = load i64, ptr %17, align 8 %259 = icmp slt i64 %257, %258 br i1 %259, label %.lr.ph24, label %.loopexit1 .lr.ph24: ; preds = %252 br label %260 260: ; preds = %.lr.ph24, %266 %261 = load i64, ptr %5, align 8 %262 = sdiv i64 %261, 2 store i64 %262, ptr %5, align 8 %263 = load i64, ptr %5, align 8 %264 = icmp eq i64 %263, 0 br i1 %264, label %265, label %266 265: ; preds = %260 store i8 1, ptr %2, align 1 br label %273 266: ; preds = %260 %267 = load i64, ptr %17, align 8 %268 = load i64, ptr %5, align 8 %269 = add nsw i64 %267, %268 store i64 %269, ptr %16, align 8 %270 = load i64, ptr %16, align 8 %271 = load i64, ptr %17, align 8 %272 = icmp slt i64 %270, %271 br i1 %272, label %260, label %..loopexit1_crit_edge, !llvm.loop !15 ..loopexit1_crit_edge: ; preds = %266 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %252 br label %273 273: ; preds = %.loopexit1, %265 %274 = load i8, ptr %2, align 1 %275 = icmp ne i8 %274, 0 %276 = xor i1 %275, true br i1 %276, label %252, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %273 br label %277 277: ; preds = %._crit_edge27, %240 %278 = load i64, ptr %17, align 8 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, i64 noundef %278) %280 = load i64, ptr %16, align 8 %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i64 noundef %280) %282 = load ptr, ptr @LONG_MAX, align 8 %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %282) %284 = load ptr, ptr @LONG_MIN, align 8 %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.40, ptr noundef %284) store i64 1, ptr %18, align 8 store i64 100000000000000, ptr %5, align 8 store i8 0, ptr %2, align 1 %286 = load i8, ptr %2, align 1 %287 = icmp ne i8 %286, 0 %288 = xor i1 %287, true br i1 %288, label %.lr.ph31, label %314 .lr.ph31: ; preds = %277 br label %289 289: ; preds = %.lr.ph31, %310 %290 = load i64, ptr %18, align 8 store i64 %290, ptr %19, align 8 %291 = load i64, ptr %5, align 8 %292 = load i64, ptr %18, align 8 %293 = add i64 %292, %291 store i64 %293, ptr %18, align 8 %294 = load i64, ptr %18, align 8 %295 = load i64, ptr %19, align 8 %296 = icmp ult i64 %294, %295 br i1 %296, label %.lr.ph29, label %.loopexit .lr.ph29: ; preds = %289 br label %297 297: ; preds = %.lr.ph29, %303 %298 = load i64, ptr %5, align 8 %299 = sdiv i64 %298, 2 store i64 %299, ptr %5, align 8 %300 = load i64, ptr %5, align 8 %301 = icmp eq i64 %300, 0 br i1 %301, label %302, label %303 302: ; preds = %297 store i8 1, ptr %2, align 1 br label %310 303: ; preds = %297 %304 = load i64, ptr %19, align 8 %305 = load i64, ptr %5, align 8 %306 = add i64 %304, %305 store i64 %306, ptr %18, align 8 %307 = load i64, ptr %18, align 8 %308 = load i64, ptr %19, align 8 %309 = icmp ult i64 %307, %308 br i1 %309, label %297, label %..loopexit_crit_edge, !llvm.loop !17 ..loopexit_crit_edge: ; preds = %303 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %289 br label %310 310: ; preds = %.loopexit, %302 %311 = load i8, ptr %2, align 1 %312 = icmp ne i8 %311, 0 %313 = xor i1 %312, true br i1 %313, label %289, label %._crit_edge32, !llvm.loop !18 ._crit_edge32: ; preds = %310 br label %314 314: ; preds = %._crit_edge32, %277 %315 = load i64, ptr %19, align 8 %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, i64 noundef %315) %317 = load i64, ptr %18, align 8 %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.42, i64 noundef %317) %319 = load ptr, ptr @ULONG_MAX, align 8 %320 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, ptr noundef %319) %321 = call i32 (ptr, ...) @printf(ptr noundef @.str.44) store float 1.000000e+00, ptr %20, align 4 store float 9.000000e+00, ptr %22, align 4 br label %322 322: ; preds = %349, %314 %323 = load float, ptr %20, align 4 store float %323, ptr %21, align 4 %324 = load float, ptr %22, align 4 %325 = fpext float %324 to double %326 = fadd double 1.000000e+00, %325 %327 = load float, ptr %20, align 4 %328 = fpext float %327 to double %329 = fmul double %328, %326 %330 = fptrunc double %329 to float store float %330, ptr %20, align 4 %331 = load float, ptr %20, align 4 %332 = load float, ptr @INFINITY, align 4 %333 = fcmp oeq float %331, %332 br i1 %333, label %.lr.ph34, label %349 .lr.ph34: ; preds = %322 br label %334 334: ; preds = %.lr.ph34, %334 %335 = load float, ptr %22, align 4 %336 = fpext float %335 to double %337 = fdiv double %336, 2.000000e+00 %338 = fptrunc double %337 to float store float %338, ptr %22, align 4 %339 = load float, ptr %21, align 4 %340 = fpext float %339 to double %341 = load float, ptr %22, align 4 %342 = fpext float %341 to double %343 = fadd double 1.000000e+00, %342 %344 = fmul double %340, %343 %345 = fptrunc double %344 to float store float %345, ptr %20, align 4 %346 = load float, ptr %20, align 4 %347 = load float, ptr @INFINITY, align 4 %348 = fcmp oeq float %346, %347 br i1 %348, label %334, label %._crit_edge35, !llvm.loop !19 ._crit_edge35: ; preds = %334 br label %349 349: ; preds = %._crit_edge35, %322 %350 = load float, ptr %20, align 4 %351 = load float, ptr %21, align 4 %352 = fcmp ogt float %350, %351 br i1 %352, label %322, label %353 353: ; preds = %349 br label %354 354: ; preds = %353 %355 = load float, ptr %21, align 4 %356 = fpext float %355 to double %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, double noundef %356) %358 = load double, ptr @FLT_MAX, align 8 %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, double noundef %358) %360 = load double, ptr @FLT_MAX, align 8 %361 = load float, ptr %21, align 4 %362 = fpext float %361 to double %363 = fsub double %360, %362 %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %363) %365 = load double, ptr @FLT_MAX, align 8 %366 = load float, ptr %21, align 4 %367 = fpext float %366 to double %368 = fcmp oeq double %365, %367 %369 = zext i1 %368 to i64 %370 = select i1 %368, ptr @.str.49, ptr @.str.50 %371 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, ptr noundef %370) store double 1.000000e+00, ptr %23, align 8 store double 9.000000e+00, ptr %25, align 8 br label %372 372: ; preds = %393, %354 %373 = load double, ptr %23, align 8 store double %373, ptr %24, align 8 %374 = load double, ptr %25, align 8 %375 = fadd double 1.000000e+00, %374 %376 = load double, ptr %23, align 8 %377 = fmul double %376, %375 store double %377, ptr %23, align 8 %378 = load double, ptr %23, align 8 %379 = load float, ptr @INFINITY, align 4 %380 = fpext float %379 to double %381 = fcmp oeq double %378, %380 br i1 %381, label %.lr.ph37, label %393 .lr.ph37: ; preds = %372 br label %382 382: ; preds = %.lr.ph37, %382 %383 = load double, ptr %25, align 8 %384 = fdiv double %383, 2.000000e+00 store double %384, ptr %25, align 8 %385 = load double, ptr %24, align 8 %386 = load double, ptr %25, align 8 %387 = load double, ptr %24, align 8 %388 = call double @llvm.fmuladd.f64(double %386, double %387, double %385) store double %388, ptr %23, align 8 %389 = load double, ptr %23, align 8 %390 = load float, ptr @INFINITY, align 4 %391 = fpext float %390 to double %392 = fcmp oeq double %389, %391 br i1 %392, label %382, label %._crit_edge38, !llvm.loop !20 ._crit_edge38: ; preds = %382 br label %393 393: ; preds = %._crit_edge38, %372 %394 = load double, ptr %23, align 8 %395 = load double, ptr %24, align 8 %396 = fcmp ogt double %394, %395 br i1 %396, label %372, label %397 397: ; preds = %393 br label %398 398: ; preds = %397 %399 = load double, ptr %24, align 8 %400 = call i32 (ptr, ...) @printf(ptr noundef @.str.51, double noundef %399) %401 = load double, ptr @DBL_MAX, align 8 %402 = call i32 (ptr, ...) @printf(ptr noundef @.str.52, double noundef %401) %403 = load double, ptr @DBL_MAX, align 8 %404 = load double, ptr %24, align 8 %405 = fsub double %403, %404 %406 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %405) %407 = load double, ptr @DBL_MAX, align 8 %408 = load double, ptr %24, align 8 %409 = fcmp oeq double %407, %408 %410 = zext i1 %409 to i64 %411 = select i1 %409, ptr @.str.49, ptr @.str.50 %412 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, ptr noundef %411) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '/tmp/tmpagfxcjqt.c' source_filename = "/tmp/tmpagfxcjqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"compute=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @main() #0 { %1 = alloca i64, align 8 %2 = call i32 @compute(i32 noundef 1, i32 noundef 2, i32 noundef 3) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = load i64, ptr %1, align 8 ret i64 %4 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @compute(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/tmpagfxcjqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"compute=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @main() #0 { %1 = alloca i64, align 8 %2 = call i32 @compute(i32 noundef 1, i32 noundef 2, i32 noundef 3) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = load i64, ptr %1, align 8 ret i64 %4 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @compute(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/tmp0b218nu1.c' source_filename = "/tmp/tmp0b218nu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @whine(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @exit(i32 noundef %7) #3 unreachable } declare i32 @whine(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/tmp0b218nu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @whine(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @exit(i32 noundef %7) #3 unreachable } declare i32 @whine(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/tmpxyu62jvk.c' source_filename = "/tmp/tmpxyu62jvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter first approximation\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Result: %f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %7 7: ; preds = %29, %0 %8 = load float, ptr %2, align 4 %9 = load float, ptr %2, align 4 %10 = call float @f(float noundef %9) %11 = load float, ptr %2, align 4 %12 = call float @g(float noundef %11) %13 = fdiv float %10, %12 %14 = fsub float %8, %13 store float %14, ptr %3, align 4 %15 = load float, ptr %3, align 4 %16 = load float, ptr %2, align 4 %17 = fcmp ogt float %15, %16 br i1 %17, label %18, label %22 18: ; preds = %7 %19 = load float, ptr %3, align 4 %20 = load float, ptr %2, align 4 %21 = fsub float %19, %20 br label %26 22: ; preds = %7 %23 = load float, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = fsub float %23, %24 br label %26 26: ; preds = %22, %18 %27 = phi float [ %21, %18 ], [ %25, %22 ] store float %27, ptr %4, align 4 %28 = load float, ptr %3, align 4 store float %28, ptr %2, align 4 br label %29 29: ; preds = %26 %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = fcmp ogt double %31, 0x3EB0C6F7A0B5ED8D br i1 %32, label %7, label %33, !llvm.loop !6 33: ; preds = %29 %34 = load float, ptr %3, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare float @f(float noundef) #1 declare float @g(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/tmpxyu62jvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter first approximation\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Result: %f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %7 7: ; preds = %29, %0 %8 = load float, ptr %2, align 4 %9 = load float, ptr %2, align 4 %10 = call float @f(float noundef %9) %11 = load float, ptr %2, align 4 %12 = call float @g(float noundef %11) %13 = fdiv float %10, %12 %14 = fsub float %8, %13 store float %14, ptr %3, align 4 %15 = load float, ptr %3, align 4 %16 = load float, ptr %2, align 4 %17 = fcmp ogt float %15, %16 br i1 %17, label %18, label %22 18: ; preds = %7 %19 = load float, ptr %3, align 4 %20 = load float, ptr %2, align 4 %21 = fsub float %19, %20 br label %26 22: ; preds = %7 %23 = load float, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = fsub float %23, %24 br label %26 26: ; preds = %22, %18 %27 = phi float [ %21, %18 ], [ %25, %22 ] store float %27, ptr %4, align 4 %28 = load float, ptr %3, align 4 store float %28, ptr %2, align 4 br label %29 29: ; preds = %26 %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = fcmp ogt double %31, 0x3EB0C6F7A0B5ED8D br i1 %32, label %7, label %33, !llvm.loop !6 33: ; preds = %29 %34 = load float, ptr %3, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare float @f(float noundef) #1 declare float @g(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/tmpjd9yfhtw.c' source_filename = "/tmp/tmpjd9yfhtw.c" target datalayout = "e-m:e-p270: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/tmpjd9yfhtw.c" target datalayout = "e-m:e-p270: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/tmp0tl78_qn.c' source_filename = "/tmp/tmp0tl78_qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Oleg programing mother fucker\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0tl78_qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Oleg programing mother fucker\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp703oztn9.c' source_filename = "/tmp/tmp703oztn9.c" target datalayout = "e-m:e-p270: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/tmp703oztn9.c" target datalayout = "e-m:e-p270: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/tmp1mhqkgkr.c' source_filename = "/tmp/tmp1mhqkgkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %2, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %3, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %4, align 8 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %43, %0 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %46 25: ; preds = %21 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %39, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = mul nsw i64 %32, %17 %34 = getelementptr inbounds i32, ptr %20, i64 %33 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = call i32 @scanf(ptr noundef @.str, ptr noundef %37) br label %39 39: ; preds = %30 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %26, !llvm.loop !6 42: ; preds = %26 br label %43 43: ; preds = %42 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %21, !llvm.loop !8 46: ; preds = %21 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %47 47: ; preds = %62, %46 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %65 51: ; preds = %47 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = mul nsw i64 %54, %17 %56 = getelementptr inbounds i32, ptr %20, i64 %55 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %52, %60 store i32 %61, ptr %8, align 4 br label %62 62: ; preds = %51 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 br label %47, !llvm.loop !9 65: ; preds = %47 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %66 66: ; preds = %84, %65 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %2, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %87 70: ; preds = %66 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %2, align 4 %73 = load i32, ptr %11, align 4 %74 = sub nsw i32 %72, %73 %75 = sub nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = mul nsw i64 %76, %17 %78 = getelementptr inbounds i32, ptr %20, i64 %77 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 %83 = add nsw i32 %71, %82 store i32 %83, ptr %10, align 4 br label %84 84: ; preds = %70 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %66, !llvm.loop !10 87: ; preds = %66 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp sge i32 %88, %89 br i1 %90, label %91, label %97 91: ; preds = %87 %92 = load i32, ptr %10, align 4 %93 = load i32, ptr %8, align 4 %94 = sub nsw i32 %92, %93 store i32 %94, ptr %12, align 4 %95 = load i32, ptr %12, align 4 %96 = call i32 @printf(ptr noundef @.str.1, i32 noundef %95) br label %108 97: ; preds = %87 %98 = load i32, ptr %10, align 4 %99 = load i32, ptr %8, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %107 101: ; preds = %97 %102 = load i32, ptr %8, align 4 %103 = load i32, ptr %10, align 4 %104 = sub nsw i32 %102, %103 store i32 %104, ptr %12, align 4 %105 = load i32, ptr %12, align 4 %106 = call i32 @printf(ptr noundef @.str.1, i32 noundef %105) br label %107 107: ; preds = %101, %97 br label %108 108: ; preds = %107, %91 store i32 0, ptr %1, align 4 %109 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %109) %110 = load i32, ptr %1, align 4 ret i32 %110 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mhqkgkr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %2, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %3, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %4, align 8 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %50 .lr.ph2: ; preds = %0 br label %24 24: ; preds = %.lr.ph2, %44 store i32 0, 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 %.lr.ph, label %43 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %37 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = mul nsw i64 %30, %17 %32 = getelementptr inbounds i32, ptr %20, i64 %31 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = call i32 @scanf(ptr noundef @.str, ptr noundef %35) br label %37 37: ; preds = %28 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %24 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %0 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %71 .lr.ph5: ; preds = %50 br label %54 54: ; preds = %.lr.ph5, %65 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = mul nsw i64 %57, %17 %59 = getelementptr inbounds i32, ptr %20, i64 %58 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = add nsw i32 %55, %63 store i32 %64, ptr %8, align 4 br label %65 65: ; preds = %54 %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %9, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %65 br label %71 71: ; preds = %._crit_edge6, %50 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %.lr.ph8, label %95 .lr.ph8: ; preds = %71 br label %75 75: ; preds = %.lr.ph8, %89 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %11, align 4 %79 = sub nsw i32 %77, %78 %80 = sub nsw i32 %79, 1 %81 = sext i32 %80 to i64 %82 = mul nsw i64 %81, %17 %83 = getelementptr inbounds i32, ptr %20, i64 %82 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = add nsw i32 %76, %87 store i32 %88, ptr %10, align 4 br label %89 89: ; preds = %75 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %11, align 4 %92 = load i32, ptr %11, align 4 %93 = load i32, ptr %2, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %75, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %89 br label %95 95: ; preds = %._crit_edge9, %71 %96 = load i32, ptr %10, align 4 %97 = load i32, ptr %8, align 4 %98 = icmp sge i32 %96, %97 br i1 %98, label %99, label %105 99: ; preds = %95 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %8, align 4 %102 = sub nsw i32 %100, %101 store i32 %102, ptr %12, align 4 %103 = load i32, ptr %12, align 4 %104 = call i32 @printf(ptr noundef @.str.1, i32 noundef %103) br label %116 105: ; preds = %95 %106 = load i32, ptr %10, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %109, label %115 109: ; preds = %105 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %10, align 4 %112 = sub nsw i32 %110, %111 store i32 %112, ptr %12, align 4 %113 = load i32, ptr %12, align 4 %114 = call i32 @printf(ptr noundef @.str.1, i32 noundef %113) br label %115 115: ; preds = %109, %105 br label %116 116: ; preds = %115, %99 store i32 0, ptr %1, align 4 %117 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %117) %118 = load i32, ptr %1, align 4 ret i32 %118 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp5r7w_dww.c' source_filename = "/tmp/tmp5r7w_dww.c" target datalayout = "e-m:e-p270: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.passwd = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uid_by_name(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @getpwnam(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.passwd, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @getpwnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5r7w_dww.c" target datalayout = "e-m:e-p270: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.passwd = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uid_by_name(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @getpwnam(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.passwd, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @getpwnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjywf1epw.c' source_filename = "/tmp/tmpjywf1epw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AEnter a number to multiply --> \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\0AEnter a second number to multiply --> \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0A%.2f final result\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = load float, ptr %3, align 4 %11 = call double @Mult(float noundef %9, float noundef %10) %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = call double @Mult(float noundef %13, float noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %15) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @Mult(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjywf1epw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AEnter a number to multiply --> \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\0AEnter a second number to multiply --> \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0A%.2f final result\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = load float, ptr %3, align 4 %11 = call double @Mult(float noundef %9, float noundef %10) %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = call double @Mult(float noundef %13, float noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %15) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @Mult(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzztbozfu.c' source_filename = "/tmp/tmpzztbozfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 [100 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %9 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %12 12: ; preds = %19, %0 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = srem i32 %23, %24 store i32 %25, ptr %2, align 4 store i32 0, ptr %8, align 4 br label %26 26: ; preds = %54, %22 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %57 30: ; preds = %26 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %2, align 4 %33 = sub nsw i32 %31, %32 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %30 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %2, align 4 %39 = sub nsw i32 %37, %38 %40 = add nsw i32 %36, %39 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %43) br label %53 45: ; preds = %30 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %2, align 4 %48 = sub nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %51) br label %53 53: ; preds = %45, %35 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %26, !llvm.loop !8 57: ; preds = %26 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzztbozfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 [100 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %9 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %18 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = srem i32 %28, %29 store i32 %30, ptr %2, align 4 store i32 0, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %64 .lr.ph2: ; preds = %27 br label %34 34: ; preds = %.lr.ph2, %58 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %2, align 4 %37 = sub nsw i32 %35, %36 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %49 39: ; preds = %34 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %2, align 4 %43 = sub nsw i32 %41, %42 %44 = add nsw i32 %40, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %47) br label %57 49: ; preds = %34 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %2, align 4 %52 = sub nsw i32 %50, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call i32 @printf(ptr noundef @.str.2, i8 noundef signext %55) br label %57 57: ; preds = %49, %39 br label %58 58: ; preds = %57 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %3, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %64 64: ; preds = %._crit_edge3, %27 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmqu__k10.c' source_filename = "/tmp/tmpmqu__k10.c" target datalayout = "e-m:e-p270: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 [430 x i8] c"Usage: generic_buffer [options]...\0ACapture, convert and output data from IIO device buffer\0A -a Auto-activate all available channels\0A -c <n> Do n conversions\0A -e Disable wait for event (new data)\0A -g Use trigger-less mode\0A -l <n> Set buffer length to n samples\0A -n <name> Set device name (mandatory)\0A -t <name> Set trigger name\0A -w <n> Set delay between reads in us (event-less mode)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmqu__k10.c" target datalayout = "e-m:e-p270: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 [430 x i8] c"Usage: generic_buffer [options]...\0ACapture, convert and output data from IIO device buffer\0A -a Auto-activate all available channels\0A -c <n> Do n conversions\0A -e Disable wait for event (new data)\0A -g Use trigger-less mode\0A -l <n> Set buffer length to n samples\0A -n <name> Set device name (mandatory)\0A -t <name> Set trigger name\0A -w <n> Set delay between reads in us (event-less mode)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphqy9520h.c' source_filename = "/tmp/tmphqy9520h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fsop_fsend(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %26 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = load i64, ptr %7, align 8 %19 = call i32 @_fsop_fxchg(i32 noundef %16, i32 noundef %17, i64 noundef %18) store i32 %19, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 -1, ptr %4, align 4 br label %26 22: ; preds = %15 %23 = load i32, ptr %8, align 4 %24 = call i32 @_fsop_close_safe(i32 noundef %23) %25 = load i32, ptr %9, align 4 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %22, %21, %14 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @_fsop_fxchg(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @_fsop_close_safe(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/tmphqy9520h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fsop_fsend(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %26 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = load i64, ptr %7, align 8 %19 = call i32 @_fsop_fxchg(i32 noundef %16, i32 noundef %17, i64 noundef %18) store i32 %19, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 -1, ptr %4, align 4 br label %26 22: ; preds = %15 %23 = load i32, ptr %8, align 4 %24 = call i32 @_fsop_close_safe(i32 noundef %23) %25 = load i32, ptr %9, align 4 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %22, %21, %14 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @_fsop_fxchg(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @_fsop_close_safe(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/tmp2pxhtgw3.c' source_filename = "/tmp/tmp2pxhtgw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @VIDEO_CONTINUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"VIDEO_CONTINUE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @videoContinue(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @VIDEO_CONTINUE, align 4 %12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %9 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @ioctl(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/tmp2pxhtgw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @VIDEO_CONTINUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"VIDEO_CONTINUE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @videoContinue(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @VIDEO_CONTINUE, align 4 %12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %9 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @ioctl(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/tmp078u7mp4.c' source_filename = "/tmp/tmp078u7mp4.c" target datalayout = "e-m:e-p270: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/tmp078u7mp4.c" target datalayout = "e-m:e-p270: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/tmpofrs79rz.c' source_filename = "/tmp/tmpofrs79rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfmClearInterrupts() #0 { %1 = call i32 @spiWriteRegister(i32 noundef 5, i32 noundef 0) %2 = call i32 @spiWriteRegister(i32 noundef 6, i32 noundef 0) ret void } declare i32 @spiWriteRegister(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/tmpofrs79rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfmClearInterrupts() #0 { %1 = call i32 @spiWriteRegister(i32 noundef 5, i32 noundef 0) %2 = call i32 @spiWriteRegister(i32 noundef 6, i32 noundef 0) ret void } declare i32 @spiWriteRegister(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/tmpnws1ap__.c' source_filename = "/tmp/tmpnws1ap__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_line(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %80 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i64 @feof(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %3, align 4 br label %80 15: ; preds = %10 br label %16 16: ; preds = %72, %15 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 256, ptr noundef %18) store i32 0, ptr %6, align 4 br label %20 20: ; preds = %58, %16 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %61 28: ; preds = %20 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 35 br i1 %35, label %52, label %36 36: ; preds = %28 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 10 br i1 %43, label %52, label %44 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 13 br i1 %51, label %52, label %57 52: ; preds = %44, %36, %28 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 0, ptr %56, align 1 br label %61 57: ; preds = %44 br label %58 58: ; preds = %57 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 br label %20, !llvm.loop !6 61: ; preds = %52, %20 br label %62 62: ; preds = %61 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 0 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %72 68: ; preds = %62 %69 = load ptr, ptr %4, align 8 %70 = call i64 @feof(ptr noundef %69) %71 = icmp eq i64 %70, 0 br label %72 72: ; preds = %68, %62 %73 = phi i1 [ false, %62 ], [ %71, %68 ] br i1 %73, label %16, label %74, !llvm.loop !8 74: ; preds = %72 %75 = load ptr, ptr %4, align 8 %76 = call i64 @feof(ptr noundef %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %79 78: ; preds = %74 store i32 0, ptr %3, align 4 br label %80 79: ; preds = %74 store i32 -1, ptr %3, align 4 br label %80 80: ; preds = %79, %78, %14, %9 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i64 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnws1ap__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_line(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %86 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i64 @feof(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %3, align 4 br label %86 15: ; preds = %10 br label %16 16: ; preds = %78, %15 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 256, ptr noundef %18) store i32 0, ptr %6, align 4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %27 27: ; preds = %.lr.ph, %57 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 35 br i1 %34, label %51, label %35 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 10 br i1 %42, label %51, label %43 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 13 br i1 %50, label %51, label %56 51: ; preds = %43, %35, %27 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 0, ptr %55, align 1 br label %67 56: ; preds = %43 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %27, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %67 67: ; preds = %.loopexit, %51 br label %68 68: ; preds = %67 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 0 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %68 %75 = load ptr, ptr %4, align 8 %76 = call i64 @feof(ptr noundef %75) %77 = icmp eq i64 %76, 0 br label %78 78: ; preds = %74, %68 %79 = phi i1 [ false, %68 ], [ %77, %74 ] br i1 %79, label %16, label %80, !llvm.loop !8 80: ; preds = %78 %81 = load ptr, ptr %4, align 8 %82 = call i64 @feof(ptr noundef %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %80 store i32 0, ptr %3, align 4 br label %86 85: ; preds = %80 store i32 -1, ptr %3, align 4 br label %86 86: ; preds = %85, %84, %14, %9 %87 = load i32, ptr %3, align 4 ret i32 %87 } declare i64 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp79wpcc5a.c' source_filename = "/tmp/tmp79wpcc5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LightModeli(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @glLightModeli(i32 noundef %5, i32 noundef %6) ret void } declare i32 @glLightModeli(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/tmp79wpcc5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LightModeli(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @glLightModeli(i32 noundef %5, i32 noundef %6) ret void } declare i32 @glLightModeli(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/tmpre0e6n5u.c' source_filename = "/tmp/tmpre0e6n5u.c" target datalayout = "e-m:e-p270: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/tmpre0e6n5u.c" target datalayout = "e-m:e-p270: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/tmp9zp9fctu.c' source_filename = "/tmp/tmp9zp9fctu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_ineg() #0 { %1 = call i32 @makeCODEineg(ptr noundef null) %2 = call i32 @appendCODE(i32 noundef %1) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEineg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zp9fctu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_ineg() #0 { %1 = call i32 @makeCODEineg(ptr noundef null) %2 = call i32 @appendCODE(i32 noundef %1) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEineg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz1m0zbbb.c' source_filename = "/tmp/tmpz1m0zbbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 188 should be 13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_188() #0 { %1 = call i32 @isqrt(i32 noundef 188) %2 = icmp eq i32 %1, 13 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmpz1m0zbbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 188 should be 13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_sqrt_188() #0 { %1 = call i32 @isqrt(i32 noundef 188) %2 = icmp eq i32 %1, 13 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 945, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isqrt(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/tmp6t1m7g7g.c' source_filename = "/tmp/tmp6t1m7g7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %1, %8 %4 = call i32 @GET32(i32 noundef 1059147860) %5 = and i32 %4, 32 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %3 br label %9 8: ; preds = %3 br label %3 9: ; preds = %7 %10 = load i8, ptr %2, align 1 %11 = call i32 @PUT32(i32 noundef 1059147840, i8 noundef zeroext %10) ret void } declare i32 @GET32(i32 noundef) #1 declare i32 @PUT32(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6t1m7g7g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_putc(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %3, %1 %4 = call i32 @GET32(i32 noundef 1059147860) %5 = and i32 %4, 32 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %3 7: ; preds = %3 br label %8 8: ; preds = %7 %9 = load i8, ptr %2, align 1 %10 = call i32 @PUT32(i32 noundef 1059147840, i8 noundef zeroext %9) ret void } declare i32 @GET32(i32 noundef) #1 declare i32 @PUT32(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsz7unpou.c' source_filename = "/tmp/tmpsz7unpou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @__get_cpuid(i32 noundef 0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) ret i32 %6 } declare i32 @__get_cpuid(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsz7unpou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @__get_cpuid(i32 noundef 0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) ret i32 %6 } declare i32 @__get_cpuid(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"}
; ModuleID = '/tmp/tmpjsfcq_uf.c' source_filename = "/tmp/tmpjsfcq_uf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @f(ptr noundef %2) ret i32 0 } declare i32 @f(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsfcq_uf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @f(ptr noundef %2) ret i32 0 } declare i32 @f(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsn11d2op.c' source_filename = "/tmp/tmpsn11d2op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero total de iteracoes: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Error : %10.15f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jacobi(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store double %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = call ptr @dalloc_matrix(i32 noundef %27, i32 noundef %28) store ptr %29, ptr %24, align 8 %30 = load double, ptr %10, align 8 %31 = load double, ptr %10, align 8 %32 = fmul double %30, %31 store double %32, ptr %22, align 8 %33 = load double, ptr %15, align 8 %34 = fmul double 1.000000e+01, %33 store double %34, ptr %20, align 8 store i32 1, ptr %19, align 4 br label %35 35: ; preds = %199, %8 %36 = load i32, ptr %19, align 4 %37 = load i32, ptr %16, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load double, ptr %20, align 8 %41 = load double, ptr %15, align 8 %42 = fcmp ogt double %40, %41 br label %43 43: ; preds = %39, %35 %44 = phi i1 [ false, %35 ], [ %42, %39 ] br i1 %44, label %45, label %204 45: ; preds = %43 store double 0.000000e+00, ptr %20, align 8 %46 = load ptr, ptr %24, align 8 store ptr %46, ptr %26, align 8 %47 = load ptr, ptr %13, align 8 store ptr %47, ptr %25, align 8 store i32 0, ptr %18, align 4 br label %48 48: ; preds = %67, %45 %49 = load i32, ptr %18, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %70 52: ; preds = %48 store i32 0, ptr %17, align 4 br label %53 53: ; preds = %63, %52 %54 = load i32, ptr %17, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %66 57: ; preds = %53 %58 = load ptr, ptr %25, align 8 %59 = getelementptr inbounds double, ptr %58, i32 1 store ptr %59, ptr %25, align 8 %60 = load double, ptr %58, align 8 %61 = load ptr, ptr %26, align 8 %62 = getelementptr inbounds double, ptr %61, i32 1 store ptr %62, ptr %26, align 8 store double %60, ptr %61, align 8 br label %63 63: ; preds = %57 %64 = load i32, ptr %17, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %17, align 4 br label %53, !llvm.loop !6 66: ; preds = %53 br label %67 67: ; preds = %66 %68 = load i32, ptr %18, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %18, align 4 br label %48, !llvm.loop !8 70: ; preds = %48 store i32 1, ptr %17, align 4 br label %71 71: ; preds = %196, %70 %72 = load i32, ptr %17, align 4 %73 = load i32, ptr %9, align 4 %74 = sub nsw i32 %73, 1 %75 = icmp slt i32 %72, %74 br i1 %75, label %76, label %199 76: ; preds = %71 store i32 1, ptr %18, align 4 br label %77 77: ; preds = %192, %76 %78 = load i32, ptr %18, align 4 %79 = load i32, ptr %9, align 4 %80 = sub nsw i32 %79, 1 %81 = icmp slt i32 %78, %80 br i1 %81, label %82, label %195 82: ; preds = %77 %83 = load double, ptr %12, align 8 %84 = fsub double 1.000000e+00, %83 %85 = load ptr, ptr %13, align 8 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %17, align 4 %88 = mul nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %85, i64 %89 %91 = load i32, ptr %18, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 %94 = load double, ptr %93, align 8 %95 = load double, ptr %12, align 8 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %9, align 4 %98 = load i32, ptr %17, align 4 %99 = sub nsw i32 %98, 1 %100 = mul nsw i32 %97, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %96, i64 %101 %103 = load i32, ptr %18, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 %106 = load double, ptr %105, align 8 %107 = load ptr, ptr %13, align 8 %108 = load i32, ptr %9, align 4 %109 = load i32, ptr %17, align 4 %110 = add nsw i32 %109, 1 %111 = mul nsw i32 %108, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %107, i64 %112 %114 = load i32, ptr %18, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = fadd double %106, %117 %119 = load ptr, ptr %13, align 8 %120 = load i32, ptr %9, align 4 %121 = load i32, ptr %17, align 4 %122 = mul nsw i32 %120, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %119, i64 %123 %125 = load i32, ptr %18, align 4 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %124, i64 %127 %129 = load double, ptr %128, align 8 %130 = fadd double %118, %129 %131 = load ptr, ptr %13, align 8 %132 = load i32, ptr %9, align 4 %133 = load i32, ptr %17, align 4 %134 = mul nsw i32 %132, %133 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %131, i64 %135 %137 = load i32, ptr %18, align 4 %138 = add nsw i32 %137, 1 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %136, i64 %139 %141 = load double, ptr %140, align 8 %142 = fadd double %130, %141 %143 = load double, ptr %22, align 8 %144 = load ptr, ptr %14, align 8 %145 = load i32, ptr %9, align 4 %146 = load i32, ptr %17, align 4 %147 = mul nsw i32 %145, %146 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %144, i64 %148 %150 = load i32, ptr %18, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %149, i64 %151 %153 = load double, ptr %152, align 8 %154 = call double @llvm.fmuladd.f64(double %143, double %153, double %142) %155 = fmul double %95, %154 %156 = fdiv double %155, 4.000000e+00 %157 = call double @llvm.fmuladd.f64(double %84, double %94, double %156) %158 = load ptr, ptr %13, align 8 %159 = load i32, ptr %9, align 4 %160 = load i32, ptr %17, align 4 %161 = mul nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %158, i64 %162 %164 = load i32, ptr %18, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %163, i64 %165 store double %157, ptr %166, align 8 %167 = load ptr, ptr %13, align 8 %168 = load i32, ptr %9, align 4 %169 = load i32, ptr %17, align 4 %170 = mul nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %167, i64 %171 %173 = load i32, ptr %18, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %172, i64 %174 %176 = load double, ptr %175, align 8 %177 = load ptr, ptr %24, align 8 %178 = load i32, ptr %9, align 4 %179 = load i32, ptr %17, align 4 %180 = mul nsw i32 %178, %179 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %177, i64 %181 %183 = load i32, ptr %18, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds double, ptr %182, i64 %184 %186 = load double, ptr %185, align 8 %187 = fsub double %176, %186 store double %187, ptr %21, align 8 %188 = load double, ptr %21, align 8 %189 = load double, ptr %21, align 8 %190 = load double, ptr %20, align 8 %191 = call double @llvm.fmuladd.f64(double %188, double %189, double %190) store double %191, ptr %20, align 8 br label %192 192: ; preds = %82 %193 = load i32, ptr %18, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %18, align 4 br label %77, !llvm.loop !9 195: ; preds = %77 br label %196 196: ; preds = %195 %197 = load i32, ptr %17, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %17, align 4 br label %71, !llvm.loop !10 199: ; preds = %71 %200 = load i32, ptr %19, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %19, align 4 %202 = load double, ptr %20, align 8 %203 = call double @sqrt(double noundef %202) #4 store double %203, ptr %20, align 8 br label %35, !llvm.loop !11 204: ; preds = %43 %205 = load i32, ptr %19, align 4 %206 = sitofp i32 %205 to double %207 = call i32 @printf(ptr noundef @.str, double noundef %206) %208 = load double, ptr %20, align 8 %209 = call i32 @printf(ptr noundef @.str.1, double noundef %208) %210 = load ptr, ptr %24, align 8 %211 = call i32 @dfree_matrix(ptr noundef %210) ret void } declare ptr @dalloc_matrix(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @dfree_matrix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsn11d2op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero total de iteracoes: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Error : %10.15f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jacobi(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store double %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = call ptr @dalloc_matrix(i32 noundef %27, i32 noundef %28) store ptr %29, ptr %24, align 8 %30 = load double, ptr %10, align 8 %31 = load double, ptr %10, align 8 %32 = fmul double %30, %31 store double %32, ptr %22, align 8 %33 = load double, ptr %15, align 8 %34 = fmul double 1.000000e+01, %33 store double %34, ptr %20, align 8 store i32 1, ptr %19, align 4 br label %35 35: ; preds = %209, %8 %36 = load i32, ptr %19, align 4 %37 = load i32, ptr %16, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load double, ptr %20, align 8 %41 = load double, ptr %15, align 8 %42 = fcmp ogt double %40, %41 br label %43 43: ; preds = %39, %35 %44 = phi i1 [ false, %35 ], [ %42, %39 ] br i1 %44, label %45, label %214 45: ; preds = %43 store double 0.000000e+00, ptr %20, align 8 %46 = load ptr, ptr %24, align 8 store ptr %46, ptr %26, align 8 %47 = load ptr, ptr %13, align 8 store ptr %47, ptr %25, align 8 store i32 0, ptr %18, align 4 %48 = load i32, ptr %18, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph2, label %74 .lr.ph2: ; preds = %45 br label %51 51: ; preds = %.lr.ph2, %68 store i32 0, ptr %17, align 4 %52 = load i32, ptr %17, align 4 %53 = load i32, ptr %9, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph, label %67 .lr.ph: ; preds = %51 br label %55 55: ; preds = %.lr.ph, %61 %56 = load ptr, ptr %25, align 8 %57 = getelementptr inbounds double, ptr %56, i32 1 store ptr %57, ptr %25, align 8 %58 = load double, ptr %56, align 8 %59 = load ptr, ptr %26, align 8 %60 = getelementptr inbounds double, ptr %59, i32 1 store ptr %60, ptr %26, align 8 store double %58, ptr %59, align 8 br label %61 61: ; preds = %55 %62 = load i32, ptr %17, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %17, align 4 %64 = load i32, ptr %17, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %51 br label %68 68: ; preds = %67 %69 = load i32, ptr %18, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %18, align 4 %71 = load i32, ptr %18, align 4 %72 = load i32, ptr %9, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %45 store i32 1, ptr %17, align 4 %75 = load i32, ptr %17, align 4 %76 = load i32, ptr %9, align 4 %77 = sub nsw i32 %76, 1 %78 = icmp slt i32 %75, %77 br i1 %78, label %.lr.ph8, label %209 .lr.ph8: ; preds = %74 br label %79 79: ; preds = %.lr.ph8, %202 store i32 1, ptr %18, align 4 %80 = load i32, ptr %18, align 4 %81 = load i32, ptr %9, align 4 %82 = sub nsw i32 %81, 1 %83 = icmp slt i32 %80, %82 br i1 %83, label %.lr.ph5, label %201 .lr.ph5: ; preds = %79 br label %84 84: ; preds = %.lr.ph5, %194 %85 = load double, ptr %12, align 8 %86 = fsub double 1.000000e+00, %85 %87 = load ptr, ptr %13, align 8 %88 = load i32, ptr %9, align 4 %89 = load i32, ptr %17, align 4 %90 = mul nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %87, i64 %91 %93 = load i32, ptr %18, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = load double, ptr %12, align 8 %98 = load ptr, ptr %13, align 8 %99 = load i32, ptr %9, align 4 %100 = load i32, ptr %17, align 4 %101 = sub nsw i32 %100, 1 %102 = mul nsw i32 %99, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %98, i64 %103 %105 = load i32, ptr %18, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %104, i64 %106 %108 = load double, ptr %107, align 8 %109 = load ptr, ptr %13, align 8 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr %17, align 4 %112 = add nsw i32 %111, 1 %113 = mul nsw i32 %110, %112 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %109, i64 %114 %116 = load i32, ptr %18, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = fadd double %108, %119 %121 = load ptr, ptr %13, align 8 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %17, align 4 %124 = mul nsw i32 %122, %123 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %121, i64 %125 %127 = load i32, ptr %18, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %126, i64 %129 %131 = load double, ptr %130, align 8 %132 = fadd double %120, %131 %133 = load ptr, ptr %13, align 8 %134 = load i32, ptr %9, align 4 %135 = load i32, ptr %17, align 4 %136 = mul nsw i32 %134, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %133, i64 %137 %139 = load i32, ptr %18, align 4 %140 = add nsw i32 %139, 1 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %138, i64 %141 %143 = load double, ptr %142, align 8 %144 = fadd double %132, %143 %145 = load double, ptr %22, align 8 %146 = load ptr, ptr %14, align 8 %147 = load i32, ptr %9, align 4 %148 = load i32, ptr %17, align 4 %149 = mul nsw i32 %147, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds double, ptr %146, i64 %150 %152 = load i32, ptr %18, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 %155 = load double, ptr %154, align 8 %156 = call double @llvm.fmuladd.f64(double %145, double %155, double %144) %157 = fmul double %97, %156 %158 = fdiv double %157, 4.000000e+00 %159 = call double @llvm.fmuladd.f64(double %86, double %96, double %158) %160 = load ptr, ptr %13, align 8 %161 = load i32, ptr %9, align 4 %162 = load i32, ptr %17, align 4 %163 = mul nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %160, i64 %164 %166 = load i32, ptr %18, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %165, i64 %167 store double %159, ptr %168, align 8 %169 = load ptr, ptr %13, align 8 %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %17, align 4 %172 = mul nsw i32 %170, %171 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %169, i64 %173 %175 = load i32, ptr %18, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %24, align 8 %180 = load i32, ptr %9, align 4 %181 = load i32, ptr %17, align 4 %182 = mul nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %179, i64 %183 %185 = load i32, ptr %18, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %184, i64 %186 %188 = load double, ptr %187, align 8 %189 = fsub double %178, %188 store double %189, ptr %21, align 8 %190 = load double, ptr %21, align 8 %191 = load double, ptr %21, align 8 %192 = load double, ptr %20, align 8 %193 = call double @llvm.fmuladd.f64(double %190, double %191, double %192) store double %193, ptr %20, align 8 br label %194 194: ; preds = %84 %195 = load i32, ptr %18, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %18, align 4 %197 = load i32, ptr %18, align 4 %198 = load i32, ptr %9, align 4 %199 = sub nsw i32 %198, 1 %200 = icmp slt i32 %197, %199 br i1 %200, label %84, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %194 br label %201 201: ; preds = %._crit_edge6, %79 br label %202 202: ; preds = %201 %203 = load i32, ptr %17, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %17, align 4 %205 = load i32, ptr %17, align 4 %206 = load i32, ptr %9, align 4 %207 = sub nsw i32 %206, 1 %208 = icmp slt i32 %205, %207 br i1 %208, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %202 br label %209 209: ; preds = %._crit_edge9, %74 %210 = load i32, ptr %19, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %19, align 4 %212 = load double, ptr %20, align 8 %213 = call double @sqrt(double noundef %212) #4 store double %213, ptr %20, align 8 br label %35, !llvm.loop !11 214: ; preds = %43 %215 = load i32, ptr %19, align 4 %216 = sitofp i32 %215 to double %217 = call i32 @printf(ptr noundef @.str, double noundef %216) %218 = load double, ptr %20, align 8 %219 = call i32 @printf(ptr noundef @.str.1, double noundef %218) %220 = load ptr, ptr %24, align 8 %221 = call i32 @dfree_matrix(ptr noundef %220) ret void } declare ptr @dalloc_matrix(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @dfree_matrix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpvi6_s81t.c' source_filename = "/tmp/tmpvi6_s81t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Entre com um valor para obter seu fatorial: \0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Fatorial: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatorial() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 1, ptr %1, align 4 br label %7 7: ; preds = %14, %0 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %11, %12 store i32 %13, ptr %1, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 %18 = load i32, ptr %1, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi6_s81t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Entre com um valor para obter seu fatorial: \0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Fatorial: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatorial() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 1, ptr %1, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %13 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %1, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl6qd1612.c' source_filename = "/tmp/tmpl6qd1612.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csc(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 %5 = fdiv double 1.000000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6qd1612.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csc(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 %5 = fdiv double 1.000000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa8wty_l8.c' source_filename = "/tmp/tmpa8wty_l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iinchip_init() #0 { %1 = call i32 @setMR(i32 noundef 128) ret void } declare i32 @setMR(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/tmpa8wty_l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iinchip_init() #0 { %1 = call i32 @setMR(i32 noundef 128) ret void } declare i32 @setMR(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"}