llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp7eeepb79.c' source_filename = "/tmp/tmp7eeepb79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MATRIXint(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %15 15: ; preds = %29, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %32 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 4 %23 = trunc i64 %22 to i32 %24 = call ptr @malloc(i32 noundef %23) %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 store ptr %24, ptr %28, align 8 br label %29 29: ; preds = %19 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 br label %15, !llvm.loop !6 32: ; preds = %15 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %56, %32 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %59 37: ; preds = %33 store i32 0, ptr %8, align 4 br label %38 38: ; preds = %52, %37 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 %43, ptr %51, align 4 br label %52 52: ; preds = %42 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 br label %38, !llvm.loop !8 55: ; preds = %38 br label %56 56: ; preds = %55 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %7, align 4 br label %33, !llvm.loop !9 59: ; preds = %33 %60 = load ptr, ptr %9, align 8 ret ptr %60 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7eeepb79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MATRIXint(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %28 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 4 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 store ptr %23, ptr %27, align 8 br label %28 28: ; preds = %18 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %3 store i32 0, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph5, label %65 .lr.ph5: ; preds = %34 br label %38 38: ; preds = %.lr.ph5, %59 store i32 0, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph2, label %58 .lr.ph2: ; preds = %38 br label %42 42: ; preds = %.lr.ph2, %52 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 %43, ptr %51, align 4 br label %52 52: ; preds = %42 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %38 br label %59 59: ; preds = %58 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %38, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %59 br label %65 65: ; preds = %._crit_edge6, %34 %66 = load ptr, ptr %9, align 8 ret ptr %66 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnwpgc07v.c' source_filename = "/tmp/tmpnwpgc07v.c" target datalayout = "e-m:e-p270: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/tmpnwpgc07v.c" target datalayout = "e-m:e-p270: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/tmpfum8j4em.c' source_filename = "/tmp/tmpfum8j4em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaml_stack_extend(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %13, align 8 %15 = ptrtoint ptr %12 to i64 %16 = ptrtoint ptr %14 to i64 %17 = sub i64 %15, %16 %18 = mul nsw i64 %17, 2 %19 = trunc i64 %18 to i32 %20 = call ptr @yaml_realloc(ptr noundef %10, i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %24, label %23 23: ; preds = %3 store i32 0, ptr %4, align 4 br label %48 24: ; preds = %3 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %28, align 8 %30 = ptrtoint ptr %27 to i64 %31 = ptrtoint ptr %29 to i64 %32 = sub i64 %30, %31 %33 = getelementptr inbounds i8, ptr %25, i64 %32 %34 = load ptr, ptr %6, align 8 store ptr %33, ptr %34, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %38, align 8 %40 = ptrtoint ptr %37 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = mul nsw i64 %42, 2 %44 = getelementptr inbounds i8, ptr %35, i64 %43 %45 = load ptr, ptr %7, align 8 store ptr %44, ptr %45, align 8 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %5, align 8 store ptr %46, ptr %47, align 8 store i32 1, ptr %4, align 4 br label %48 48: ; preds = %24, %23 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare ptr @yaml_realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfum8j4em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaml_stack_extend(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %13, align 8 %15 = ptrtoint ptr %12 to i64 %16 = ptrtoint ptr %14 to i64 %17 = sub i64 %15, %16 %18 = mul nsw i64 %17, 2 %19 = trunc i64 %18 to i32 %20 = call ptr @yaml_realloc(ptr noundef %10, i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %24, label %23 23: ; preds = %3 store i32 0, ptr %4, align 4 br label %48 24: ; preds = %3 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %28, align 8 %30 = ptrtoint ptr %27 to i64 %31 = ptrtoint ptr %29 to i64 %32 = sub i64 %30, %31 %33 = getelementptr inbounds i8, ptr %25, i64 %32 %34 = load ptr, ptr %6, align 8 store ptr %33, ptr %34, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %38, align 8 %40 = ptrtoint ptr %37 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = mul nsw i64 %42, 2 %44 = getelementptr inbounds i8, ptr %35, i64 %43 %45 = load ptr, ptr %7, align 8 store ptr %44, ptr %45, align 8 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %5, align 8 store ptr %46, ptr %47, align 8 store i32 1, ptr %4, align 4 br label %48 48: ; preds = %24, %23 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare ptr @yaml_realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmpkqp3cx.c' source_filename = "/tmp/tmpmpkqp3cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %38, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %41 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %18, %23 br i1 %24, label %25, label %37 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = sub nsw i32 %30, %35 store i32 %36, ptr %4, align 4 br label %42 37: ; preds = %13 br label %38 38: ; preds = %37 %39 = load i64, ptr %8, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %8, align 8 br label %9, !llvm.loop !6 41: ; preds = %9 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %25 %43 = load i32, ptr %4, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmpkqp3cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %43 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %37 %13 = load ptr, ptr %5, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %36 24: ; preds = %12 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %29, %34 store i32 %35, ptr %4, align 4 br label %44 36: ; preds = %12 br label %37 37: ; preds = %36 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %8, align 8 %40 = load i64, ptr %8, align 8 %41 = load i64, ptr %7, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %43, %24 %45 = load i32, ptr %4, align 4 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpe4ox1n1z.c' source_filename = "/tmp/tmpe4ox1n1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"192.168.1.4\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @MSG_WAITALL = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [256 x i32], align 16 %9 = alloca [256 x float], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %79 20: ; preds = %2 %21 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @inet_addr(ptr noundef @.str.1) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 %27 = call i32 @htons(i32 noundef 1001) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %6, align 4 %30 = call i64 @connect(i32 noundef %29, ptr noundef %7, i32 noundef 12) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %79 34: ; preds = %20 store i32 1, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = or i32 %35, -2147483648 store i32 %36, ptr %12, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @send(i32 noundef %37, ptr noundef %12, i32 noundef 4, i32 noundef 0) store i32 5000000, ptr %10, align 4 store i32 25, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = sitofp i32 %39 to double %41 = load i32, ptr %11, align 4 %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %42, double 0x3EB0C6F7A0B5ED8D, double 1.000000e+00) %44 = call double @llvm.fmuladd.f64(double %40, double %43, double 5.000000e-01) %45 = fptosi double %44 to i32 %46 = call i64 @floor(i32 noundef %45) %47 = trunc i64 %46 to i32 store i32 %47, ptr %10, align 4 %48 = load i32, ptr %6, align 4 %49 = call i32 @send(i32 noundef %48, ptr noundef %10, i32 noundef 4, i32 noundef 0) br label %50 50: ; preds = %34, %73 %51 = load i32, ptr %6, align 4 %52 = getelementptr inbounds [256 x i32], ptr %8, i64 0, i64 0 %53 = load i32, ptr @MSG_WAITALL, align 4 %54 = call i32 @recv(i32 noundef %51, ptr noundef %52, i32 noundef 1024, i32 noundef %53) store i32 0, ptr %13, align 4 br label %55 55: ; preds = %70, %50 %56 = load i32, ptr %13, align 4 %57 = icmp slt i32 %56, 256 br i1 %57, label %58, label %73 58: ; preds = %55 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [256 x i32], ptr %8, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = sitofp i32 %62 to float %64 = fpext float %63 to double %65 = fdiv double %64, 0x41DFFFFFFFC00000 %66 = fptrunc double %65 to float %67 = load i32, ptr %13, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %68 store float %66, ptr %69, align 4 br label %70 70: ; preds = %58 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 br label %55, !llvm.loop !6 73: ; preds = %55 %74 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 0 %75 = load i32, ptr @stdout, align 4 %76 = call i32 @fwrite(ptr noundef %74, i32 noundef 1, i32 noundef 1024, i32 noundef %75) %77 = load i32, ptr @stdout, align 4 %78 = call i32 @fflush(i32 noundef %77) br label %50 79: ; preds = %32, %18 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe4ox1n1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"192.168.1.4\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @MSG_WAITALL = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca [256 x i32], align 16 %9 = alloca [256 x float], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %80 20: ; preds = %2 %21 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = call i32 @inet_addr(ptr noundef @.str.1) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 %27 = call i32 @htons(i32 noundef 1001) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %6, align 4 %30 = call i64 @connect(i32 noundef %29, ptr noundef %7, i32 noundef 12) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %80 34: ; preds = %20 store i32 1, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = or i32 %35, -2147483648 store i32 %36, ptr %12, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @send(i32 noundef %37, ptr noundef %12, i32 noundef 4, i32 noundef 0) store i32 5000000, ptr %10, align 4 store i32 25, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = sitofp i32 %39 to double %41 = load i32, ptr %11, align 4 %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %42, double 0x3EB0C6F7A0B5ED8D, double 1.000000e+00) %44 = call double @llvm.fmuladd.f64(double %40, double %43, double 5.000000e-01) %45 = fptosi double %44 to i32 %46 = call i64 @floor(i32 noundef %45) %47 = trunc i64 %46 to i32 store i32 %47, ptr %10, align 4 %48 = load i32, ptr %6, align 4 %49 = call i32 @send(i32 noundef %48, ptr noundef %10, i32 noundef 4, i32 noundef 0) br label %50 50: ; preds = %74, %34 %51 = load i32, ptr %6, align 4 %52 = getelementptr inbounds [256 x i32], ptr %8, i64 0, i64 0 %53 = load i32, ptr @MSG_WAITALL, align 4 %54 = call i32 @recv(i32 noundef %51, ptr noundef %52, i32 noundef 1024, i32 noundef %53) store i32 0, ptr %13, align 4 %55 = load i32, ptr %13, align 4 %56 = icmp slt i32 %55, 256 br i1 %56, label %.lr.ph, label %74 .lr.ph: ; preds = %50 br label %57 57: ; preds = %.lr.ph, %69 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [256 x i32], ptr %8, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = sitofp i32 %61 to float %63 = fpext float %62 to double %64 = fdiv double %63, 0x41DFFFFFFFC00000 %65 = fptrunc double %64 to float %66 = load i32, ptr %13, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %67 store float %65, ptr %68, align 4 br label %69 69: ; preds = %57 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 %72 = load i32, ptr %13, align 4 %73 = icmp slt i32 %72, 256 br i1 %73, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %74 74: ; preds = %._crit_edge, %50 %75 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 0 %76 = load i32, ptr @stdout, align 4 %77 = call i32 @fwrite(ptr noundef %75, i32 noundef 1, i32 noundef 1024, i32 noundef %76) %78 = load i32, ptr @stdout, align 4 %79 = call i32 @fflush(i32 noundef %78) br label %50 80: ; preds = %32, %18 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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"}
; ModuleID = '/tmp/tmpal3ixmg1.c' source_filename = "/tmp/tmpal3ixmg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_stat_st_gid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpal3ixmg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_stat_st_gid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvsbuue0w.c' source_filename = "/tmp/tmpvsbuue0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rolltonum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %1, %90 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %7, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %8 br label %93 17: ; preds = %8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 59 br i1 %24, label %25, label %33 25: ; preds = %17 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load ptr, ptr %4, align 8 store ptr %32, ptr %2, align 8 br label %98 33: ; preds = %28, %25, %17 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = call i64 @isdigit(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %71 41: ; preds = %33 %42 = load i32, ptr %6, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %70, label %44 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %56 47: ; preds = %44 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %7, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i64 @isspace(i8 noundef signext %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %70 56: ; preds = %47, %44 %57 = load ptr, ptr %4, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %59, label %64 59: ; preds = %56 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %7, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store ptr %63, ptr %5, align 8 br label %69 64: ; preds = %56 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store ptr %68, ptr %4, align 8 br label %69 69: ; preds = %64, %59 store i32 1, ptr %6, align 4 br label %70 70: ; preds = %69, %47, %41 br label %90 71: ; preds = %33 %72 = load i32, ptr %6, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %88 74: ; preds = %71 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i64 @isspace(i8 noundef signext %79) %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %88 82: ; preds = %74 %83 = load ptr, ptr %5, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %87 85: ; preds = %82 %86 = load ptr, ptr %5, align 8 store ptr %86, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %87 87: ; preds = %85, %82 store i32 0, ptr %6, align 4 br label %89 88: ; preds = %74, %71 store i32 0, ptr %6, align 4 store ptr null, ptr %5, align 8 store ptr null, ptr %4, align 8 br label %89 89: ; preds = %88, %87 br label %90 90: ; preds = %89, %70 %91 = load i32, ptr %7, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %7, align 4 br label %8 93: ; preds = %16 %94 = load ptr, ptr %3, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store ptr %97, ptr %2, align 8 br label %98 98: ; preds = %93, %31 %99 = load ptr, ptr %2, align 8 ret ptr %99 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvsbuue0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rolltonum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %7, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %.lr.ph .lr.ph: ; preds = %1 br label %16 ._crit_edge: ; preds = %89 br label %15 15: ; preds = %._crit_edge, %1 br label %99 16: ; preds = %.lr.ph, %89 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 59 br i1 %23, label %24, label %32 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 store ptr %31, ptr %2, align 8 br label %104 32: ; preds = %27, %24, %16 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = call i64 @isdigit(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %70 40: ; preds = %32 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %69, label %43 43: ; preds = %40 %44 = load i32, ptr %7, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %55 46: ; preds = %43 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %7, align 4 %49 = sub nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call i64 @isspace(i8 noundef signext %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %69 55: ; preds = %46, %43 %56 = load ptr, ptr %4, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %63 58: ; preds = %55 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store ptr %62, ptr %5, align 8 br label %68 63: ; preds = %55 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store ptr %67, ptr %4, align 8 br label %68 68: ; preds = %63, %58 store i32 1, ptr %6, align 4 br label %69 69: ; preds = %68, %46, %40 br label %89 70: ; preds = %32 %71 = load i32, ptr %6, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %87 73: ; preds = %70 %74 = load ptr, ptr %3, align 8 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = call i64 @isspace(i8 noundef signext %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %87 81: ; preds = %73 %82 = load ptr, ptr %5, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %84, label %86 84: ; preds = %81 %85 = load ptr, ptr %5, align 8 store ptr %85, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %86 86: ; preds = %84, %81 store i32 0, ptr %6, align 4 br label %88 87: ; preds = %73, %70 store i32 0, ptr %6, align 4 store ptr null, ptr %5, align 8 store ptr null, ptr %4, align 8 br label %88 88: ; preds = %87, %86 br label %89 89: ; preds = %88, %69 %90 = load i32, ptr %7, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %7, align 4 %92 = load ptr, ptr %3, align 8 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %97, 0 br i1 %98, label %._crit_edge, label %16 99: ; preds = %15 %100 = load ptr, ptr %3, align 8 %101 = load i32, ptr %7, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 store ptr %103, ptr %2, align 8 br label %104 104: ; preds = %99, %30 %105 = load ptr, ptr %2, align 8 ret ptr %105 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr893l3w1.c' source_filename = "/tmp/tmpr893l3w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"AES128_CBC_DecryptUpdate failed: %d, in_size: %d, out_size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @AES128_CBC_DecryptUpdate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %8, align 4 %18 = call i32 @EVP_DecryptUpdate(ptr noundef %14, ptr noundef %15, ptr noundef %9, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 1, %19 br i1 %20, label %25, label %21 21: ; preds = %13 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21, %13 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %9, align 4 %29 = call i32 @msg_print_va(i32 noundef 1, ptr noundef @.str, i32 noundef %26, i32 noundef %27, i32 noundef %28) br label %30 30: ; preds = %25, %21 br label %31 31: ; preds = %30, %4 %32 = load i32, ptr %10, align 4 ret i32 %32 } declare i32 @EVP_DecryptUpdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @msg_print_va(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr893l3w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"AES128_CBC_DecryptUpdate failed: %d, in_size: %d, out_size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @AES128_CBC_DecryptUpdate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %8, align 4 %18 = call i32 @EVP_DecryptUpdate(ptr noundef %14, ptr noundef %15, ptr noundef %9, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 1, %19 br i1 %20, label %25, label %21 21: ; preds = %13 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21, %13 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %9, align 4 %29 = call i32 @msg_print_va(i32 noundef 1, ptr noundef @.str, i32 noundef %26, i32 noundef %27, i32 noundef %28) br label %30 30: ; preds = %25, %21 br label %31 31: ; preds = %30, %4 %32 = load i32, ptr %10, align 4 ret i32 %32 } declare i32 @EVP_DecryptUpdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @msg_print_va(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp50c1gj0f.c' source_filename = "/tmp/tmp50c1gj0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.integrity_message = internal global [12 x i8] c"COVFEFE\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [27 x i8] c"***** BEFORE ATTACK *****\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"VAR integrity_number : %p %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"VAR integrity_message : %p %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"VAR buffer : %p %s\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"\0Abuffer : \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"***** AFTER ATTACK *****\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [128 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 42, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %6, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @main.integrity_message, ptr noundef @main.integrity_message) %11 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %11) %13 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 128, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %17 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %21 = load i32, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @main.integrity_message, ptr noundef @main.integrity_message) %24 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(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/tmp50c1gj0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.integrity_message = internal global [12 x i8] c"COVFEFE\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [27 x i8] c"***** BEFORE ATTACK *****\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"VAR integrity_number : %p %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"VAR integrity_message : %p %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"VAR buffer : %p %s\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"\0Abuffer : \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"***** AFTER ATTACK *****\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [128 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 42, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %6, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @main.integrity_message, ptr noundef @main.integrity_message) %11 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %11) %13 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 128, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %17 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %21 = load i32, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @main.integrity_message, ptr noundef @main.integrity_message) %24 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(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/tmpod6e2ani.c' source_filename = "/tmp/tmpod6e2ani.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeVolD(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod6e2ani.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeVolD(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ysffsrk.c' source_filename = "/tmp/tmp0ysffsrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_empty_array() #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 @find(ptr noundef null, i32 noundef 0, ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 0, %4 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 0, %7 br label %9 9: ; preds = %6, %0 %10 = phi i1 [ false, %0 ], [ %8, %6 ] %11 = zext i1 %10 to i32 ret i32 %11 } declare i32 @find(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ysffsrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_empty_array() #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 @find(ptr noundef null, i32 noundef 0, ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 0, %4 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 0, %7 br label %9 9: ; preds = %6, %0 %10 = phi i1 [ false, %0 ], [ %8, %6 ] %11 = zext i1 %10 to i32 ret i32 %11 } declare i32 @find(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz6w9bf7s.c' source_filename = "/tmp/tmpz6w9bf7s.c" target datalayout = "e-m:e-p270: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/tmpz6w9bf7s.c" target datalayout = "e-m:e-p270: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/tmpl696tk0j.c' source_filename = "/tmp/tmpl696tk0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"muestra400.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Execution time = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %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 [400000 x i64], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %13, align 8 %15 = load ptr, ptr %13, align 8 %16 = call i32 @fscanf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %6) br label %17 17: ; preds = %22, %0 %18 = load ptr, ptr %13, align 8 %19 = call i32 @feof(ptr noundef %18) %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br i1 %21, label %22, label %32 22: ; preds = %17 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [400000 x i64], ptr %9, i64 0, i64 %26 store i64 %24, ptr %27, align 8 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load ptr, ptr %13, align 8 %31 = call i32 @fscanf(ptr noundef %30, ptr noundef @.str.2, ptr noundef %6) br label %17, !llvm.loop !6 32: ; preds = %17 %33 = load ptr, ptr %13, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = call i32 @time(ptr noundef %10) %36 = getelementptr inbounds [400000 x i64], ptr %9, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = call i32 @bubble_sort(ptr noundef %36, i32 noundef %37) %39 = call i32 @time(ptr noundef %11) %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %10, align 4 %42 = call double @difftime(i32 noundef %40, i32 noundef %41) store double %42, ptr %12, align 8 %43 = load double, ptr %12, align 8 %44 = call i32 @printf(ptr noundef @.str.3, double noundef %43) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @bubble_sort(ptr noundef, i32 noundef) #1 declare double @difftime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl696tk0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"muestra400.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Execution time = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %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 [400000 x i64], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %13, align 8 %15 = load ptr, ptr %13, align 8 %16 = call i32 @fscanf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %6) %17 = load ptr, ptr %13, align 8 %18 = call i32 @feof(ptr noundef %17) %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [400000 x i64], ptr %9, i64 0, i64 %25 store i64 %23, ptr %26, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %13, align 8 %30 = call i32 @fscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %6) %31 = load ptr, ptr %13, align 8 %32 = call i32 @feof(ptr noundef %31) %33 = icmp ne i32 %32, 0 %34 = xor i1 %33, true br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %35 35: ; preds = %._crit_edge, %0 %36 = load ptr, ptr %13, align 8 %37 = call i32 @fclose(ptr noundef %36) %38 = call i32 @time(ptr noundef %10) %39 = getelementptr inbounds [400000 x i64], ptr %9, i64 0, i64 0 %40 = load i32, ptr %7, align 4 %41 = call i32 @bubble_sort(ptr noundef %39, i32 noundef %40) %42 = call i32 @time(ptr noundef %11) %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %10, align 4 %45 = call double @difftime(i32 noundef %43, i32 noundef %44) store double %45, ptr %12, align 8 %46 = load double, ptr %12, align 8 %47 = call i32 @printf(ptr noundef @.str.3, double noundef %46) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @bubble_sort(ptr noundef, i32 noundef) #1 declare double @difftime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbmwy3sul.c' source_filename = "/tmp/tmpbmwy3sul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @timespec_diff(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.timespec, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = sub nsw i64 %8, %11 %13 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = sub nsw i64 %16, %19 %21 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %20, ptr %21, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %2 %26 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %27, -1 store i64 %28, ptr %26, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, 1000000000 store i64 %31, ptr %29, align 8 br label %32 32: ; preds = %25, %2 %33 = load { i64, i64 }, ptr %3, align 8 ret { i64, i64 } %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbmwy3sul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @timespec_diff(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.timespec, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = sub nsw i64 %8, %11 %13 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %12, ptr %13, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = sub nsw i64 %16, %19 %21 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %20, ptr %21, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %2 %26 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %27, -1 store i64 %28, ptr %26, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, 1000000000 store i64 %31, ptr %29, align 8 br label %32 32: ; preds = %25, %2 %33 = load { i64, i64 }, ptr %3, align 8 ret { i64, i64 } %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp73bpdk5.c' source_filename = "/tmp/tmpp73bpdk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @substract(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %74, %5 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %77 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %8, align 8 %23 = load i32, ptr %11, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp sge i32 %21, %26 br i1 %27, label %28, label %44 28: ; preds = %16 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %11, 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 %33, %38 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 br label %73 44: ; preds = %16 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 10 store i32 %50, ptr %48, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %51, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %55, align 4 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sub nsw i32 %62, %67 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %11, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %44, %28 br label %74 74: ; preds = %73 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %11, align 4 br label %12, !llvm.loop !6 77: ; preds = %12 br label %78 78: ; preds = %123, %77 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %126 82: ; preds = %78 %83 = load ptr, ptr %6, align 8 %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 = icmp sge i32 %87, 0 br i1 %88, label %89, label %99 89: ; preds = %82 %90 = load ptr, ptr %6, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %11, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 store i32 %94, ptr %98, align 4 br label %122 99: ; preds = %82 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %11, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = add nsw i32 %104, 10 store i32 %105, ptr %103, align 4 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %11, align 4 %108 = add nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %106, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, -1 store i32 %112, ptr %110, align 4 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %11, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %113, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load ptr, ptr %10, align 8 %119 = load i32, ptr %11, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 store i32 %117, ptr %121, align 4 br label %122 122: ; preds = %99, %89 br label %123 123: ; preds = %122 %124 = load i32, ptr %11, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %11, align 4 br label %78, !llvm.loop !8 126: ; preds = %78 %127 = load i32, ptr %7, align 4 %128 = sub nsw i32 %127, 1 store i32 %128, ptr %11, align 4 br label %129 129: ; preds = %144, %126 %130 = load ptr, ptr %10, align 8 %131 = load i32, ptr %11, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = load i32, ptr %133, align 4 %135 = icmp eq i32 %134, 0 br i1 %135, label %136, label %139 136: ; preds = %129 %137 = load i32, ptr %11, align 4 %138 = icmp sgt i32 %137, 0 br label %139 139: ; preds = %136, %129 %140 = phi i1 [ false, %129 ], [ %138, %136 ] br i1 %140, label %141, label %147 141: ; preds = %139 %142 = load i32, ptr %7, align 4 %143 = add nsw i32 %142, -1 store i32 %143, ptr %7, align 4 br label %144 144: ; preds = %141 %145 = load i32, ptr %11, align 4 %146 = add nsw i32 %145, -1 store i32 %146, ptr %11, align 4 br label %129, !llvm.loop !9 147: ; preds = %139 %148 = load i32, ptr %7, align 4 %149 = sub nsw i32 %148, 1 store i32 %149, ptr %11, align 4 br label %150 150: ; preds = %160, %147 %151 = load i32, ptr %11, align 4 %152 = icmp sge i32 %151, 0 br i1 %152, label %153, label %163 153: ; preds = %150 %154 = load ptr, ptr %10, align 8 %155 = load i32, ptr %11, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 %158 = load i32, ptr %157, align 4 %159 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %158) br label %160 160: ; preds = %153 %161 = load i32, ptr %11, align 4 %162 = add nsw i32 %161, -1 store i32 %162, ptr %11, align 4 br label %150, !llvm.loop !10 163: ; preds = %150 %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpp73bpdk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @substract(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %79 .lr.ph: ; preds = %5 br label %15 15: ; preds = %.lr.ph, %73 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp sge i32 %20, %25 br i1 %26, label %27, label %43 27: ; preds = %15 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = sub nsw i32 %32, %37 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 %38, ptr %42, align 4 br label %72 43: ; preds = %15 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 10 store i32 %49, ptr %47, align 4 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %54, align 4 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = sub nsw i32 %61, %66 %68 = load ptr, ptr %10, align 8 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %72 72: ; preds = %43, %27 br label %73 73: ; preds = %72 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %11, align 4 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %5 %80 = load i32, ptr %11, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph2, label %130 .lr.ph2: ; preds = %79 br label %83 83: ; preds = %.lr.ph2, %124 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %11, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 %88 = load i32, ptr %87, align 4 %89 = icmp sge i32 %88, 0 br i1 %89, label %90, label %100 90: ; preds = %83 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %10, align 8 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 store i32 %95, ptr %99, align 4 br label %123 100: ; preds = %83 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %105, 10 store i32 %106, ptr %104, align 4 %107 = load ptr, ptr %6, align 8 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %108, 1 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %107, i64 %110 %112 = load i32, ptr %111, align 4 %113 = add nsw i32 %112, -1 store i32 %113, ptr %111, align 4 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %11, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %114, i64 %116 %118 = load i32, ptr %117, align 4 %119 = load ptr, ptr %10, align 8 %120 = load i32, ptr %11, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 store i32 %118, ptr %122, align 4 br label %123 123: ; preds = %100, %90 br label %124 124: ; preds = %123 %125 = load i32, ptr %11, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %11, align 4 %127 = load i32, ptr %11, align 4 %128 = load i32, ptr %7, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %83, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %124 br label %130 130: ; preds = %._crit_edge3, %79 %131 = load i32, ptr %7, align 4 %132 = sub nsw i32 %131, 1 store i32 %132, ptr %11, align 4 br label %133 133: ; preds = %148, %130 %134 = load ptr, ptr %10, align 8 %135 = load i32, ptr %11, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i32, ptr %134, i64 %136 %138 = load i32, ptr %137, align 4 %139 = icmp eq i32 %138, 0 br i1 %139, label %140, label %143 140: ; preds = %133 %141 = load i32, ptr %11, align 4 %142 = icmp sgt i32 %141, 0 br label %143 143: ; preds = %140, %133 %144 = phi i1 [ false, %133 ], [ %142, %140 ] br i1 %144, label %145, label %151 145: ; preds = %143 %146 = load i32, ptr %7, align 4 %147 = add nsw i32 %146, -1 store i32 %147, ptr %7, align 4 br label %148 148: ; preds = %145 %149 = load i32, ptr %11, align 4 %150 = add nsw i32 %149, -1 store i32 %150, ptr %11, align 4 br label %133, !llvm.loop !9 151: ; preds = %143 %152 = load i32, ptr %7, align 4 %153 = sub nsw i32 %152, 1 store i32 %153, ptr %11, align 4 %154 = load i32, ptr %11, align 4 %155 = icmp sge i32 %154, 0 br i1 %155, label %.lr.ph5, label %168 .lr.ph5: ; preds = %151 br label %156 156: ; preds = %.lr.ph5, %163 %157 = load ptr, ptr %10, align 8 %158 = load i32, ptr %11, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %157, i64 %159 %161 = load i32, ptr %160, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %161) br label %163 163: ; preds = %156 %164 = load i32, ptr %11, align 4 %165 = add nsw i32 %164, -1 store i32 %165, ptr %11, align 4 %166 = load i32, ptr %11, align 4 %167 = icmp sge i32 %166, 0 br i1 %167, label %156, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %163 br label %168 168: ; preds = %._crit_edge6, %151 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpnjqtxd26.c' source_filename = "/tmp/tmpnjqtxd26.c" target datalayout = "e-m:e-p270: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/tmpnjqtxd26.c" target datalayout = "e-m:e-p270: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/tmpebsplmp6.c' source_filename = "/tmp/tmpebsplmp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getclustercentroids(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i8 noundef signext %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i8, align 1 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 store i32 %0, ptr %12, align 4 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i8 %9, ptr %21, align 1 %24 = load i8, ptr %21, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %68 [ i32 109, label %26 i32 97, label %57 ] 26: ; preds = %10 %27 = load i32, ptr %20, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i32, ptr %13, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %14, align 4 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] store i32 %34, ptr %22, align 4 %35 = load i32, ptr %22, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %23, align 8 %40 = load ptr, ptr %23, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %43, label %42 42: ; preds = %33 store i32 0, ptr %11, align 4 br label %69 43: ; preds = %33 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %14, align 4 %47 = load ptr, ptr %15, align 8 %48 = load ptr, ptr %16, align 8 %49 = load ptr, ptr %17, align 8 %50 = load ptr, ptr %18, align 8 %51 = load ptr, ptr %19, align 8 %52 = load i32, ptr %20, align 4 %53 = load ptr, ptr %23, align 8 %54 = call i32 @getclustermedians(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, ptr noundef %53) %55 = load ptr, ptr %23, align 8 %56 = call i32 @free(ptr noundef %55) store i32 1, ptr %11, align 4 br label %69 57: ; preds = %10 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = load ptr, ptr %15, align 8 %62 = load ptr, ptr %16, align 8 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %18, align 8 %65 = load ptr, ptr %19, align 8 %66 = load i32, ptr %20, align 4 %67 = call i32 @getclustermeans(i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i32 noundef %66) store i32 1, ptr %11, align 4 br label %69 68: ; preds = %10 store i32 0, ptr %11, align 4 br label %69 69: ; preds = %68, %57, %43, %42 %70 = load i32, ptr %11, align 4 ret i32 %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @getclustermedians(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @getclustermeans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpebsplmp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getclustercentroids(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i8 noundef signext %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i8, align 1 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 store i32 %0, ptr %12, align 4 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i8 %9, ptr %21, align 1 %24 = load i8, ptr %21, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %68 [ i32 109, label %26 i32 97, label %57 ] 26: ; preds = %10 %27 = load i32, ptr %20, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i32, ptr %13, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %14, align 4 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] store i32 %34, ptr %22, align 4 %35 = load i32, ptr %22, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %23, align 8 %40 = load ptr, ptr %23, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %43, label %42 42: ; preds = %33 store i32 0, ptr %11, align 4 br label %69 43: ; preds = %33 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %14, align 4 %47 = load ptr, ptr %15, align 8 %48 = load ptr, ptr %16, align 8 %49 = load ptr, ptr %17, align 8 %50 = load ptr, ptr %18, align 8 %51 = load ptr, ptr %19, align 8 %52 = load i32, ptr %20, align 4 %53 = load ptr, ptr %23, align 8 %54 = call i32 @getclustermedians(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, ptr noundef %53) %55 = load ptr, ptr %23, align 8 %56 = call i32 @free(ptr noundef %55) store i32 1, ptr %11, align 4 br label %69 57: ; preds = %10 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = load ptr, ptr %15, align 8 %62 = load ptr, ptr %16, align 8 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %18, align 8 %65 = load ptr, ptr %19, align 8 %66 = load i32, ptr %20, align 4 %67 = call i32 @getclustermeans(i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i32 noundef %66) store i32 1, ptr %11, align 4 br label %69 68: ; preds = %10 store i32 0, ptr %11, align 4 br label %69 69: ; preds = %68, %57, %43, %42 %70 = load i32, ptr %11, align 4 ret i32 %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @getclustermedians(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @getclustermeans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp74o0wtut.c' source_filename = "/tmp/tmp74o0wtut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @crc16(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %5, align 8 store i32 65535, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %35, %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = load i64, ptr %4, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %38 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = call i32 @memcpy(ptr noundef %8, ptr noundef %21, i32 noundef 2) %23 = load i32, ptr %8, align 4 %24 = call i64 @ntohs(i32 noundef %23) %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = add nsw i64 %26, %24 %28 = trunc i64 %27 to i32 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sgt i32 %29, 65535 br i1 %30, label %31, label %34 31: ; preds = %17 %32 = load i32, ptr %6, align 4 %33 = sub nsw i32 %32, 65535 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %31, %17 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 2 store i32 %37, ptr %7, align 4 br label %11, !llvm.loop !6 38: ; preds = %11 %39 = load i64, ptr %4, align 8 %40 = and i64 %39, 1 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %60 42: ; preds = %38 store i32 0, ptr %9, align 4 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %4, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = getelementptr inbounds i8, ptr %45, i64 -1 %47 = call i32 @memcpy(ptr noundef %9, ptr noundef %46, i32 noundef 1) %48 = load i32, ptr %9, align 4 %49 = call i64 @ntohs(i32 noundef %48) %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = add nsw i64 %51, %49 %53 = trunc i64 %52 to i32 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp sgt i32 %54, 65535 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = load i32, ptr %6, align 4 %58 = sub nsw i32 %57, 65535 store i32 %58, ptr %6, align 4 br label %59 59: ; preds = %56, %42 br label %60 60: ; preds = %59, %38 %61 = load i32, ptr %6, align 4 %62 = xor i32 %61, -1 %63 = call zeroext i16 @htons(i32 noundef %62) ret i16 %63 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @ntohs(i32 noundef) #1 declare zeroext i16 @htons(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/tmp74o0wtut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @crc16(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %5, align 8 store i32 65535, ptr %6, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = load i64, ptr %4, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph, label %42 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %34 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = call i32 @memcpy(ptr noundef %8, ptr noundef %20, i32 noundef 2) %22 = load i32, ptr %8, align 4 %23 = call i64 @ntohs(i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, %23 %27 = trunc i64 %26 to i32 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sgt i32 %28, 65535 br i1 %29, label %30, label %33 30: ; preds = %16 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %31, 65535 store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %30, %16 br label %34 34: ; preds = %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 2 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = load i64, ptr %4, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %42 42: ; preds = %._crit_edge, %2 %43 = load i64, ptr %4, align 8 %44 = and i64 %43, 1 %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %64 46: ; preds = %42 store i32 0, ptr %9, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i64, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 %50 = getelementptr inbounds i8, ptr %49, i64 -1 %51 = call i32 @memcpy(ptr noundef %9, ptr noundef %50, i32 noundef 1) %52 = load i32, ptr %9, align 4 %53 = call i64 @ntohs(i32 noundef %52) %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = add nsw i64 %55, %53 %57 = trunc i64 %56 to i32 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp sgt i32 %58, 65535 br i1 %59, label %60, label %63 60: ; preds = %46 %61 = load i32, ptr %6, align 4 %62 = sub nsw i32 %61, 65535 store i32 %62, ptr %6, align 4 br label %63 63: ; preds = %60, %46 br label %64 64: ; preds = %63, %42 %65 = load i32, ptr %6, align 4 %66 = xor i32 %65, -1 %67 = call zeroext i16 @htons(i32 noundef %66) ret i16 %67 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @ntohs(i32 noundef) #1 declare zeroext i16 @htons(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/tmp41k1e5_z.c' source_filename = "/tmp/tmp41k1e5_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41k1e5_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0krafvit.c' source_filename = "/tmp/tmp0krafvit.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32 } @POLLIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qmpoll(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1 x %struct.pollfd], align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %8 = getelementptr inbounds %struct.pollfd, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = load i32, ptr @POLLIN, align 4 %10 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds %struct.pollfd, ptr %10, i32 0, i32 1 store i32 %9, ptr %11, align 4 %12 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %13 = load i32, ptr %4, align 4 %14 = call i32 @poll(ptr noundef %12, i32 noundef 1, i32 noundef %13) ret i32 %14 } declare i32 @poll(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/tmp0krafvit.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32 } @POLLIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qmpoll(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1 x %struct.pollfd], align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %8 = getelementptr inbounds %struct.pollfd, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = load i32, ptr @POLLIN, align 4 %10 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds %struct.pollfd, ptr %10, i32 0, i32 1 store i32 %9, ptr %11, align 4 %12 = getelementptr inbounds [1 x %struct.pollfd], ptr %5, i64 0, i64 0 %13 = load i32, ptr %4, align 4 %14 = call i32 @poll(ptr noundef %12, i32 noundef 1, i32 noundef %13) ret i32 %14 } declare i32 @poll(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/tmpmm3ijpd5.c' source_filename = "/tmp/tmpmm3ijpd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterBitNegation(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 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %14, %3 store i32 -1, ptr %4, align 4 br label %73 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18 store i32 0, ptr %4, align 4 br label %73 22: ; preds = %18 %23 = call i64 (...) @SDL_imageFilterMMXdetect() %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %49 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = icmp ugt i32 %26, 7 br i1 %27, label %28, label %49 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = call i32 @SDL_imageFilterBitNegationMMX(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = load i32, ptr %7, align 4 %34 = and i32 %33, 7 %35 = icmp ugt i32 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %28 %37 = load i32, ptr %7, align 4 %38 = and i32 %37, -8 store i32 %38, ptr %9, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %9, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store ptr %42, ptr %10, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %9, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store ptr %46, ptr %11, align 8 br label %48 47: ; preds = %28 store i32 0, ptr %4, align 4 br label %73 48: ; preds = %36 br label %52 49: ; preds = %25, %22 store i32 0, ptr %9, align 4 %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %11, align 8 br label %52 52: ; preds = %49, %48 %53 = load i32, ptr %9, align 4 store i32 %53, ptr %8, align 4 br label %54 54: ; preds = %69, %52 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp ult i32 %55, %56 br i1 %57, label %58, label %72 58: ; preds = %54 %59 = load ptr, ptr %10, align 8 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = xor i32 %61, -1 %63 = trunc i32 %62 to i8 %64 = load ptr, ptr %11, align 8 store i8 %63, ptr %64, align 1 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %10, align 8 %67 = load ptr, ptr %11, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %11, align 8 br label %69 69: ; preds = %58 %70 = load i32, ptr %8, align 4 %71 = add i32 %70, 1 store i32 %71, ptr %8, align 4 br label %54, !llvm.loop !6 72: ; preds = %54 store i32 0, ptr %4, align 4 br label %73 73: ; preds = %72, %47, %21, %17 %74 = load i32, ptr %4, align 4 ret i32 %74 } declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterBitNegationMMX(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmm3ijpd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterBitNegation(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 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %14, %3 store i32 -1, ptr %4, align 4 br label %75 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18 store i32 0, ptr %4, align 4 br label %75 22: ; preds = %18 %23 = call i64 (...) @SDL_imageFilterMMXdetect() %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %49 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = icmp ugt i32 %26, 7 br i1 %27, label %28, label %49 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = call i32 @SDL_imageFilterBitNegationMMX(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = load i32, ptr %7, align 4 %34 = and i32 %33, 7 %35 = icmp ugt i32 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %28 %37 = load i32, ptr %7, align 4 %38 = and i32 %37, -8 store i32 %38, ptr %9, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %9, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store ptr %42, ptr %10, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %9, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store ptr %46, ptr %11, align 8 br label %48 47: ; preds = %28 store i32 0, ptr %4, align 4 br label %75 48: ; preds = %36 br label %52 49: ; preds = %25, %22 store i32 0, ptr %9, align 4 %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %11, align 8 br label %52 52: ; preds = %49, %48 %53 = load i32, ptr %9, align 4 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp ult i32 %54, %55 br i1 %56, label %.lr.ph, label %74 .lr.ph: ; preds = %52 br label %57 57: ; preds = %.lr.ph, %68 %58 = load ptr, ptr %10, align 8 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = xor i32 %60, -1 %62 = trunc i32 %61 to i8 %63 = load ptr, ptr %11, align 8 store i8 %62, ptr %63, align 1 %64 = load ptr, ptr %10, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %10, align 8 %66 = load ptr, ptr %11, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %11, align 8 br label %68 68: ; preds = %57 %69 = load i32, ptr %8, align 4 %70 = add i32 %69, 1 store i32 %70, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp ult i32 %71, %72 br i1 %73, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %52 store i32 0, ptr %4, align 4 br label %75 75: ; preds = %74, %47, %21, %17 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterBitNegationMMX(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn603x5qo.c' source_filename = "/tmp/tmpn603x5qo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @identifier_constructor(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 2 %7 = call ptr @xmalloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strcat(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare ptr @xmalloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpn603x5qo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @identifier_constructor(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 2 %7 = call ptr @xmalloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strcat(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare ptr @xmalloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpitya2our.c' source_filename = "/tmp/tmpitya2our.c" target datalayout = "e-m:e-p270: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/tmpitya2our.c" target datalayout = "e-m:e-p270: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/tmpscs_pu9m.c' source_filename = "/tmp/tmpscs_pu9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_line() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmpscs_pu9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_line() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmph_txf059.c' source_filename = "/tmp/tmph_txf059.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strexp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 %22 = load ptr, ptr %8, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %17, align 4 br label %24 24: ; preds = %71, %4 %25 = load i32, ptr %17, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %74 28: ; preds = %24 store i32 0, ptr %13, align 4 store i32 0, ptr %18, align 4 br label %29 29: ; preds = %55, %28 %30 = load i32, ptr %18, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %29 %34 = load i32, ptr %13, align 4 %35 = icmp ne i32 %34, 0 %36 = xor i1 %35, true br label %37 37: ; preds = %33, %29 %38 = phi i1 [ false, %29 ], [ %36, %33 ] br i1 %38, label %39, label %56 39: ; preds = %37 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %17, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = load ptr, ptr %8, align 8 %47 = load i32, ptr %18, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %18, align 4 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %45, %52 br i1 %53, label %54, label %55 54: ; preds = %39 store i32 1, ptr %13, align 4 br label %55 55: ; preds = %54, %39 br label %29, !llvm.loop !6 56: ; preds = %37 %57 = load i32, ptr %13, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %65, label %59 59: ; preds = %56 %60 = load i32, ptr %11, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %59 %63 = load i32, ptr %14, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %14, align 4 store i32 0, ptr %11, align 4 br label %70 65: ; preds = %59, %56 %66 = load i32, ptr %13, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %65 store i32 1, ptr %11, align 4 br label %69 69: ; preds = %68, %65 br label %70 70: ; preds = %69, %62 br label %71 71: ; preds = %70 %72 = load i32, ptr %17, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %17, align 4 br label %24, !llvm.loop !8 74: ; preds = %24 %75 = load i32, ptr %14, align 4 %76 = add nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = mul i64 8, %77 %79 = trunc i64 %78 to i32 %80 = call ptr @malloc(i32 noundef %79) %81 = load ptr, ptr %5, align 8 store ptr %80, ptr %81, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %17, align 4 br label %82 82: ; preds = %191, %74 %83 = load i32, ptr %17, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %194 86: ; preds = %82 store i32 0, ptr %18, align 4 br label %87 87: ; preds = %112, %86 %88 = load i32, ptr %18, align 4 %89 = load i32, ptr %10, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %91, label %94 91: ; preds = %87 %92 = load i32, ptr %13, align 4 %93 = icmp eq i32 %92, 0 br label %94 94: ; preds = %91, %87 %95 = phi i1 [ false, %87 ], [ %93, %91 ] br i1 %95, label %96, label %113 96: ; preds = %94 %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %17, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = load ptr, ptr %8, align 8 %104 = load i32, ptr %18, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %18, align 4 %106 = sext i32 %104 to i64 %107 = getelementptr inbounds i8, ptr %103, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %102, %109 br i1 %110, label %111, label %112 111: ; preds = %96 store i32 1, ptr %13, align 4 br label %112 112: ; preds = %111, %96 br label %87, !llvm.loop !9 113: ; preds = %94 %114 = load i32, ptr %13, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %121, label %116 116: ; preds = %113 %117 = load i32, ptr %11, align 4 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %121 119: ; preds = %116 %120 = load i32, ptr %17, align 4 store i32 %120, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %121 121: ; preds = %119, %116, %113 %122 = load i32, ptr %13, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %129, label %124 124: ; preds = %121 %125 = load i32, ptr %17, align 4 %126 = load i32, ptr %9, align 4 %127 = sub nsw i32 %126, 1 %128 = icmp eq i32 %125, %127 br i1 %128, label %129, label %190 129: ; preds = %124, %121 %130 = load i32, ptr %11, align 4 %131 = icmp ne i32 %130, 0 br i1 %131, label %189, label %132 132: ; preds = %129 %133 = load i32, ptr %17, align 4 %134 = load i32, ptr %12, align 4 %135 = sub nsw i32 %133, %134 store i32 %135, ptr %16, align 4 %136 = load i32, ptr %13, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %141, label %138 138: ; preds = %132 %139 = load i32, ptr %16, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %16, align 4 br label %141 141: ; preds = %138, %132 %142 = load i32, ptr %16, align 4 %143 = sext i32 %142 to i64 %144 = mul i64 1, %143 %145 = add i64 %144, 1 %146 = trunc i64 %145 to i32 %147 = call ptr @malloc(i32 noundef %146) %148 = load ptr, ptr %5, align 8 %149 = load ptr, ptr %148, align 8 %150 = load i32, ptr %15, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds ptr, ptr %149, i64 %151 store ptr %147, ptr %152, align 8 store i32 0, ptr %19, align 4 br label %153 153: ; preds = %174, %141 %154 = load i32, ptr %19, align 4 %155 = load i32, ptr %16, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %157, label %177 157: ; preds = %153 %158 = load ptr, ptr %7, align 8 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %19, align 4 %161 = add nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %158, i64 %162 %164 = load i8, ptr %163, align 1 %165 = load ptr, ptr %5, align 8 %166 = load ptr, ptr %165, align 8 %167 = load i32, ptr %15, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %19, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %170, i64 %172 store i8 %164, ptr %173, align 1 br label %174 174: ; preds = %157 %175 = load i32, ptr %19, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %19, align 4 br label %153, !llvm.loop !10 177: ; preds = %153 %178 = load ptr, ptr %5, align 8 %179 = load ptr, ptr %178, align 8 %180 = load i32, ptr %15, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds ptr, ptr %179, i64 %181 %183 = load ptr, ptr %182, align 8 %184 = load i32, ptr %16, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %183, i64 %185 store i8 0, ptr %186, align 1 %187 = load i32, ptr %15, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %15, align 4 br label %189 189: ; preds = %177, %129 store i32 1, ptr %11, align 4 store i32 0, ptr %13, align 4 br label %190 190: ; preds = %189, %124 br label %191 191: ; preds = %190 %192 = load i32, ptr %17, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %17, align 4 br label %82, !llvm.loop !11 194: ; preds = %82 %195 = load i32, ptr %14, align 4 %196 = load ptr, ptr %6, align 8 store i32 %195, ptr %196, align 4 %197 = load ptr, ptr %6, align 8 %198 = load i32, ptr %197, align 4 ret i32 %198 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmph_txf059.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strexp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 %22 = load ptr, ptr %8, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %10, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %17, align 4 %24 = load i32, ptr %17, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %76 .lr.ph: ; preds = %4 br label %27 27: ; preds = %.lr.ph, %70 store i32 0, ptr %13, align 4 store i32 0, ptr %18, align 4 br label %28 28: ; preds = %54, %27 %29 = load i32, ptr %18, align 4 %30 = load i32, ptr %10, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i32, ptr %13, align 4 %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br label %36 36: ; preds = %32, %28 %37 = phi i1 [ false, %28 ], [ %35, %32 ] br i1 %37, label %38, label %55 38: ; preds = %36 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %17, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr %18, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %18, align 4 %48 = sext i32 %46 to i64 %49 = getelementptr inbounds i8, ptr %45, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %44, %51 br i1 %52, label %53, label %54 53: ; preds = %38 store i32 1, ptr %13, align 4 br label %54 54: ; preds = %53, %38 br label %28, !llvm.loop !6 55: ; preds = %36 %56 = load i32, ptr %13, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %64, label %58 58: ; preds = %55 %59 = load i32, ptr %11, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %58 %62 = load i32, ptr %14, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %14, align 4 store i32 0, ptr %11, align 4 br label %69 64: ; preds = %58, %55 %65 = load i32, ptr %13, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %64 store i32 1, ptr %11, align 4 br label %68 68: ; preds = %67, %64 br label %69 69: ; preds = %68, %61 br label %70 70: ; preds = %69 %71 = load i32, ptr %17, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %17, align 4 %73 = load i32, ptr %17, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %27, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %70 br label %76 76: ; preds = %._crit_edge, %4 %77 = load i32, ptr %14, align 4 %78 = add nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = mul i64 8, %79 %81 = trunc i64 %80 to i32 %82 = call ptr @malloc(i32 noundef %81) %83 = load ptr, ptr %5, align 8 store ptr %82, ptr %83, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %17, align 4 %84 = load i32, ptr %17, align 4 %85 = load i32, ptr %9, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %.lr.ph5, label %200 .lr.ph5: ; preds = %76 br label %87 87: ; preds = %.lr.ph5, %194 store i32 0, ptr %18, align 4 br label %88 88: ; preds = %113, %87 %89 = load i32, ptr %18, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %88 %93 = load i32, ptr %13, align 4 %94 = icmp eq i32 %93, 0 br label %95 95: ; preds = %92, %88 %96 = phi i1 [ false, %88 ], [ %94, %92 ] br i1 %96, label %97, label %114 97: ; preds = %95 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %17, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = load ptr, ptr %8, align 8 %105 = load i32, ptr %18, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %18, align 4 %107 = sext i32 %105 to i64 %108 = getelementptr inbounds i8, ptr %104, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %103, %110 br i1 %111, label %112, label %113 112: ; preds = %97 store i32 1, ptr %13, align 4 br label %113 113: ; preds = %112, %97 br label %88, !llvm.loop !9 114: ; preds = %95 %115 = load i32, ptr %13, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %122, label %117 117: ; preds = %114 %118 = load i32, ptr %11, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %122 120: ; preds = %117 %121 = load i32, ptr %17, align 4 store i32 %121, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %122 122: ; preds = %120, %117, %114 %123 = load i32, ptr %13, align 4 %124 = icmp ne i32 %123, 0 br i1 %124, label %130, label %125 125: ; preds = %122 %126 = load i32, ptr %17, align 4 %127 = load i32, ptr %9, align 4 %128 = sub nsw i32 %127, 1 %129 = icmp eq i32 %126, %128 br i1 %129, label %130, label %193 130: ; preds = %125, %122 %131 = load i32, ptr %11, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %192, label %133 133: ; preds = %130 %134 = load i32, ptr %17, align 4 %135 = load i32, ptr %12, align 4 %136 = sub nsw i32 %134, %135 store i32 %136, ptr %16, align 4 %137 = load i32, ptr %13, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %133 %140 = load i32, ptr %16, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %16, align 4 br label %142 142: ; preds = %139, %133 %143 = load i32, ptr %16, align 4 %144 = sext i32 %143 to i64 %145 = mul i64 1, %144 %146 = add i64 %145, 1 %147 = trunc i64 %146 to i32 %148 = call ptr @malloc(i32 noundef %147) %149 = load ptr, ptr %5, align 8 %150 = load ptr, ptr %149, align 8 %151 = load i32, ptr %15, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %150, i64 %152 store ptr %148, ptr %153, align 8 store i32 0, ptr %19, align 4 %154 = load i32, ptr %19, align 4 %155 = load i32, ptr %16, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %.lr.ph2, label %180 .lr.ph2: ; preds = %142 br label %157 157: ; preds = %.lr.ph2, %174 %158 = load ptr, ptr %7, align 8 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %19, align 4 %161 = add nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %158, i64 %162 %164 = load i8, ptr %163, align 1 %165 = load ptr, ptr %5, align 8 %166 = load ptr, ptr %165, align 8 %167 = load i32, ptr %15, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %19, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %170, i64 %172 store i8 %164, ptr %173, align 1 br label %174 174: ; preds = %157 %175 = load i32, ptr %19, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %19, align 4 %177 = load i32, ptr %19, align 4 %178 = load i32, ptr %16, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %157, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %174 br label %180 180: ; preds = %._crit_edge3, %142 %181 = load ptr, ptr %5, align 8 %182 = load ptr, ptr %181, align 8 %183 = load i32, ptr %15, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds ptr, ptr %182, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = load i32, ptr %16, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds i8, ptr %186, i64 %188 store i8 0, ptr %189, align 1 %190 = load i32, ptr %15, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %15, align 4 br label %192 192: ; preds = %180, %130 store i32 1, ptr %11, align 4 store i32 0, ptr %13, align 4 br label %193 193: ; preds = %192, %125 br label %194 194: ; preds = %193 %195 = load i32, ptr %17, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %17, align 4 %197 = load i32, ptr %17, align 4 %198 = load i32, ptr %9, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %87, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %194 br label %200 200: ; preds = %._crit_edge6, %76 %201 = load i32, ptr %14, align 4 %202 = load ptr, ptr %6, align 8 store i32 %201, ptr %202, align 4 %203 = load ptr, ptr %6, align 8 %204 = load i32, ptr %203, align 4 ret i32 %204 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp8l6ce0ct.c' source_filename = "/tmp/tmp8l6ce0ct.c" target datalayout = "e-m:e-p270: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/tmp8l6ce0ct.c" target datalayout = "e-m:e-p270: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/tmp41t2kf8_.c' source_filename = "/tmp/tmp41t2kf8_.c" target datalayout = "e-m:e-p270: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/tmp41t2kf8_.c" target datalayout = "e-m:e-p270: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/tmph_jks9z2.c' source_filename = "/tmp/tmph_jks9z2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ENter String:\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\0AOutput:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x i8], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) br label %6 6: ; preds = %24, %0 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %27 13: ; preds = %6 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 97 br i1 %19, label %20, label %24 20: ; preds = %13 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %22 store i8 112, ptr %23, align 1 br label %24 24: ; preds = %20, %13 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %6, !llvm.loop !6 27: ; preds = %6 %28 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmph_jks9z2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ENter String:\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\0AOutput:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x i8], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %23 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 97 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %21 store i8 112, ptr %22, align 1 br label %23 23: ; preds = %19, %12 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %32 32: ; preds = %._crit_edge, %0 %33 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvs0xp2ik.c' source_filename = "/tmp/tmpvs0xp2ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter two strings (separated by Enter): \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Enter n: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"The result of strncmp is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %15, %0 %8 = call signext i8 (...) @getchar() %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %4, align 4 %11 = sext i32 %9 to i64 %12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11 store i8 %8, ptr %12, align 1 %13 = sext i8 %8 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %15, label %16 15: ; preds = %7 br label %7, !llvm.loop !6 16: ; preds = %7 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %19 store i8 0, ptr %20, align 1 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %29, %16 %22 = call signext i8 (...) @getchar() %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = sext i32 %23 to i64 %26 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %25 store i8 %22, ptr %26, align 1 %27 = sext i8 %22 to i32 %28 = icmp ne i32 %27, 10 br i1 %28, label %29, label %30 29: ; preds = %21 br label %21, !llvm.loop !8 30: ; preds = %21 %31 = load i32, ptr %4, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %36 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %38 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %39 = load i32, ptr %5, align 4 %40 = call i32 @strncmpm(ptr noundef %37, ptr noundef %38, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strncmpm(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvs0xp2ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter two strings (separated by Enter): \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Enter n: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"The result of strncmp is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %7, %0 %8 = call signext i8 (...) @getchar() %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %4, align 4 %11 = sext i32 %9 to i64 %12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11 store i8 %8, ptr %12, align 1 %13 = sext i8 %8 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %7, label %15, !llvm.loop !6 15: ; preds = %7 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %18 store i8 0, ptr %19, align 1 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %20, %15 %21 = call signext i8 (...) @getchar() %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %24 store i8 %21, ptr %25, align 1 %26 = sext i8 %21 to i32 %27 = icmp ne i32 %26, 10 br i1 %27, label %20, label %28, !llvm.loop !8 28: ; preds = %20 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %31 store i8 0, ptr %32, align 1 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %34 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %35 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %36 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %37 = load i32, ptr %5, align 4 %38 = call i32 @strncmpm(ptr noundef %35, ptr noundef %36, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strncmpm(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}
; ModuleID = '/tmp/tmpivute3xt.c' source_filename = "/tmp/tmpivute3xt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fm_is_dir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp ne i32 %6, 0 br i1 %7, label %15, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = call i64 @S_ISDIR(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 store i32 1, ptr %2, align 4 br label %16 14: ; preds = %8 br label %15 15: ; preds = %14, %1 store i32 0, ptr %2, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(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/tmpivute3xt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fm_is_dir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp ne i32 %6, 0 br i1 %7, label %15, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = call i64 @S_ISDIR(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 store i32 1, ptr %2, align 4 br label %16 14: ; preds = %8 br label %15 15: ; preds = %14, %1 store i32 0, ptr %2, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(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/tmpxehna_l1.c' source_filename = "/tmp/tmpxehna_l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_hex(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @calloc(i32 noundef %15, i32 noundef 1) store ptr %16, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %100, %4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %103 21: ; preds = %17 %22 = load i32, ptr %7, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %35 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 95 br i1 %31, label %32, label %35 32: ; preds = %24 %33 = load ptr, ptr %11, align 8 %34 = call i32 @strcat(ptr noundef %33, ptr noundef @.str) br label %99 35: ; preds = %24, %21 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %9, 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 = load i8, ptr %6, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %41, %43 br i1 %44, label %45, label %86 45: ; preds = %35 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 2 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %86 50: ; preds = %45 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = call i64 @isxdigit(i32 noundef %58) %60 = icmp ne i64 %59, 0 br i1 %60, label %61, label %85 61: ; preds = %50 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = call i64 @isxdigit(i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %85 71: ; preds = %61 %72 = load ptr, ptr %11, align 8 %73 = load ptr, ptr %11, align 8 %74 = call i32 @strlen(ptr noundef %73) %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %72, i64 %75 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = sext i32 %78 to i64 %81 = getelementptr inbounds i8, ptr %77, i64 %80 %82 = call i32 @hex2int(ptr noundef %81) %83 = trunc i32 %82 to i8 %84 = call i32 @sprintf(ptr noundef %76, ptr noundef @.str.1, i8 noundef signext %83) br label %85 85: ; preds = %71, %61, %50 br label %98 86: ; preds = %45, %35 %87 = load ptr, ptr %11, align 8 %88 = load ptr, ptr %11, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %87, i64 %90 %92 = load ptr, ptr %5, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = call i32 @sprintf(ptr noundef %91, ptr noundef @.str.1, i8 noundef signext %96) br label %98 98: ; preds = %86, %85 br label %99 99: ; preds = %98, %32 br label %100 100: ; preds = %99 %101 = load i32, ptr %9, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %9, align 4 br label %17, !llvm.loop !6 103: ; preds = %17 %104 = load ptr, ptr %8, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %106, label %110 106: ; preds = %103 %107 = load ptr, ptr %8, align 8 %108 = load ptr, ptr %11, align 8 %109 = call i32 @strcpy(ptr noundef %107, ptr noundef %108) br label %114 110: ; preds = %103 %111 = load ptr, ptr %5, align 8 %112 = load ptr, ptr %11, align 8 %113 = call i32 @strcpy(ptr noundef %111, ptr noundef %112) br label %114 114: ; preds = %110, %106 %115 = load ptr, ptr %11, align 8 %116 = call i32 @free(ptr noundef %115) ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @isxdigit(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @hex2int(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxehna_l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_hex(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @calloc(i32 noundef %15, i32 noundef 1) store ptr %16, ptr %11, align 8 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %105 .lr.ph: ; preds = %4 br label %20 20: ; preds = %.lr.ph, %99 %21 = load i32, ptr %7, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %34 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 95 br i1 %30, label %31, label %34 31: ; preds = %23 %32 = load ptr, ptr %11, align 8 %33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str) br label %98 34: ; preds = %23, %20 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load i8, ptr %6, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %40, %42 br i1 %43, label %44, label %85 44: ; preds = %34 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 2 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %85 49: ; preds = %44 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = call i64 @isxdigit(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %84 60: ; preds = %49 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = call i64 @isxdigit(i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %84 70: ; preds = %60 %71 = load ptr, ptr %11, align 8 %72 = load ptr, ptr %11, align 8 %73 = call i32 @strlen(ptr noundef %72) %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %71, i64 %74 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %9, align 4 %79 = sext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %76, i64 %79 %81 = call i32 @hex2int(ptr noundef %80) %82 = trunc i32 %81 to i8 %83 = call i32 @sprintf(ptr noundef %75, ptr noundef @.str.1, i8 noundef signext %82) br label %84 84: ; preds = %70, %60, %49 br label %97 85: ; preds = %44, %34 %86 = load ptr, ptr %11, align 8 %87 = load ptr, ptr %11, align 8 %88 = call i32 @strlen(ptr noundef %87) %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %86, i64 %89 %91 = load ptr, ptr %5, align 8 %92 = load i32, ptr %9, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = call i32 @sprintf(ptr noundef %90, ptr noundef @.str.1, i8 noundef signext %95) br label %97 97: ; preds = %85, %84 br label %98 98: ; preds = %97, %31 br label %99 99: ; preds = %98 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = load i32, ptr %10, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %105 105: ; preds = %._crit_edge, %4 %106 = load ptr, ptr %8, align 8 %107 = icmp ne ptr %106, null br i1 %107, label %108, label %112 108: ; preds = %105 %109 = load ptr, ptr %8, align 8 %110 = load ptr, ptr %11, align 8 %111 = call i32 @strcpy(ptr noundef %109, ptr noundef %110) br label %116 112: ; preds = %105 %113 = load ptr, ptr %5, align 8 %114 = load ptr, ptr %11, align 8 %115 = call i32 @strcpy(ptr noundef %113, ptr noundef %114) br label %116 116: ; preds = %112, %108 %117 = load ptr, ptr %11, align 8 %118 = call i32 @free(ptr noundef %117) ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @isxdigit(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @hex2int(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfyqqwb1f.c' source_filename = "/tmp/tmpfyqqwb1f.c" target datalayout = "e-m:e-p270: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/tmpfyqqwb1f.c" target datalayout = "e-m:e-p270: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/tmpn3ezb4vu.c' source_filename = "/tmp/tmpn3ezb4vu.c" target datalayout = "e-m:e-p270: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/tmpn3ezb4vu.c" target datalayout = "e-m:e-p270: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/tmp3e56ud7m.c' source_filename = "/tmp/tmp3e56ud7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm(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 %3, align 4 %7 = mul nsw i32 %5, %6 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = mul nsw i32 %8, %9 %11 = add nsw i32 %7, %10 %12 = call float @sqrt(i32 noundef %11) ret float %12 } declare float @sqrt(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/tmp3e56ud7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm(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 %3, align 4 %7 = mul nsw i32 %5, %6 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = mul nsw i32 %8, %9 %11 = add nsw i32 %7, %10 %12 = call float @sqrt(i32 noundef %11) ret float %12 } declare float @sqrt(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/tmpvcb6b4pa.c' source_filename = "/tmp/tmpvcb6b4pa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @L_shr_r(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 31 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %5, align 4 br label %27 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @L_shr(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 1 %19 = shl i32 1, %18 %20 = and i32 %16, %19 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %22, %15 br label %26 26: ; preds = %25, %9 br label %27 27: ; preds = %26, %8 %28 = load i32, ptr %5, align 4 ret i32 %28 } declare i32 @L_shr(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/tmpvcb6b4pa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @L_shr_r(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 31 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %5, align 4 br label %27 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @L_shr(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 1 %19 = shl i32 1, %18 %20 = and i32 %16, %19 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %22, %15 br label %26 26: ; preds = %25, %9 br label %27 27: ; preds = %26, %8 %28 = load i32, ptr %5, align 4 ret i32 %28 } declare i32 @L_shr(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/tmp1i4e_uvp.c' source_filename = "/tmp/tmp1i4e_uvp.c" target datalayout = "e-m:e-p270: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/tmp1i4e_uvp.c" target datalayout = "e-m:e-p270: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/tmp5pwyfqyi.c' source_filename = "/tmp/tmp5pwyfqyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsample_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca [3 x double], align 16 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %36 36: ; preds = %89, %4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %39, label %92 39: ; preds = %36 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp sgt i32 %44, %49 br i1 %50, label %51, label %69 51: ; preds = %39 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = sitofp i32 %56 to double %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = sitofp i32 %62 to double %64 = fdiv double %57, %63 %65 = call double @llvm.ceil.f64(double %64) %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %67 store double %65, ptr %68, align 8 br label %88 69: ; preds = %39 %70 = load ptr, ptr %7, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sitofp i32 %74 to double %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %9, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 %81 = sitofp i32 %80 to double %82 = fdiv double %75, %81 %83 = call double @llvm.ceil.f64(double %82) %84 = fdiv double 1.000000e+00, %83 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %86 store double %84, ptr %87, align 8 br label %88 88: ; preds = %69, %51 br label %89 89: ; preds = %88 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 br label %36, !llvm.loop !6 92: ; preds = %36 store i32 0, ptr %12, align 4 br label %93 93: ; preds = %339, %92 %94 = load i32, ptr %12, align 4 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds i32, ptr %95, i64 2 %97 = load i32, ptr %96, align 4 %98 = icmp slt i32 %94, %97 br i1 %98, label %99, label %342 99: ; preds = %93 %100 = load i32, ptr %12, align 4 %101 = sitofp i32 %100 to double %102 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 2 %103 = load double, ptr %102, align 16 %104 = fdiv double %101, %103 %105 = fadd double 1.000000e+00, %104 store double %105, ptr %29, align 8 store i32 0, ptr %11, align 4 br label %106 106: ; preds = %335, %99 %107 = load i32, ptr %11, align 4 %108 = load ptr, ptr %8, align 8 %109 = getelementptr inbounds i32, ptr %108, i64 1 %110 = load i32, ptr %109, align 4 %111 = icmp slt i32 %107, %110 br i1 %111, label %112, label %338 112: ; preds = %106 %113 = load i32, ptr %11, align 4 %114 = sitofp i32 %113 to double %115 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 1 %116 = load double, ptr %115, align 8 %117 = fdiv double %114, %116 %118 = fadd double 1.000000e+00, %117 store double %118, ptr %28, align 8 store i32 0, ptr %10, align 4 br label %119 119: ; preds = %331, %112 %120 = load i32, ptr %10, align 4 %121 = load ptr, ptr %8, align 8 %122 = getelementptr inbounds i32, ptr %121, i64 0 %123 = load i32, ptr %122, align 4 %124 = icmp slt i32 %120, %123 br i1 %124, label %125, label %334 125: ; preds = %119 %126 = load i32, ptr %10, align 4 %127 = sitofp i32 %126 to double %128 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0 %129 = load double, ptr %128, align 16 %130 = fdiv double %127, %129 %131 = fadd double 1.000000e+00, %130 store double %131, ptr %27, align 8 %132 = load i32, ptr %12, align 4 %133 = load ptr, ptr %8, align 8 %134 = getelementptr inbounds i32, ptr %133, i64 0 %135 = load i32, ptr %134, align 4 %136 = mul nsw i32 %132, %135 %137 = load ptr, ptr %8, align 8 %138 = getelementptr inbounds i32, ptr %137, i64 1 %139 = load i32, ptr %138, align 4 %140 = mul nsw i32 %136, %139 %141 = load i32, ptr %11, align 4 %142 = load ptr, ptr %8, align 8 %143 = getelementptr inbounds i32, ptr %142, i64 0 %144 = load i32, ptr %143, align 4 %145 = mul nsw i32 %141, %144 %146 = add nsw i32 %140, %145 %147 = load i32, ptr %10, align 4 %148 = add nsw i32 %146, %147 store i32 %148, ptr %9, align 4 %149 = load double, ptr %29, align 8 %150 = fcmp oge double %149, 0.000000e+00 br i1 %150, label %151, label %325 151: ; preds = %125 %152 = load double, ptr %29, align 8 %153 = load ptr, ptr %7, align 8 %154 = getelementptr inbounds i32, ptr %153, i64 2 %155 = load i32, ptr %154, align 4 %156 = sitofp i32 %155 to double %157 = fcmp olt double %152, %156 br i1 %157, label %158, label %325 158: ; preds = %151 %159 = load double, ptr %28, align 8 %160 = fcmp oge double %159, 0.000000e+00 br i1 %160, label %161, label %325 161: ; preds = %158 %162 = load double, ptr %28, align 8 %163 = load ptr, ptr %7, align 8 %164 = getelementptr inbounds i32, ptr %163, i64 1 %165 = load i32, ptr %164, align 4 %166 = sitofp i32 %165 to double %167 = fcmp olt double %162, %166 br i1 %167, label %168, label %325 168: ; preds = %161 %169 = load double, ptr %27, align 8 %170 = fcmp oge double %169, 0.000000e+00 br i1 %170, label %171, label %325 171: ; preds = %168 %172 = load double, ptr %27, align 8 %173 = load ptr, ptr %7, align 8 %174 = getelementptr inbounds i32, ptr %173, i64 0 %175 = load i32, ptr %174, align 4 %176 = sitofp i32 %175 to double %177 = fcmp olt double %172, %176 br i1 %177, label %178, label %325 178: ; preds = %171 %179 = load double, ptr %27, align 8 %180 = call i64 @floor(double noundef %179) %181 = trunc i64 %180 to i32 store i32 %181, ptr %33, align 4 %182 = load double, ptr %27, align 8 %183 = load i32, ptr %33, align 4 %184 = sitofp i32 %183 to double %185 = fsub double %182, %184 store double %185, ptr %21, align 8 %186 = load double, ptr %21, align 8 %187 = fsub double 1.000000e+00, %186 store double %187, ptr %22, align 8 %188 = load double, ptr %28, align 8 %189 = call i64 @floor(double noundef %188) %190 = trunc i64 %189 to i32 store i32 %190, ptr %34, align 4 %191 = load double, ptr %28, align 8 %192 = load i32, ptr %34, align 4 %193 = sitofp i32 %192 to double %194 = fsub double %191, %193 store double %194, ptr %23, align 8 %195 = load double, ptr %23, align 8 %196 = fsub double 1.000000e+00, %195 store double %196, ptr %24, align 8 %197 = load double, ptr %29, align 8 %198 = call i64 @floor(double noundef %197) %199 = trunc i64 %198 to i32 store i32 %199, ptr %35, align 4 %200 = load double, ptr %29, align 8 %201 = load i32, ptr %35, align 4 %202 = sitofp i32 %201 to double %203 = fsub double %200, %202 store double %203, ptr %25, align 8 %204 = load double, ptr %25, align 8 %205 = fsub double 1.000000e+00, %204 store double %205, ptr %26, align 8 %206 = load i32, ptr %33, align 4 %207 = sub nsw i32 %206, 1 %208 = load ptr, ptr %7, align 8 %209 = getelementptr inbounds i32, ptr %208, i64 0 %210 = load i32, ptr %209, align 4 %211 = load i32, ptr %34, align 4 %212 = sub nsw i32 %211, 1 %213 = load ptr, ptr %7, align 8 %214 = getelementptr inbounds i32, ptr %213, i64 1 %215 = load i32, ptr %214, align 4 %216 = load i32, ptr %35, align 4 %217 = sub nsw i32 %216, 1 %218 = mul nsw i32 %215, %217 %219 = add nsw i32 %212, %218 %220 = mul nsw i32 %210, %219 %221 = add nsw i32 %207, %220 store i32 %221, ptr %31, align 4 %222 = load ptr, ptr %5, align 8 %223 = load i32, ptr %31, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load double, ptr %225, align 8 store double %226, ptr %20, align 8 %227 = load ptr, ptr %5, align 8 %228 = load i32, ptr %31, align 4 %229 = add nsw i32 %228, 1 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %227, i64 %230 %232 = load double, ptr %231, align 8 store double %232, ptr %16, align 8 %233 = load i32, ptr %31, align 4 %234 = load ptr, ptr %7, align 8 %235 = getelementptr inbounds i32, ptr %234, i64 0 %236 = load i32, ptr %235, align 4 %237 = add nsw i32 %233, %236 store i32 %237, ptr %32, align 4 %238 = load ptr, ptr %5, align 8 %239 = load i32, ptr %32, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 store double %242, ptr %18, align 8 %243 = load ptr, ptr %5, align 8 %244 = load i32, ptr %32, align 4 %245 = add nsw i32 %244, 1 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds double, ptr %243, i64 %246 %248 = load double, ptr %247, align 8 store double %248, ptr %14, align 8 %249 = load ptr, ptr %7, align 8 %250 = getelementptr inbounds i32, ptr %249, i64 0 %251 = load i32, ptr %250, align 4 %252 = load ptr, ptr %7, align 8 %253 = getelementptr inbounds i32, ptr %252, i64 1 %254 = load i32, ptr %253, align 4 %255 = mul nsw i32 %251, %254 %256 = load i32, ptr %31, align 4 %257 = add nsw i32 %256, %255 store i32 %257, ptr %31, align 4 %258 = load ptr, ptr %5, align 8 %259 = load i32, ptr %31, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds double, ptr %258, i64 %260 %262 = load double, ptr %261, align 8 store double %262, ptr %19, align 8 %263 = load ptr, ptr %5, align 8 %264 = load i32, ptr %31, align 4 %265 = add nsw i32 %264, 1 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %263, i64 %266 %268 = load double, ptr %267, align 8 store double %268, ptr %15, align 8 %269 = load i32, ptr %31, align 4 %270 = load ptr, ptr %7, align 8 %271 = getelementptr inbounds i32, ptr %270, i64 0 %272 = load i32, ptr %271, align 4 %273 = add nsw i32 %269, %272 store i32 %273, ptr %32, align 4 %274 = load ptr, ptr %5, align 8 %275 = load i32, ptr %32, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds double, ptr %274, i64 %276 %278 = load double, ptr %277, align 8 store double %278, ptr %17, align 8 %279 = load ptr, ptr %5, align 8 %280 = load i32, ptr %32, align 4 %281 = add nsw i32 %280, 1 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds double, ptr %279, i64 %282 %284 = load double, ptr %283, align 8 store double %284, ptr %13, align 8 %285 = load double, ptr %20, align 8 %286 = load double, ptr %22, align 8 %287 = load double, ptr %16, align 8 %288 = load double, ptr %21, align 8 %289 = fmul double %287, %288 %290 = call double @llvm.fmuladd.f64(double %285, double %286, double %289) %291 = load double, ptr %24, align 8 %292 = load double, ptr %18, align 8 %293 = load double, ptr %22, align 8 %294 = load double, ptr %14, align 8 %295 = load double, ptr %21, align 8 %296 = fmul double %294, %295 %297 = call double @llvm.fmuladd.f64(double %292, double %293, double %296) %298 = load double, ptr %23, align 8 %299 = fmul double %297, %298 %300 = call double @llvm.fmuladd.f64(double %290, double %291, double %299) %301 = load double, ptr %26, align 8 %302 = load double, ptr %19, align 8 %303 = load double, ptr %22, align 8 %304 = load double, ptr %15, align 8 %305 = load double, ptr %21, align 8 %306 = fmul double %304, %305 %307 = call double @llvm.fmuladd.f64(double %302, double %303, double %306) %308 = load double, ptr %24, align 8 %309 = load double, ptr %17, align 8 %310 = load double, ptr %22, align 8 %311 = load double, ptr %13, align 8 %312 = load double, ptr %21, align 8 %313 = fmul double %311, %312 %314 = call double @llvm.fmuladd.f64(double %309, double %310, double %313) %315 = load double, ptr %23, align 8 %316 = fmul double %314, %315 %317 = call double @llvm.fmuladd.f64(double %307, double %308, double %316) %318 = load double, ptr %25, align 8 %319 = fmul double %317, %318 %320 = call double @llvm.fmuladd.f64(double %300, double %301, double %319) %321 = load ptr, ptr %6, align 8 %322 = load i32, ptr %9, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds double, ptr %321, i64 %323 store double %320, ptr %324, align 8 br label %330 325: ; preds = %171, %168, %161, %158, %151, %125 %326 = load ptr, ptr %6, align 8 %327 = load i32, ptr %9, align 4 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds double, ptr %326, i64 %328 store double 0.000000e+00, ptr %329, align 8 br label %330 330: ; preds = %325, %178 br label %331 331: ; preds = %330 %332 = load i32, ptr %10, align 4 %333 = add nsw i32 %332, 1 store i32 %333, ptr %10, align 4 br label %119, !llvm.loop !8 334: ; preds = %119 br label %335 335: ; preds = %334 %336 = load i32, ptr %11, align 4 %337 = add nsw i32 %336, 1 store i32 %337, ptr %11, align 4 br label %106, !llvm.loop !9 338: ; preds = %106 br label %339 339: ; preds = %338 %340 = load i32, ptr %12, align 4 %341 = add nsw i32 %340, 1 store i32 %341, ptr %12, align 4 br label %93, !llvm.loop !10 342: ; preds = %93 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #1 declare i64 @floor(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5pwyfqyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsample_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca [3 x double], align 16 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %36, 3 br i1 %37, label %.lr.ph, label %93 .lr.ph: ; preds = %4 br label %38 38: ; preds = %.lr.ph, %88 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp sgt i32 %43, %48 br i1 %49, label %50, label %68 50: ; preds = %38 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sitofp i32 %55 to double %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = sitofp i32 %61 to double %63 = fdiv double %56, %62 %64 = call double @llvm.ceil.f64(double %63) %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %66 store double %64, ptr %67, align 8 br label %87 68: ; preds = %38 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = sitofp i32 %73 to double %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 %79 = load i32, ptr %78, align 4 %80 = sitofp i32 %79 to double %81 = fdiv double %74, %80 %82 = call double @llvm.ceil.f64(double %81) %83 = fdiv double 1.000000e+00, %82 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 %85 store double %83, ptr %86, align 8 br label %87 87: ; preds = %68, %50 br label %88 88: ; preds = %87 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp slt i32 %91, 3 br i1 %92, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %93 93: ; preds = %._crit_edge, %4 store i32 0, ptr %12, align 4 %94 = load i32, ptr %12, align 4 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds i32, ptr %95, i64 2 %97 = load i32, ptr %96, align 4 %98 = icmp slt i32 %94, %97 br i1 %98, label %.lr.ph8, label %354 .lr.ph8: ; preds = %93 br label %99 99: ; preds = %.lr.ph8, %346 %100 = load i32, ptr %12, align 4 %101 = sitofp i32 %100 to double %102 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 2 %103 = load double, ptr %102, align 16 %104 = fdiv double %101, %103 %105 = fadd double 1.000000e+00, %104 store double %105, ptr %29, align 8 store i32 0, ptr %11, align 4 %106 = load i32, ptr %11, align 4 %107 = load ptr, ptr %8, align 8 %108 = getelementptr inbounds i32, ptr %107, i64 1 %109 = load i32, ptr %108, align 4 %110 = icmp slt i32 %106, %109 br i1 %110, label %.lr.ph5, label %345 .lr.ph5: ; preds = %99 br label %111 111: ; preds = %.lr.ph5, %337 %112 = load i32, ptr %11, align 4 %113 = sitofp i32 %112 to double %114 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 1 %115 = load double, ptr %114, align 8 %116 = fdiv double %113, %115 %117 = fadd double 1.000000e+00, %116 store double %117, ptr %28, align 8 store i32 0, ptr %10, align 4 %118 = load i32, ptr %10, align 4 %119 = load ptr, ptr %8, align 8 %120 = load i32, ptr %119, align 4 %121 = icmp slt i32 %118, %120 br i1 %121, label %.lr.ph2, label %336 .lr.ph2: ; preds = %111 br label %122 122: ; preds = %.lr.ph2, %328 %123 = load i32, ptr %10, align 4 %124 = sitofp i32 %123 to double %125 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0 %126 = load double, ptr %125, align 16 %127 = fdiv double %124, %126 %128 = fadd double 1.000000e+00, %127 store double %128, ptr %27, align 8 %129 = load i32, ptr %12, align 4 %130 = load ptr, ptr %8, align 8 %131 = getelementptr inbounds i32, ptr %130, i64 0 %132 = load i32, ptr %131, align 4 %133 = mul nsw i32 %129, %132 %134 = load ptr, ptr %8, align 8 %135 = getelementptr inbounds i32, ptr %134, i64 1 %136 = load i32, ptr %135, align 4 %137 = mul nsw i32 %133, %136 %138 = load i32, ptr %11, align 4 %139 = load ptr, ptr %8, align 8 %140 = getelementptr inbounds i32, ptr %139, i64 0 %141 = load i32, ptr %140, align 4 %142 = mul nsw i32 %138, %141 %143 = add nsw i32 %137, %142 %144 = load i32, ptr %10, align 4 %145 = add nsw i32 %143, %144 store i32 %145, ptr %9, align 4 %146 = load double, ptr %29, align 8 %147 = fcmp oge double %146, 0.000000e+00 br i1 %147, label %148, label %322 148: ; preds = %122 %149 = load double, ptr %29, align 8 %150 = load ptr, ptr %7, align 8 %151 = getelementptr inbounds i32, ptr %150, i64 2 %152 = load i32, ptr %151, align 4 %153 = sitofp i32 %152 to double %154 = fcmp olt double %149, %153 br i1 %154, label %155, label %322 155: ; preds = %148 %156 = load double, ptr %28, align 8 %157 = fcmp oge double %156, 0.000000e+00 br i1 %157, label %158, label %322 158: ; preds = %155 %159 = load double, ptr %28, align 8 %160 = load ptr, ptr %7, align 8 %161 = getelementptr inbounds i32, ptr %160, i64 1 %162 = load i32, ptr %161, align 4 %163 = sitofp i32 %162 to double %164 = fcmp olt double %159, %163 br i1 %164, label %165, label %322 165: ; preds = %158 %166 = load double, ptr %27, align 8 %167 = fcmp oge double %166, 0.000000e+00 br i1 %167, label %168, label %322 168: ; preds = %165 %169 = load double, ptr %27, align 8 %170 = load ptr, ptr %7, align 8 %171 = getelementptr inbounds i32, ptr %170, i64 0 %172 = load i32, ptr %171, align 4 %173 = sitofp i32 %172 to double %174 = fcmp olt double %169, %173 br i1 %174, label %175, label %322 175: ; preds = %168 %176 = load double, ptr %27, align 8 %177 = call i64 @floor(double noundef %176) %178 = trunc i64 %177 to i32 store i32 %178, ptr %33, align 4 %179 = load double, ptr %27, align 8 %180 = load i32, ptr %33, align 4 %181 = sitofp i32 %180 to double %182 = fsub double %179, %181 store double %182, ptr %21, align 8 %183 = load double, ptr %21, align 8 %184 = fsub double 1.000000e+00, %183 store double %184, ptr %22, align 8 %185 = load double, ptr %28, align 8 %186 = call i64 @floor(double noundef %185) %187 = trunc i64 %186 to i32 store i32 %187, ptr %34, align 4 %188 = load double, ptr %28, align 8 %189 = load i32, ptr %34, align 4 %190 = sitofp i32 %189 to double %191 = fsub double %188, %190 store double %191, ptr %23, align 8 %192 = load double, ptr %23, align 8 %193 = fsub double 1.000000e+00, %192 store double %193, ptr %24, align 8 %194 = load double, ptr %29, align 8 %195 = call i64 @floor(double noundef %194) %196 = trunc i64 %195 to i32 store i32 %196, ptr %35, align 4 %197 = load double, ptr %29, align 8 %198 = load i32, ptr %35, align 4 %199 = sitofp i32 %198 to double %200 = fsub double %197, %199 store double %200, ptr %25, align 8 %201 = load double, ptr %25, align 8 %202 = fsub double 1.000000e+00, %201 store double %202, ptr %26, align 8 %203 = load i32, ptr %33, align 4 %204 = sub nsw i32 %203, 1 %205 = load ptr, ptr %7, align 8 %206 = getelementptr inbounds i32, ptr %205, i64 0 %207 = load i32, ptr %206, align 4 %208 = load i32, ptr %34, align 4 %209 = sub nsw i32 %208, 1 %210 = load ptr, ptr %7, align 8 %211 = getelementptr inbounds i32, ptr %210, i64 1 %212 = load i32, ptr %211, align 4 %213 = load i32, ptr %35, align 4 %214 = sub nsw i32 %213, 1 %215 = mul nsw i32 %212, %214 %216 = add nsw i32 %209, %215 %217 = mul nsw i32 %207, %216 %218 = add nsw i32 %204, %217 store i32 %218, ptr %31, align 4 %219 = load ptr, ptr %5, align 8 %220 = load i32, ptr %31, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds double, ptr %219, i64 %221 %223 = load double, ptr %222, align 8 store double %223, ptr %20, align 8 %224 = load ptr, ptr %5, align 8 %225 = load i32, ptr %31, align 4 %226 = add nsw i32 %225, 1 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %224, i64 %227 %229 = load double, ptr %228, align 8 store double %229, ptr %16, align 8 %230 = load i32, ptr %31, align 4 %231 = load ptr, ptr %7, align 8 %232 = getelementptr inbounds i32, ptr %231, i64 0 %233 = load i32, ptr %232, align 4 %234 = add nsw i32 %230, %233 store i32 %234, ptr %32, align 4 %235 = load ptr, ptr %5, align 8 %236 = load i32, ptr %32, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds double, ptr %235, i64 %237 %239 = load double, ptr %238, align 8 store double %239, ptr %18, align 8 %240 = load ptr, ptr %5, align 8 %241 = load i32, ptr %32, align 4 %242 = add nsw i32 %241, 1 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds double, ptr %240, i64 %243 %245 = load double, ptr %244, align 8 store double %245, ptr %14, align 8 %246 = load ptr, ptr %7, align 8 %247 = getelementptr inbounds i32, ptr %246, i64 0 %248 = load i32, ptr %247, align 4 %249 = load ptr, ptr %7, align 8 %250 = getelementptr inbounds i32, ptr %249, i64 1 %251 = load i32, ptr %250, align 4 %252 = mul nsw i32 %248, %251 %253 = load i32, ptr %31, align 4 %254 = add nsw i32 %253, %252 store i32 %254, ptr %31, align 4 %255 = load ptr, ptr %5, align 8 %256 = load i32, ptr %31, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds double, ptr %255, i64 %257 %259 = load double, ptr %258, align 8 store double %259, ptr %19, align 8 %260 = load ptr, ptr %5, align 8 %261 = load i32, ptr %31, align 4 %262 = add nsw i32 %261, 1 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds double, ptr %260, i64 %263 %265 = load double, ptr %264, align 8 store double %265, ptr %15, align 8 %266 = load i32, ptr %31, align 4 %267 = load ptr, ptr %7, align 8 %268 = getelementptr inbounds i32, ptr %267, i64 0 %269 = load i32, ptr %268, align 4 %270 = add nsw i32 %266, %269 store i32 %270, ptr %32, align 4 %271 = load ptr, ptr %5, align 8 %272 = load i32, ptr %32, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %271, i64 %273 %275 = load double, ptr %274, align 8 store double %275, ptr %17, align 8 %276 = load ptr, ptr %5, align 8 %277 = load i32, ptr %32, align 4 %278 = add nsw i32 %277, 1 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds double, ptr %276, i64 %279 %281 = load double, ptr %280, align 8 store double %281, ptr %13, align 8 %282 = load double, ptr %20, align 8 %283 = load double, ptr %22, align 8 %284 = load double, ptr %16, align 8 %285 = load double, ptr %21, align 8 %286 = fmul double %284, %285 %287 = call double @llvm.fmuladd.f64(double %282, double %283, double %286) %288 = load double, ptr %24, align 8 %289 = load double, ptr %18, align 8 %290 = load double, ptr %22, align 8 %291 = load double, ptr %14, align 8 %292 = load double, ptr %21, align 8 %293 = fmul double %291, %292 %294 = call double @llvm.fmuladd.f64(double %289, double %290, double %293) %295 = load double, ptr %23, align 8 %296 = fmul double %294, %295 %297 = call double @llvm.fmuladd.f64(double %287, double %288, double %296) %298 = load double, ptr %26, align 8 %299 = load double, ptr %19, align 8 %300 = load double, ptr %22, align 8 %301 = load double, ptr %15, align 8 %302 = load double, ptr %21, align 8 %303 = fmul double %301, %302 %304 = call double @llvm.fmuladd.f64(double %299, double %300, double %303) %305 = load double, ptr %24, align 8 %306 = load double, ptr %17, align 8 %307 = load double, ptr %22, align 8 %308 = load double, ptr %13, align 8 %309 = load double, ptr %21, align 8 %310 = fmul double %308, %309 %311 = call double @llvm.fmuladd.f64(double %306, double %307, double %310) %312 = load double, ptr %23, align 8 %313 = fmul double %311, %312 %314 = call double @llvm.fmuladd.f64(double %304, double %305, double %313) %315 = load double, ptr %25, align 8 %316 = fmul double %314, %315 %317 = call double @llvm.fmuladd.f64(double %297, double %298, double %316) %318 = load ptr, ptr %6, align 8 %319 = load i32, ptr %9, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 store double %317, ptr %321, align 8 br label %327 322: ; preds = %168, %165, %158, %155, %148, %122 %323 = load ptr, ptr %6, align 8 %324 = load i32, ptr %9, align 4 %325 = sext i32 %324 to i64 %326 = getelementptr inbounds double, ptr %323, i64 %325 store double 0.000000e+00, ptr %326, align 8 br label %327 327: ; preds = %322, %175 br label %328 328: ; preds = %327 %329 = load i32, ptr %10, align 4 %330 = add nsw i32 %329, 1 store i32 %330, ptr %10, align 4 %331 = load i32, ptr %10, align 4 %332 = load ptr, ptr %8, align 8 %333 = getelementptr inbounds i32, ptr %332, i64 0 %334 = load i32, ptr %333, align 4 %335 = icmp slt i32 %331, %334 br i1 %335, label %122, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %328 br label %336 336: ; preds = %._crit_edge3, %111 br label %337 337: ; preds = %336 %338 = load i32, ptr %11, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %11, align 4 %340 = load i32, ptr %11, align 4 %341 = load ptr, ptr %8, align 8 %342 = getelementptr inbounds i32, ptr %341, i64 1 %343 = load i32, ptr %342, align 4 %344 = icmp slt i32 %340, %343 br i1 %344, label %111, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %337 br label %345 345: ; preds = %._crit_edge6, %99 br label %346 346: ; preds = %345 %347 = load i32, ptr %12, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %12, align 4 %349 = load i32, ptr %12, align 4 %350 = load ptr, ptr %8, align 8 %351 = getelementptr inbounds i32, ptr %350, i64 2 %352 = load i32, ptr %351, align 4 %353 = icmp slt i32 %349, %352 br i1 %353, label %99, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %346 br label %354 354: ; preds = %._crit_edge9, %93 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #1 declare i64 @floor(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp1etywfdv.c' source_filename = "/tmp/tmp1etywfdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_wlan_state(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %7 [ i32 81, label %5 i32 146, label %6 ] 5: ; preds = %1 store i32 17, ptr %2, align 4 br label %8 6: ; preds = %1 store i32 34, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 255, ptr %2, align 4 br label %8 8: ; preds = %7, %6, %5 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1etywfdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_wlan_state(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %7 [ i32 81, label %5 i32 146, label %6 ] 5: ; preds = %1 store i32 17, ptr %2, align 4 br label %8 6: ; preds = %1 store i32 34, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 255, ptr %2, align 4 br label %8 8: ; preds = %7, %6, %5 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm45b3ue_.c' source_filename = "/tmp/tmpm45b3ue_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @etui_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %10 10: ; preds = %87, %3 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %18, %13, %10 %24 = phi i1 [ false, %13 ], [ false, %10 ], [ %22, %18 ] br i1 %24, label %25, label %92 25: ; preds = %23 %26 = load i64, ptr %7, align 8 %27 = sub i64 %26, 1 store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sge i32 %30, 65 br i1 %31, label %32, label %37 32: ; preds = %25 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sle i32 %35, 90 br label %37 37: ; preds = %32, %25 %38 = phi i1 [ false, %25 ], [ %36, %32 ] %39 = zext i1 %38 to i32 %40 = trunc i32 %39 to i8 %41 = zext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %37 %44 = load ptr, ptr %5, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = add nsw i32 %46, 32 br label %52 48: ; preds = %37 %49 = load ptr, ptr %5, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 br label %52 52: ; preds = %48, %43 %53 = phi i32 [ %47, %43 ], [ %51, %48 ] store i32 %53, ptr %8, align 4 %54 = load ptr, ptr %6, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp sge i32 %56, 65 br i1 %57, label %58, label %63 58: ; preds = %52 %59 = load ptr, ptr %6, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp sle i32 %61, 90 br label %63 63: ; preds = %58, %52 %64 = phi i1 [ false, %52 ], [ %62, %58 ] %65 = zext i1 %64 to i32 %66 = trunc i32 %65 to i8 %67 = zext i8 %66 to i32 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %74 69: ; preds = %63 %70 = load ptr, ptr %6, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = add nsw i32 %72, 32 br label %78 74: ; preds = %63 %75 = load ptr, ptr %6, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 br label %78 78: ; preds = %74, %69 %79 = phi i32 [ %73, %69 ], [ %77, %74 ] store i32 %79, ptr %9, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp ne i32 %80, %81 br i1 %82, label %83, label %87 83: ; preds = %78 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %9, align 4 %86 = sub nsw i32 %84, %85 store i32 %86, ptr %4, align 4 br label %106 87: ; preds = %78 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %5, align 8 %90 = load ptr, ptr %6, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %6, align 8 br label %10, !llvm.loop !6 92: ; preds = %23 %93 = load i64, ptr %7, align 8 %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %103 95: ; preds = %92 %96 = load ptr, ptr %5, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = load ptr, ptr %6, align 8 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = sub nsw i32 %98, %101 br label %104 103: ; preds = %92 br label %104 104: ; preds = %103, %95 %105 = phi i32 [ %102, %95 ], [ 0, %103 ] store i32 %105, ptr %4, align 4 br label %106 106: ; preds = %104, %83 %107 = load i32, ptr %4, align 4 ret i32 %107 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpm45b3ue_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @etui_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %10 10: ; preds = %87, %3 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %13 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %18, %13, %10 %24 = phi i1 [ false, %13 ], [ false, %10 ], [ %22, %18 ] br i1 %24, label %25, label %92 25: ; preds = %23 %26 = load i64, ptr %7, align 8 %27 = sub i64 %26, 1 store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sge i32 %30, 65 br i1 %31, label %32, label %37 32: ; preds = %25 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sle i32 %35, 90 br label %37 37: ; preds = %32, %25 %38 = phi i1 [ false, %25 ], [ %36, %32 ] %39 = zext i1 %38 to i32 %40 = trunc i32 %39 to i8 %41 = zext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %37 %44 = load ptr, ptr %5, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = add nsw i32 %46, 32 br label %52 48: ; preds = %37 %49 = load ptr, ptr %5, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 br label %52 52: ; preds = %48, %43 %53 = phi i32 [ %47, %43 ], [ %51, %48 ] store i32 %53, ptr %8, align 4 %54 = load ptr, ptr %6, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp sge i32 %56, 65 br i1 %57, label %58, label %63 58: ; preds = %52 %59 = load ptr, ptr %6, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp sle i32 %61, 90 br label %63 63: ; preds = %58, %52 %64 = phi i1 [ false, %52 ], [ %62, %58 ] %65 = zext i1 %64 to i32 %66 = trunc i32 %65 to i8 %67 = zext i8 %66 to i32 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %74 69: ; preds = %63 %70 = load ptr, ptr %6, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = add nsw i32 %72, 32 br label %78 74: ; preds = %63 %75 = load ptr, ptr %6, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 br label %78 78: ; preds = %74, %69 %79 = phi i32 [ %73, %69 ], [ %77, %74 ] store i32 %79, ptr %9, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp ne i32 %80, %81 br i1 %82, label %83, label %87 83: ; preds = %78 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %9, align 4 %86 = sub nsw i32 %84, %85 store i32 %86, ptr %4, align 4 br label %106 87: ; preds = %78 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %5, align 8 %90 = load ptr, ptr %6, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %6, align 8 br label %10, !llvm.loop !6 92: ; preds = %23 %93 = load i64, ptr %7, align 8 %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %103 95: ; preds = %92 %96 = load ptr, ptr %5, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = load ptr, ptr %6, align 8 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = sub nsw i32 %98, %101 br label %104 103: ; preds = %92 br label %104 104: ; preds = %103, %95 %105 = phi i32 [ %102, %95 ], [ 0, %103 ] store i32 %105, ptr %4, align 4 br label %106 106: ; preds = %104, %83 %107 = load i32, ptr %4, align 4 ret i32 %107 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjsa4pto3.c' source_filename = "/tmp/tmpjsa4pto3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_dobldobl_one_homogenization(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 892, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsa4pto3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_dobldobl_one_homogenization(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 892, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc3k3jb_9.c' source_filename = "/tmp/tmpc3k3jb_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter the product price: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"The total price of the product is: %.2f\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 1.180000e+00 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc3k3jb_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Enter the product price: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"The total price of the product is: %.2f\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 1.180000e+00 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7) 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"}
; ModuleID = '/tmp/tmp2tl99l3a.c' source_filename = "/tmp/tmp2tl99l3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [52 x i8] c"/dev/block/platform/mmci-omap-hs.0/by-name/userdata\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"try %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"stat() of %s succeeded on try %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"failed to stat %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @device_recovery_start() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 store ptr @.str, ptr %1, align 8 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %25, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load ptr, ptr %1, align 8 %9 = call i32 @stat(ptr noundef %8, ptr noundef %4) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %15) %17 = call i32 @sleep(i32 noundef 1) br label %18 18: ; preds = %12, %5 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 5 br label %25 25: ; preds = %22, %19 %26 = phi i1 [ false, %19 ], [ %24, %22 ] br i1 %26, label %5, label %27, !llvm.loop !6 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %27 %31 = load ptr, ptr %1, align 8 %32 = load i32, ptr %2, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31, i32 noundef %32) br label %37 34: ; preds = %27 %35 = load ptr, ptr %1, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %35) br label %37 37: ; preds = %34, %30 ret i32 0 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2tl99l3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [52 x i8] c"/dev/block/platform/mmci-omap-hs.0/by-name/userdata\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"try %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"stat() of %s succeeded on try %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"failed to stat %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @device_recovery_start() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 4 store ptr @.str, ptr %1, align 8 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %25, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load ptr, ptr %1, align 8 %9 = call i32 @stat(ptr noundef %8, ptr noundef %4) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %15) %17 = call i32 @sleep(i32 noundef 1) br label %18 18: ; preds = %12, %5 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 5 br label %25 25: ; preds = %22, %19 %26 = phi i1 [ false, %19 ], [ %24, %22 ] br i1 %26, label %5, label %27, !llvm.loop !6 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %27 %31 = load ptr, ptr %1, align 8 %32 = load i32, ptr %2, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31, i32 noundef %32) br label %37 34: ; preds = %27 %35 = load ptr, ptr %1, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %35) br label %37 37: ; preds = %34, %30 ret i32 0 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5rlu17qb.c' source_filename = "/tmp/tmp5rlu17qb.c" target datalayout = "e-m:e-p270: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/tmp5rlu17qb.c" target datalayout = "e-m:e-p270: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/tmpa43wt8sj.c' source_filename = "/tmp/tmpa43wt8sj.c" target datalayout = "e-m:e-p270: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/tmpa43wt8sj.c" target datalayout = "e-m:e-p270: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/tmpqf0qvr7c.c' source_filename = "/tmp/tmpqf0qvr7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Enter a character and two integers: \0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Enter another character and two integers: \0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Enter a newline to quit.\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Bye.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %25, %2 %11 = call signext i8 (...) @getchar() %12 = sext i8 %11 to i32 store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %12, 10 br i1 %13, label %14, label %28 14: ; preds = %10 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8) %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = call i32 @display(i32 noundef %16, i32 noundef %17, i32 noundef %18) br label %20 20: ; preds = %24, %14 %21 = call signext i8 (...) @getchar() %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 10 br i1 %23, label %24, label %25 24: ; preds = %20 br label %20, !llvm.loop !6 25: ; preds = %20 %26 = call i32 @printf(ptr noundef @.str.2) %27 = call i32 @printf(ptr noundef @.str.3) br label %10, !llvm.loop !8 28: ; preds = %10 %29 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @display(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqf0qvr7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Enter a character and two integers: \0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Enter another character and two integers: \0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Enter a newline to quit.\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Bye.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str) %10 = call signext i8 (...) @getchar() %11 = sext i8 %10 to i32 store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %11, 10 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %23 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8) %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = call i32 @display(i32 noundef %15, i32 noundef %16, i32 noundef %17) br label %19 19: ; preds = %19, %13 %20 = call signext i8 (...) @getchar() %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 10 br i1 %22, label %19, label %23, !llvm.loop !6 23: ; preds = %19 %24 = call i32 @printf(ptr noundef @.str.2) %25 = call i32 @printf(ptr noundef @.str.3) %26 = call signext i8 (...) @getchar() %27 = sext i8 %26 to i32 store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, 10 br i1 %28, label %13, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 %30 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @display(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprh9xjfcb.c' source_filename = "/tmp/tmprh9xjfcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"I am C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmprh9xjfcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"I am C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c() #0 { %1 = call i32 @printf(ptr noundef @.str) 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/tmpovxmozyp.c' source_filename = "/tmp/tmpovxmozyp.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @DT_REG = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c".bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_bmp_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %5, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp ult i64 %12, 5 br i1 %13, label %20, label %14 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.dirent, ptr %15, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = load i64, ptr @DT_REG, align 8 %19 = icmp ne i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %14, %1 store i32 0, ptr %2, align 4 br label %31 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = sub i64 %23, 4 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %21 store i32 0, ptr %2, align 4 br label %31 30: ; preds = %21 store i32 1, ptr %2, align 4 br label %31 31: ; preds = %30, %29, %20 %32 = load i32, ptr %2, align 4 ret i32 %32 } 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/tmpovxmozyp.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @DT_REG = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c".bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_bmp_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %5, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp ult i64 %12, 5 br i1 %13, label %20, label %14 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.dirent, ptr %15, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = load i64, ptr @DT_REG, align 8 %19 = icmp ne i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %14, %1 store i32 0, ptr %2, align 4 br label %31 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = sub i64 %23, 4 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %21 store i32 0, ptr %2, align 4 br label %31 30: ; preds = %21 store i32 1, ptr %2, align 4 br label %31 31: ; preds = %30, %29, %20 %32 = load i32, ptr %2, align 4 ret i32 %32 } 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/tmpn8q3y496.c' source_filename = "/tmp/tmpn8q3y496.c" target datalayout = "e-m:e-p270: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/tmpn8q3y496.c" target datalayout = "e-m:e-p270: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/tmpt1dcknsr.c' source_filename = "/tmp/tmpt1dcknsr.c" target datalayout = "e-m:e-p270: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 [458 x i8] c"mozzio - Disk benchmark - http://mozzio.org\0AOptions:\0A -h This help\0A -p path Path to benchmark file or device (default: mozzio.bin)\0A -b blcksize Block size in kB (default: 4kB random, 128kB sequential)\0A -s filesize File/device size in GB (default: 10GB) (for seq write test)\0A -r runtime Test run time in seconds (default: 30s (for all but seq write)\0A -t threads Number of threads to use (default: 2 for seq, 128 for rand)\0A %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1dcknsr.c" target datalayout = "e-m:e-p270: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 [458 x i8] c"mozzio - Disk benchmark - http://mozzio.org\0AOptions:\0A -h This help\0A -p path Path to benchmark file or device (default: mozzio.bin)\0A -b blcksize Block size in kB (default: 4kB random, 128kB sequential)\0A -s filesize File/device size in GB (default: 10GB) (for seq write test)\0A -r runtime Test run time in seconds (default: 30s (for all but seq write)\0A -t threads Number of threads to use (default: 2 for seq, 128 for rand)\0A %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo11euydv.c' source_filename = "/tmp/tmpo11euydv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(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 i64 @atol(ptr noundef %3) %5 = trunc i64 %4 to i32 ret i32 %5 } declare i64 @atol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo11euydv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(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 i64 @atol(ptr noundef %3) %5 = trunc i64 %4 to i32 ret i32 %5 } declare i64 @atol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmput3418x4.c' source_filename = "/tmp/tmput3418x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [28 x i8] c"Reverse of %d is %d%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Reverse of %d is %d%d%d%d\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Reverse of %d is %d%d%d\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Reverse of %d is %d%d\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Reverse of %d is 1\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 10 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 100 %13 = load i32, ptr %7, align 4 %14 = sub nsw i32 %12, %13 %15 = sdiv i32 %14, 10 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = srem i32 %16, 1000 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %17, %18 %20 = load i32, ptr %6, align 4 %21 = mul nsw i32 %20, 10 %22 = sub nsw i32 %19, %21 %23 = sdiv i32 %22, 100 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %2, align 4 %25 = srem i32 %24, 10000 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %25, %26 %28 = load i32, ptr %6, align 4 %29 = mul nsw i32 %28, 10 %30 = sub nsw i32 %27, %29 %31 = load i32, ptr %5, align 4 %32 = mul nsw i32 %31, 100 %33 = sub nsw i32 %30, %32 %34 = sdiv i32 %33, 1000 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %2, align 4 %36 = sdiv i32 %35, 10000 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp sge i32 %37, 10000 br i1 %38, label %39, label %47 39: ; preds = %0 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45) br label %97 47: ; preds = %0 %48 = load i32, ptr %2, align 4 %49 = icmp sge i32 %48, 1000 br i1 %49, label %50, label %57 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %4, align 4 %56 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55) br label %96 57: ; preds = %47 %58 = load i32, ptr %2, align 4 %59 = icmp sgt i32 %58, 100 br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load i32, ptr %2, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %5, align 4 %65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64) br label %95 66: ; preds = %57 %67 = load i32, ptr %2, align 4 %68 = icmp sge i32 %67, 10 br i1 %68, label %69, label %74 69: ; preds = %66 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %70, i32 noundef %71, i32 noundef %72) br label %94 74: ; preds = %66 %75 = load i32, ptr %2, align 4 %76 = icmp eq i32 %75, 10000 br i1 %76, label %86, label %77 77: ; preds = %74 %78 = load i32, ptr %2, align 4 %79 = icmp eq i32 %78, 1000 br i1 %79, label %86, label %80 80: ; preds = %77 %81 = load i32, ptr %2, align 4 %82 = icmp eq i32 %81, 100 br i1 %82, label %86, label %83 83: ; preds = %80 %84 = load i32, ptr %2, align 4 %85 = icmp eq i32 %84, 10 br i1 %85, label %86, label %89 86: ; preds = %83, %80, %77, %74 %87 = load i32, ptr %2, align 4 %88 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %87) br label %93 89: ; preds = %83 %90 = load i32, ptr %2, align 4 %91 = load i32, ptr %7, align 4 %92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %90, i32 noundef %91) br label %93 93: ; preds = %89, %86 br label %94 94: ; preds = %93, %69 br label %95 95: ; preds = %94, %60 br label %96 96: ; preds = %95, %50 br label %97 97: ; preds = %96, %39 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmput3418x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [28 x i8] c"Reverse of %d is %d%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Reverse of %d is %d%d%d%d\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Reverse of %d is %d%d%d\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Reverse of %d is %d%d\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Reverse of %d is 1\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 10 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 100 %13 = load i32, ptr %7, align 4 %14 = sub nsw i32 %12, %13 %15 = sdiv i32 %14, 10 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = srem i32 %16, 1000 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %17, %18 %20 = load i32, ptr %6, align 4 %21 = mul nsw i32 %20, 10 %22 = sub nsw i32 %19, %21 %23 = sdiv i32 %22, 100 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %2, align 4 %25 = srem i32 %24, 10000 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %25, %26 %28 = load i32, ptr %6, align 4 %29 = mul nsw i32 %28, 10 %30 = sub nsw i32 %27, %29 %31 = load i32, ptr %5, align 4 %32 = mul nsw i32 %31, 100 %33 = sub nsw i32 %30, %32 %34 = sdiv i32 %33, 1000 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %2, align 4 %36 = sdiv i32 %35, 10000 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp sge i32 %37, 10000 br i1 %38, label %39, label %47 39: ; preds = %0 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45) br label %97 47: ; preds = %0 %48 = load i32, ptr %2, align 4 %49 = icmp sge i32 %48, 1000 br i1 %49, label %50, label %57 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %4, align 4 %56 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55) br label %96 57: ; preds = %47 %58 = load i32, ptr %2, align 4 %59 = icmp sgt i32 %58, 100 br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load i32, ptr %2, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %5, align 4 %65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64) br label %95 66: ; preds = %57 %67 = load i32, ptr %2, align 4 %68 = icmp sge i32 %67, 10 br i1 %68, label %69, label %74 69: ; preds = %66 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %70, i32 noundef %71, i32 noundef %72) br label %94 74: ; preds = %66 %75 = load i32, ptr %2, align 4 %76 = icmp eq i32 %75, 10000 br i1 %76, label %86, label %77 77: ; preds = %74 %78 = load i32, ptr %2, align 4 %79 = icmp eq i32 %78, 1000 br i1 %79, label %86, label %80 80: ; preds = %77 %81 = load i32, ptr %2, align 4 %82 = icmp eq i32 %81, 100 br i1 %82, label %86, label %83 83: ; preds = %80 %84 = load i32, ptr %2, align 4 %85 = icmp eq i32 %84, 10 br i1 %85, label %86, label %89 86: ; preds = %83, %80, %77, %74 %87 = load i32, ptr %2, align 4 %88 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %87) br label %93 89: ; preds = %83 %90 = load i32, ptr %2, align 4 %91 = load i32, ptr %7, align 4 %92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %90, i32 noundef %91) br label %93 93: ; preds = %89, %86 br label %94 94: ; preds = %93, %69 br label %95 95: ; preds = %94, %60 br label %96 96: ; preds = %95, %50 br label %97 97: ; preds = %96, %39 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp21wqrrzo.c' source_filename = "/tmp/tmp21wqrrzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/gpu_mb\00", align 1 @S_IFCHR = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Can't create character device: %s - '%s'\0A\00", align 1 @errno = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [64 x i8] c"Try manually creating a device file with: sudo mknod %s c %d 0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makechardev() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @makedev(i32 noundef 100, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr @S_IFCHR, align 4 %5 = or i32 %4, 420 %6 = load i32, ptr %2, align 4 %7 = call i64 @mknod(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load i32, ptr @LOG_ERR, align 4 %11 = load i32, ptr @errno, align 4 %12 = call i32 @strerror(i32 noundef %11) %13 = call i32 @say(i32 noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr @LOG_INFO, align 4 %15 = call i32 @say(i32 noundef %14, ptr noundef @.str.2, ptr noundef @.str, i32 noundef 100) store i32 -1, ptr %1, align 4 br label %17 16: ; preds = %0 store i32 0, ptr %1, align 4 br label %17 17: ; preds = %16, %9 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @say(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmp21wqrrzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/gpu_mb\00", align 1 @S_IFCHR = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Can't create character device: %s - '%s'\0A\00", align 1 @errno = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [64 x i8] c"Try manually creating a device file with: sudo mknod %s c %d 0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makechardev() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @makedev(i32 noundef 100, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr @S_IFCHR, align 4 %5 = or i32 %4, 420 %6 = load i32, ptr %2, align 4 %7 = call i64 @mknod(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load i32, ptr @LOG_ERR, align 4 %11 = load i32, ptr @errno, align 4 %12 = call i32 @strerror(i32 noundef %11) %13 = call i32 @say(i32 noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr @LOG_INFO, align 4 %15 = call i32 @say(i32 noundef %14, ptr noundef @.str.2, ptr noundef @.str, i32 noundef 100) store i32 -1, ptr %1, align 4 br label %17 16: ; preds = %0 store i32 0, ptr %1, align 4 br label %17 17: ; preds = %16, %9 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @say(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmpxhlq0env.c' source_filename = "/tmp/tmpxhlq0env.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_word(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 br label %5 5: ; preds = %13, %2 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ult ptr %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @swap(ptr noundef %10, ptr noundef %11) br label %13 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 -1 store ptr %17, ptr %4, align 8 br label %5, !llvm.loop !6 18: ; preds = %5 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxhlq0env.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_word(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 = icmp ult ptr %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %12 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @swap(ptr noundef %9, ptr noundef %10) br label %12 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 -1 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %4, align 8 %19 = icmp ult ptr %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %2 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1yjqhfvn.c' source_filename = "/tmp/tmp1yjqhfvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Roll the die how many times? \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"You rolled a one %d times! \0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"You rolled a two %d times! \0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"You rolled a three %d times! \0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"You rolled a four %d times! \0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"You rolled a five %d times! \0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"You rolled a six %d times! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %15 15: ; preds = %58, %0 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %61 19: ; preds = %15 %20 = call i32 (...) @rand() %21 = srem i32 %20, 6 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %25, %19 %29 = load i32, ptr %3, align 4 %30 = icmp eq i32 %29, 2 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %31, %28 %35 = load i32, ptr %3, align 4 %36 = icmp eq i32 %35, 3 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %37, %34 %41 = load i32, ptr %3, align 4 %42 = icmp eq i32 %41, 4 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %43, %40 %47 = load i32, ptr %3, align 4 %48 = icmp eq i32 %47, 5 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %52 52: ; preds = %49, %46 %53 = load i32, ptr %3, align 4 %54 = icmp eq i32 %53, 6 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %58 58: ; preds = %55, %52 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 br label %15, !llvm.loop !6 61: ; preds = %15 %62 = load i32, ptr %5, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64) %66 = load i32, ptr %7, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %66) %68 = load i32, ptr %8, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68) %70 = load i32, ptr %9, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %70) %72 = load i32, ptr %10, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %72) %74 = load i32, ptr %1, align 4 ret i32 %74 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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/tmp1yjqhfvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Roll the die how many times? \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"You rolled a one %d times! \0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"You rolled a two %d times! \0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"You rolled a three %d times! \0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"You rolled a four %d times! \0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"You rolled a five %d times! \0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"You rolled a six %d times! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %63 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %57 %19 = call i32 (...) @rand() %20 = srem i32 %19, 6 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %27 24: ; preds = %18 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %18 %28 = load i32, ptr %3, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %30, %27 %34 = load i32, ptr %3, align 4 %35 = icmp eq i32 %34, 3 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %39 39: ; preds = %36, %33 %40 = load i32, ptr %3, align 4 %41 = icmp eq i32 %40, 4 br i1 %41, label %42, label %45 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %45 45: ; preds = %42, %39 %46 = load i32, ptr %3, align 4 %47 = icmp eq i32 %46, 5 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 br label %51 51: ; preds = %48, %45 %52 = load i32, ptr %3, align 4 %53 = icmp eq i32 %52, 6 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 br label %57 57: ; preds = %54, %51 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %4, align 4 %60 = load i32, ptr %4, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %0 %64 = load i32, ptr %5, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64) %66 = load i32, ptr %6, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %66) %68 = load i32, ptr %7, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %68) %70 = load i32, ptr %8, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %70) %72 = load i32, ptr %9, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %72) %74 = load i32, ptr %10, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74) %76 = load i32, ptr %1, align 4 ret i32 %76 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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/tmpnwe6xxb6.c' source_filename = "/tmp/tmpnwe6xxb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @erff(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr @NAN, align 4 ret float %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwe6xxb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @erff(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr @NAN, align 4 ret float %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe_aq_miu.c' source_filename = "/tmp/tmpe_aq_miu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bson_find_field_as_double(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @bson_find_field(ptr noundef %9, ptr noundef %10, i32 noundef 1) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds double, ptr %16, i64 0 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 store double %18, ptr %19, align 8 store i32 1, ptr %4, align 4 br label %21 20: ; preds = %3 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %20, %15 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i64 @bson_find_field(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/tmpe_aq_miu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bson_find_field_as_double(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @bson_find_field(ptr noundef %9, ptr noundef %10, i32 noundef 1) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds double, ptr %16, i64 0 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 store double %18, ptr %19, align 8 store i32 1, ptr %4, align 4 br label %21 20: ; preds = %3 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %20, %15 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i64 @bson_find_field(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/tmp4hgn70_z.c' source_filename = "/tmp/tmp4hgn70_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_percentage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 2 store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %12, %2 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 8 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = or i32 %17, 255 store i32 %18, ptr %16, align 4 %19 = load i32, ptr %5, align 4 %20 = sub nsw i32 %19, 8 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load i32, ptr %5, align 4 %25 = shl i32 1, %24 %26 = sub nsw i32 %25, 1 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = or i32 %31, %26 store i32 %32, ptr %30, align 4 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 12 %35 = load i32, ptr %34, align 4 %36 = or i32 %35, 192 store i32 %36, ptr %34, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4hgn70_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_percentage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 2 store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 8 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = or i32 %16, 255 store i32 %17, ptr %15, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %18, 8 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp sge i32 %22, 8 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %5, align 4 %26 = shl i32 1, %25 %27 = sub nsw i32 %26, 1 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = or i32 %32, %27 store i32 %33, ptr %31, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 12 %36 = load i32, ptr %35, align 4 %37 = or i32 %36, 192 store i32 %37, ptr %35, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptzxzz815.c' source_filename = "/tmp/tmptzxzz815.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_codepage(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 = call i32 @nls_load_codepage(ptr noundef %7, ptr noundef %8) ret void } declare i32 @nls_load_codepage(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/tmptzxzz815.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_codepage(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 = call i32 @nls_load_codepage(ptr noundef %7, ptr noundef %8) ret void } declare i32 @nls_load_codepage(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/tmpt_30ioyk.c' source_filename = "/tmp/tmpt_30ioyk.c" target datalayout = "e-m:e-p270: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/tmpt_30ioyk.c" target datalayout = "e-m:e-p270: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/tmpckagtf7z.c' source_filename = "/tmp/tmpckagtf7z.c" target datalayout = "e-m:e-p270: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/tmpckagtf7z.c" target datalayout = "e-m:e-p270: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/tmprv6gvloo.c' source_filename = "/tmp/tmprv6gvloo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"DAT: frame %d of packet %d received\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_frameReceived(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @log_msg(ptr noundef %10) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @log_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprv6gvloo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"DAT: frame %d of packet %d received\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_frameReceived(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @log_msg(ptr noundef %10) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @log_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_clbdpj.c' source_filename = "/tmp/tmpq_clbdpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef null) %3 = call i32 @srand(i32 noundef %2) %4 = call i32 (...) @hill_climber() %5 = call i32 (...) @ga_no_crossover() %6 = call i32 (...) @ga_crossover() ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @hill_climber(...) #1 declare i32 @ga_no_crossover(...) #1 declare i32 @ga_crossover(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_clbdpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef null) %3 = call i32 @srand(i32 noundef %2) %4 = call i32 (...) @hill_climber() %5 = call i32 (...) @ga_no_crossover() %6 = call i32 (...) @ga_crossover() ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @hill_climber(...) #1 declare i32 @ga_no_crossover(...) #1 declare i32 @ga_crossover(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqsxhc__6.c' source_filename = "/tmp/tmpqsxhc__6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsxhc__6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_xmek4_.c' source_filename = "/tmp/tmpz_xmek4_.c" target datalayout = "e-m:e-p270: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/tmpz_xmek4_.c" target datalayout = "e-m:e-p270: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/tmpn7jpm9uq.c' source_filename = "/tmp/tmpn7jpm9uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %24, %0 %4 = call i32 (...) @getchar() store i32 %4, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %25 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 32 br i1 %9, label %19, label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 10 br i1 %12, label %19, label %13 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 9 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = icmp eq i32 %17, 92 br i1 %18, label %19, label %21 19: ; preds = %16, %13, %10, %7 %20 = call i32 @printf(ptr noundef @.str) br label %24 21: ; preds = %16 %22 = load i32, ptr %2, align 4 %23 = call i32 @putchar(i32 noundef %22) br label %24 24: ; preds = %21, %19 br label %3, !llvm.loop !6 25: ; preds = %3 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn7jpm9uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @getchar() store i32 %3, ptr %2, align 4 %4 = load i32, ptr @EOF, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %23 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 32 br i1 %8, label %18, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 10 br i1 %11, label %18, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 9 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 92 br i1 %17, label %18, label %20 18: ; preds = %15, %12, %9, %6 %19 = call i32 @printf(ptr noundef @.str) br label %23 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = call i32 @putchar(i32 noundef %21) br label %23 23: ; preds = %20, %18 %24 = call i32 (...) @getchar() store i32 %24, ptr %2, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %27 27: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd6nb9ypb.c' source_filename = "/tmp/tmpd6nb9ypb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type a number X: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Type a number Y: \0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"The result for x = %.4f and y = %.4f is %.4f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.000000e+01, ptr %2, align 4 store float 1.000000e+01, ptr %3, align 4 %10 = load float, ptr %2, align 4 %11 = load float, ptr %2, align 4 %12 = fmul float 3.000000e+00, %11 %13 = load float, ptr %3, align 4 %14 = fsub float %13, 4.000000e+00 %15 = fdiv float %12, %14 %16 = fadd float %10, %15 store float %16, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call float @scanf(ptr noundef @.str.1, ptr noundef %5) store float %18, ptr %7, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call float @scanf(ptr noundef @.str.1, ptr noundef %6) store float %20, ptr %8, align 4 %21 = load float, ptr %5, align 4 %22 = load float, ptr %5, align 4 %23 = fmul float 3.000000e+00, %22 %24 = load float, ptr %6, align 4 %25 = fsub float %24, 4.000000e+00 %26 = fdiv float %23, %25 %27 = fadd float %21, %26 store float %27, ptr %9, align 4 %28 = load float, ptr %5, align 4 %29 = fpext float %28 to double %30 = load float, ptr %6, align 4 %31 = fpext float %30 to double %32 = load float, ptr %9, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29, double noundef %31, double noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd6nb9ypb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type a number X: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Type a number Y: \0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"The result for x = %.4f and y = %.4f is %.4f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.000000e+01, ptr %2, align 4 store float 1.000000e+01, ptr %3, align 4 %10 = load float, ptr %2, align 4 %11 = load float, ptr %2, align 4 %12 = fmul float 3.000000e+00, %11 %13 = load float, ptr %3, align 4 %14 = fsub float %13, 4.000000e+00 %15 = fdiv float %12, %14 %16 = fadd float %10, %15 store float %16, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call float @scanf(ptr noundef @.str.1, ptr noundef %5) store float %18, ptr %7, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call float @scanf(ptr noundef @.str.1, ptr noundef %6) store float %20, ptr %8, align 4 %21 = load float, ptr %5, align 4 %22 = load float, ptr %5, align 4 %23 = fmul float 3.000000e+00, %22 %24 = load float, ptr %6, align 4 %25 = fsub float %24, 4.000000e+00 %26 = fdiv float %23, %25 %27 = fadd float %21, %26 store float %27, ptr %9, align 4 %28 = load float, ptr %5, align 4 %29 = fpext float %28 to double %30 = load float, ptr %6, align 4 %31 = fpext float %30 to double %32 = load float, ptr %9, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29, double noundef %31, double noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprjz0zjx7.c' source_filename = "/tmp/tmprjz0zjx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findLower(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %6, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @_findLower(ptr noundef %12, i32 noundef %13, i32 noundef %14) ret i32 %15 } declare i32 @_findLower(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/tmprjz0zjx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findLower(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %6, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @_findLower(ptr noundef %12, i32 noundef %13, i32 noundef %14) ret i32 %15 } declare i32 @_findLower(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/tmp42dllmdl.c' source_filename = "/tmp/tmp42dllmdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 @.str.1 = private unnamed_addr constant [66 x i8] c"operating_system_structuredregistermurecursive_function_compiler\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42dllmdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 @.str.1 = private unnamed_addr constant [66 x i8] c"operating_system_structuredregistermurecursive_function_compiler\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptxxhi_8o.c' source_filename = "/tmp/tmptxxhi_8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @writelines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1000 x i8], ptr %11, i64 %13 %15 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptxxhi_8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @writelines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [1000 x i8], ptr %10, i64 %12 %14 = getelementptr inbounds [1000 x i8], ptr %13, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6nrqpafi.c' source_filename = "/tmp/tmp6nrqpafi.c" target datalayout = "e-m:e-p270: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/tmp6nrqpafi.c" target datalayout = "e-m:e-p270: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/tmpbwsqzbda.c' source_filename = "/tmp/tmpbwsqzbda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_amin(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call double (...) @r8_huge() store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %29, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %32 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds double, ptr %13, i64 %15 %17 = load double, ptr %16, align 8 %18 = call double @r8_abs(double noundef %17) %19 = load double, ptr %5, align 8 %20 = fcmp olt double %18, %19 br i1 %20, label %21, label %28 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = call double @r8_abs(double noundef %26) store double %27, ptr %5, align 8 br label %28 28: ; preds = %21, %12 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %8, !llvm.loop !6 32: ; preds = %8 %33 = load double, ptr %5, align 8 ret double %33 } declare double @r8_huge(...) #1 declare double @r8_abs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbwsqzbda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_amin(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call double (...) @r8_huge() store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %28 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds double, ptr %12, i64 %14 %16 = load double, ptr %15, align 8 %17 = call double @r8_abs(double noundef %16) %18 = load double, ptr %5, align 8 %19 = fcmp olt double %17, %18 br i1 %19, label %20, label %27 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load double, ptr %24, align 8 %26 = call double @r8_abs(double noundef %25) store double %26, ptr %5, align 8 br label %27 27: ; preds = %20, %11 br label %28 28: ; preds = %27 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 %35 = load double, ptr %5, align 8 ret double %35 } declare double @r8_huge(...) #1 declare double @r8_abs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz1h6cfif.c' source_filename = "/tmp/tmpz1h6cfif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @parseType(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = zext i8 %4 to i32 switch i32 %5, label %14 [ i32 130, label %6 i32 133, label %7 i32 131, label %8 i32 132, label %9 i32 134, label %10 i32 129, label %11 i32 135, label %12 i32 128, label %13 ] 6: ; preds = %1 store i8 45, ptr %2, align 1 br label %15 7: ; preds = %1 store i8 100, ptr %2, align 1 br label %15 8: ; preds = %1 store i8 108, ptr %2, align 1 br label %15 9: ; preds = %1 store i8 112, ptr %2, align 1 br label %15 10: ; preds = %1 store i8 99, ptr %2, align 1 br label %15 11: ; preds = %1 store i8 115, ptr %2, align 1 br label %15 12: ; preds = %1 store i8 98, ptr %2, align 1 br label %15 13: ; preds = %1 br label %14 14: ; preds = %1, %13 store i8 63, ptr %2, align 1 br label %15 15: ; preds = %14, %12, %11, %10, %9, %8, %7, %6 %16 = load i8, ptr %2, align 1 ret i8 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1h6cfif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @parseType(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = zext i8 %4 to i32 switch i32 %5, label %14 [ i32 130, label %6 i32 133, label %7 i32 131, label %8 i32 132, label %9 i32 134, label %10 i32 129, label %11 i32 135, label %12 i32 128, label %13 ] 6: ; preds = %1 store i8 45, ptr %2, align 1 br label %15 7: ; preds = %1 store i8 100, ptr %2, align 1 br label %15 8: ; preds = %1 store i8 108, ptr %2, align 1 br label %15 9: ; preds = %1 store i8 112, ptr %2, align 1 br label %15 10: ; preds = %1 store i8 99, ptr %2, align 1 br label %15 11: ; preds = %1 store i8 115, ptr %2, align 1 br label %15 12: ; preds = %1 store i8 98, ptr %2, align 1 br label %15 13: ; preds = %1 br label %14 14: ; preds = %13, %1 store i8 63, ptr %2, align 1 br label %15 15: ; preds = %14, %12, %11, %10, %9, %8, %7, %6 %16 = load i8, ptr %2, align 1 ret i8 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyvkut0g3.c' source_filename = "/tmp/tmpyvkut0g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_nl = type { i64, i32, i64, i32 } @AF_NETLINK = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @NETLINK_ROUTE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Error creating netlink socket\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Error binding netlink socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nl_open() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_nl, align 8 store i32 -1, ptr %2, align 4 %4 = load i32, ptr @AF_NETLINK, align 4 %5 = load i32, ptr @SOCK_RAW, align 4 %6 = load i32, ptr @NETLINK_ROUTE, align 4 %7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6) store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @sysf_printf(ptr noundef @.str, ptr noundef @.str.1) br label %13 13: ; preds = %11, %8 br label %14 14: ; preds = %13 %15 = load i32, ptr @AF_NETLINK, align 4 %16 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 3 store i32 %15, ptr %16, align 8 %17 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 2 store i64 0, ptr %17, align 8 %18 = call i32 (...) @getpid() %19 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 0 store i64 0, ptr %20, align 8 %21 = load i32, ptr %2, align 4 %22 = call i32 @bind(i32 noundef %21, ptr noundef %3, i32 noundef 32) store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %14 %24 = load i32, ptr %1, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @sysf_printf(ptr noundef @.str.2, ptr noundef @.str.1) br label %28 28: ; preds = %26, %23 br label %29 29: ; preds = %28 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sysf_printf(ptr noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @bind(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/tmpyvkut0g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_nl = type { i64, i32, i64, i32 } @AF_NETLINK = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @NETLINK_ROUTE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Error creating netlink socket\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Error binding netlink socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nl_open() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_nl, align 8 store i32 -1, ptr %2, align 4 %4 = load i32, ptr @AF_NETLINK, align 4 %5 = load i32, ptr @SOCK_RAW, align 4 %6 = load i32, ptr @NETLINK_ROUTE, align 4 %7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6) store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @sysf_printf(ptr noundef @.str, ptr noundef @.str.1) br label %13 13: ; preds = %11, %8 br label %14 14: ; preds = %13 %15 = load i32, ptr @AF_NETLINK, align 4 %16 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 3 store i32 %15, ptr %16, align 8 %17 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 2 store i64 0, ptr %17, align 8 %18 = call i32 (...) @getpid() %19 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 0 store i64 0, ptr %20, align 8 %21 = load i32, ptr %2, align 4 %22 = call i32 @bind(i32 noundef %21, ptr noundef %3, i32 noundef 32) store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %14 %24 = load i32, ptr %1, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @sysf_printf(ptr noundef @.str.2, ptr noundef @.str.1) br label %28 28: ; preds = %26, %23 br label %29 29: ; preds = %28 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sysf_printf(ptr noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @bind(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/tmp58q27_jv.c' source_filename = "/tmp/tmp58q27_jv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-p\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"--paused\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_paused(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %14 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %14 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %7 %15 = load i32, ptr %2, align 4 ret i32 %15 } 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/tmp58q27_jv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-p\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"--paused\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_paused(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %14 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %14 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %7 %15 = load i32, ptr %2, align 4 ret i32 %15 } 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/tmprshdtk3p.c' source_filename = "/tmp/tmprshdtk3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_PeriodicTask_StopC() #0 { store volatile i32 1, ptr inttoptr (i64 1074057252 to ptr), align 4 store volatile i32 16, ptr inttoptr (i64 3758154124 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprshdtk3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_PeriodicTask_StopC() #0 { store volatile i32 1, ptr inttoptr (i64 1074057252 to ptr), align 4 store volatile i32 16, ptr inttoptr (i64 3758154124 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ki16o34.c' source_filename = "/tmp/tmp1ki16o34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %35, %1 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %40 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 store i32 %19, ptr %5, align 4 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 %24, ptr %28, align 1 %29 = load i32, ptr %5, align 4 %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %35 35: ; preds = %13 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %4, align 4 br label %9, !llvm.loop !6 40: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ki16o34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %42 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %34 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 store i32 %18, ptr %5, align 4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 %28 = load i32, ptr %5, align 4 %29 = trunc i32 %28 to i8 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %12 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %42 42: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7w766b6n.c' source_filename = "/tmp/tmp7w766b6n.c" target datalayout = "e-m:e-p270: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/tmp7w766b6n.c" target datalayout = "e-m:e-p270: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/tmpvj02nay1.c' source_filename = "/tmp/tmpvj02nay1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvj02nay1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_z6l044.c' source_filename = "/tmp/tmp3_z6l044.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Scripting_Idle() #0 { %1 = call i32 (...) @scripting_RunGC() ret void } declare i32 @scripting_RunGC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_z6l044.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Scripting_Idle() #0 { %1 = call i32 (...) @scripting_RunGC() ret void } declare i32 @scripting_RunGC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4kok70bc.c' source_filename = "/tmp/tmp4kok70bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tty_Back() #0 { %1 = alloca i8, align 1 store i8 8, ptr %1, align 1 %2 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) store i8 32, ptr %1, align 1 %3 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) store i8 8, ptr %1, align 1 %4 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4kok70bc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tty_Back() #0 { %1 = alloca i8, align 1 store i8 8, ptr %1, align 1 %2 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) store i8 32, ptr %1, align 1 %3 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) store i8 8, ptr %1, align 1 %4 = call i32 @write(i32 noundef 1, ptr noundef %1, i32 noundef 1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3hr_fkjw.c' source_filename = "/tmp/tmp3hr_fkjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genieWriteInhLabelDefault(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @genieWriteObj(i32 noundef 41, i32 noundef %3, i32 noundef -1) ret i32 %4 } declare i32 @genieWriteObj(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/tmp3hr_fkjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genieWriteInhLabelDefault(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @genieWriteObj(i32 noundef 41, i32 noundef %3, i32 noundef -1) ret i32 %4 } declare i32 @genieWriteObj(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/tmptsrtvosg.c' source_filename = "/tmp/tmptsrtvosg.c" target datalayout = "e-m:e-p270: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/tmptsrtvosg.c" target datalayout = "e-m:e-p270: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/tmp0gz_282s.c' source_filename = "/tmp/tmp0gz_282s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @str_lower.lower_word = internal global [100 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_lower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @str_lower.lower_word, ptr %3, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 %12 = load i8, ptr %10, align 1 %13 = sext i8 %12 to i32 %14 = call i32 @tolower(i32 noundef %13) #2 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 store i8 %15, ptr %16, align 1 br label %4, !llvm.loop !6 18: ; preds = %4 %19 = load ptr, ptr %3, align 8 store i8 0, ptr %19, align 1 ret ptr @str_lower.lower_word } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0gz_282s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @str_lower.lower_word = internal global [100 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_lower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @str_lower.lower_word, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load i8, ptr %9, align 1 %12 = sext i8 %11 to i32 %13 = call i32 @tolower(i32 noundef %12) #2 %14 = trunc i32 %13 to i8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 store i8 %14, ptr %15, align 1 %17 = load ptr, ptr %2, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %21 21: ; preds = %._crit_edge, %1 %22 = load ptr, ptr %3, align 8 store i8 0, ptr %22, align 1 ret ptr @str_lower.lower_word } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvl08e9o5.c' source_filename = "/tmp/tmpvl08e9o5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uniform_binary_search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca 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 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 1 %12 = sdiv i32 %11, 2 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = sdiv i32 %14, 2 store i32 %15, ptr %9, align 4 %16 = load i32, ptr @INT_MIN, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 -1 store i32 %16, ptr %18, align 4 br label %19 19: ; preds = %68, %3 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp slt i32 %20, %25 br i1 %26, label %27, label %39 27: ; preds = %19 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 -1, ptr %4, align 4 br label %69 31: ; preds = %27 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 %34 = sdiv i32 %33, 2 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, %34 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %9, align 4 %38 = sdiv i32 %37, 2 store i32 %38, ptr %9, align 4 br label %68 39: ; preds = %19 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %40, %45 br i1 %46, label %47, label %59 47: ; preds = %39 %48 = load i32, ptr %9, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 -1, ptr %4, align 4 br label %69 51: ; preds = %47 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 %54 = sdiv i32 %53, 2 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = sdiv i32 %57, 2 store i32 %58, ptr %9, align 4 br label %67 59: ; preds = %39 %60 = load i32, ptr %8, align 4 %61 = icmp sge i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %59 %63 = load i32, ptr %8, align 4 br label %65 64: ; preds = %59 br label %65 65: ; preds = %64, %62 %66 = phi i32 [ %63, %62 ], [ -1, %64 ] store i32 %66, ptr %4, align 4 br label %69 67: ; preds = %51 br label %68 68: ; preds = %67, %31 br label %19 69: ; preds = %65, %50, %30 %70 = load i32, ptr %4, align 4 ret i32 %70 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvl08e9o5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uniform_binary_search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca 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 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 1 %12 = sdiv i32 %11, 2 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = sdiv i32 %14, 2 store i32 %15, ptr %9, align 4 %16 = load i32, ptr @INT_MIN, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 -1 store i32 %16, ptr %18, align 4 br label %19 19: ; preds = %68, %3 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp slt i32 %20, %25 br i1 %26, label %27, label %39 27: ; preds = %19 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 -1, ptr %4, align 4 br label %69 31: ; preds = %27 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 %34 = sdiv i32 %33, 2 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, %34 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %9, align 4 %38 = sdiv i32 %37, 2 store i32 %38, ptr %9, align 4 br label %68 39: ; preds = %19 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %40, %45 br i1 %46, label %47, label %59 47: ; preds = %39 %48 = load i32, ptr %9, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 -1, ptr %4, align 4 br label %69 51: ; preds = %47 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 %54 = sdiv i32 %53, 2 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = sdiv i32 %57, 2 store i32 %58, ptr %9, align 4 br label %67 59: ; preds = %39 %60 = load i32, ptr %8, align 4 %61 = icmp sge i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %59 %63 = load i32, ptr %8, align 4 br label %65 64: ; preds = %59 br label %65 65: ; preds = %64, %62 %66 = phi i32 [ %63, %62 ], [ -1, %64 ] store i32 %66, ptr %4, align 4 br label %69 67: ; preds = %51 br label %68 68: ; preds = %67, %31 br label %19 69: ; preds = %65, %50, %30 %70 = load i32, ptr %4, align 4 ret i32 %70 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdgnz4953.c' source_filename = "/tmp/tmpdgnz4953.c" target datalayout = "e-m:e-p270: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/tmpdgnz4953.c" target datalayout = "e-m:e-p270: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/tmpoxcgq5j2.c' source_filename = "/tmp/tmpoxcgq5j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i64 } @.str = private unnamed_addr constant [4 x i8] c"PWD\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_current_dir_name() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca %struct.stat, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca i32, align 4 %8 = call ptr @getenv(ptr noundef @.str) store ptr %8, ptr %2, align 8 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %37 15: ; preds = %0 %16 = call i32 @stat(ptr noundef @.str.1, ptr noundef %5) %17 = icmp ne i32 %16, 0 br i1 %17, label %37, label %18 18: ; preds = %15 %19 = load ptr, ptr %2, align 8 %20 = call i32 @stat(ptr noundef %19, ptr noundef %6) %21 = icmp ne i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %26 = load i64, ptr %25, align 8 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %37 28: ; preds = %22 %29 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = icmp eq i64 %30, %32 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 37: ; preds = %28, %22, %18, %15, %0 %38 = trunc i64 %10 to i32 %39 = call i64 @getcwd(ptr noundef %12, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call ptr @strdup(ptr noundef %12) store ptr %42, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 43: ; preds = %37 store ptr null, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 44: ; preds = %43, %41, %34 %45 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %45) %46 = load ptr, ptr %1, align 8 ret ptr %46 } declare ptr @getenv(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @stat(ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @getcwd(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoxcgq5j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i64 } @.str = private unnamed_addr constant [4 x i8] c"PWD\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_current_dir_name() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca %struct.stat, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca i32, align 4 %8 = call ptr @getenv(ptr noundef @.str) store ptr %8, ptr %2, align 8 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %37 15: ; preds = %0 %16 = call i32 @stat(ptr noundef @.str.1, ptr noundef %5) %17 = icmp ne i32 %16, 0 br i1 %17, label %37, label %18 18: ; preds = %15 %19 = load ptr, ptr %2, align 8 %20 = call i32 @stat(ptr noundef %19, ptr noundef %6) %21 = icmp ne i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %26 = load i64, ptr %25, align 8 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %37 28: ; preds = %22 %29 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = icmp eq i64 %30, %32 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 37: ; preds = %28, %22, %18, %15, %0 %38 = trunc i64 %10 to i32 %39 = call i64 @getcwd(ptr noundef %12, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call ptr @strdup(ptr noundef %12) store ptr %42, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 43: ; preds = %37 store ptr null, ptr %1, align 8 store i32 1, ptr %7, align 4 br label %44 44: ; preds = %43, %41, %34 %45 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %45) %46 = load ptr, ptr %1, align 8 ret ptr %46 } declare ptr @getenv(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @stat(ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @getcwd(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"}
; ModuleID = '/tmp/tmp2ktjupy1.c' source_filename = "/tmp/tmp2ktjupy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rs_decode__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @rs_decode_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret void } declare i32 @rs_decode_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ktjupy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rs_decode__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @rs_decode_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret void } declare i32 @rs_decode_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv6uwbm63.c' source_filename = "/tmp/tmpv6uwbm63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_cols(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @calc_col(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @calc_index(i32 noundef %14, i32 noundef 0, i32 noundef %15) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @calc_index(i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 store i32 %21, ptr %10, align 4 br label %22 22: ; preds = %40, %3 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %44 26: ; preds = %22 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 113 br i1 %33, label %34, label %39 34: ; preds = %26 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 42, ptr %38, align 1 br label %39 39: ; preds = %34, %26 br label %40 40: ; preds = %39 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %10, align 4 br label %22, !llvm.loop !6 44: ; preds = %22 ret void } declare i32 @calc_col(i32 noundef, i32 noundef) #1 declare i32 @calc_index(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv6uwbm63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_cols(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @calc_col(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @calc_index(i32 noundef %14, i32 noundef 0, i32 noundef %15) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @calc_index(i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %25 25: ; preds = %.lr.ph, %39 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 113 br i1 %32, label %33, label %38 33: ; preds = %25 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 42, ptr %37, align 1 br label %38 38: ; preds = %33, %25 br label %39 39: ; preds = %38 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %46 46: ; preds = %._crit_edge, %3 ret void } declare i32 @calc_col(i32 noundef, i32 noundef) #1 declare i32 @calc_index(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr2fek50z.c' source_filename = "/tmp/tmpr2fek50z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: cold noinline nounwind optsize sspstrong uwtable define dso_local void @ff_sine_window_init(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %25, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %28 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to double %13 = fadd double %12, 5.000000e-01 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to double %16 = fmul double 2.000000e+00, %15 %17 = fdiv double 0x400921FB54442D18, %16 %18 = fmul double %13, %17 %19 = fptosi double %18 to i32 %20 = call float @sinf(i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 store float %20, ptr %24, align 4 br label %25 25: ; preds = %10 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %6, !llvm.loop !6 28: ; preds = %6 ret void } declare float @sinf(i32 noundef) #1 attributes #0 = { cold noinline nounwind optsize sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpr2fek50z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: cold noinline nounwind optsize sspstrong uwtable define dso_local void @ff_sine_window_init(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to double %12 = fadd double %11, 5.000000e-01 %13 = load i32, ptr %4, align 4 %14 = sitofp i32 %13 to double %15 = fmul double 2.000000e+00, %14 %16 = fdiv double 0x400921FB54442D18, %15 %17 = fmul double %12, %16 %18 = fptosi double %17 to i32 %19 = call float @sinf(i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %20, i64 %22 store float %19, ptr %23, align 4 br label %24 24: ; preds = %9 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare float @sinf(i32 noundef) #1 attributes #0 = { cold noinline nounwind optsize sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpaw7rbxe7.c' source_filename = "/tmp/tmpaw7rbxe7.c" target datalayout = "e-m:e-p270: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/tmpaw7rbxe7.c" target datalayout = "e-m:e-p270: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/tmpqskvflro.c' source_filename = "/tmp/tmpqskvflro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"globfree: not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @globfree(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 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqskvflro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"globfree: not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @globfree(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 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksw8su0h.c' source_filename = "/tmp/tmpksw8su0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupper(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %31, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %32 8: ; preds = %4 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @skip_multibyte_char(i8 noundef signext %10) store i64 %11, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %8 %15 = load i64, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 %15 store ptr %17, ptr %2, align 8 br label %31 18: ; preds = %8 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @islower(i8 noundef zeroext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = call signext i8 @toupper(i8 noundef signext %25) %27 = load ptr, ptr %2, align 8 store i8 %26, ptr %27, align 1 br label %28 28: ; preds = %23, %18 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %2, align 8 br label %31 31: ; preds = %28, %14 br label %4, !llvm.loop !6 32: ; preds = %4 ret void } declare i64 @skip_multibyte_char(i8 noundef signext) #1 declare i64 @islower(i8 noundef zeroext) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksw8su0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupper(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %30 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i64 @skip_multibyte_char(i8 noundef signext %9) store i64 %10, ptr %3, align 8 %11 = load i64, ptr %3, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %7 %14 = load i64, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 %14 store ptr %16, ptr %2, align 8 br label %30 17: ; preds = %7 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @islower(i8 noundef zeroext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %2, align 8 %24 = load i8, ptr %23, align 1 %25 = call signext i8 @toupper(i8 noundef signext %24) %26 = load ptr, ptr %2, align 8 store i8 %25, ptr %26, align 1 br label %27 27: ; preds = %22, %17 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %2, align 8 br label %30 30: ; preds = %27, %13 %31 = load ptr, ptr %2, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %34 34: ; preds = %._crit_edge, %1 ret void } declare i64 @skip_multibyte_char(i8 noundef signext) #1 declare i64 @islower(i8 noundef zeroext) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe_wl65zj.c' source_filename = "/tmp/tmpe_wl65zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @.str = private unnamed_addr constant [21 x i8] c"i sleep %d microsec\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mafunc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @debug(ptr noundef @.str, i32 noundef %4) br label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 1000 %9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 8 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 1000 %12 = sext i32 %11 to i64 %13 = mul nsw i64 %12, 1000 %14 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %13, ptr %14, align 8 %15 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) br label %16 16: ; preds = %6 %17 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %17 } declare i32 @debug(ptr noundef, i32 noundef) #1 declare i32 @nanosleep(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/tmpe_wl65zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @.str = private unnamed_addr constant [21 x i8] c"i sleep %d microsec\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mafunc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @debug(ptr noundef @.str, i32 noundef %4) br label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 1000 %9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 8 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 1000 %12 = sext i32 %11 to i64 %13 = mul nsw i64 %12, 1000 %14 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %13, ptr %14, align 8 %15 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) br label %16 16: ; preds = %6 %17 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %17 } declare i32 @debug(ptr noundef, i32 noundef) #1 declare i32 @nanosleep(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/tmpl81uppll.c' source_filename = "/tmp/tmpl81uppll.c" target datalayout = "e-m:e-p270: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/tmpl81uppll.c" target datalayout = "e-m:e-p270: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/tmpnsucslnc.c' source_filename = "/tmp/tmpnsucslnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Calculating primes up to %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error calculating primes.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Done. Run in %fs\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Printing results to file.\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"meusPrimos.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Error in writting to file.\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\09%d\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2000000, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = call i64 (...) @clock() store i64 %11, ptr %3, align 8 %12 = load i32, ptr %2, align 4 %13 = call ptr @primes(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = call i64 (...) @clock() store i64 %14, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %64 19: ; preds = %0 %20 = load i64, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = sub nsw i64 %20, %21 %23 = sitofp i64 %22 to float %24 = load float, ptr @CLOCKS_PER_SEC, align 4 %25 = fdiv float %23, %24 store float %25, ptr %6, align 4 %26 = load float, ptr %6, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %30 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %19 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %64 35: ; preds = %19 store i32 0, ptr %8, align 4 br label %36 36: ; preds = %58, %35 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, -999 br i1 %42, label %43, label %61 43: ; preds = %36 %44 = load ptr, ptr %7, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.7, i32 noundef %49) %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 %53 = srem i32 %52, 10 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %43 %56 = load ptr, ptr %7, align 8 %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.8) br label %58 58: ; preds = %55, %43 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 br label %36, !llvm.loop !6 61: ; preds = %36 %62 = load ptr, ptr %5, align 8 %63 = call i32 @free(ptr noundef %62) store i32 0, ptr %1, align 4 br label %64 64: ; preds = %61, %33, %17 %65 = load i32, ptr %1, align 4 ret i32 %65 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @clock(...) #1 declare ptr @primes(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnsucslnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Calculating primes up to %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error calculating primes.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Done. Run in %fs\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Printing results to file.\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"meusPrimos.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Error in writting to file.\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\09%d\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2000000, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = call i64 (...) @clock() store i64 %11, ptr %3, align 8 %12 = load i32, ptr %2, align 4 %13 = call ptr @primes(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = call i64 (...) @clock() store i64 %14, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %69 19: ; preds = %0 %20 = load i64, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = sub nsw i64 %20, %21 %23 = sitofp i64 %22 to float %24 = load float, ptr @CLOCKS_PER_SEC, align 4 %25 = fdiv float %23, %24 store float %25, ptr %6, align 4 %26 = load float, ptr %6, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %30 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %19 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %69 35: ; preds = %19 store i32 0, ptr %8, align 4 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp ne i32 %40, -999 br i1 %41, label %.lr.ph, label %66 .lr.ph: ; preds = %35 br label %42 42: ; preds = %.lr.ph, %57 %43 = load ptr, ptr %7, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.7, i32 noundef %48) %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 %52 = srem i32 %51, 10 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %42 %55 = load ptr, ptr %7, align 8 %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.8) br label %57 57: ; preds = %54, %42 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp ne i32 %64, -999 br i1 %65, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %66 66: ; preds = %._crit_edge, %35 %67 = load ptr, ptr %5, align 8 %68 = call i32 @free(ptr noundef %67) store i32 0, ptr %1, align 4 br label %69 69: ; preds = %66, %33, %17 %70 = load i32, ptr %1, align 4 ret i32 %70 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @clock(...) #1 declare ptr @primes(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv44753rp.c' source_filename = "/tmp/tmpv44753rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %12, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = ptrtoint ptr %8 to i64 %10 = call i32 @printf(ptr noundef @.str, i64 noundef %9) %11 = call i32 (...) @yield() br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv44753rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %11 %7 = load ptr, ptr %2, align 8 %8 = ptrtoint ptr %7 to i64 %9 = call i32 @printf(ptr noundef @.str, i64 noundef %8) %10 = call i32 (...) @yield() br label %11 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplwpal1g3.c' source_filename = "/tmp/tmplwpal1g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsolateUniqueChar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %38, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %41 14: ; preds = %10 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i64 @CheckCharInArray(ptr noundef %15, i32 noundef %17, i8 noundef signext %22) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %37 25: ; preds = %14 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %32, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 store i8 %30, ptr %36, align 1 br label %37 37: ; preds = %25, %14 br label %38 38: ; preds = %37 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 br label %10, !llvm.loop !6 41: ; preds = %10 ret void } declare i64 @CheckCharInArray(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwpal1g3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsolateUniqueChar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %43 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %37 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i64 @CheckCharInArray(ptr noundef %14, i32 noundef %16, i8 noundef signext %21) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %13 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %30, i64 %34 store i8 %29, ptr %35, align 1 br label %36 36: ; preds = %24, %13 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %4 ret void } declare i64 @CheckCharInArray(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpp1x5szbm.c' source_filename = "/tmp/tmpp1x5szbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %3d %s: %s\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Chars\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Line\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Long\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 [1000 x i8], align 16 %5 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %19, %0 %7 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @getaline(ptr noundef %7, i32 noundef 1000) store i32 %8, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load i32, ptr %2, align 4 store i32 %15, ptr %3, align 4 %16 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %17 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @copy(ptr noundef %16, ptr noundef %17) br label %19 19: ; preds = %14, %10 %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %22 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %20, ptr noundef @.str.2, ptr noundef %21) br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i32, ptr %3, align 4 %28 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %29 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27, ptr noundef @.str.3, ptr noundef %28) br label %30 30: ; preds = %26, %23 ret i32 0 } declare i32 @getaline(ptr noundef, i32 noundef) #1 declare i32 @copy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1x5szbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %3d %s: %s\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Chars\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Line\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Long\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 [1000 x i8], align 16 %5 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @getaline(ptr noundef %6, i32 noundef 1000) store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %18 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %3, align 4 %15 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %16 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @copy(ptr noundef %15, ptr noundef %16) br label %18 18: ; preds = %13, %9 %19 = load i32, ptr %2, align 4 %20 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %19, ptr noundef @.str.2, ptr noundef %20) %22 = call i32 @getaline(ptr noundef %6, i32 noundef 1000) store i32 %22, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %3, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %30 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %28, ptr noundef @.str.3, ptr noundef %29) br label %31 31: ; preds = %27, %24 ret i32 0 } declare i32 @getaline(ptr noundef, i32 noundef) #1 declare i32 @copy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpog98_w27.c' source_filename = "/tmp/tmpog98_w27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADC1_2_ISR() #0 { %1 = call i32 (...) @ADC1_ISR() %2 = call i32 (...) @ADC2_ISR() ret void } declare i32 @ADC1_ISR(...) #1 declare i32 @ADC2_ISR(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpog98_w27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADC1_2_ISR() #0 { %1 = call i32 (...) @ADC1_ISR() %2 = call i32 (...) @ADC2_ISR() ret void } declare i32 @ADC1_ISR(...) #1 declare i32 @ADC2_ISR(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_2gf__3l.c' source_filename = "/tmp/tmp_2gf__3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 1062326438 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2gf__3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 1062326438 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}