llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpl6o303_n.c' source_filename = "/tmp/tmpl6o303_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maxdinarr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %33, %3 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %36 17: ; preds = %13 %18 = load double, ptr %9, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds double, ptr %19, i64 %21 %23 = load double, ptr %22, align 8 %24 = fcmp olt double %18, %23 br i1 %24, label %25, label %32 25: ; preds = %17 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 store double %30, ptr %9, align 8 %31 = load i32, ptr %7, align 4 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %25, %17 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %13, !llvm.loop !6 36: ; preds = %13 %37 = load ptr, ptr %6, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %8, align 4 %41 = load ptr, ptr %6, align 8 store i32 %40, ptr %41, align 4 br label %42 42: ; preds = %39, %36 %43 = load double, ptr %9, align 8 ret double %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/tmpl6o303_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maxdinarr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %9, align 8 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %32 %17 = load double, ptr %9, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = fcmp olt double %17, %22 br i1 %23, label %24, label %31 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 store double %29, ptr %9, align 8 %30 = load i32, ptr %7, align 4 store i32 %30, ptr %8, align 4 br label %31 31: ; preds = %24, %16 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 %39 = load ptr, ptr %6, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %6, align 8 store i32 %42, ptr %43, align 4 br label %44 44: ; preds = %41, %38 %45 = load double, ptr %9, align 8 ret double %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/tmp7s702v3b.c' source_filename = "/tmp/tmp7s702v3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = 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 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load i64, ptr %7, align 8 store i64 %14, ptr %10, align 8 br label %15 15: ; preds = %26, %3 %16 = load i64, ptr %10, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %10, align 8 %18 = icmp ne i64 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %8, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 store i64 %34, ptr %11, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %11, align 8 %37 = sub i64 %35, %36 store i64 %37, ptr %10, align 8 %38 = load i64, ptr %10, align 8 %39 = add i64 %38, -1 store i64 %39, ptr %10, align 8 %40 = icmp eq i64 %38, 0 br i1 %40, label %41, label %46 41: ; preds = %29 %42 = load i64, ptr %11, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i64 @strlen(ptr noundef %43) %45 = add i64 %42, %44 store i64 %45, ptr %4, align 8 br label %74 46: ; preds = %29 br label %47 47: ; preds = %62, %46 %48 = load ptr, ptr %6, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %65 52: ; preds = %47 %53 = load i64, ptr %10, align 8 %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %62 55: ; preds = %52 %56 = load ptr, ptr %6, align 8 %57 = load i8, ptr %56, align 1 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %5, align 8 store i8 %57, ptr %58, align 1 %60 = load i64, ptr %10, align 8 %61 = add i64 %60, -1 store i64 %61, ptr %10, align 8 br label %62 62: ; preds = %55, %52 %63 = load ptr, ptr %6, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %6, align 8 br label %47, !llvm.loop !8 65: ; preds = %47 %66 = load ptr, ptr %5, align 8 store i8 0, ptr %66, align 1 %67 = load i64, ptr %11, align 8 %68 = load ptr, ptr %6, align 8 %69 = load ptr, ptr %9, align 8 %70 = ptrtoint ptr %68 to i64 %71 = ptrtoint ptr %69 to i64 %72 = sub i64 %70, %71 %73 = add i64 %67, %72 store i64 %73, ptr %4, align 8 br label %74 74: ; preds = %65, %41 %75 = load i64, ptr %4, align 8 ret i64 %75 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7s702v3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = 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 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load i64, ptr %7, align 8 store i64 %14, ptr %10, align 8 br label %15 15: ; preds = %26, %3 %16 = load i64, ptr %10, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %10, align 8 %18 = icmp ne i64 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %8, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 store i64 %34, ptr %11, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %11, align 8 %37 = sub i64 %35, %36 store i64 %37, ptr %10, align 8 %38 = load i64, ptr %10, align 8 %39 = add i64 %38, -1 store i64 %39, ptr %10, align 8 %40 = icmp eq i64 %38, 0 br i1 %40, label %41, label %46 41: ; preds = %29 %42 = load i64, ptr %11, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i64 @strlen(ptr noundef %43) %45 = add i64 %42, %44 store i64 %45, ptr %4, align 8 br label %77 46: ; preds = %29 %47 = load ptr, ptr %6, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %.lr.ph, label %68 .lr.ph: ; preds = %46 br label %51 51: ; preds = %.lr.ph, %61 %52 = load i64, ptr %10, align 8 %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %61 54: ; preds = %51 %55 = load ptr, ptr %6, align 8 %56 = load i8, ptr %55, align 1 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %5, align 8 store i8 %56, ptr %57, align 1 %59 = load i64, ptr %10, align 8 %60 = add i64 %59, -1 store i64 %60, ptr %10, align 8 br label %61 61: ; preds = %54, %51 %62 = load ptr, ptr %6, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %6, align 8 %64 = load ptr, ptr %6, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %51, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %61 br label %68 68: ; preds = %._crit_edge, %46 %69 = load ptr, ptr %5, align 8 store i8 0, ptr %69, align 1 %70 = load i64, ptr %11, align 8 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %9, align 8 %73 = ptrtoint ptr %71 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = add i64 %70, %75 store i64 %76, ptr %4, align 8 br label %77 77: ; preds = %68, %41 %78 = load i64, ptr %4, align 8 ret i64 %78 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_5jhtd14.c' source_filename = "/tmp/tmp_5jhtd14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quant_prob_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @celt_free(ptr noundef %3) ret void } declare i32 @celt_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/tmp_5jhtd14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quant_prob_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @celt_free(ptr noundef %3) ret void } declare i32 @celt_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/tmp8vkmm6o_.c' source_filename = "/tmp/tmp8vkmm6o_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getludec() #0 { %1 = alloca [80 x i8], align 16 %2 = alloca i64, align 8 %3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @safe_gets(ptr noundef %3, i32 noundef 80) store i64 0, ptr %2, align 8 %5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @_scanf_getll(ptr noundef %5, ptr noundef %2, i32 noundef 10, i32 noundef 80, i32 noundef 0) %7 = load i64, ptr %2, align 8 ret i64 %7 } declare i32 @safe_gets(ptr noundef, i32 noundef) #1 declare i32 @_scanf_getll(ptr 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/tmp8vkmm6o_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getludec() #0 { %1 = alloca [80 x i8], align 16 %2 = alloca i64, align 8 %3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @safe_gets(ptr noundef %3, i32 noundef 80) store i64 0, ptr %2, align 8 %5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @_scanf_getll(ptr noundef %5, ptr noundef %2, i32 noundef 10, i32 noundef 80, i32 noundef 0) %7 = load i64, ptr %2, align 8 ret i64 %7 } declare i32 @safe_gets(ptr noundef, i32 noundef) #1 declare i32 @_scanf_getll(ptr 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/tmpkraircjy.c' source_filename = "/tmp/tmpkraircjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_palindrome_iter(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %31, %1 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %34 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, 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 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %20, %21 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %19, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %18, %27 br i1 %28, label %29, label %30 29: ; preds = %12 store i32 0, ptr %2, align 4 br label %35 30: ; preds = %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %8, !llvm.loop !6 34: ; preds = %8 store i32 1, ptr %2, align 4 br label %35 35: ; preds = %34, %29 %36 = load i32, ptr %2, align 4 ret i32 %36 } 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/tmpkraircjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_palindrome_iter(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %30 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %19, %20 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %18, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %17, %26 br i1 %27, label %28, label %29 28: ; preds = %11 store i32 0, ptr %2, align 4 br label %37 29: ; preds = %11 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %37 37: ; preds = %36, %28 %38 = load i32, ptr %2, align 4 ret i32 %38 } 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/tmppmamlv7j.c' source_filename = "/tmp/tmppmamlv7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @crash() ret i32 0 } declare i32 @crash(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmamlv7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @crash() ret i32 0 } declare i32 @crash(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphketdz4_.c' source_filename = "/tmp/tmphketdz4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"test_soft_sym_correlate sigCoef patCoef bw degLim [result]\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error in allocating memory\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"about to combine coefficients\0A\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [23 x i8] c"combine time \09 = %.4e\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"about to inverse so(3) transform\0A\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"finished inverse so(3) transform\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"inverse so(3) time \09 = %.4e\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"ii = %d\09jj = %d\09kk = %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c"alpha = %f\0Abeta = %f\0Agamma = %f\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [20 x i8] c"about to save data\0A\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"%.16f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 5 br i1 %29, label %30, label %33 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = call i32 @exit(i32 noundef 0) #4 unreachable 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %8, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 4 %40 = load ptr, ptr %39, align 8 %41 = call i32 @atoi(ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %8, align 4 %43 = mul nsw i32 8, %42 %44 = load i32, ptr %8, align 4 %45 = mul nsw i32 %43, %44 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = mul i64 8, %48 %50 = trunc i64 %49 to i32 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %12, align 8 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 8, %53 %55 = load i32, ptr %8, align 4 %56 = mul nsw i32 %54, %55 %57 = load i32, ptr %8, align 4 %58 = mul nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = mul i64 8, %59 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %13, align 8 %64 = load i32, ptr %8, align 4 %65 = mul nsw i32 16, %64 %66 = load i32, ptr %8, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %8, align 4 %69 = mul nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = mul i64 8, %70 %72 = trunc i64 %71 to i32 %73 = call i64 @malloc(i32 noundef %72) %74 = inttoptr i64 %73 to ptr store ptr %74, ptr %14, align 8 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 24, %75 %77 = load i32, ptr %8, align 4 %78 = mul nsw i32 2, %77 %79 = load i32, ptr %8, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %76, %80 %82 = sext i32 %81 to i64 %83 = mul i64 8, %82 %84 = trunc i64 %83 to i32 %85 = call i64 @malloc(i32 noundef %84) %86 = inttoptr i64 %85 to ptr store ptr %86, ptr %15, align 8 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = mul i64 8, %88 %90 = load i32, ptr %8, align 4 %91 = sext i32 %90 to i64 %92 = mul i64 %89, %91 %93 = trunc i64 %92 to i32 %94 = call i64 @malloc(i32 noundef %93) %95 = inttoptr i64 %94 to ptr store ptr %95, ptr %16, align 8 %96 = load i32, ptr %8, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 8, %97 %99 = load i32, ptr %8, align 4 %100 = sext i32 %99 to i64 %101 = mul i64 %98, %100 %102 = trunc i64 %101 to i32 %103 = call i64 @malloc(i32 noundef %102) %104 = inttoptr i64 %103 to ptr store ptr %104, ptr %17, align 8 %105 = load i32, ptr %8, align 4 %106 = sext i32 %105 to i64 %107 = mul i64 8, %106 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = mul i64 %107, %109 %111 = trunc i64 %110 to i32 %112 = call i64 @malloc(i32 noundef %111) %113 = inttoptr i64 %112 to ptr store ptr %113, ptr %18, align 8 %114 = load i32, ptr %8, align 4 %115 = sext i32 %114 to i64 %116 = mul i64 8, %115 %117 = load i32, ptr %8, align 4 %118 = sext i32 %117 to i64 %119 = mul i64 %116, %118 %120 = trunc i64 %119 to i32 %121 = call i64 @malloc(i32 noundef %120) %122 = inttoptr i64 %121 to ptr store ptr %122, ptr %19, align 8 %123 = load i32, ptr %8, align 4 %124 = mul nsw i32 4, %123 %125 = load i32, ptr %8, align 4 %126 = mul nsw i32 %124, %125 %127 = load i32, ptr %8, align 4 %128 = mul nsw i32 %126, %127 %129 = load i32, ptr %8, align 4 %130 = sub nsw i32 %128, %129 %131 = sdiv i32 %130, 3 %132 = sext i32 %131 to i64 %133 = mul i64 8, %132 %134 = trunc i64 %133 to i32 %135 = call i64 @malloc(i32 noundef %134) %136 = inttoptr i64 %135 to ptr store ptr %136, ptr %20, align 8 %137 = load i32, ptr %8, align 4 %138 = mul nsw i32 4, %137 %139 = load i32, ptr %8, align 4 %140 = mul nsw i32 %138, %139 %141 = load i32, ptr %8, align 4 %142 = mul nsw i32 %140, %141 %143 = load i32, ptr %8, align 4 %144 = sub nsw i32 %142, %143 %145 = sdiv i32 %144, 3 %146 = sext i32 %145 to i64 %147 = mul i64 8, %146 %148 = trunc i64 %147 to i32 %149 = call i64 @malloc(i32 noundef %148) %150 = inttoptr i64 %149 to ptr store ptr %150, ptr %21, align 8 %151 = load ptr, ptr %12, align 8 %152 = icmp eq ptr %151, null br i1 %152, label %180, label %153 153: ; preds = %33 %154 = load ptr, ptr %13, align 8 %155 = icmp eq ptr %154, null br i1 %155, label %180, label %156 156: ; preds = %153 %157 = load ptr, ptr %14, align 8 %158 = icmp eq ptr %157, null br i1 %158, label %180, label %159 159: ; preds = %156 %160 = load ptr, ptr %15, align 8 %161 = icmp eq ptr %160, null br i1 %161, label %180, label %162 162: ; preds = %159 %163 = load ptr, ptr %16, align 8 %164 = icmp eq ptr %163, null br i1 %164, label %180, label %165 165: ; preds = %162 %166 = load ptr, ptr %17, align 8 %167 = icmp eq ptr %166, null br i1 %167, label %180, label %168 168: ; preds = %165 %169 = load ptr, ptr %18, align 8 %170 = icmp eq ptr %169, null br i1 %170, label %180, label %171 171: ; preds = %168 %172 = load ptr, ptr %19, align 8 %173 = icmp eq ptr %172, null br i1 %173, label %180, label %174 174: ; preds = %171 %175 = load ptr, ptr %20, align 8 %176 = icmp eq ptr %175, null br i1 %176, label %180, label %177 177: ; preds = %174 %178 = load ptr, ptr %21, align 8 %179 = icmp eq ptr %178, null br i1 %179, label %180, label %183 180: ; preds = %177, %174, %171, %168, %165, %162, %159, %156, %153, %33 %181 = call i32 @perror(ptr noundef @.str.1) %182 = call i32 @exit(i32 noundef 1) #4 unreachable 183: ; preds = %177 %184 = load ptr, ptr %5, align 8 %185 = getelementptr inbounds ptr, ptr %184, i64 1 %186 = load ptr, ptr %185, align 8 %187 = call ptr @fopen(ptr noundef %186, ptr noundef @.str.2) store ptr %187, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %188 188: ; preds = %207, %183 %189 = load i32, ptr %7, align 4 %190 = load i32, ptr %8, align 4 %191 = load i32, ptr %8, align 4 %192 = mul nsw i32 %190, %191 %193 = icmp slt i32 %189, %192 br i1 %193, label %194, label %210 194: ; preds = %188 %195 = load ptr, ptr %6, align 8 %196 = load ptr, ptr %16, align 8 %197 = load i32, ptr %7, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = call i32 @fscanf(ptr noundef %195, ptr noundef @.str.3, ptr noundef %199) %201 = load ptr, ptr %6, align 8 %202 = load ptr, ptr %17, align 8 %203 = load i32, ptr %7, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds double, ptr %202, i64 %204 %206 = call i32 @fscanf(ptr noundef %201, ptr noundef @.str.3, ptr noundef %205) br label %207 207: ; preds = %194 %208 = load i32, ptr %7, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %7, align 4 br label %188, !llvm.loop !6 210: ; preds = %188 %211 = load ptr, ptr %6, align 8 %212 = call i32 @fclose(ptr noundef %211) %213 = load ptr, ptr %5, align 8 %214 = getelementptr inbounds ptr, ptr %213, i64 2 %215 = load ptr, ptr %214, align 8 %216 = call ptr @fopen(ptr noundef %215, ptr noundef @.str.2) store ptr %216, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %217 217: ; preds = %236, %210 %218 = load i32, ptr %7, align 4 %219 = load i32, ptr %8, align 4 %220 = load i32, ptr %8, align 4 %221 = mul nsw i32 %219, %220 %222 = icmp slt i32 %218, %221 br i1 %222, label %223, label %239 223: ; preds = %217 %224 = load ptr, ptr %6, align 8 %225 = load ptr, ptr %18, align 8 %226 = load i32, ptr %7, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %225, i64 %227 %229 = call i32 @fscanf(ptr noundef %224, ptr noundef @.str.3, ptr noundef %228) %230 = load ptr, ptr %6, align 8 %231 = load ptr, ptr %19, align 8 %232 = load i32, ptr %7, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds double, ptr %231, i64 %233 %235 = call i32 @fscanf(ptr noundef %230, ptr noundef @.str.3, ptr noundef %234) br label %236 236: ; preds = %223 %237 = load i32, ptr %7, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %7, align 4 br label %217, !llvm.loop !8 239: ; preds = %217 %240 = load ptr, ptr %6, align 8 %241 = call i32 @fclose(ptr noundef %240) %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %243 = call double (...) @csecond() store double %243, ptr %10, align 8 %244 = load i32, ptr %8, align 4 %245 = load i32, ptr %8, align 4 %246 = load i32, ptr %9, align 4 %247 = load ptr, ptr %16, align 8 %248 = load ptr, ptr %17, align 8 %249 = load ptr, ptr %18, align 8 %250 = load ptr, ptr %19, align 8 %251 = load ptr, ptr %20, align 8 %252 = load ptr, ptr %21, align 8 %253 = call i32 @so3CombineCoef(i32 noundef %244, i32 noundef %245, i32 noundef %246, ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252) %254 = call double (...) @csecond() store double %254, ptr %11, align 8 %255 = load ptr, ptr @stderr, align 8 %256 = load double, ptr %11, align 8 %257 = load double, ptr %10, align 8 %258 = fsub double %256, %257 %259 = call i32 @fprintf(ptr noundef %255, ptr noundef @.str.5, double noundef %258) %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %261 = call double (...) @csecond() store double %261, ptr %10, align 8 %262 = load i32, ptr %8, align 4 %263 = load ptr, ptr %20, align 8 %264 = load ptr, ptr %21, align 8 %265 = load ptr, ptr %12, align 8 %266 = load ptr, ptr %13, align 8 %267 = load ptr, ptr %14, align 8 %268 = load ptr, ptr %15, align 8 %269 = call i32 @Inverse_SO3_Naive_sym(i32 noundef %262, ptr noundef %263, ptr noundef %264, ptr noundef %265, ptr noundef %266, ptr noundef %267, ptr noundef %268, i32 noundef 1) %270 = call double (...) @csecond() store double %270, ptr %11, align 8 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %272 = load ptr, ptr @stderr, align 8 %273 = load double, ptr %11, align 8 %274 = load double, ptr %10, align 8 %275 = fsub double %273, %274 %276 = call i32 @fprintf(ptr noundef %272, ptr noundef @.str.8, double noundef %275) store double 0.000000e+00, ptr %27, align 8 store i32 0, ptr %23, align 4 store i32 0, ptr %7, align 4 br label %277 277: ; preds = %302, %239 %278 = load i32, ptr %7, align 4 %279 = load i32, ptr %8, align 4 %280 = mul nsw i32 8, %279 %281 = load i32, ptr %8, align 4 %282 = mul nsw i32 %280, %281 %283 = load i32, ptr %8, align 4 %284 = mul nsw i32 %282, %283 %285 = icmp slt i32 %278, %284 br i1 %285, label %286, label %305 286: ; preds = %277 %287 = load ptr, ptr %12, align 8 %288 = load i32, ptr %7, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds double, ptr %287, i64 %289 %291 = load double, ptr %290, align 8 %292 = load double, ptr %27, align 8 %293 = fcmp oge double %291, %292 br i1 %293, label %294, label %301 294: ; preds = %286 %295 = load ptr, ptr %12, align 8 %296 = load i32, ptr %7, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds double, ptr %295, i64 %297 %299 = load double, ptr %298, align 8 store double %299, ptr %27, align 8 %300 = load i32, ptr %7, align 4 store i32 %300, ptr %23, align 4 br label %301 301: ; preds = %294, %286 br label %302 302: ; preds = %301 %303 = load i32, ptr %7, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %7, align 4 br label %277, !llvm.loop !9 305: ; preds = %277 %306 = load i32, ptr %23, align 4 %307 = sitofp i32 %306 to double %308 = load i32, ptr %8, align 4 %309 = sitofp i32 %308 to double %310 = fmul double 4.000000e+00, %309 %311 = load i32, ptr %8, align 4 %312 = sitofp i32 %311 to double %313 = fmul double %310, %312 %314 = fdiv double %307, %313 %315 = fptosi double %314 to i32 %316 = call i32 @floor(i32 noundef %315) store i32 %316, ptr %24, align 4 %317 = load i32, ptr %23, align 4 %318 = sitofp i32 %317 to double %319 = load i32, ptr %24, align 4 %320 = sitofp i32 %319 to double %321 = fmul double %320, 4.000000e+00 %322 = load i32, ptr %8, align 4 %323 = sitofp i32 %322 to double %324 = fmul double %321, %323 %325 = load i32, ptr %8, align 4 %326 = sitofp i32 %325 to double %327 = fneg double %324 %328 = call double @llvm.fmuladd.f64(double %327, double %326, double %318) %329 = fptosi double %328 to i32 store i32 %329, ptr %22, align 4 %330 = load i32, ptr %22, align 4 %331 = sitofp i32 %330 to double %332 = load i32, ptr %8, align 4 %333 = sitofp i32 %332 to double %334 = fmul double 2.000000e+00, %333 %335 = fdiv double %331, %334 %336 = fptosi double %335 to i32 %337 = call i32 @floor(i32 noundef %336) store i32 %337, ptr %25, align 4 %338 = load i32, ptr %23, align 4 %339 = load i32, ptr %24, align 4 %340 = mul nsw i32 %339, 4 %341 = load i32, ptr %8, align 4 %342 = mul nsw i32 %340, %341 %343 = load i32, ptr %8, align 4 %344 = mul nsw i32 %342, %343 %345 = sub nsw i32 %338, %344 %346 = load i32, ptr %25, align 4 %347 = load i32, ptr %8, align 4 %348 = mul nsw i32 2, %347 %349 = mul nsw i32 %346, %348 %350 = sub nsw i32 %345, %349 store i32 %350, ptr %22, align 4 %351 = load i32, ptr %22, align 4 store i32 %351, ptr %26, align 4 %352 = load i32, ptr %24, align 4 %353 = load i32, ptr %25, align 4 %354 = load i32, ptr %26, align 4 %355 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %352, i32 noundef %353, i32 noundef %354) %356 = load i32, ptr @M_PI, align 4 %357 = load i32, ptr %25, align 4 %358 = mul nsw i32 %356, %357 %359 = sitofp i32 %358 to double %360 = load i32, ptr %8, align 4 %361 = sitofp i32 %360 to double %362 = fdiv double %359, %361 %363 = load i32, ptr @M_PI, align 4 %364 = load i32, ptr %24, align 4 %365 = mul nsw i32 2, %364 %366 = add nsw i32 %365, 1 %367 = mul nsw i32 %363, %366 %368 = sitofp i32 %367 to double %369 = load i32, ptr %8, align 4 %370 = sitofp i32 %369 to double %371 = fmul double 4.000000e+00, %370 %372 = fdiv double %368, %371 %373 = load i32, ptr @M_PI, align 4 %374 = load i32, ptr %26, align 4 %375 = mul nsw i32 %373, %374 %376 = sitofp i32 %375 to double %377 = load i32, ptr %8, align 4 %378 = sitofp i32 %377 to double %379 = fdiv double %376, %378 %380 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %362, double noundef %372, double noundef %379) %381 = load i32, ptr %4, align 4 %382 = icmp eq i32 %381, 6 br i1 %382, label %383, label %412 383: ; preds = %305 %384 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %385 = load ptr, ptr %5, align 8 %386 = getelementptr inbounds ptr, ptr %385, i64 5 %387 = load ptr, ptr %386, align 8 %388 = call ptr @fopen(ptr noundef %387, ptr noundef @.str.12) store ptr %388, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %389 389: ; preds = %406, %383 %390 = load i32, ptr %7, align 4 %391 = load i32, ptr %8, align 4 %392 = mul nsw i32 8, %391 %393 = load i32, ptr %8, align 4 %394 = mul nsw i32 %392, %393 %395 = load i32, ptr %8, align 4 %396 = mul nsw i32 %394, %395 %397 = icmp slt i32 %390, %396 br i1 %397, label %398, label %409 398: ; preds = %389 %399 = load ptr, ptr %6, align 8 %400 = load ptr, ptr %12, align 8 %401 = load i32, ptr %7, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds double, ptr %400, i64 %402 %404 = load double, ptr %403, align 8 %405 = call i32 @fprintf(ptr noundef %399, ptr noundef @.str.13, double noundef %404) br label %406 406: ; preds = %398 %407 = load i32, ptr %7, align 4 %408 = add nsw i32 %407, 1 store i32 %408, ptr %7, align 4 br label %389, !llvm.loop !10 409: ; preds = %389 %410 = load ptr, ptr %6, align 8 %411 = call i32 @fclose(ptr noundef %410) br label %412 412: ; preds = %409, %305 %413 = load ptr, ptr %21, align 8 %414 = call i32 @free(ptr noundef %413) %415 = load ptr, ptr %20, align 8 %416 = call i32 @free(ptr noundef %415) %417 = load ptr, ptr %19, align 8 %418 = call i32 @free(ptr noundef %417) %419 = load ptr, ptr %18, align 8 %420 = call i32 @free(ptr noundef %419) %421 = load ptr, ptr %17, align 8 %422 = call i32 @free(ptr noundef %421) %423 = load ptr, ptr %16, align 8 %424 = call i32 @free(ptr noundef %423) %425 = load ptr, ptr %15, align 8 %426 = call i32 @free(ptr noundef %425) %427 = load ptr, ptr %14, align 8 %428 = call i32 @free(ptr noundef %427) %429 = load ptr, ptr %13, align 8 %430 = call i32 @free(ptr noundef %429) %431 = load ptr, ptr %12, align 8 %432 = call i32 @free(ptr noundef %431) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare double @csecond(...) #1 declare i32 @so3CombineCoef(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #1 declare i32 @Inverse_SO3_Naive_sym(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphketdz4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"test_soft_sym_correlate sigCoef patCoef bw degLim [result]\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error in allocating memory\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"about to combine coefficients\0A\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [23 x i8] c"combine time \09 = %.4e\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"about to inverse so(3) transform\0A\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"finished inverse so(3) transform\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"inverse so(3) time \09 = %.4e\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"ii = %d\09jj = %d\09kk = %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c"alpha = %f\0Abeta = %f\0Agamma = %f\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [20 x i8] c"about to save data\0A\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"%.16f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 5 br i1 %29, label %30, label %33 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = call i32 @exit(i32 noundef 0) #4 unreachable 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %8, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 4 %40 = load ptr, ptr %39, align 8 %41 = call i32 @atoi(ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %8, align 4 %43 = mul nsw i32 8, %42 %44 = load i32, ptr %8, align 4 %45 = mul nsw i32 %43, %44 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = mul i64 8, %48 %50 = trunc i64 %49 to i32 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %12, align 8 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 8, %53 %55 = load i32, ptr %8, align 4 %56 = mul nsw i32 %54, %55 %57 = load i32, ptr %8, align 4 %58 = mul nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = mul i64 8, %59 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %13, align 8 %64 = load i32, ptr %8, align 4 %65 = mul nsw i32 16, %64 %66 = load i32, ptr %8, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %8, align 4 %69 = mul nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = mul i64 8, %70 %72 = trunc i64 %71 to i32 %73 = call i64 @malloc(i32 noundef %72) %74 = inttoptr i64 %73 to ptr store ptr %74, ptr %14, align 8 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 24, %75 %77 = load i32, ptr %8, align 4 %78 = mul nsw i32 2, %77 %79 = load i32, ptr %8, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %76, %80 %82 = sext i32 %81 to i64 %83 = mul i64 8, %82 %84 = trunc i64 %83 to i32 %85 = call i64 @malloc(i32 noundef %84) %86 = inttoptr i64 %85 to ptr store ptr %86, ptr %15, align 8 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = mul i64 8, %88 %90 = load i32, ptr %8, align 4 %91 = sext i32 %90 to i64 %92 = mul i64 %89, %91 %93 = trunc i64 %92 to i32 %94 = call i64 @malloc(i32 noundef %93) %95 = inttoptr i64 %94 to ptr store ptr %95, ptr %16, align 8 %96 = load i32, ptr %8, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 8, %97 %99 = load i32, ptr %8, align 4 %100 = sext i32 %99 to i64 %101 = mul i64 %98, %100 %102 = trunc i64 %101 to i32 %103 = call i64 @malloc(i32 noundef %102) %104 = inttoptr i64 %103 to ptr store ptr %104, ptr %17, align 8 %105 = load i32, ptr %8, align 4 %106 = sext i32 %105 to i64 %107 = mul i64 8, %106 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = mul i64 %107, %109 %111 = trunc i64 %110 to i32 %112 = call i64 @malloc(i32 noundef %111) %113 = inttoptr i64 %112 to ptr store ptr %113, ptr %18, align 8 %114 = load i32, ptr %8, align 4 %115 = sext i32 %114 to i64 %116 = mul i64 8, %115 %117 = load i32, ptr %8, align 4 %118 = sext i32 %117 to i64 %119 = mul i64 %116, %118 %120 = trunc i64 %119 to i32 %121 = call i64 @malloc(i32 noundef %120) %122 = inttoptr i64 %121 to ptr store ptr %122, ptr %19, align 8 %123 = load i32, ptr %8, align 4 %124 = mul nsw i32 4, %123 %125 = load i32, ptr %8, align 4 %126 = mul nsw i32 %124, %125 %127 = load i32, ptr %8, align 4 %128 = mul nsw i32 %126, %127 %129 = load i32, ptr %8, align 4 %130 = sub nsw i32 %128, %129 %131 = sdiv i32 %130, 3 %132 = sext i32 %131 to i64 %133 = mul i64 8, %132 %134 = trunc i64 %133 to i32 %135 = call i64 @malloc(i32 noundef %134) %136 = inttoptr i64 %135 to ptr store ptr %136, ptr %20, align 8 %137 = load i32, ptr %8, align 4 %138 = mul nsw i32 4, %137 %139 = load i32, ptr %8, align 4 %140 = mul nsw i32 %138, %139 %141 = load i32, ptr %8, align 4 %142 = mul nsw i32 %140, %141 %143 = load i32, ptr %8, align 4 %144 = sub nsw i32 %142, %143 %145 = sdiv i32 %144, 3 %146 = sext i32 %145 to i64 %147 = mul i64 8, %146 %148 = trunc i64 %147 to i32 %149 = call i64 @malloc(i32 noundef %148) %150 = inttoptr i64 %149 to ptr store ptr %150, ptr %21, align 8 %151 = load ptr, ptr %12, align 8 %152 = icmp eq ptr %151, null br i1 %152, label %180, label %153 153: ; preds = %33 %154 = load ptr, ptr %13, align 8 %155 = icmp eq ptr %154, null br i1 %155, label %180, label %156 156: ; preds = %153 %157 = load ptr, ptr %14, align 8 %158 = icmp eq ptr %157, null br i1 %158, label %180, label %159 159: ; preds = %156 %160 = load ptr, ptr %15, align 8 %161 = icmp eq ptr %160, null br i1 %161, label %180, label %162 162: ; preds = %159 %163 = load ptr, ptr %16, align 8 %164 = icmp eq ptr %163, null br i1 %164, label %180, label %165 165: ; preds = %162 %166 = load ptr, ptr %17, align 8 %167 = icmp eq ptr %166, null br i1 %167, label %180, label %168 168: ; preds = %165 %169 = load ptr, ptr %18, align 8 %170 = icmp eq ptr %169, null br i1 %170, label %180, label %171 171: ; preds = %168 %172 = load ptr, ptr %19, align 8 %173 = icmp eq ptr %172, null br i1 %173, label %180, label %174 174: ; preds = %171 %175 = load ptr, ptr %20, align 8 %176 = icmp eq ptr %175, null br i1 %176, label %180, label %177 177: ; preds = %174 %178 = load ptr, ptr %21, align 8 %179 = icmp eq ptr %178, null br i1 %179, label %180, label %183 180: ; preds = %177, %174, %171, %168, %165, %162, %159, %156, %153, %33 %181 = call i32 @perror(ptr noundef @.str.1) %182 = call i32 @exit(i32 noundef 1) #4 unreachable 183: ; preds = %177 %184 = load ptr, ptr %5, align 8 %185 = getelementptr inbounds ptr, ptr %184, i64 1 %186 = load ptr, ptr %185, align 8 %187 = call ptr @fopen(ptr noundef %186, ptr noundef @.str.2) store ptr %187, ptr %6, align 8 store i32 0, ptr %7, align 4 %188 = load i32, ptr %7, align 4 %189 = load i32, ptr %8, align 4 %190 = load i32, ptr %8, align 4 %191 = mul nsw i32 %189, %190 %192 = icmp slt i32 %188, %191 br i1 %192, label %.lr.ph, label %214 .lr.ph: ; preds = %183 br label %193 193: ; preds = %.lr.ph, %206 %194 = load ptr, ptr %6, align 8 %195 = load ptr, ptr %16, align 8 %196 = load i32, ptr %7, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds double, ptr %195, i64 %197 %199 = call i32 @fscanf(ptr noundef %194, ptr noundef @.str.3, ptr noundef %198) %200 = load ptr, ptr %6, align 8 %201 = load ptr, ptr %17, align 8 %202 = load i32, ptr %7, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %201, i64 %203 %205 = call i32 @fscanf(ptr noundef %200, ptr noundef @.str.3, ptr noundef %204) br label %206 206: ; preds = %193 %207 = load i32, ptr %7, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %7, align 4 %209 = load i32, ptr %7, align 4 %210 = load i32, ptr %8, align 4 %211 = load i32, ptr %8, align 4 %212 = mul nsw i32 %210, %211 %213 = icmp slt i32 %209, %212 br i1 %213, label %193, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %206 br label %214 214: ; preds = %._crit_edge, %183 %215 = load ptr, ptr %6, align 8 %216 = call i32 @fclose(ptr noundef %215) %217 = load ptr, ptr %5, align 8 %218 = getelementptr inbounds ptr, ptr %217, i64 2 %219 = load ptr, ptr %218, align 8 %220 = call ptr @fopen(ptr noundef %219, ptr noundef @.str.2) store ptr %220, ptr %6, align 8 store i32 0, ptr %7, align 4 %221 = load i32, ptr %7, align 4 %222 = load i32, ptr %8, align 4 %223 = load i32, ptr %8, align 4 %224 = mul nsw i32 %222, %223 %225 = icmp slt i32 %221, %224 br i1 %225, label %.lr.ph2, label %247 .lr.ph2: ; preds = %214 br label %226 226: ; preds = %.lr.ph2, %239 %227 = load ptr, ptr %6, align 8 %228 = load ptr, ptr %18, align 8 %229 = load i32, ptr %7, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = call i32 @fscanf(ptr noundef %227, ptr noundef @.str.3, ptr noundef %231) %233 = load ptr, ptr %6, align 8 %234 = load ptr, ptr %19, align 8 %235 = load i32, ptr %7, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds double, ptr %234, i64 %236 %238 = call i32 @fscanf(ptr noundef %233, ptr noundef @.str.3, ptr noundef %237) br label %239 239: ; preds = %226 %240 = load i32, ptr %7, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %7, align 4 %242 = load i32, ptr %7, align 4 %243 = load i32, ptr %8, align 4 %244 = load i32, ptr %8, align 4 %245 = mul nsw i32 %243, %244 %246 = icmp slt i32 %242, %245 br i1 %246, label %226, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %239 br label %247 247: ; preds = %._crit_edge3, %214 %248 = load ptr, ptr %6, align 8 %249 = call i32 @fclose(ptr noundef %248) %250 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %251 = call double (...) @csecond() store double %251, ptr %10, align 8 %252 = load i32, ptr %8, align 4 %253 = load i32, ptr %8, align 4 %254 = load i32, ptr %9, align 4 %255 = load ptr, ptr %16, align 8 %256 = load ptr, ptr %17, align 8 %257 = load ptr, ptr %18, align 8 %258 = load ptr, ptr %19, align 8 %259 = load ptr, ptr %20, align 8 %260 = load ptr, ptr %21, align 8 %261 = call i32 @so3CombineCoef(i32 noundef %252, i32 noundef %253, i32 noundef %254, ptr noundef %255, ptr noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef %260) %262 = call double (...) @csecond() store double %262, ptr %11, align 8 %263 = load ptr, ptr @stderr, align 8 %264 = load double, ptr %11, align 8 %265 = load double, ptr %10, align 8 %266 = fsub double %264, %265 %267 = call i32 @fprintf(ptr noundef %263, ptr noundef @.str.5, double noundef %266) %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %269 = call double (...) @csecond() store double %269, ptr %10, align 8 %270 = load i32, ptr %8, align 4 %271 = load ptr, ptr %20, align 8 %272 = load ptr, ptr %21, align 8 %273 = load ptr, ptr %12, align 8 %274 = load ptr, ptr %13, align 8 %275 = load ptr, ptr %14, align 8 %276 = load ptr, ptr %15, align 8 %277 = call i32 @Inverse_SO3_Naive_sym(i32 noundef %270, ptr noundef %271, ptr noundef %272, ptr noundef %273, ptr noundef %274, ptr noundef %275, ptr noundef %276, i32 noundef 1) %278 = call double (...) @csecond() store double %278, ptr %11, align 8 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %280 = load ptr, ptr @stderr, align 8 %281 = load double, ptr %11, align 8 %282 = load double, ptr %10, align 8 %283 = fsub double %281, %282 %284 = call i32 @fprintf(ptr noundef %280, ptr noundef @.str.8, double noundef %283) store double 0.000000e+00, ptr %27, align 8 store i32 0, ptr %23, align 4 store i32 0, ptr %7, align 4 %285 = load i32, ptr %7, align 4 %286 = load i32, ptr %8, align 4 %287 = mul nsw i32 8, %286 %288 = load i32, ptr %8, align 4 %289 = mul nsw i32 %287, %288 %290 = load i32, ptr %8, align 4 %291 = mul nsw i32 %289, %290 %292 = icmp slt i32 %285, %291 br i1 %292, label %.lr.ph5, label %320 .lr.ph5: ; preds = %247 br label %293 293: ; preds = %.lr.ph5, %309 %294 = load ptr, ptr %12, align 8 %295 = load i32, ptr %7, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds double, ptr %294, i64 %296 %298 = load double, ptr %297, align 8 %299 = load double, ptr %27, align 8 %300 = fcmp oge double %298, %299 br i1 %300, label %301, label %308 301: ; preds = %293 %302 = load ptr, ptr %12, align 8 %303 = load i32, ptr %7, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds double, ptr %302, i64 %304 %306 = load double, ptr %305, align 8 store double %306, ptr %27, align 8 %307 = load i32, ptr %7, align 4 store i32 %307, ptr %23, align 4 br label %308 308: ; preds = %301, %293 br label %309 309: ; preds = %308 %310 = load i32, ptr %7, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %7, align 4 %312 = load i32, ptr %7, align 4 %313 = load i32, ptr %8, align 4 %314 = mul nsw i32 8, %313 %315 = load i32, ptr %8, align 4 %316 = mul nsw i32 %314, %315 %317 = load i32, ptr %8, align 4 %318 = mul nsw i32 %316, %317 %319 = icmp slt i32 %312, %318 br i1 %319, label %293, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %309 br label %320 320: ; preds = %._crit_edge6, %247 %321 = load i32, ptr %23, align 4 %322 = sitofp i32 %321 to double %323 = load i32, ptr %8, align 4 %324 = sitofp i32 %323 to double %325 = fmul double 4.000000e+00, %324 %326 = load i32, ptr %8, align 4 %327 = sitofp i32 %326 to double %328 = fmul double %325, %327 %329 = fdiv double %322, %328 %330 = fptosi double %329 to i32 %331 = call i32 @floor(i32 noundef %330) store i32 %331, ptr %24, align 4 %332 = load i32, ptr %23, align 4 %333 = sitofp i32 %332 to double %334 = load i32, ptr %24, align 4 %335 = sitofp i32 %334 to double %336 = fmul double %335, 4.000000e+00 %337 = load i32, ptr %8, align 4 %338 = sitofp i32 %337 to double %339 = fmul double %336, %338 %340 = load i32, ptr %8, align 4 %341 = sitofp i32 %340 to double %342 = fneg double %339 %343 = call double @llvm.fmuladd.f64(double %342, double %341, double %333) %344 = fptosi double %343 to i32 store i32 %344, ptr %22, align 4 %345 = load i32, ptr %22, align 4 %346 = sitofp i32 %345 to double %347 = load i32, ptr %8, align 4 %348 = sitofp i32 %347 to double %349 = fmul double 2.000000e+00, %348 %350 = fdiv double %346, %349 %351 = fptosi double %350 to i32 %352 = call i32 @floor(i32 noundef %351) store i32 %352, ptr %25, align 4 %353 = load i32, ptr %23, align 4 %354 = load i32, ptr %24, align 4 %355 = mul nsw i32 %354, 4 %356 = load i32, ptr %8, align 4 %357 = mul nsw i32 %355, %356 %358 = load i32, ptr %8, align 4 %359 = mul nsw i32 %357, %358 %360 = sub nsw i32 %353, %359 %361 = load i32, ptr %25, align 4 %362 = load i32, ptr %8, align 4 %363 = mul nsw i32 2, %362 %364 = mul nsw i32 %361, %363 %365 = sub nsw i32 %360, %364 store i32 %365, ptr %22, align 4 %366 = load i32, ptr %22, align 4 store i32 %366, ptr %26, align 4 %367 = load i32, ptr %24, align 4 %368 = load i32, ptr %25, align 4 %369 = load i32, ptr %26, align 4 %370 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %367, i32 noundef %368, i32 noundef %369) %371 = load i32, ptr @M_PI, align 4 %372 = load i32, ptr %25, align 4 %373 = mul nsw i32 %371, %372 %374 = sitofp i32 %373 to double %375 = load i32, ptr %8, align 4 %376 = sitofp i32 %375 to double %377 = fdiv double %374, %376 %378 = load i32, ptr @M_PI, align 4 %379 = load i32, ptr %24, align 4 %380 = mul nsw i32 2, %379 %381 = add nsw i32 %380, 1 %382 = mul nsw i32 %378, %381 %383 = sitofp i32 %382 to double %384 = load i32, ptr %8, align 4 %385 = sitofp i32 %384 to double %386 = fmul double 4.000000e+00, %385 %387 = fdiv double %383, %386 %388 = load i32, ptr @M_PI, align 4 %389 = load i32, ptr %26, align 4 %390 = mul nsw i32 %388, %389 %391 = sitofp i32 %390 to double %392 = load i32, ptr %8, align 4 %393 = sitofp i32 %392 to double %394 = fdiv double %391, %393 %395 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %377, double noundef %387, double noundef %394) %396 = load i32, ptr %4, align 4 %397 = icmp eq i32 %396, 6 br i1 %397, label %398, label %434 398: ; preds = %320 %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %400 = load ptr, ptr %5, align 8 %401 = getelementptr inbounds ptr, ptr %400, i64 5 %402 = load ptr, ptr %401, align 8 %403 = call ptr @fopen(ptr noundef %402, ptr noundef @.str.12) store ptr %403, ptr %6, align 8 store i32 0, ptr %7, align 4 %404 = load i32, ptr %7, align 4 %405 = load i32, ptr %8, align 4 %406 = mul nsw i32 8, %405 %407 = load i32, ptr %8, align 4 %408 = mul nsw i32 %406, %407 %409 = load i32, ptr %8, align 4 %410 = mul nsw i32 %408, %409 %411 = icmp slt i32 %404, %410 br i1 %411, label %.lr.ph8, label %431 .lr.ph8: ; preds = %398 br label %412 412: ; preds = %.lr.ph8, %420 %413 = load ptr, ptr %6, align 8 %414 = load ptr, ptr %12, align 8 %415 = load i32, ptr %7, align 4 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds double, ptr %414, i64 %416 %418 = load double, ptr %417, align 8 %419 = call i32 @fprintf(ptr noundef %413, ptr noundef @.str.13, double noundef %418) br label %420 420: ; preds = %412 %421 = load i32, ptr %7, align 4 %422 = add nsw i32 %421, 1 store i32 %422, ptr %7, align 4 %423 = load i32, ptr %7, align 4 %424 = load i32, ptr %8, align 4 %425 = mul nsw i32 8, %424 %426 = load i32, ptr %8, align 4 %427 = mul nsw i32 %425, %426 %428 = load i32, ptr %8, align 4 %429 = mul nsw i32 %427, %428 %430 = icmp slt i32 %423, %429 br i1 %430, label %412, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %420 br label %431 431: ; preds = %._crit_edge9, %398 %432 = load ptr, ptr %6, align 8 %433 = call i32 @fclose(ptr noundef %432) br label %434 434: ; preds = %431, %320 %435 = load ptr, ptr %21, align 8 %436 = call i32 @free(ptr noundef %435) %437 = load ptr, ptr %20, align 8 %438 = call i32 @free(ptr noundef %437) %439 = load ptr, ptr %19, align 8 %440 = call i32 @free(ptr noundef %439) %441 = load ptr, ptr %18, align 8 %442 = call i32 @free(ptr noundef %441) %443 = load ptr, ptr %17, align 8 %444 = call i32 @free(ptr noundef %443) %445 = load ptr, ptr %16, align 8 %446 = call i32 @free(ptr noundef %445) %447 = load ptr, ptr %15, align 8 %448 = call i32 @free(ptr noundef %447) %449 = load ptr, ptr %14, align 8 %450 = call i32 @free(ptr noundef %449) %451 = load ptr, ptr %13, align 8 %452 = call i32 @free(ptr noundef %451) %453 = load ptr, ptr %12, align 8 %454 = call i32 @free(ptr noundef %453) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare double @csecond(...) #1 declare i32 @so3CombineCoef(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #1 declare i32 @Inverse_SO3_Naive_sym(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpu0qx3dvp.c' source_filename = "/tmp/tmpu0qx3dvp.c" target datalayout = "e-m:e-p270: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/tmpu0qx3dvp.c" target datalayout = "e-m:e-p270: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/tmpc15qe354.c' source_filename = "/tmp/tmpc15qe354.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_basename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %2, align 8 br label %14 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc15qe354.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_basename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %2, align 8 br label %14 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpupgh_jsu.c' source_filename = "/tmp/tmpupgh_jsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [12 x double] [double 1.000000e+00, double 2.000000e+00, double 0x7FF8000000000000, double 3.000000e+00, double 0x7FF8000000000000, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 0x7FF8000000000000, double 7.000000e+00, double 8.000000e+00, double 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [32 x i8] c"sample standard deviation: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [12 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 96, i1 false) store i32 6, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [12 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dnanstdevch(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @stdlib_strided_dnanstdevch(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpupgh_jsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [12 x double] [double 1.000000e+00, double 2.000000e+00, double 0x7FF8000000000000, double 3.000000e+00, double 0x7FF8000000000000, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 0x7FF8000000000000, double 7.000000e+00, double 8.000000e+00, double 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [32 x i8] c"sample standard deviation: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [12 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 96, i1 false) store i32 6, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [12 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dnanstdevch(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @stdlib_strided_dnanstdevch(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpktugs9qh.c' source_filename = "/tmp/tmpktugs9qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @Z_FINISH = dso_local global i32 0, align 4 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_NULL = dso_local global ptr null, align 8 @Z_OK = dso_local global i32 0, align 4 @Z_STREAM_END = 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/tmpktugs9qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @Z_FINISH = dso_local global i32 0, align 4 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_NULL = dso_local global ptr null, align 8 @Z_OK = dso_local global i32 0, align 4 @Z_STREAM_END = 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/tmp7qttj4sz.c' source_filename = "/tmp/tmp7qttj4sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @getNthNumber(i32 noundef %3) store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @getNthNumber(i32 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/tmp7qttj4sz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @getNthNumber(i32 noundef %3) store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @getNthNumber(i32 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/tmpy6nannmk.c' source_filename = "/tmp/tmpy6nannmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %25, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %28 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 %22, ptr %23, align 1 br label %25 25: ; preds = %19 %26 = load i64, ptr %6, align 8 %27 = add i64 %26, -1 store i64 %27, ptr %6, align 8 br label %9, !llvm.loop !6 28: ; preds = %17 br label %29 29: ; preds = %34, %28 %30 = load i64, ptr %6, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load ptr, ptr %7, align 8 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %32 %35 = load i64, ptr %6, align 8 %36 = add i64 %35, -1 store i64 %36, ptr %6, align 8 br label %29, !llvm.loop !8 37: ; preds = %29 %38 = load ptr, ptr %4, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpy6nannmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %25, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %28 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 %22, ptr %23, align 1 br label %25 25: ; preds = %19 %26 = load i64, ptr %6, align 8 %27 = add i64 %26, -1 store i64 %27, ptr %6, align 8 br label %9, !llvm.loop !6 28: ; preds = %17 %29 = load i64, ptr %6, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %.lr.ph, label %38 .lr.ph: ; preds = %28 br label %31 31: ; preds = %.lr.ph, %33 %32 = load ptr, ptr %7, align 8 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %31 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, -1 store i64 %35, ptr %6, align 8 %36 = load i64, ptr %6, align 8 %37 = icmp ne i64 %36, 0 br i1 %37, label %31, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %28 %39 = load ptr, ptr %4, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm18ajlmp.c' source_filename = "/tmp/tmpm18ajlmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"\0AInterrupted by SIGINT, exiting.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InterruptSignalHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 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/tmpm18ajlmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"\0AInterrupted by SIGINT, exiting.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InterruptSignalHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 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/tmpes42ryik.c' source_filename = "/tmp/tmpes42ryik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHILD// PID: %d PPID: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"FATHER// PID: %d PPID: %d CHILD_PID: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 (...) @getpid() %12 = call i32 (...) @getppid() %13 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %19 14: ; preds = %2 %15 = call i32 (...) @getpid() %16 = call i32 (...) @getppid() %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %16, i32 noundef %17) br label %19 19: ; preds = %14, %10 ret i32 1 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpes42ryik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHILD// PID: %d PPID: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"FATHER// PID: %d PPID: %d CHILD_PID: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 (...) @getpid() %12 = call i32 (...) @getppid() %13 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %19 14: ; preds = %2 %15 = call i32 (...) @getpid() %16 = call i32 (...) @getppid() %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %16, i32 noundef %17) br label %19 19: ; preds = %14, %10 ret i32 1 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp825moxe3.c' source_filename = "/tmp/tmp825moxe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"symlink\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"dir\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"link\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"fifo\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"block\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inode_type(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @S_ISREG(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %44 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i64 @S_ISLNK(i32 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store ptr @.str.1, ptr %2, align 8 br label %44 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = call i64 @S_ISDIR(i32 noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store ptr @.str.2, ptr %2, align 8 br label %44 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = call i64 @S_ISLNK(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store ptr @.str.3, ptr %2, align 8 br label %44 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = call i64 @S_ISFIFO(i32 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store ptr @.str.4, ptr %2, align 8 br label %44 28: ; preds = %23 %29 = load i32, ptr %3, align 4 %30 = call i64 @S_ISSOCK(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store ptr @.str.5, ptr %2, align 8 br label %44 33: ; preds = %28 %34 = load i32, ptr %3, align 4 %35 = call i64 @S_ISCHR(i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store ptr @.str.6, ptr %2, align 8 br label %44 38: ; preds = %33 %39 = load i32, ptr %3, align 4 %40 = call i64 @S_ISBLK(i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store ptr @.str.7, ptr %2, align 8 br label %44 43: ; preds = %38 store ptr @.str.8, ptr %2, align 8 br label %44 44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7 %45 = load ptr, ptr %2, align 8 ret ptr %45 } declare i64 @S_ISREG(i32 noundef) #1 declare i64 @S_ISLNK(i32 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISFIFO(i32 noundef) #1 declare i64 @S_ISSOCK(i32 noundef) #1 declare i64 @S_ISCHR(i32 noundef) #1 declare i64 @S_ISBLK(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/tmp825moxe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"symlink\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"dir\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"link\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"fifo\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"block\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inode_type(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @S_ISREG(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %44 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i64 @S_ISLNK(i32 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store ptr @.str.1, ptr %2, align 8 br label %44 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = call i64 @S_ISDIR(i32 noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store ptr @.str.2, ptr %2, align 8 br label %44 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = call i64 @S_ISLNK(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store ptr @.str.3, ptr %2, align 8 br label %44 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = call i64 @S_ISFIFO(i32 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store ptr @.str.4, ptr %2, align 8 br label %44 28: ; preds = %23 %29 = load i32, ptr %3, align 4 %30 = call i64 @S_ISSOCK(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store ptr @.str.5, ptr %2, align 8 br label %44 33: ; preds = %28 %34 = load i32, ptr %3, align 4 %35 = call i64 @S_ISCHR(i32 noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store ptr @.str.6, ptr %2, align 8 br label %44 38: ; preds = %33 %39 = load i32, ptr %3, align 4 %40 = call i64 @S_ISBLK(i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store ptr @.str.7, ptr %2, align 8 br label %44 43: ; preds = %38 store ptr @.str.8, ptr %2, align 8 br label %44 44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7 %45 = load ptr, ptr %2, align 8 ret ptr %45 } declare i64 @S_ISREG(i32 noundef) #1 declare i64 @S_ISLNK(i32 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISFIFO(i32 noundef) #1 declare i64 @S_ISSOCK(i32 noundef) #1 declare i64 @S_ISCHR(i32 noundef) #1 declare i64 @S_ISBLK(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/tmp20trqlcr.c' source_filename = "/tmp/tmp20trqlcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.h = private unnamed_addr constant [2 x i32] [i32 0, i32 9], align 4 @__const.main.h2 = private unnamed_addr constant [2 x i32] [i32 9, i32 0], align 4 @__const.main.h3 = private unnamed_addr constant [3 x i32] [i32 2, i32 1, i32 2], align 4 @.str = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0 9\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"9 0\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"2 1 2\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 [2 x i32], align 4 %7 = alloca [2 x i32], align 4 %8 = alloca [3 x i32], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.h, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.main.h2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.h3, i64 12, i1 false) %9 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @largestRectangleArea(ptr noundef %9, i32 noundef 2) %11 = icmp eq i32 %10, 9 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %14 = call i32 @exit(i32 noundef -1) #4 unreachable 15: ; preds = %2 %16 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %17 = call i32 @largestRectangleArea(ptr noundef %16, i32 noundef 2) %18 = icmp eq i32 %17, 9 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2) %21 = call i32 @exit(i32 noundef -1) #4 unreachable 22: ; preds = %15 %23 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0 %24 = call i32 @largestRectangleArea(ptr noundef %23, i32 noundef 3) %25 = icmp eq i32 %24, 3 br i1 %25, label %29, label %26 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3) %28 = call i32 @exit(i32 noundef -1) #4 unreachable 29: ; preds = %22 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @largestRectangleArea(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp20trqlcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.h = private unnamed_addr constant [2 x i32] [i32 0, i32 9], align 4 @__const.main.h2 = private unnamed_addr constant [2 x i32] [i32 9, i32 0], align 4 @__const.main.h3 = private unnamed_addr constant [3 x i32] [i32 2, i32 1, i32 2], align 4 @.str = private unnamed_addr constant [17 x i8] c"assert fail: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0 9\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"9 0\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"2 1 2\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"everything is fine!\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 [2 x i32], align 4 %7 = alloca [2 x i32], align 4 %8 = alloca [3 x i32], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.h, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.main.h2, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.h3, i64 12, i1 false) %9 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @largestRectangleArea(ptr noundef %9, i32 noundef 2) %11 = icmp eq i32 %10, 9 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %14 = call i32 @exit(i32 noundef -1) #4 unreachable 15: ; preds = %2 %16 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %17 = call i32 @largestRectangleArea(ptr noundef %16, i32 noundef 2) %18 = icmp eq i32 %17, 9 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2) %21 = call i32 @exit(i32 noundef -1) #4 unreachable 22: ; preds = %15 %23 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0 %24 = call i32 @largestRectangleArea(ptr noundef %23, i32 noundef 3) %25 = icmp eq i32 %24, 3 br i1 %25, label %29, label %26 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3) %28 = call i32 @exit(i32 noundef -1) #4 unreachable 29: ; preds = %22 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @largestRectangleArea(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc5ebiska.c' source_filename = "/tmp/tmpc5ebiska.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 9876, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @shmget(i32 noundef %10, i32 noundef 100, i32 noundef 438) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %6, align 4 %19 = call ptr @shmat(i32 noundef %18, ptr noundef null, i32 noundef 0) store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = icmp eq ptr %20, inttoptr (i64 -1 to ptr) br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 store ptr %26, ptr %9, align 8 br label %27 27: ; preds = %37, %25 %28 = load ptr, ptr %9, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %40 32: ; preds = %27 %33 = load ptr, ptr %9, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %32 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %9, align 8 br label %27, !llvm.loop !6 40: ; preds = %27 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %42 = load ptr, ptr %8, align 8 store i8 42, ptr %42, align 1 ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc5ebiska.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 9876, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @shmget(i32 noundef %10, i32 noundef 100, i32 noundef 438) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %6, align 4 %19 = call ptr @shmat(i32 noundef %18, ptr noundef null, i32 noundef 0) store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = icmp eq ptr %20, inttoptr (i64 -1 to ptr) br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %.lr.ph, label %43 .lr.ph: ; preds = %25 br label %31 31: ; preds = %.lr.ph, %36 %32 = load ptr, ptr %9, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34) br label %36 36: ; preds = %31 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %25 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %45 = load ptr, ptr %8, align 8 store i8 42, ptr %45, align 1 ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp46ur83aq.c' source_filename = "/tmp/tmp46ur83aq.c" target datalayout = "e-m:e-p270: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/tmp46ur83aq.c" target datalayout = "e-m:e-p270: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/tmp2_pvz7hr.c' source_filename = "/tmp/tmp2_pvz7hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, double } @acc_device_default = dso_local global i32 0, align 4 @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [51 x i8] c"same_worker_vector + FAILED! sum=%d, known_sum=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"same_worker_vector + execution time is :%.2lf: ms\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"same_worker_vector + SUCCESS!\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 double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 1.000000e-09, ptr %10, align 8 store i32 1048576, ptr %7, align 4 store i32 0, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %9, align 8 %20 = load i32, ptr @acc_device_default, align 4 %21 = call i32 @acc_init(i32 noundef %20) %22 = call i64 @time(i32 noundef 0) %23 = trunc i64 %22 to i32 %24 = call i32 @srand(i32 noundef %23) store i32 0, ptr %2, align 4 br label %25 25: ; preds = %40, %0 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %43 29: ; preds = %25 %30 = call i64 (...) @rand() %31 = sitofp i64 %30 to double %32 = load i64, ptr @RAND_MAX, align 8 %33 = sitofp i64 %32 to double %34 = fdiv double %31, %33 %35 = fadd double %34, 1.000000e-01 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %2, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store double %35, ptr %39, align 8 br label %40 40: ; preds = %29 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 br label %25, !llvm.loop !6 43: ; preds = %25 store double 0.000000e+00, ptr %5, align 8 %44 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %45 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %46 = load i32, ptr %45, align 8 %47 = mul nsw i32 %46, 1000 %48 = sitofp i32 %47 to double %49 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %50 = load double, ptr %49, align 8 %51 = fdiv double %50, 1.000000e+03 %52 = fadd double %48, %51 store double %52, ptr %12, align 8 store i32 0, ptr %2, align 4 br label %53 53: ; preds = %65, %43 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %68 57: ; preds = %53 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %2, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 %63 = load double, ptr %5, align 8 %64 = fadd double %63, %62 store double %64, ptr %5, align 8 br label %65 65: ; preds = %57 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %2, align 4 br label %53, !llvm.loop !8 68: ; preds = %53 %69 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %70 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %71 = load i32, ptr %70, align 8 %72 = mul nsw i32 %71, 1000 %73 = sitofp i32 %72 to double %74 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %75 = load double, ptr %74, align 8 %76 = fdiv double %75, 1.000000e+03 %77 = fadd double %73, %76 store double %77, ptr %13, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %2, align 4 br label %78 78: ; preds = %90, %68 %79 = load i32, ptr %2, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %93 82: ; preds = %78 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %2, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %83, i64 %85 %87 = load double, ptr %86, align 8 %88 = load double, ptr %6, align 8 %89 = fadd double %88, %87 store double %89, ptr %6, align 8 br label %90 90: ; preds = %82 %91 = load i32, ptr %2, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %2, align 4 br label %78, !llvm.loop !9 93: ; preds = %78 %94 = load double, ptr %5, align 8 %95 = load double, ptr %6, align 8 %96 = fsub double %94, %95 %97 = call double @llvm.fabs.f64(double %96) %98 = load double, ptr %10, align 8 %99 = fcmp ogt double %97, %98 br i1 %99, label %100, label %106 100: ; preds = %93 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 %103 = load double, ptr %5, align 8 %104 = load double, ptr %6, align 8 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %103, double noundef %104) br label %106 106: ; preds = %100, %93 %107 = load double, ptr %13, align 8 %108 = load double, ptr %12, align 8 %109 = fsub double %107, %108 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %109) %111 = load i32, ptr %8, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %106 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %115 115: ; preds = %113, %106 %116 = load ptr, ptr %9, align 8 %117 = call i32 @free(ptr noundef %116) %118 = load i32, ptr %1, align 4 ret i32 %118 } declare i64 @malloc(i32 noundef) #1 declare i32 @acc_init(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(i32 noundef) #1 declare i64 @rand(...) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2_pvz7hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, double } @acc_device_default = dso_local global i32 0, align 4 @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [51 x i8] c"same_worker_vector + FAILED! sum=%d, known_sum=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"same_worker_vector + execution time is :%.2lf: ms\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"same_worker_vector + SUCCESS!\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 double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 1.000000e-09, ptr %10, align 8 store i32 1048576, ptr %7, align 4 store i32 0, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %9, align 8 %20 = load i32, ptr @acc_device_default, align 4 %21 = call i32 @acc_init(i32 noundef %20) %22 = call i64 @time(i32 noundef 0) %23 = trunc i64 %22 to i32 %24 = call i32 @srand(i32 noundef %23) store i32 0, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %45 .lr.ph: ; preds = %0 br label %28 28: ; preds = %.lr.ph, %39 %29 = call i64 (...) @rand() %30 = sitofp i64 %29 to double %31 = load i64, ptr @RAND_MAX, align 8 %32 = sitofp i64 %31 to double %33 = fdiv double %30, %32 %34 = fadd double %33, 1.000000e-01 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %35, i64 %37 store double %34, ptr %38, align 8 br label %39 39: ; preds = %28 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %0 store double 0.000000e+00, ptr %5, align 8 %46 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %47 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = mul nsw i32 %48, 1000 %50 = sitofp i32 %49 to double %51 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %52 = load double, ptr %51, align 8 %53 = fdiv double %52, 1.000000e+03 %54 = fadd double %50, %53 store double %54, ptr %12, align 8 store i32 0, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph2, label %72 .lr.ph2: ; preds = %45 br label %58 58: ; preds = %.lr.ph2, %66 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 %63 = load double, ptr %62, align 8 %64 = load double, ptr %5, align 8 %65 = fadd double %64, %63 store double %65, ptr %5, align 8 br label %66 66: ; preds = %58 %67 = load i32, ptr %2, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %2, align 4 %69 = load i32, ptr %2, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %72 72: ; preds = %._crit_edge3, %45 %73 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %74 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = mul nsw i32 %75, 1000 %77 = sitofp i32 %76 to double %78 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %79 = load double, ptr %78, align 8 %80 = fdiv double %79, 1.000000e+03 %81 = fadd double %77, %80 store double %81, ptr %13, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = load i32, ptr %7, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph5, label %99 .lr.ph5: ; preds = %72 br label %85 85: ; preds = %.lr.ph5, %93 %86 = load ptr, ptr %9, align 8 %87 = load i32, ptr %2, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 %90 = load double, ptr %89, align 8 %91 = load double, ptr %6, align 8 %92 = fadd double %91, %90 store double %92, ptr %6, align 8 br label %93 93: ; preds = %85 %94 = load i32, ptr %2, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %2, align 4 %96 = load i32, ptr %2, align 4 %97 = load i32, ptr %7, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %85, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %93 br label %99 99: ; preds = %._crit_edge6, %72 %100 = load double, ptr %5, align 8 %101 = load double, ptr %6, align 8 %102 = fsub double %100, %101 %103 = call double @llvm.fabs.f64(double %102) %104 = load double, ptr %10, align 8 %105 = fcmp ogt double %103, %104 br i1 %105, label %106, label %112 106: ; preds = %99 %107 = load i32, ptr %8, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %8, align 4 %109 = load double, ptr %5, align 8 %110 = load double, ptr %6, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %109, double noundef %110) br label %112 112: ; preds = %106, %99 %113 = load double, ptr %13, align 8 %114 = load double, ptr %12, align 8 %115 = fsub double %113, %114 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %115) %117 = load i32, ptr %8, align 4 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %121 119: ; preds = %112 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %121 121: ; preds = %119, %112 %122 = load ptr, ptr %9, align 8 %123 = call i32 @free(ptr noundef %122) %124 = load i32, ptr %1, align 4 ret i32 %124 } declare i64 @malloc(i32 noundef) #1 declare i32 @acc_init(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(i32 noundef) #1 declare i64 @rand(...) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpfa59l1n3.c' source_filename = "/tmp/tmpfa59l1n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpfa59l1n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpsxer9xnl.c' source_filename = "/tmp/tmpsxer9xnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QuickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %30 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = icmp ne i32 %17, %19 br i1 %20, label %21, label %30 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 call void @QuickSort(ptr noundef %22, i32 noundef %23, i32 noundef %25) %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 %29 = load i32, ptr %6, align 4 call void @QuickSort(ptr noundef %26, i32 noundef %28, i32 noundef %29) br label %30 30: ; preds = %11, %21, %12 ret void } declare i32 @partition(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/tmpsxer9xnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QuickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %30 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = icmp ne i32 %17, %19 br i1 %20, label %21, label %30 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 call void @QuickSort(ptr noundef %22, i32 noundef %23, i32 noundef %25) %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 %29 = load i32, ptr %6, align 4 call void @QuickSort(ptr noundef %26, i32 noundef %28, i32 noundef %29) br label %30 30: ; preds = %21, %12, %11 ret void } declare i32 @partition(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/tmp7ipr9ykr.c' source_filename = "/tmp/tmp7ipr9ykr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbyte(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %5, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %3, align 8 %9 = load i8, ptr %7, align 1 %10 = sext i8 %9 to i32 %11 = call i32 @getnybble(i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = shl i32 %12, 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = call i32 @getnybble(i32 noundef %17) %19 = or i32 %13, %18 store i32 %19, ptr %4, align 4 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 store ptr %20, ptr %21, align 8 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i32 @getnybble(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/tmp7ipr9ykr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbyte(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %5, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %3, align 8 %9 = load i8, ptr %7, align 1 %10 = sext i8 %9 to i32 %11 = call i32 @getnybble(i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = shl i32 %12, 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = call i32 @getnybble(i32 noundef %17) %19 = or i32 %13, %18 store i32 %19, ptr %4, align 4 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 store ptr %20, ptr %21, align 8 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i32 @getnybble(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/tmpj2vg_qp0.c' source_filename = "/tmp/tmpj2vg_qp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @target() %3 = call i32 (...) @alias_for_target() %4 = call i32 (...) @asm_for_target() %5 = call i32 (...) @inunit2() ret i32 0 } declare i32 @target(...) #1 declare i32 @alias_for_target(...) #1 declare i32 @asm_for_target(...) #1 declare i32 @inunit2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj2vg_qp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @target() %3 = call i32 (...) @alias_for_target() %4 = call i32 (...) @asm_for_target() %5 = call i32 (...) @inunit2() ret i32 0 } declare i32 @target(...) #1 declare i32 @alias_for_target(...) #1 declare i32 @asm_for_target(...) #1 declare i32 @inunit2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyx11ze5i.c' source_filename = "/tmp/tmpyx11ze5i.c" target datalayout = "e-m:e-p270: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/tmpyx11ze5i.c" target datalayout = "e-m:e-p270: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/tmpedqxi23r.c' source_filename = "/tmp/tmpedqxi23r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 br label %11 11: ; preds = %28, %1 %12 = load ptr, ptr %4, align 8 %13 = ptrtoint ptr %12 to i64 %14 = and i64 %13, 7 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %3, align 8 %24 = ptrtoint ptr %22 to i64 %25 = ptrtoint ptr %23 to i64 %26 = sub i64 %24, %25 store i64 %26, ptr %2, align 8 br label %163 27: ; preds = %16 br label %28 28: ; preds = %27 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %4, align 8 br label %11, !llvm.loop !6 31: ; preds = %11 %32 = load ptr, ptr %4, align 8 store ptr %32, ptr %5, align 8 store i64 2155905152, ptr %7, align 8 store i64 16843009, ptr %8, align 8 %33 = load i64, ptr %7, align 8 %34 = shl i64 %33, 16 %35 = shl i64 %34, 16 %36 = load i64, ptr %7, align 8 %37 = or i64 %35, %36 store i64 %37, ptr %7, align 8 %38 = load i64, ptr %8, align 8 %39 = shl i64 %38, 16 %40 = shl i64 %39, 16 %41 = load i64, ptr %8, align 8 %42 = or i64 %40, %41 store i64 %42, ptr %8, align 8 br label %43 43: ; preds = %162, %31 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds i64, ptr %44, i32 1 store ptr %45, ptr %5, align 8 %46 = load i64, ptr %44, align 8 store i64 %46, ptr %6, align 8 %47 = load i64, ptr %6, align 8 %48 = load i64, ptr %8, align 8 %49 = sub i64 %47, %48 %50 = load i64, ptr %6, align 8 %51 = xor i64 %50, -1 %52 = and i64 %49, %51 %53 = load i64, ptr %7, align 8 %54 = and i64 %52, %53 %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %162 56: ; preds = %43 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i64, ptr %57, i64 -1 store ptr %58, ptr %9, align 8 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 0 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %70 64: ; preds = %56 %65 = load ptr, ptr %9, align 8 %66 = load ptr, ptr %3, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 store i64 %69, ptr %2, align 8 br label %163 70: ; preds = %56 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 1 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %83 76: ; preds = %70 %77 = load ptr, ptr %9, align 8 %78 = load ptr, ptr %3, align 8 %79 = ptrtoint ptr %77 to i64 %80 = ptrtoint ptr %78 to i64 %81 = sub i64 %79, %80 %82 = add nsw i64 %81, 1 store i64 %82, ptr %2, align 8 br label %163 83: ; preds = %70 %84 = load ptr, ptr %9, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 2 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %83 %90 = load ptr, ptr %9, align 8 %91 = load ptr, ptr %3, align 8 %92 = ptrtoint ptr %90 to i64 %93 = ptrtoint ptr %91 to i64 %94 = sub i64 %92, %93 %95 = add nsw i64 %94, 2 store i64 %95, ptr %2, align 8 br label %163 96: ; preds = %83 %97 = load ptr, ptr %9, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 3 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 0 br i1 %101, label %102, label %109 102: ; preds = %96 %103 = load ptr, ptr %9, align 8 %104 = load ptr, ptr %3, align 8 %105 = ptrtoint ptr %103 to i64 %106 = ptrtoint ptr %104 to i64 %107 = sub i64 %105, %106 %108 = add nsw i64 %107, 3 store i64 %108, ptr %2, align 8 br label %163 109: ; preds = %96 %110 = load ptr, ptr %9, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 4 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 0 br i1 %114, label %115, label %122 115: ; preds = %109 %116 = load ptr, ptr %9, align 8 %117 = load ptr, ptr %3, align 8 %118 = ptrtoint ptr %116 to i64 %119 = ptrtoint ptr %117 to i64 %120 = sub i64 %118, %119 %121 = add nsw i64 %120, 4 store i64 %121, ptr %2, align 8 br label %163 122: ; preds = %109 %123 = load ptr, ptr %9, align 8 %124 = getelementptr inbounds i8, ptr %123, i64 5 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %135 128: ; preds = %122 %129 = load ptr, ptr %9, align 8 %130 = load ptr, ptr %3, align 8 %131 = ptrtoint ptr %129 to i64 %132 = ptrtoint ptr %130 to i64 %133 = sub i64 %131, %132 %134 = add nsw i64 %133, 5 store i64 %134, ptr %2, align 8 br label %163 135: ; preds = %122 %136 = load ptr, ptr %9, align 8 %137 = getelementptr inbounds i8, ptr %136, i64 6 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %148 141: ; preds = %135 %142 = load ptr, ptr %9, align 8 %143 = load ptr, ptr %3, align 8 %144 = ptrtoint ptr %142 to i64 %145 = ptrtoint ptr %143 to i64 %146 = sub i64 %144, %145 %147 = add nsw i64 %146, 6 store i64 %147, ptr %2, align 8 br label %163 148: ; preds = %135 %149 = load ptr, ptr %9, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 7 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %161 154: ; preds = %148 %155 = load ptr, ptr %9, align 8 %156 = load ptr, ptr %3, align 8 %157 = ptrtoint ptr %155 to i64 %158 = ptrtoint ptr %156 to i64 %159 = sub i64 %157, %158 %160 = add nsw i64 %159, 7 store i64 %160, ptr %2, align 8 br label %163 161: ; preds = %148 br label %162 162: ; preds = %161, %43 br label %43 163: ; preds = %154, %141, %128, %115, %102, %89, %76, %64, %21 %164 = load i64, ptr %2, align 8 ret i64 %164 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpedqxi23r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = ptrtoint ptr %11 to i64 %13 = and i64 %12, 7 %14 = icmp ne i64 %13, 0 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %27 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %3, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 store i64 %25, ptr %2, align 8 br label %166 26: ; preds = %15 br label %27 27: ; preds = %26 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 %30 = load ptr, ptr %4, align 8 %31 = ptrtoint ptr %30 to i64 %32 = and i64 %31, 7 %33 = icmp ne i64 %32, 0 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %4, align 8 store ptr %35, ptr %5, align 8 store i64 2155905152, ptr %7, align 8 store i64 16843009, ptr %8, align 8 %36 = load i64, ptr %7, align 8 %37 = shl i64 %36, 16 %38 = shl i64 %37, 16 %39 = load i64, ptr %7, align 8 %40 = or i64 %38, %39 store i64 %40, ptr %7, align 8 %41 = load i64, ptr %8, align 8 %42 = shl i64 %41, 16 %43 = shl i64 %42, 16 %44 = load i64, ptr %8, align 8 %45 = or i64 %43, %44 store i64 %45, ptr %8, align 8 br label %46 46: ; preds = %165, %34 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i64, ptr %47, i32 1 store ptr %48, ptr %5, align 8 %49 = load i64, ptr %47, align 8 store i64 %49, ptr %6, align 8 %50 = load i64, ptr %6, align 8 %51 = load i64, ptr %8, align 8 %52 = sub i64 %50, %51 %53 = load i64, ptr %6, align 8 %54 = xor i64 %53, -1 %55 = and i64 %52, %54 %56 = load i64, ptr %7, align 8 %57 = and i64 %55, %56 %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %165 59: ; preds = %46 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds i64, ptr %60, i64 -1 store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %59 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %3, align 8 %70 = ptrtoint ptr %68 to i64 %71 = ptrtoint ptr %69 to i64 %72 = sub i64 %70, %71 store i64 %72, ptr %2, align 8 br label %166 73: ; preds = %59 %74 = load ptr, ptr %9, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 1 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %86 79: ; preds = %73 %80 = load ptr, ptr %9, align 8 %81 = load ptr, ptr %3, align 8 %82 = ptrtoint ptr %80 to i64 %83 = ptrtoint ptr %81 to i64 %84 = sub i64 %82, %83 %85 = add nsw i64 %84, 1 store i64 %85, ptr %2, align 8 br label %166 86: ; preds = %73 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 2 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %99 92: ; preds = %86 %93 = load ptr, ptr %9, align 8 %94 = load ptr, ptr %3, align 8 %95 = ptrtoint ptr %93 to i64 %96 = ptrtoint ptr %94 to i64 %97 = sub i64 %95, %96 %98 = add nsw i64 %97, 2 store i64 %98, ptr %2, align 8 br label %166 99: ; preds = %86 %100 = load ptr, ptr %9, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 3 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %112 105: ; preds = %99 %106 = load ptr, ptr %9, align 8 %107 = load ptr, ptr %3, align 8 %108 = ptrtoint ptr %106 to i64 %109 = ptrtoint ptr %107 to i64 %110 = sub i64 %108, %109 %111 = add nsw i64 %110, 3 store i64 %111, ptr %2, align 8 br label %166 112: ; preds = %99 %113 = load ptr, ptr %9, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 4 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %125 118: ; preds = %112 %119 = load ptr, ptr %9, align 8 %120 = load ptr, ptr %3, align 8 %121 = ptrtoint ptr %119 to i64 %122 = ptrtoint ptr %120 to i64 %123 = sub i64 %121, %122 %124 = add nsw i64 %123, 4 store i64 %124, ptr %2, align 8 br label %166 125: ; preds = %112 %126 = load ptr, ptr %9, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 5 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %138 131: ; preds = %125 %132 = load ptr, ptr %9, align 8 %133 = load ptr, ptr %3, align 8 %134 = ptrtoint ptr %132 to i64 %135 = ptrtoint ptr %133 to i64 %136 = sub i64 %134, %135 %137 = add nsw i64 %136, 5 store i64 %137, ptr %2, align 8 br label %166 138: ; preds = %125 %139 = load ptr, ptr %9, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 6 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %151 144: ; preds = %138 %145 = load ptr, ptr %9, align 8 %146 = load ptr, ptr %3, align 8 %147 = ptrtoint ptr %145 to i64 %148 = ptrtoint ptr %146 to i64 %149 = sub i64 %147, %148 %150 = add nsw i64 %149, 6 store i64 %150, ptr %2, align 8 br label %166 151: ; preds = %138 %152 = load ptr, ptr %9, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 7 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp eq i32 %155, 0 br i1 %156, label %157, label %164 157: ; preds = %151 %158 = load ptr, ptr %9, align 8 %159 = load ptr, ptr %3, align 8 %160 = ptrtoint ptr %158 to i64 %161 = ptrtoint ptr %159 to i64 %162 = sub i64 %160, %161 %163 = add nsw i64 %162, 7 store i64 %163, ptr %2, align 8 br label %166 164: ; preds = %151 br label %165 165: ; preds = %164, %46 br label %46 166: ; preds = %157, %144, %131, %118, %105, %92, %79, %67, %20 %167 = load i64, ptr %2, align 8 ret i64 %167 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpelg4gta4.c' source_filename = "/tmp/tmpelg4gta4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @C_string_aligned8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %7, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 7 %16 = ashr i32 %15, 3 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i64, ptr %13, i64 %17 %19 = load ptr, ptr %4, align 8 store ptr %18, ptr %19, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = or i64 5908722711110090752, %21 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i64, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i64 %22, ptr %23, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %5, align 4 %28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %8, align 8 %30 = ptrtoint ptr %29 to i64 ret i64 %30 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpelg4gta4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @C_string_aligned8(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %7, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 7 %16 = ashr i32 %15, 3 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i64, ptr %13, i64 %17 %19 = load ptr, ptr %4, align 8 store ptr %18, ptr %19, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = or i64 5908722711110090752, %21 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i64, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i64 %22, ptr %23, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %5, align 4 %28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %8, align 8 %30 = ptrtoint ptr %29 to i64 ret i64 %30 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp497cteen.c' source_filename = "/tmp/tmp497cteen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"FLOAT: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @read_mysql_float(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call float @read_float(ptr noundef %4) store float %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 %7 = call i32 @logger(i32 noundef 0, ptr noundef @.str, float noundef %6) %8 = load float, ptr %3, align 4 ret float %8 } declare float @read_float(ptr noundef) #1 declare i32 @logger(i32 noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp497cteen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"FLOAT: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @read_mysql_float(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call float @read_float(ptr noundef %4) store float %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 %7 = call i32 @logger(i32 noundef 0, ptr noundef @.str, float noundef %6) %8 = load float, ptr %3, align 4 ret float %8 } declare float @read_float(ptr noundef) #1 declare i32 @logger(i32 noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpokf2wv_v.c' source_filename = "/tmp/tmpokf2wv_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpokf2wv_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw7yfy6q7.c' source_filename = "/tmp/tmpw7yfy6q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_GfxPageCopy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @fb_GfxFlip(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @fb_GfxFlip(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/tmpw7yfy6q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_GfxPageCopy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @fb_GfxFlip(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @fb_GfxFlip(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/tmpy88qxyhc.c' source_filename = "/tmp/tmpy88qxyhc.c" target datalayout = "e-m:e-p270: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/tmpy88qxyhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_hpw2vsu.c' source_filename = "/tmp/tmp_hpw2vsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hpw2vsu.c" target datalayout = "e-m:e-p270: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/tmpi29yqopk.c' source_filename = "/tmp/tmpi29yqopk.c" target datalayout = "e-m:e-p270: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/tmpi29yqopk.c" target datalayout = "e-m:e-p270: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/tmpbkfjr_w0.c' source_filename = "/tmp/tmpbkfjr_w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_initialize_supports(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 240, 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/tmpbkfjr_w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_initialize_supports(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 240, 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/tmp_evu8jed.c' source_filename = "/tmp/tmp_evu8jed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VBC problem..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verify_binary_clauses(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp eq i32 %11, %13 br i1 %14, label %15, label %39 15: ; preds = %5 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 1 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 1, %19 %21 = icmp ne i32 %18, %20 br i1 %21, label %35, label %22 22: ; preds = %15 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 2 %26 = load i32, ptr %25, align 4 %27 = icmp ne i32 %23, %26 br i1 %27, label %35, label %28 28: ; preds = %22 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 3 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %10, align 4 %33 = sub nsw i32 1, %32 %34 = icmp ne i32 %31, %33 br i1 %34, label %35, label %38 35: ; preds = %28, %22, %15 %36 = call i32 @printf(ptr noundef @.str) %37 = call i32 @exit(i32 noundef 30) #3 unreachable 38: ; preds = %28 br label %68 39: ; preds = %5 %40 = load i32, ptr %9, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %41, align 4 %43 = icmp ne i32 %40, %42 br i1 %43, label %64, label %44 44: ; preds = %39 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %10, align 4 %49 = sub nsw i32 1, %48 %50 = icmp ne i32 %47, %49 br i1 %50, label %64, label %51 51: ; preds = %44 %52 = load i32, ptr %7, align 4 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 2 %55 = load i32, ptr %54, align 4 %56 = icmp ne i32 %52, %55 br i1 %56, label %64, label %57 57: ; preds = %51 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 3 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 1, %61 %63 = icmp ne i32 %60, %62 br i1 %63, label %64, label %67 64: ; preds = %57, %51, %44, %39 %65 = call i32 @printf(ptr noundef @.str) %66 = call i32 @exit(i32 noundef 30) #3 unreachable 67: ; preds = %57 br label %68 68: ; preds = %67, %38 ret i32 1 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_evu8jed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VBC problem..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verify_binary_clauses(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp eq i32 %11, %13 br i1 %14, label %15, label %39 15: ; preds = %5 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 1 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 1, %19 %21 = icmp ne i32 %18, %20 br i1 %21, label %35, label %22 22: ; preds = %15 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 2 %26 = load i32, ptr %25, align 4 %27 = icmp ne i32 %23, %26 br i1 %27, label %35, label %28 28: ; preds = %22 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 3 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %10, align 4 %33 = sub nsw i32 1, %32 %34 = icmp ne i32 %31, %33 br i1 %34, label %35, label %38 35: ; preds = %28, %22, %15 %36 = call i32 @printf(ptr noundef @.str) %37 = call i32 @exit(i32 noundef 30) #3 unreachable 38: ; preds = %28 br label %68 39: ; preds = %5 %40 = load i32, ptr %9, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %41, align 4 %43 = icmp ne i32 %40, %42 br i1 %43, label %64, label %44 44: ; preds = %39 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %10, align 4 %49 = sub nsw i32 1, %48 %50 = icmp ne i32 %47, %49 br i1 %50, label %64, label %51 51: ; preds = %44 %52 = load i32, ptr %7, align 4 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 2 %55 = load i32, ptr %54, align 4 %56 = icmp ne i32 %52, %55 br i1 %56, label %64, label %57 57: ; preds = %51 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 3 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 1, %61 %63 = icmp ne i32 %60, %62 br i1 %63, label %64, label %67 64: ; preds = %57, %51, %44, %39 %65 = call i32 @printf(ptr noundef @.str) %66 = call i32 @exit(i32 noundef 30) #3 unreachable 67: ; preds = %57 br label %68 68: ; preds = %67, %38 ret i32 1 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2anvn83i.c' source_filename = "/tmp/tmp2anvn83i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stddev_double(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call double @getmean_double(i32 noundef %11, ptr noundef %12) store double %13, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to double %16 = fsub double %15, 1.000000e+00 store double %16, ptr %10, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 1 br i1 %18, label %19, label %46 19: ; preds = %2 store i32 0, ptr %6, align 4 br label %20 20: ; preds = %39, %19 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %42 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load double, ptr %7, align 8 %31 = fsub double %29, %30 store double %31, ptr %9, align 8 %32 = load double, ptr %9, align 8 %33 = load double, ptr %9, align 8 %34 = fmul double %32, %33 %35 = load double, ptr %10, align 8 %36 = fdiv double %34, %35 %37 = load double, ptr %8, align 8 %38 = fadd double %37, %36 store double %38, ptr %8, align 8 br label %39 39: ; preds = %24 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %20, !llvm.loop !6 42: ; preds = %20 %43 = load double, ptr %8, align 8 %44 = call i64 @sqrt(double noundef %43) %45 = sitofp i64 %44 to double store double %45, ptr %3, align 8 br label %47 46: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %47 47: ; preds = %46, %42 %48 = load double, ptr %3, align 8 ret double %48 } declare double @getmean_double(i32 noundef, ptr noundef) #1 declare i64 @sqrt(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/tmp2anvn83i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stddev_double(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call double @getmean_double(i32 noundef %11, ptr noundef %12) store double %13, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to double %16 = fsub double %15, 1.000000e+00 store double %16, ptr %10, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 1 br i1 %18, label %19, label %48 19: ; preds = %2 store i32 0, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %44 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %38 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 %28 = load double, ptr %27, align 8 %29 = load double, ptr %7, align 8 %30 = fsub double %28, %29 store double %30, ptr %9, align 8 %31 = load double, ptr %9, align 8 %32 = load double, ptr %9, align 8 %33 = fmul double %31, %32 %34 = load double, ptr %10, align 8 %35 = fdiv double %33, %34 %36 = load double, ptr %8, align 8 %37 = fadd double %36, %35 store double %37, ptr %8, align 8 br label %38 38: ; preds = %23 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %19 %45 = load double, ptr %8, align 8 %46 = call i64 @sqrt(double noundef %45) %47 = sitofp i64 %46 to double store double %47, ptr %3, align 8 br label %49 48: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %49 49: ; preds = %48, %44 %50 = load double, ptr %3, align 8 ret double %50 } declare double @getmean_double(i32 noundef, ptr noundef) #1 declare i64 @sqrt(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/tmp7n8_h1wu.c' source_filename = "/tmp/tmp7n8_h1wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%lf %lf %d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"of the integral from %f to %f = %.14e\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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @Usage(ptr noundef %16) br label %18 18: ; preds = %13, %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) store i32 %22, ptr %10, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8, ptr noundef %9) %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = srem i32 %25, %26 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %18 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = call i32 @Usage(ptr noundef %32) br label %34 34: ; preds = %29, %18 %35 = load double, ptr %7, align 8 %36 = load double, ptr %8, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @Trap(double noundef %35, double noundef %36, i32 noundef %37, ptr noundef %6) %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39) %41 = load double, ptr %7, align 8 %42 = load double, ptr %8, align 8 %43 = load double, ptr %6, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %41, double noundef %42, double noundef %43) ret i32 0 } declare i32 @Usage(ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @Trap(double noundef, double noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7n8_h1wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%lf %lf %d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"of the integral from %f to %f = %.14e\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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @Usage(ptr noundef %16) br label %18 18: ; preds = %13, %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) store i32 %22, ptr %10, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8, ptr noundef %9) %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = srem i32 %25, %26 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %18 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = call i32 @Usage(ptr noundef %32) br label %34 34: ; preds = %29, %18 %35 = load double, ptr %7, align 8 %36 = load double, ptr %8, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @Trap(double noundef %35, double noundef %36, i32 noundef %37, ptr noundef %6) %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39) %41 = load double, ptr %7, align 8 %42 = load double, ptr %8, align 8 %43 = load double, ptr %6, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %41, double noundef %42, double noundef %43) ret i32 0 } declare i32 @Usage(ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @Trap(double noundef, double noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxp3dhi49.c' source_filename = "/tmp/tmpxp3dhi49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCMBIC = dso_local global i32 0, align 4 @TIOCMBIS = 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/tmpxp3dhi49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCMBIC = dso_local global i32 0, align 4 @TIOCMBIS = 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/tmp9a7q434i.c' source_filename = "/tmp/tmp9a7q434i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimSpace(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 -1 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %19, %2 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ugt ptr %9, %10 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %12, %8 %18 = phi i1 [ false, %8 ], [ %16, %12 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 -1 store ptr %21, ptr %5, align 8 br label %8, !llvm.loop !6 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 ret ptr %24 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9a7q434i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimSpace(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 -1 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %19, %2 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ugt ptr %9, %10 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %12, %8 %18 = phi i1 [ false, %8 ], [ %16, %12 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 -1 store ptr %21, ptr %5, align 8 br label %8, !llvm.loop !6 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 ret ptr %24 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4r_po_7f.c' source_filename = "/tmp/tmp4r_po_7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmp4r_po_7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmplive0kv9.c' source_filename = "/tmp/tmplive0kv9.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c".list\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Loading \22%s\22...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listSearch() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr @opendir(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %36 7: ; preds = %0 br label %8 8: ; preds = %32, %7 %9 = load ptr, ptr %1, align 8 %10 = call ptr @readdir(ptr noundef %9) store ptr %10, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %33 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0 %15 = load ptr, ptr %14, align 8 %16 = call ptr @get_extension(ptr noundef %15) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %32 19: ; preds = %12 %20 = load ptr, ptr %3, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %19 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 @printf(ptr noundef @.str.2, ptr noundef %26) %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds %struct.dirent, ptr %28, i32 0, i32 0 %30 = load ptr, ptr %29, align 8 %31 = call i32 @load_list(ptr noundef %30) br label %32 32: ; preds = %23, %19, %12 br label %8, !llvm.loop !6 33: ; preds = %8 %34 = load ptr, ptr %1, align 8 %35 = call i32 @closedir(ptr noundef %34) br label %36 36: ; preds = %33, %0 ret void } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare ptr @get_extension(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @load_list(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplive0kv9.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c".list\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Loading \22%s\22...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listSearch() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr @opendir(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %38 7: ; preds = %0 %8 = load ptr, ptr %1, align 8 %9 = call ptr @readdir(ptr noundef %8) store ptr %9, ptr %2, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %7 br label %11 11: ; preds = %.lr.ph, %31 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds %struct.dirent, ptr %12, i32 0, i32 0 %14 = load ptr, ptr %13, align 8 %15 = call ptr @get_extension(ptr noundef %14) store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %31 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %18 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25) %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 @load_list(ptr noundef %29) br label %31 31: ; preds = %22, %18, %11 %32 = load ptr, ptr %1, align 8 %33 = call ptr @readdir(ptr noundef %32) store ptr %33, ptr %2, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %7 %36 = load ptr, ptr %1, align 8 %37 = call i32 @closedir(ptr noundef %36) br label %38 38: ; preds = %35, %0 ret void } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare ptr @get_extension(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @load_list(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplrqcmm7y.c' source_filename = "/tmp/tmplrqcmm7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_setr_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 %10 = load float, ptr %9, align 4 store float %10, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @starMallocAtomic(i32 noundef %12) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @cnfImprt(ptr noundef %14, i32 noundef %15, ptr noundef %16) %18 = load ptr, ptr %8, align 8 %19 = load float, ptr %7, align 4 %20 = call i32 @msgSetr(ptr noundef %18, float noundef %19) %21 = load ptr, ptr %8, align 8 %22 = call i32 @starFree(ptr noundef %21) ret void } declare ptr @starMallocAtomic(i32 noundef) #1 declare i32 @cnfImprt(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @msgSetr(ptr noundef, float noundef) #1 declare i32 @starFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplrqcmm7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_setr_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 %10 = load float, ptr %9, align 4 store float %10, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @starMallocAtomic(i32 noundef %12) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @cnfImprt(ptr noundef %14, i32 noundef %15, ptr noundef %16) %18 = load ptr, ptr %8, align 8 %19 = load float, ptr %7, align 4 %20 = call i32 @msgSetr(ptr noundef %18, float noundef %19) %21 = load ptr, ptr %8, align 8 %22 = call i32 @starFree(ptr noundef %21) ret void } declare ptr @starMallocAtomic(i32 noundef) #1 declare i32 @cnfImprt(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @msgSetr(ptr noundef, float noundef) #1 declare i32 @starFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp16zjik7k.c' source_filename = "/tmp/tmp16zjik7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rellenarArrayNumerosAleatorios(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %16, %2 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = call i32 (...) @rand() %12 = srem i32 %11, 256 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 store i32 %12, ptr %15, align 4 br label %16 16: ; preds = %10 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %5, align 8 br label %6, !llvm.loop !6 19: ; preds = %6 ret void } 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/tmp16zjik7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rellenarArrayNumerosAleatorios(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %6, %7 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %15 %10 = call i32 (...) @rand() %11 = srem i32 %10, 256 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %5, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 store i32 %11, ptr %14, align 4 br label %15 15: ; preds = %9 %16 = load i64, ptr %5, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %4, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %2 ret void } 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/tmp82bpn80s.c' source_filename = "/tmp/tmp82bpn80s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @f() %6 = call i32 (...) @f() %7 = call i32 (...) @f() %8 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp82bpn80s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @f() %6 = call i32 (...) @f() %7 = call i32 (...) @f() %8 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqqr69o45.c' source_filename = "/tmp/tmpqqr69o45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %8, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = call i32 (...) @tester() br label %8 8: ; preds = %6 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret i32 0 } declare i32 @tester(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqqr69o45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 5 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %7 %6 = call i32 (...) @tester() br label %7 7: ; preds = %5 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @tester(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvcnq9ot3.c' source_filename = "/tmp/tmpvcnq9ot3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lstat(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 = call i32 @_exit(i32 noundef -1) #2 unreachable } ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvcnq9ot3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lstat(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 = call i32 @_exit(i32 noundef -1) #2 unreachable } ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmvv8150c.c' source_filename = "/tmp/tmpmvv8150c.c" target datalayout = "e-m:e-p270: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/tmpmvv8150c.c" target datalayout = "e-m:e-p270: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/tmpnpyxxxp0.c' source_filename = "/tmp/tmpnpyxxxp0.c" target datalayout = "e-m:e-p270: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/tmpnpyxxxp0.c" target datalayout = "e-m:e-p270: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/tmpvvs42l9y.c' source_filename = "/tmp/tmpvvs42l9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"service ssh status\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on command\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"[%s] %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getstat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [128 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.2) br label %36 12: ; preds = %1 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false) %13 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 0 store i8 46, ptr %13, align 16 %14 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 1 store i8 46, ptr %14, align 1 %15 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 2 store i8 46, ptr %15, align 2 %16 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i32 @fgets(ptr noundef %16, i32 noundef 128, ptr noundef %17) %19 = call i32 @time(ptr noundef null) store i32 %19, ptr %3, align 4 %20 = load ptr, ptr %2, align 8 %21 = call ptr @ctime(ptr noundef %3) %22 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.3, ptr noundef %21, ptr noundef %22) br label %24 24: ; preds = %29, %12 %25 = load ptr, ptr %4, align 8 %26 = call i32 @feof(ptr noundef %25) %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %29, label %33 29: ; preds = %24 %30 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %31 = load ptr, ptr %4, align 8 %32 = call i32 @fgets(ptr noundef %30, i32 noundef 128, ptr noundef %31) br label %24, !llvm.loop !6 33: ; preds = %24 %34 = load ptr, ptr %4, align 8 %35 = call i32 @pclose(ptr noundef %34) br label %36 36: ; preds = %33, %9 ret void } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvvs42l9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"service ssh status\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on command\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"[%s] %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getstat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [128 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.2) br label %39 12: ; preds = %1 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false) %13 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 0 store i8 46, ptr %13, align 16 %14 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 1 store i8 46, ptr %14, align 1 %15 = getelementptr inbounds [128 x i8], ptr %5, i32 0, i32 2 store i8 46, ptr %15, align 2 %16 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i32 @fgets(ptr noundef %16, i32 noundef 128, ptr noundef %17) %19 = call i32 @time(ptr noundef null) store i32 %19, ptr %3, align 4 %20 = load ptr, ptr %2, align 8 %21 = call ptr @ctime(ptr noundef %3) %22 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.3, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @feof(ptr noundef %24) %26 = icmp ne i32 %25, 0 %27 = xor i1 %26, true br i1 %27, label %.lr.ph, label %36 .lr.ph: ; preds = %12 br label %28 28: ; preds = %.lr.ph, %28 %29 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fgets(ptr noundef %29, i32 noundef 128, ptr noundef %30) %32 = load ptr, ptr %4, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br i1 %35, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %12 %37 = load ptr, ptr %4, align 8 %38 = call i32 @pclose(ptr noundef %37) br label %39 39: ; preds = %36, %9 ret void } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7gpm3net.c' source_filename = "/tmp/tmp7gpm3net.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matprod_trans12(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = ptrtoint ptr %13 to i64 %15 = and i64 %14, 0 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %8, align 8 %20 = ptrtoint ptr %19 to i64 %21 = and i64 %20, 0 %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %9, align 8 %26 = ptrtoint ptr %25 to i64 %27 = and i64 %26, 0 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load ptr, ptr %7, align 8 store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %8, align 8 store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 store ptr %33, ptr %9, align 8 %34 = load i32, ptr %11, align 4 %35 = icmp sle i32 %34, 1 br i1 %35, label %36, label %55 36: ; preds = %6 %37 = load i32, ptr %11, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %46 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %8, align 8 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %12, align 4 %45 = call i32 @matprod_outer(ptr noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) br label %54 46: ; preds = %36 %47 = load ptr, ptr %9, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = mul i64 %49, %51 %53 = call i32 @set_to_zeros(ptr noundef %47, i64 noundef %52) br label %54 54: ; preds = %46, %39 br label %92 55: ; preds = %6 %56 = load i32, ptr %10, align 4 %57 = icmp sle i32 %56, 1 br i1 %57, label %58, label %69 58: ; preds = %55 %59 = load i32, ptr %10, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %68 61: ; preds = %58 %62 = load ptr, ptr %8, align 8 %63 = load ptr, ptr %7, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %12, align 4 %66 = load i32, ptr %11, align 4 %67 = call i32 @matprod_mat_vec(ptr noundef %62, ptr noundef %63, ptr noundef %64, i32 noundef %65, i32 noundef %66) br label %68 68: ; preds = %61, %58 br label %92 69: ; preds = %55 %70 = load i32, ptr %12, align 4 %71 = icmp sle i32 %70, 1 br i1 %71, label %72, label %83 72: ; preds = %69 %73 = load i32, ptr %12, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %82 75: ; preds = %72 %76 = load ptr, ptr %8, align 8 %77 = load ptr, ptr %7, align 8 %78 = load ptr, ptr %9, align 8 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %10, align 4 %81 = call i32 @matprod_vec_mat(ptr noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %79, i32 noundef %80) br label %82 82: ; preds = %75, %72 br label %92 83: ; preds = %69 %84 = load ptr, ptr %7, align 8 %85 = load ptr, ptr %8, align 8 %86 = load ptr, ptr %9, align 8 %87 = load i32, ptr %10, align 4 %88 = load i32, ptr %11, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = call i32 @matprod_trans12_sub(ptr noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90) br label %92 92: ; preds = %83, %82, %68, %54 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @matprod_outer(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_to_zeros(ptr noundef, i64 noundef) #1 declare i32 @matprod_mat_vec(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @matprod_vec_mat(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @matprod_trans12_sub(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gpm3net.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matprod_trans12(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = ptrtoint ptr %13 to i64 %15 = and i64 %14, 0 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %8, align 8 %20 = ptrtoint ptr %19 to i64 %21 = and i64 %20, 0 %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %9, align 8 %26 = ptrtoint ptr %25 to i64 %27 = and i64 %26, 0 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load ptr, ptr %7, align 8 store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %8, align 8 store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 store ptr %33, ptr %9, align 8 %34 = load i32, ptr %11, align 4 %35 = icmp sle i32 %34, 1 br i1 %35, label %36, label %55 36: ; preds = %6 %37 = load i32, ptr %11, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %46 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %8, align 8 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %12, align 4 %45 = call i32 @matprod_outer(ptr noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) br label %54 46: ; preds = %36 %47 = load ptr, ptr %9, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = mul i64 %49, %51 %53 = call i32 @set_to_zeros(ptr noundef %47, i64 noundef %52) br label %54 54: ; preds = %46, %39 br label %92 55: ; preds = %6 %56 = load i32, ptr %10, align 4 %57 = icmp sle i32 %56, 1 br i1 %57, label %58, label %69 58: ; preds = %55 %59 = load i32, ptr %10, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %68 61: ; preds = %58 %62 = load ptr, ptr %8, align 8 %63 = load ptr, ptr %7, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %12, align 4 %66 = load i32, ptr %11, align 4 %67 = call i32 @matprod_mat_vec(ptr noundef %62, ptr noundef %63, ptr noundef %64, i32 noundef %65, i32 noundef %66) br label %68 68: ; preds = %61, %58 br label %92 69: ; preds = %55 %70 = load i32, ptr %12, align 4 %71 = icmp sle i32 %70, 1 br i1 %71, label %72, label %83 72: ; preds = %69 %73 = load i32, ptr %12, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %82 75: ; preds = %72 %76 = load ptr, ptr %8, align 8 %77 = load ptr, ptr %7, align 8 %78 = load ptr, ptr %9, align 8 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %10, align 4 %81 = call i32 @matprod_vec_mat(ptr noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %79, i32 noundef %80) br label %82 82: ; preds = %75, %72 br label %92 83: ; preds = %69 %84 = load ptr, ptr %7, align 8 %85 = load ptr, ptr %8, align 8 %86 = load ptr, ptr %9, align 8 %87 = load i32, ptr %10, align 4 %88 = load i32, ptr %11, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = call i32 @matprod_trans12_sub(ptr noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90) br label %92 92: ; preds = %83, %82, %68, %54 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @matprod_outer(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_to_zeros(ptr noundef, i64 noundef) #1 declare i32 @matprod_mat_vec(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @matprod_vec_mat(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @matprod_trans12_sub(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptc7xp3x2.c' source_filename = "/tmp/tmptc7xp3x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEDataObject_gc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 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/tmptc7xp3x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEDataObject_gc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 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/tmpkt2twotv.c' source_filename = "/tmp/tmpkt2twotv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plm_main_on_work_proc_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @plm_event_io_shutdown() %4 = call i32 (...) @plm_comm_destroy() %5 = call i32 (...) @plm_buffer_destroy() ret void } declare i32 @plm_event_io_shutdown(...) #1 declare i32 @plm_comm_destroy(...) #1 declare i32 @plm_buffer_destroy(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkt2twotv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plm_main_on_work_proc_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @plm_event_io_shutdown() %4 = call i32 (...) @plm_comm_destroy() %5 = call i32 (...) @plm_buffer_destroy() ret void } declare i32 @plm_event_io_shutdown(...) #1 declare i32 @plm_comm_destroy(...) #1 declare i32 @plm_buffer_destroy(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcvqmpwzy.c' source_filename = "/tmp/tmpcvqmpwzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strrev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %48 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i64 @strlen(ptr noundef %11) %13 = mul i64 1, %12 %14 = add i64 %13, 1 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %6, align 8 store i32 0, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = sub i64 %18, 1 %20 = trunc i64 %19 to i32 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %37, %10 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = icmp ult i64 %23, %25 br i1 %26, label %27, label %42 27: ; preds = %21 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 br label %37 37: ; preds = %27 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %5, align 4 br label %21, !llvm.loop !6 42: ; preds = %21 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strlen(ptr noundef %44) %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %6, align 8 store ptr %47, ptr %2, align 8 br label %48 48: ; preds = %42, %9 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare ptr @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcvqmpwzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strrev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %52 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i64 @strlen(ptr noundef %11) %13 = mul i64 1, %12 %14 = add i64 %13, 1 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %6, align 8 store i32 0, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = sub i64 %18, 1 %20 = trunc i64 %19 to i32 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = load ptr, ptr %3, align 8 %24 = call i64 @strlen(ptr noundef %23) %25 = icmp ult i64 %22, %24 br i1 %25, label %.lr.ph, label %46 .lr.ph: ; preds = %10 br label %26 26: ; preds = %.lr.ph, %36 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %26 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = load ptr, ptr %3, align 8 %44 = call i64 @strlen(ptr noundef %43) %45 = icmp ult i64 %42, %44 br i1 %45, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %46 46: ; preds = %._crit_edge, %10 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %3, align 8 %49 = call i64 @strlen(ptr noundef %48) %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %2, align 8 br label %52 52: ; preds = %46, %9 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8lf6msd5.c' source_filename = "/tmp/tmp8lf6msd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @histogram_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 1, ptr %17, align 4 br label %24 24: ; preds = %196, %8 %25 = load i32, ptr %17, align 4 %26 = load i32, ptr %14, align 4 %27 = sub nsw i32 %26, 1 %28 = icmp slt i32 %25, %27 br i1 %28, label %29, label %199 29: ; preds = %24 store i32 1, ptr %18, align 4 br label %30 30: ; preds = %192, %29 %31 = load i32, ptr %18, align 4 %32 = load i32, ptr %15, align 4 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %31, %33 br i1 %34, label %35, label %195 35: ; preds = %30 store i32 1, ptr %19, align 4 br label %36 36: ; preds = %188, %35 %37 = load i32, ptr %19, align 4 %38 = load i32, ptr %16, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %41, label %191 41: ; preds = %36 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %15, align 4 %45 = mul nsw i32 %43, %44 %46 = load i32, ptr %16, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %18, align 4 %49 = load i32, ptr %16, align 4 %50 = mul nsw i32 %48, %49 %51 = add nsw i32 %47, %50 %52 = load i32, ptr %19, align 4 %53 = add nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds float, ptr %42, i64 %54 %56 = load float, ptr %55, align 4 store float %56, ptr %22, align 4 %57 = load ptr, ptr %10, align 8 %58 = load i32, ptr %17, align 4 %59 = load i32, ptr %15, align 4 %60 = mul nsw i32 %58, %59 %61 = load i32, ptr %16, align 4 %62 = mul nsw i32 %60, %61 %63 = load i32, ptr %18, align 4 %64 = load i32, ptr %16, align 4 %65 = mul nsw i32 %63, %64 %66 = add nsw i32 %62, %65 %67 = load i32, ptr %19, align 4 %68 = add nsw i32 %66, %67 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds float, ptr %57, i64 %69 %71 = load float, ptr %70, align 4 store float %71, ptr %23, align 4 store i32 -1, ptr %20, align 4 br label %72 72: ; preds = %184, %41 %73 = load i32, ptr %20, align 4 %74 = icmp sle i32 %73, 1 br i1 %74, label %75, label %187 75: ; preds = %72 store i32 -1, ptr %21, align 4 br label %76 76: ; preds = %180, %75 %77 = load i32, ptr %21, align 4 %78 = icmp sle i32 %77, 1 br i1 %78, label %79, label %183 79: ; preds = %76 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %17, align 4 %82 = load i32, ptr %20, align 4 %83 = sub nsw i32 %81, %82 %84 = load i32, ptr %15, align 4 %85 = mul nsw i32 %83, %84 %86 = load i32, ptr %16, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %18, align 4 %89 = load i32, ptr %21, align 4 %90 = sub nsw i32 %88, %89 %91 = load i32, ptr %16, align 4 %92 = mul nsw i32 %90, %91 %93 = add nsw i32 %87, %92 %94 = load i32, ptr %19, align 4 %95 = add nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %80, i64 %96 %98 = load float, ptr %97, align 4 %99 = load float, ptr %23, align 4 %100 = call i64 @fmin(float noundef %98, float noundef %99) %101 = sitofp i64 %100 to float %102 = load ptr, ptr %13, align 8 %103 = load i32, ptr %20, align 4 %104 = add nsw i32 %103, 1 %105 = mul nsw i32 %104, 3 %106 = load i32, ptr %21, align 4 %107 = add nsw i32 %106, 1 %108 = add nsw i32 %105, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds float, ptr %102, i64 %109 %111 = load float, ptr %110, align 4 %112 = fadd float %111, %101 store float %112, ptr %110, align 4 %113 = load ptr, ptr %12, align 8 %114 = load i32, ptr %17, align 4 %115 = load i32, ptr %20, align 4 %116 = sub nsw i32 %114, %115 %117 = load i32, ptr %15, align 4 %118 = mul nsw i32 %116, %117 %119 = load i32, ptr %16, align 4 %120 = mul nsw i32 %118, %119 %121 = load i32, ptr %18, align 4 %122 = load i32, ptr %21, align 4 %123 = sub nsw i32 %121, %122 %124 = load i32, ptr %16, align 4 %125 = mul nsw i32 %123, %124 %126 = add nsw i32 %120, %125 %127 = load i32, ptr %19, align 4 %128 = add nsw i32 %126, %127 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %113, i64 %129 %131 = load float, ptr %130, align 4 %132 = load float, ptr %22, align 4 %133 = call i64 @fmin(float noundef %131, float noundef %132) %134 = sitofp i64 %133 to float %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %20, align 4 %137 = add nsw i32 %136, 1 %138 = mul nsw i32 %137, 3 %139 = load i32, ptr %21, align 4 %140 = add nsw i32 %139, 1 %141 = add nsw i32 %138, %140 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds float, ptr %135, i64 %142 %144 = load float, ptr %143, align 4 %145 = fadd float %144, %134 store float %145, ptr %143, align 4 %146 = load ptr, ptr %11, align 8 %147 = load i32, ptr %17, align 4 %148 = load i32, ptr %20, align 4 %149 = sub nsw i32 %147, %148 %150 = load i32, ptr %15, align 4 %151 = mul nsw i32 %149, %150 %152 = load i32, ptr %16, align 4 %153 = mul nsw i32 %151, %152 %154 = load i32, ptr %18, align 4 %155 = load i32, ptr %21, align 4 %156 = sub nsw i32 %154, %155 %157 = load i32, ptr %16, align 4 %158 = mul nsw i32 %156, %157 %159 = add nsw i32 %153, %158 %160 = load i32, ptr %19, align 4 %161 = add nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %146, i64 %162 %164 = load float, ptr %163, align 4 %165 = load float, ptr %22, align 4 %166 = call double @fmax(float noundef %164, float noundef %165) %167 = load ptr, ptr %13, align 8 %168 = load i32, ptr %20, align 4 %169 = add nsw i32 %168, 1 %170 = mul nsw i32 %169, 3 %171 = load i32, ptr %21, align 4 %172 = add nsw i32 %171, 1 %173 = add nsw i32 %170, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds float, ptr %167, i64 %174 %176 = load float, ptr %175, align 4 %177 = fpext float %176 to double %178 = call double @llvm.fmuladd.f64(double -6.000000e-01, double %166, double %177) %179 = fptrunc double %178 to float store float %179, ptr %175, align 4 br label %180 180: ; preds = %79 %181 = load i32, ptr %21, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %21, align 4 br label %76, !llvm.loop !6 183: ; preds = %76 br label %184 184: ; preds = %183 %185 = load i32, ptr %20, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %20, align 4 br label %72, !llvm.loop !8 187: ; preds = %72 br label %188 188: ; preds = %187 %189 = load i32, ptr %19, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %19, align 4 br label %36, !llvm.loop !9 191: ; preds = %36 br label %192 192: ; preds = %191 %193 = load i32, ptr %18, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %18, align 4 br label %30, !llvm.loop !10 195: ; preds = %30 br label %196 196: ; preds = %195 %197 = load i32, ptr %17, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %17, align 4 br label %24, !llvm.loop !11 199: ; preds = %24 ret void } declare i64 @fmin(float noundef, float noundef) #1 declare double @fmax(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8lf6msd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @histogram_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 1, ptr %17, align 4 %24 = load i32, ptr %17, align 4 %25 = load i32, ptr %14, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %.lr.ph11, label %210 .lr.ph11: ; preds = %8 br label %28 28: ; preds = %.lr.ph11, %203 store i32 1, ptr %18, align 4 %29 = load i32, ptr %18, align 4 %30 = load i32, ptr %15, align 4 %31 = sub nsw i32 %30, 1 %32 = icmp slt i32 %29, %31 br i1 %32, label %.lr.ph8, label %202 .lr.ph8: ; preds = %28 br label %33 33: ; preds = %.lr.ph8, %195 store i32 1, ptr %19, align 4 %34 = load i32, ptr %19, align 4 %35 = load i32, ptr %16, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %.lr.ph5, label %194 .lr.ph5: ; preds = %33 br label %38 38: ; preds = %.lr.ph5, %187 %39 = load ptr, ptr %9, align 8 %40 = load i32, ptr %17, align 4 %41 = load i32, ptr %15, align 4 %42 = mul nsw i32 %40, %41 %43 = load i32, ptr %16, align 4 %44 = mul nsw i32 %42, %43 %45 = load i32, ptr %18, align 4 %46 = load i32, ptr %16, align 4 %47 = mul nsw i32 %45, %46 %48 = add nsw i32 %44, %47 %49 = load i32, ptr %19, align 4 %50 = add nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %39, i64 %51 %53 = load float, ptr %52, align 4 store float %53, ptr %22, align 4 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %17, align 4 %56 = load i32, ptr %15, align 4 %57 = mul nsw i32 %55, %56 %58 = load i32, ptr %16, align 4 %59 = mul nsw i32 %57, %58 %60 = load i32, ptr %18, align 4 %61 = load i32, ptr %16, align 4 %62 = mul nsw i32 %60, %61 %63 = add nsw i32 %59, %62 %64 = load i32, ptr %19, align 4 %65 = add nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %54, i64 %66 %68 = load float, ptr %67, align 4 store float %68, ptr %23, align 4 store i32 -1, ptr %20, align 4 %69 = load i32, ptr %20, align 4 %70 = icmp sle i32 %69, 1 br i1 %70, label %.lr.ph2, label %186 .lr.ph2: ; preds = %38 br label %71 71: ; preds = %.lr.ph2, %181 store i32 -1, ptr %21, align 4 %72 = load i32, ptr %21, align 4 %73 = icmp sle i32 %72, 1 br i1 %73, label %.lr.ph, label %180 .lr.ph: ; preds = %71 br label %74 74: ; preds = %.lr.ph, %175 %75 = load ptr, ptr %11, align 8 %76 = load i32, ptr %17, align 4 %77 = load i32, ptr %20, align 4 %78 = sub nsw i32 %76, %77 %79 = load i32, ptr %15, align 4 %80 = mul nsw i32 %78, %79 %81 = load i32, ptr %16, align 4 %82 = mul nsw i32 %80, %81 %83 = load i32, ptr %18, align 4 %84 = load i32, ptr %21, align 4 %85 = sub nsw i32 %83, %84 %86 = load i32, ptr %16, align 4 %87 = mul nsw i32 %85, %86 %88 = add nsw i32 %82, %87 %89 = load i32, ptr %19, align 4 %90 = add nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds float, ptr %75, i64 %91 %93 = load float, ptr %92, align 4 %94 = load float, ptr %23, align 4 %95 = call i64 @fmin(float noundef %93, float noundef %94) %96 = sitofp i64 %95 to float %97 = load ptr, ptr %13, align 8 %98 = load i32, ptr %20, align 4 %99 = add nsw i32 %98, 1 %100 = mul nsw i32 %99, 3 %101 = load i32, ptr %21, align 4 %102 = add nsw i32 %101, 1 %103 = add nsw i32 %100, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %97, i64 %104 %106 = load float, ptr %105, align 4 %107 = fadd float %106, %96 store float %107, ptr %105, align 4 %108 = load ptr, ptr %12, align 8 %109 = load i32, ptr %17, align 4 %110 = load i32, ptr %20, align 4 %111 = sub nsw i32 %109, %110 %112 = load i32, ptr %15, align 4 %113 = mul nsw i32 %111, %112 %114 = load i32, ptr %16, align 4 %115 = mul nsw i32 %113, %114 %116 = load i32, ptr %18, align 4 %117 = load i32, ptr %21, align 4 %118 = sub nsw i32 %116, %117 %119 = load i32, ptr %16, align 4 %120 = mul nsw i32 %118, %119 %121 = add nsw i32 %115, %120 %122 = load i32, ptr %19, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds float, ptr %108, i64 %124 %126 = load float, ptr %125, align 4 %127 = load float, ptr %22, align 4 %128 = call i64 @fmin(float noundef %126, float noundef %127) %129 = sitofp i64 %128 to float %130 = load ptr, ptr %13, align 8 %131 = load i32, ptr %20, align 4 %132 = add nsw i32 %131, 1 %133 = mul nsw i32 %132, 3 %134 = load i32, ptr %21, align 4 %135 = add nsw i32 %134, 1 %136 = add nsw i32 %133, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds float, ptr %130, i64 %137 %139 = load float, ptr %138, align 4 %140 = fadd float %139, %129 store float %140, ptr %138, align 4 %141 = load ptr, ptr %11, align 8 %142 = load i32, ptr %17, align 4 %143 = load i32, ptr %20, align 4 %144 = sub nsw i32 %142, %143 %145 = load i32, ptr %15, align 4 %146 = mul nsw i32 %144, %145 %147 = load i32, ptr %16, align 4 %148 = mul nsw i32 %146, %147 %149 = load i32, ptr %18, align 4 %150 = load i32, ptr %21, align 4 %151 = sub nsw i32 %149, %150 %152 = load i32, ptr %16, align 4 %153 = mul nsw i32 %151, %152 %154 = add nsw i32 %148, %153 %155 = load i32, ptr %19, align 4 %156 = add nsw i32 %154, %155 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %141, i64 %157 %159 = load float, ptr %158, align 4 %160 = load float, ptr %22, align 4 %161 = call double @fmax(float noundef %159, float noundef %160) %162 = load ptr, ptr %13, align 8 %163 = load i32, ptr %20, align 4 %164 = add nsw i32 %163, 1 %165 = mul nsw i32 %164, 3 %166 = load i32, ptr %21, align 4 %167 = add nsw i32 %166, 1 %168 = add nsw i32 %165, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds float, ptr %162, i64 %169 %171 = load float, ptr %170, align 4 %172 = fpext float %171 to double %173 = call double @llvm.fmuladd.f64(double -6.000000e-01, double %161, double %172) %174 = fptrunc double %173 to float store float %174, ptr %170, align 4 br label %175 175: ; preds = %74 %176 = load i32, ptr %21, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %21, align 4 %178 = load i32, ptr %21, align 4 %179 = icmp sle i32 %178, 1 br i1 %179, label %74, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %175 br label %180 180: ; preds = %._crit_edge, %71 br label %181 181: ; preds = %180 %182 = load i32, ptr %20, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %20, align 4 %184 = load i32, ptr %20, align 4 %185 = icmp sle i32 %184, 1 br i1 %185, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %181 br label %186 186: ; preds = %._crit_edge3, %38 br label %187 187: ; preds = %186 %188 = load i32, ptr %19, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %19, align 4 %190 = load i32, ptr %19, align 4 %191 = load i32, ptr %16, align 4 %192 = sub nsw i32 %191, 1 %193 = icmp slt i32 %190, %192 br i1 %193, label %38, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %187 br label %194 194: ; preds = %._crit_edge6, %33 br label %195 195: ; preds = %194 %196 = load i32, ptr %18, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %18, align 4 %198 = load i32, ptr %18, align 4 %199 = load i32, ptr %15, align 4 %200 = sub nsw i32 %199, 1 %201 = icmp slt i32 %198, %200 br i1 %201, label %33, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %195 br label %202 202: ; preds = %._crit_edge9, %28 br label %203 203: ; preds = %202 %204 = load i32, ptr %17, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %17, align 4 %206 = load i32, ptr %17, align 4 %207 = load i32, ptr %14, align 4 %208 = sub nsw i32 %207, 1 %209 = icmp slt i32 %206, %208 br i1 %209, label %28, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %203 br label %210 210: ; preds = %._crit_edge12, %8 ret void } declare i64 @fmin(float noundef, float noundef) #1 declare double @fmax(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpey021t7e.c' source_filename = "/tmp/tmpey021t7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_float_print_32(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = sitofp i32 %12 to double %14 = fdiv double %13, 1.000000e+02 %15 = fptrunc double %14 to float store float %15, ptr %7, align 4 %16 = load float, ptr %7, align 4 %17 = call i32 @printf(ptr noundef @.str, float noundef %16) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpey021t7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_float_print_32(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = sitofp i32 %12 to double %14 = fdiv double %13, 1.000000e+02 %15 = fptrunc double %14 to float store float %15, ptr %7, align 4 %16 = load float, ptr %7, align 4 %17 = call i32 @printf(ptr noundef @.str, float noundef %16) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps6u_c31u.c' source_filename = "/tmp/tmps6u_c31u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 store i64 7723710022754560, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, double noundef %3) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps6u_c31u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 store i64 7723710022754560, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, double noundef %3) ret i32 0 } 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"}
; ModuleID = '/tmp/tmpbhnfsdvp.c' source_filename = "/tmp/tmpbhnfsdvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"sizeof(s) = [%ld]\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [13 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 13, i1 false) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 13) %4 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @a_sizeof(ptr noundef %4) %6 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @p_sizeof(ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @a_sizeof(ptr noundef) #2 declare i32 @p_sizeof(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhnfsdvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"sizeof(s) = [%ld]\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [13 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 13, i1 false) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 13) %4 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @a_sizeof(ptr noundef %4) %6 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @p_sizeof(ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @a_sizeof(ptr noundef) #2 declare i32 @p_sizeof(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_pixr6e.c' source_filename = "/tmp/tmp5_pixr6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urldecode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %42, %1 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %47 11: ; preds = %7 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 store i8 %13, ptr %3, align 1 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 37 br i1 %16, label %17, label %38 17: ; preds = %11 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 %20 = load i8, ptr %19, align 1 store i8 %20, ptr %3, align 1 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 37 br i1 %23, label %24, label %25 24: ; preds = %17 store i8 37, ptr %3, align 1 br label %35 25: ; preds = %17 %26 = load i8, ptr %3, align 1 %27 = call i32 @_char_htoi(i8 noundef signext %26) %28 = shl i32 %27, 4 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i32 @_char_htoi(i8 noundef signext %31) %33 = or i32 %28, %32 %34 = trunc i32 %33 to i8 store i8 %34, ptr %3, align 1 br label %35 35: ; preds = %25, %24 %36 = load i8, ptr %3, align 1 %37 = load ptr, ptr %5, align 8 store i8 %36, ptr %37, align 1 br label %41 38: ; preds = %11 %39 = load i8, ptr %3, align 1 %40 = load ptr, ptr %5, align 8 store i8 %39, ptr %40, align 1 br label %41 41: ; preds = %38, %35 br label %42 42: ; preds = %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %4, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %5, align 8 br label %7, !llvm.loop !6 47: ; preds = %7 %48 = load ptr, ptr %5, align 8 store i8 0, ptr %48, align 1 ret void } declare i32 @_char_htoi(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/tmp5_pixr6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urldecode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %49 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %41 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %3, align 1 %13 = load i8, ptr %3, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 37 br i1 %15, label %16, label %37 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %3, align 1 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 37 br i1 %22, label %23, label %24 23: ; preds = %16 store i8 37, ptr %3, align 1 br label %34 24: ; preds = %16 %25 = load i8, ptr %3, align 1 %26 = call i32 @_char_htoi(i8 noundef signext %25) %27 = shl i32 %26, 4 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = call i32 @_char_htoi(i8 noundef signext %30) %32 = or i32 %27, %31 %33 = trunc i32 %32 to i8 store i8 %33, ptr %3, align 1 br label %34 34: ; preds = %24, %23 %35 = load i8, ptr %3, align 1 %36 = load ptr, ptr %5, align 8 store i8 %35, ptr %36, align 1 br label %40 37: ; preds = %10 %38 = load i8, ptr %3, align 1 %39 = load ptr, ptr %5, align 8 store i8 %38, ptr %39, align 1 br label %40 40: ; preds = %37, %34 br label %41 41: ; preds = %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = load i8, ptr %46, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %49 49: ; preds = %._crit_edge, %1 %50 = load ptr, ptr %5, align 8 store i8 0, ptr %50, align 1 ret void } declare i32 @_char_htoi(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/tmpn62_8h3x.c' source_filename = "/tmp/tmpn62_8h3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_disconnect(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %7 6: ; preds = %1 br label %12 7: ; preds = %1 store i8 -6, ptr %3, align 1 %8 = load i32, ptr %2, align 4 %9 = call i32 @sendwait(i32 noundef %8, ptr noundef %3, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @socketclose(i32 noundef %10) br label %12 12: ; preds = %7, %6 ret void } declare i32 @sendwait(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @socketclose(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/tmpn62_8h3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_disconnect(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %7 6: ; preds = %1 br label %12 7: ; preds = %1 store i8 -6, ptr %3, align 1 %8 = load i32, ptr %2, align 4 %9 = call i32 @sendwait(i32 noundef %8, ptr noundef %3, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @socketclose(i32 noundef %10) br label %12 12: ; preds = %7, %6 ret void } declare i32 @sendwait(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @socketclose(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/tmp9_gwubz_.c' source_filename = "/tmp/tmp9_gwubz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmDelEntry(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %6, align 1 %15 = call ptr @mmGetPtr(ptr noundef %13, i8 noundef signext %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %16, align 4 store i32 %17, ptr %12, align 4 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 4 store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 store ptr %20, ptr %11, align 8 store ptr %20, ptr %10, align 8 br label %21 21: ; preds = %60, %4 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %9, align 8 %24 = load i32, ptr %12, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = icmp ult ptr %22, %26 br i1 %27, label %28, label %66 28: ; preds = %21 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %28 br label %66 33: ; preds = %28 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 4 store ptr %35, ptr %11, align 8 %36 = load ptr, ptr %11, align 8 %37 = load ptr, ptr %7, align 8 %38 = call i32 @strcmp(ptr noundef %36, ptr noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %60, label %40 40: ; preds = %33 %41 = load ptr, ptr %8, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %40 %44 = load ptr, ptr %11, align 8 store i8 117, ptr %44, align 1 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 store i8 0, ptr %46, align 1 br label %59 47: ; preds = %40 %48 = load ptr, ptr %11, align 8 %49 = call ptr @strchr(ptr noundef %48, i8 noundef signext 0) %50 = getelementptr inbounds i8, ptr %49, i64 1 %51 = load ptr, ptr %8, align 8 %52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51) %53 = icmp ne i32 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %47 %55 = load ptr, ptr %11, align 8 store i8 117, ptr %55, align 1 %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 1 store i8 0, ptr %57, align 1 br label %58 58: ; preds = %54, %47 br label %59 59: ; preds = %58, %43 br label %60 60: ; preds = %59, %33 %61 = load ptr, ptr %10, align 8 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %62, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 store ptr %65, ptr %10, align 8 br label %21, !llvm.loop !6 66: ; preds = %32, %21 ret i32 1 } declare ptr @mmGetPtr(ptr noundef, i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9_gwubz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmDelEntry(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %6, align 1 %15 = call ptr @mmGetPtr(ptr noundef %13, i8 noundef signext %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %16, align 4 store i32 %17, ptr %12, align 4 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 4 store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 store ptr %20, ptr %11, align 8 store ptr %20, ptr %10, align 8 %21 = load ptr, ptr %10, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %12, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = icmp ult ptr %21, %25 br i1 %26, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %27 27: ; preds = %.lr.ph, %59 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %28, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %27 br label %71 32: ; preds = %27 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 store ptr %34, ptr %11, align 8 %35 = load ptr, ptr %11, align 8 %36 = load ptr, ptr %7, align 8 %37 = call i32 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i32 %37, 0 br i1 %38, label %59, label %39 39: ; preds = %32 %40 = load ptr, ptr %8, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %39 %43 = load ptr, ptr %11, align 8 store i8 117, ptr %43, align 1 %44 = load ptr, ptr %11, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 1 store i8 0, ptr %45, align 1 br label %58 46: ; preds = %39 %47 = load ptr, ptr %11, align 8 %48 = call ptr @strchr(ptr noundef %47, i8 noundef signext 0) %49 = getelementptr inbounds i8, ptr %48, i64 1 %50 = load ptr, ptr %8, align 8 %51 = call i32 @strcmp(ptr noundef %49, ptr noundef %50) %52 = icmp ne i32 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %46 %54 = load ptr, ptr %11, align 8 store i8 117, ptr %54, align 1 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 1 store i8 0, ptr %56, align 1 br label %57 57: ; preds = %53, %46 br label %58 58: ; preds = %57, %42 br label %59 59: ; preds = %58, %32 %60 = load ptr, ptr %10, align 8 %61 = load ptr, ptr %10, align 8 %62 = load i32, ptr %61, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 store ptr %64, ptr %10, align 8 %65 = load ptr, ptr %10, align 8 %66 = load ptr, ptr %9, align 8 %67 = load i32, ptr %12, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = icmp ult ptr %65, %69 br i1 %70, label %27, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %71 71: ; preds = %.loopexit, %31 ret i32 1 } declare ptr @mmGetPtr(ptr noundef, i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpias_fba1.c' source_filename = "/tmp/tmpias_fba1.c" target datalayout = "e-m:e-p270: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/tmpias_fba1.c" target datalayout = "e-m:e-p270: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/tmp73hfjler.c' source_filename = "/tmp/tmp73hfjler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Converting fahr to celsius:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\0AConverting celsius to fahr:\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 300 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = call double @fahr_to_cels(i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, double noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 20 store i32 %15, ptr %2, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %18 18: ; preds = %26, %16 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 300 br i1 %20, label %21, label %29 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = call double @cels_to_fahr(i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, double noundef %24) br label %26 26: ; preds = %21 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 20 store i32 %28, ptr %3, align 4 br label %18, !llvm.loop !8 29: ; preds = %18 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ...) #1 declare double @fahr_to_cels(i32 noundef) #1 declare double @cels_to_fahr(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/tmp73hfjler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Converting fahr to celsius:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\0AConverting celsius to fahr:\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 300 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call double @fahr_to_cels(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, double noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 20 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 300 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 300 br i1 %20, label %.lr.ph2, label %31 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %26 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = call double @cels_to_fahr(i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, double noundef %24) br label %26 26: ; preds = %21 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 20 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp sle i32 %29, 300 br i1 %30, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %31 31: ; preds = %._crit_edge3, %17 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i32 @printf(ptr noundef, ...) #1 declare double @fahr_to_cels(i32 noundef) #1 declare double @cels_to_fahr(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/tmpdpoqr9pg.c' source_filename = "/tmp/tmpdpoqr9pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SLL : \00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"%d occured %d times in sll.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %1, align 8 store ptr null, ptr %2, align 8 %4 = load ptr, ptr %1, align 8 %5 = call ptr @sll_add_at_head(ptr noundef %4, i32 noundef 1) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call ptr @sll_add_at_head(ptr noundef %6, i32 noundef 2) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = call ptr @sll_add_at_head(ptr noundef %8, i32 noundef 3) store ptr %9, ptr %1, align 8 %10 = load ptr, ptr %1, align 8 %11 = call ptr @sll_add_at_head(ptr noundef %10, i32 noundef 4) store ptr %11, ptr %1, align 8 %12 = load ptr, ptr %1, align 8 %13 = call ptr @sll_add_at_head(ptr noundef %12, i32 noundef 5) store ptr %13, ptr %1, align 8 %14 = load ptr, ptr %1, align 8 %15 = call ptr @sll_add_at_head(ptr noundef %14, i32 noundef 3) store ptr %15, ptr %1, align 8 %16 = load ptr, ptr %1, align 8 %17 = call ptr @sll_add_at_head(ptr noundef %16, i32 noundef 3) store ptr %17, ptr %1, align 8 %18 = load ptr, ptr %1, align 8 %19 = call ptr @sll_add_at_head(ptr noundef %18, i32 noundef 4) store ptr %19, ptr %1, align 8 %20 = load ptr, ptr %1, align 8 %21 = call ptr @sll_add_at_head(ptr noundef %20, i32 noundef 5) store ptr %21, ptr %1, align 8 %22 = load ptr, ptr %1, align 8 %23 = call ptr @sll_add_at_head(ptr noundef %22, i32 noundef 3) store ptr %23, ptr %1, align 8 %24 = load ptr, ptr %1, align 8 %25 = call ptr @sll_add_at_head(ptr noundef %24, i32 noundef 4) store ptr %25, ptr %1, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str) %27 = load ptr, ptr %1, align 8 %28 = call i32 @sll_print(ptr noundef %27) store i32 1, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load ptr, ptr %1, align 8 %31 = load i32, ptr %3, align 4 %32 = call i32 @sll_get_occurance(ptr noundef %30, i32 noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %32) store i32 2, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = load ptr, ptr %1, align 8 %36 = load i32, ptr %3, align 4 %37 = call i32 @sll_get_occurance(ptr noundef %35, i32 noundef %36) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34, i32 noundef %37) store i32 3, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = load ptr, ptr %1, align 8 %41 = load i32, ptr %3, align 4 %42 = call i32 @sll_get_occurance(ptr noundef %40, i32 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %42) store i32 4, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = load ptr, ptr %1, align 8 %46 = load i32, ptr %3, align 4 %47 = call i32 @sll_get_occurance(ptr noundef %45, i32 noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44, i32 noundef %47) store i32 5, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = load ptr, ptr %1, align 8 %51 = load i32, ptr %3, align 4 %52 = call i32 @sll_get_occurance(ptr noundef %50, i32 noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49, i32 noundef %52) store i32 6, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = load ptr, ptr %1, align 8 %56 = load i32, ptr %3, align 4 %57 = call i32 @sll_get_occurance(ptr noundef %55, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54, i32 noundef %57) %59 = load ptr, ptr %1, align 8 %60 = call i32 @sll_destroy(ptr noundef %59) ret void } declare ptr @sll_add_at_head(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sll_print(ptr noundef) #1 declare i32 @sll_get_occurance(ptr noundef, i32 noundef) #1 declare i32 @sll_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdpoqr9pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SLL : \00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"%d occured %d times in sll.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %1, align 8 store ptr null, ptr %2, align 8 %4 = load ptr, ptr %1, align 8 %5 = call ptr @sll_add_at_head(ptr noundef %4, i32 noundef 1) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call ptr @sll_add_at_head(ptr noundef %6, i32 noundef 2) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = call ptr @sll_add_at_head(ptr noundef %8, i32 noundef 3) store ptr %9, ptr %1, align 8 %10 = load ptr, ptr %1, align 8 %11 = call ptr @sll_add_at_head(ptr noundef %10, i32 noundef 4) store ptr %11, ptr %1, align 8 %12 = load ptr, ptr %1, align 8 %13 = call ptr @sll_add_at_head(ptr noundef %12, i32 noundef 5) store ptr %13, ptr %1, align 8 %14 = load ptr, ptr %1, align 8 %15 = call ptr @sll_add_at_head(ptr noundef %14, i32 noundef 3) store ptr %15, ptr %1, align 8 %16 = load ptr, ptr %1, align 8 %17 = call ptr @sll_add_at_head(ptr noundef %16, i32 noundef 3) store ptr %17, ptr %1, align 8 %18 = load ptr, ptr %1, align 8 %19 = call ptr @sll_add_at_head(ptr noundef %18, i32 noundef 4) store ptr %19, ptr %1, align 8 %20 = load ptr, ptr %1, align 8 %21 = call ptr @sll_add_at_head(ptr noundef %20, i32 noundef 5) store ptr %21, ptr %1, align 8 %22 = load ptr, ptr %1, align 8 %23 = call ptr @sll_add_at_head(ptr noundef %22, i32 noundef 3) store ptr %23, ptr %1, align 8 %24 = load ptr, ptr %1, align 8 %25 = call ptr @sll_add_at_head(ptr noundef %24, i32 noundef 4) store ptr %25, ptr %1, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str) %27 = load ptr, ptr %1, align 8 %28 = call i32 @sll_print(ptr noundef %27) store i32 1, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load ptr, ptr %1, align 8 %31 = load i32, ptr %3, align 4 %32 = call i32 @sll_get_occurance(ptr noundef %30, i32 noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %32) store i32 2, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = load ptr, ptr %1, align 8 %36 = load i32, ptr %3, align 4 %37 = call i32 @sll_get_occurance(ptr noundef %35, i32 noundef %36) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34, i32 noundef %37) store i32 3, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = load ptr, ptr %1, align 8 %41 = load i32, ptr %3, align 4 %42 = call i32 @sll_get_occurance(ptr noundef %40, i32 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %42) store i32 4, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = load ptr, ptr %1, align 8 %46 = load i32, ptr %3, align 4 %47 = call i32 @sll_get_occurance(ptr noundef %45, i32 noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44, i32 noundef %47) store i32 5, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = load ptr, ptr %1, align 8 %51 = load i32, ptr %3, align 4 %52 = call i32 @sll_get_occurance(ptr noundef %50, i32 noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49, i32 noundef %52) store i32 6, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = load ptr, ptr %1, align 8 %56 = load i32, ptr %3, align 4 %57 = call i32 @sll_get_occurance(ptr noundef %55, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54, i32 noundef %57) %59 = load ptr, ptr %1, align 8 %60 = call i32 @sll_destroy(ptr noundef %59) ret void } declare ptr @sll_add_at_head(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sll_print(ptr noundef) #1 declare i32 @sll_get_occurance(ptr noundef, i32 noundef) #1 declare i32 @sll_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1cs58tq7.c' source_filename = "/tmp/tmp1cs58tq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__hsail_bitinsert_u64(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = and i64 %13, 31 %15 = trunc i64 %14 to i32 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = and i64 %17, 31 %19 = trunc i64 %18 to i32 store i32 %19, ptr %10, align 4 %20 = load i32, ptr %10, align 4 %21 = shl i32 1, %20 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %9, align 4 %26 = shl i32 %24, %25 %27 = xor i32 %26, -1 %28 = and i32 %23, %27 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %11, align 4 %31 = and i32 %29, %30 %32 = load i32, ptr %9, align 4 %33 = shl i32 %31, %32 %34 = or i32 %28, %33 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1cs58tq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__hsail_bitinsert_u64(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = and i64 %13, 31 %15 = trunc i64 %14 to i32 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = and i64 %17, 31 %19 = trunc i64 %18 to i32 store i32 %19, ptr %10, align 4 %20 = load i32, ptr %10, align 4 %21 = shl i32 1, %20 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %9, align 4 %26 = shl i32 %24, %25 %27 = xor i32 %26, -1 %28 = and i32 %23, %27 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %11, align 4 %31 = and i32 %29, %30 %32 = load i32, ptr %9, align 4 %33 = shl i32 %31, %32 %34 = or i32 %28, %33 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpukx6fuo5.c' source_filename = "/tmp/tmpukx6fuo5.c" target datalayout = "e-m:e-p270: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.hello = internal constant [15 x i8] c"Hello, world.\0A\00", align 1 @main.replace = internal constant [15 x i8] c"Hewwo, world.\0A\00", align 1 @main.replace_from = internal constant i64 2, align 8 @main.replace_to = internal constant i64 4, align 8 @FILENAME_MAX = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"/tmp/%s.test\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"EOF at %Zu.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Got '%c' instead of '%c' at %Zu.\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"putc('%c') got %s at %Zu.\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [34 x i8] c"ftell got %s (should be at %Zu).\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"ftell returns %lu; should be %Zu.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"fgets got %s.\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Read \22%s\22 instead of \22%s\22.\0A\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"Test FAILED! Losing file is \22%s\22.\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Test succeeded.\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load i32, ptr @FILENAME_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %6, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %20, align 8 %22 = call ptr @strrchr(ptr noundef %21, i8 noundef signext 47) store ptr %22, ptr %8, align 8 %23 = load i32, ptr @BUFSIZ, align 4 %24 = zext i32 %23 to i64 %25 = alloca i8, i64 %24, align 16 store i64 %24, ptr %9, align 8 store i32 0, ptr %11, align 4 %26 = load ptr, ptr %8, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %2 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %8, align 8 br label %34 31: ; preds = %2 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %8, align 8 br label %34 34: ; preds = %31, %28 %35 = load ptr, ptr %8, align 8 %36 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, ptr noundef %35) %37 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %37, ptr %10, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %34 %41 = call i32 @perror(ptr noundef %19) %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %34 %44 = load ptr, ptr %10, align 8 %45 = call i32 @fputs(ptr noundef @main.hello, ptr noundef %44) %46 = load ptr, ptr %10, align 8 %47 = call i32 @rewind(ptr noundef %46) %48 = trunc i64 %24 to i32 %49 = load ptr, ptr %10, align 8 %50 = call ptr @fgets(ptr noundef %25, i32 noundef %48, ptr noundef %49) %51 = load ptr, ptr %10, align 8 %52 = call i32 @rewind(ptr noundef %51) %53 = load ptr, ptr %10, align 8 %54 = call i32 @fputs(ptr noundef %25, ptr noundef %53) %55 = load ptr, ptr %10, align 8 %56 = call i32 @rewind(ptr noundef %55) store i64 0, ptr %12, align 8 br label %57 57: ; preds = %88, %43 %58 = load i64, ptr %12, align 8 %59 = icmp ult i64 %58, 2 br i1 %59, label %60, label %91 60: ; preds = %57 %61 = load ptr, ptr %10, align 8 %62 = call i32 @getc(ptr noundef %61) store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = load i32, ptr @EOF, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %66, label %69 66: ; preds = %60 %67 = load i64, ptr %12, align 8 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %67) store i32 1, ptr %11, align 4 br label %91 69: ; preds = %60 %70 = load i32, ptr %13, align 4 %71 = load i64, ptr %12, align 8 %72 = getelementptr inbounds [15 x i8], ptr @main.hello, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %70, %74 br i1 %75, label %76, label %86 76: ; preds = %69 %77 = load i32, ptr %13, align 4 %78 = trunc i32 %77 to i8 %79 = zext i8 %78 to i32 %80 = load i64, ptr %12, align 8 %81 = getelementptr inbounds [15 x i8], ptr @main.hello, i64 0, i64 %80 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = load i64, ptr %12, align 8 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %79, i32 noundef %83, i64 noundef %84) store i32 1, ptr %11, align 4 br label %91 86: ; preds = %69 br label %87 87: ; preds = %86 br label %88 88: ; preds = %87 %89 = load i64, ptr %12, align 8 %90 = add i64 %89, 1 store i64 %90, ptr %12, align 8 br label %57, !llvm.loop !6 91: ; preds = %76, %66, %57 %92 = load ptr, ptr %10, align 8 %93 = call i64 @ftell(ptr noundef %92) store i64 %93, ptr %14, align 8 %94 = load i64, ptr %14, align 8 %95 = icmp eq i64 %94, 2 br i1 %95, label %96, label %122 96: ; preds = %91 store i64 2, ptr %15, align 8 br label %97 97: ; preds = %118, %96 %98 = load i64, ptr %15, align 8 %99 = icmp ult i64 %98, 4 br i1 %99, label %100, label %121 100: ; preds = %97 %101 = load i64, ptr %15, align 8 %102 = getelementptr inbounds [15 x i8], ptr @main.replace, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 %104 = load ptr, ptr %10, align 8 %105 = call i32 @putc(i8 noundef signext %103, ptr noundef %104) %106 = load i32, ptr @EOF, align 4 %107 = icmp eq i32 %105, %106 br i1 %107, label %108, label %117 108: ; preds = %100 %109 = load i64, ptr %15, align 8 %110 = getelementptr inbounds [15 x i8], ptr @main.replace, i64 0, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = load i32, ptr @errno, align 4 %114 = call ptr @strerror(i32 noundef %113) %115 = load i64, ptr %15, align 8 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %112, ptr noundef %114, i64 noundef %115) store i32 1, ptr %11, align 4 br label %121 117: ; preds = %100 br label %118 118: ; preds = %117 %119 = load i64, ptr %15, align 8 %120 = add i64 %119, 1 store i64 %120, ptr %15, align 8 br label %97, !llvm.loop !8 121: ; preds = %108, %97 br label %133 122: ; preds = %91 %123 = load i64, ptr %14, align 8 %124 = icmp eq i64 %123, -1 br i1 %124, label %125, label %129 125: ; preds = %122 %126 = load i32, ptr @errno, align 4 %127 = call ptr @strerror(i32 noundef %126) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %127, i64 noundef 2) store i32 1, ptr %11, align 4 br label %132 129: ; preds = %122 %130 = load i64, ptr %14, align 8 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %130, i64 noundef 2) store i32 1, ptr %11, align 4 br label %132 132: ; preds = %129, %125 br label %133 133: ; preds = %132, %121 %134 = load i32, ptr %11, align 4 %135 = icmp ne i32 %134, 0 br i1 %135, label %154, label %136 136: ; preds = %133 %137 = load ptr, ptr %10, align 8 %138 = call i32 @rewind(ptr noundef %137) %139 = trunc i64 %24 to i32 %140 = load ptr, ptr %10, align 8 %141 = call ptr @fgets(ptr noundef %25, i32 noundef %139, ptr noundef %140) %142 = icmp eq ptr %141, null br i1 %142, label %143, label %147 143: ; preds = %136 %144 = load i32, ptr @errno, align 4 %145 = call ptr @strerror(i32 noundef %144) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %145) store i32 1, ptr %11, align 4 br label %153 147: ; preds = %136 %148 = call i64 @strcmp(ptr noundef %25, ptr noundef @main.replace) %149 = icmp ne i64 %148, 0 br i1 %149, label %150, label %152 150: ; preds = %147 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %25, ptr noundef @main.replace) store i32 1, ptr %11, align 4 br label %152 152: ; preds = %150, %147 br label %153 153: ; preds = %152, %143 br label %154 154: ; preds = %153, %133 %155 = load i32, ptr %11, align 4 %156 = icmp ne i32 %155, 0 br i1 %156, label %157, label %159 157: ; preds = %154 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %19) br label %162 159: ; preds = %154 %160 = call i32 @remove(ptr noundef %19) %161 = call i32 @puts(ptr noundef @.str.10) br label %162 162: ; preds = %159, %157 %163 = load i32, ptr %11, align 4 %164 = icmp ne i32 %163, 0 br i1 %164, label %165, label %167 165: ; preds = %162 %166 = load i32, ptr @EXIT_FAILURE, align 4 br label %169 167: ; preds = %162 %168 = load i32, ptr @EXIT_SUCCESS, align 4 br label %169 169: ; preds = %167, %165 %170 = phi i32 [ %166, %165 ], [ %168, %167 ] %171 = call i32 @exit(i32 noundef %170) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fputs(ptr noundef, ptr noundef) #2 declare i32 @rewind(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @getc(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i64 @ftell(ptr noundef) #2 declare i32 @putc(i8 noundef signext, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @remove(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpukx6fuo5.c" target datalayout = "e-m:e-p270: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.hello = internal constant [15 x i8] c"Hello, world.\0A\00", align 1 @main.replace = internal constant [15 x i8] c"Hewwo, world.\0A\00", align 1 @main.replace_from = internal constant i64 2, align 8 @main.replace_to = internal constant i64 4, align 8 @FILENAME_MAX = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"/tmp/%s.test\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"EOF at %Zu.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Got '%c' instead of '%c' at %Zu.\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"putc('%c') got %s at %Zu.\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [34 x i8] c"ftell got %s (should be at %Zu).\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"ftell returns %lu; should be %Zu.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"fgets got %s.\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Read \22%s\22 instead of \22%s\22.\0A\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"Test FAILED! Losing file is \22%s\22.\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Test succeeded.\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load i32, ptr @FILENAME_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %6, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %20, align 8 %22 = call ptr @strrchr(ptr noundef %21, i8 noundef signext 47) store ptr %22, ptr %8, align 8 %23 = load i32, ptr @BUFSIZ, align 4 %24 = zext i32 %23 to i64 %25 = alloca i8, i64 %24, align 16 store i64 %24, ptr %9, align 8 store i32 0, ptr %11, align 4 %26 = load ptr, ptr %8, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %2 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %8, align 8 br label %34 31: ; preds = %2 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %8, align 8 br label %34 34: ; preds = %31, %28 %35 = load ptr, ptr %8, align 8 %36 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, ptr noundef %35) %37 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %37, ptr %10, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %34 %41 = call i32 @perror(ptr noundef %19) %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %34 %44 = load ptr, ptr %10, align 8 %45 = call i32 @fputs(ptr noundef @main.hello, ptr noundef %44) %46 = load ptr, ptr %10, align 8 %47 = call i32 @rewind(ptr noundef %46) %48 = trunc i64 %24 to i32 %49 = load ptr, ptr %10, align 8 %50 = call ptr @fgets(ptr noundef %25, i32 noundef %48, ptr noundef %49) %51 = load ptr, ptr %10, align 8 %52 = call i32 @rewind(ptr noundef %51) %53 = load ptr, ptr %10, align 8 %54 = call i32 @fputs(ptr noundef %25, ptr noundef %53) %55 = load ptr, ptr %10, align 8 %56 = call i32 @rewind(ptr noundef %55) store i64 0, ptr %12, align 8 %57 = load i64, ptr %12, align 8 %58 = icmp ult i64 %57, 2 br i1 %58, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %43 br label %59 59: ; preds = %.lr.ph, %87 %60 = load ptr, ptr %10, align 8 %61 = call i32 @getc(ptr noundef %60) store i32 %61, ptr %13, align 4 %62 = load i32, ptr %13, align 4 %63 = load i32, ptr @EOF, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %68 65: ; preds = %59 %66 = load i64, ptr %12, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %66) store i32 1, ptr %11, align 4 br label %92 68: ; preds = %59 %69 = load i32, ptr %13, align 4 %70 = load i64, ptr %12, align 8 %71 = getelementptr inbounds [15 x i8], ptr @main.hello, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %69, %73 br i1 %74, label %75, label %85 75: ; preds = %68 %76 = load i32, ptr %13, align 4 %77 = trunc i32 %76 to i8 %78 = zext i8 %77 to i32 %79 = load i64, ptr %12, align 8 %80 = getelementptr inbounds [15 x i8], ptr @main.hello, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = load i64, ptr %12, align 8 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %78, i32 noundef %82, i64 noundef %83) store i32 1, ptr %11, align 4 br label %92 85: ; preds = %68 br label %86 86: ; preds = %85 br label %87 87: ; preds = %86 %88 = load i64, ptr %12, align 8 %89 = add i64 %88, 1 store i64 %89, ptr %12, align 8 %90 = load i64, ptr %12, align 8 %91 = icmp ult i64 %90, 2 br i1 %91, label %59, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %87 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %43 br label %92 92: ; preds = %.loopexit1, %75, %65 %93 = load ptr, ptr %10, align 8 %94 = call i64 @ftell(ptr noundef %93) store i64 %94, ptr %14, align 8 %95 = load i64, ptr %14, align 8 %96 = icmp eq i64 %95, 2 br i1 %96, label %97, label %124 97: ; preds = %92 store i64 2, ptr %15, align 8 %98 = load i64, ptr %15, align 8 %99 = icmp ult i64 %98, 4 br i1 %99, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %97 br label %100 100: ; preds = %.lr.ph2, %118 %101 = load i64, ptr %15, align 8 %102 = getelementptr inbounds [15 x i8], ptr @main.replace, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 %104 = load ptr, ptr %10, align 8 %105 = call i32 @putc(i8 noundef signext %103, ptr noundef %104) %106 = load i32, ptr @EOF, align 4 %107 = icmp eq i32 %105, %106 br i1 %107, label %108, label %117 108: ; preds = %100 %109 = load i64, ptr %15, align 8 %110 = getelementptr inbounds [15 x i8], ptr @main.replace, i64 0, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = load i32, ptr @errno, align 4 %114 = call ptr @strerror(i32 noundef %113) %115 = load i64, ptr %15, align 8 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %112, ptr noundef %114, i64 noundef %115) store i32 1, ptr %11, align 4 br label %123 117: ; preds = %100 br label %118 118: ; preds = %117 %119 = load i64, ptr %15, align 8 %120 = add i64 %119, 1 store i64 %120, ptr %15, align 8 %121 = load i64, ptr %15, align 8 %122 = icmp ult i64 %121, 4 br i1 %122, label %100, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %118 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %97 br label %123 123: ; preds = %.loopexit, %108 br label %135 124: ; preds = %92 %125 = load i64, ptr %14, align 8 %126 = icmp eq i64 %125, -1 br i1 %126, label %127, label %131 127: ; preds = %124 %128 = load i32, ptr @errno, align 4 %129 = call ptr @strerror(i32 noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %129, i64 noundef 2) store i32 1, ptr %11, align 4 br label %134 131: ; preds = %124 %132 = load i64, ptr %14, align 8 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %132, i64 noundef 2) store i32 1, ptr %11, align 4 br label %134 134: ; preds = %131, %127 br label %135 135: ; preds = %134, %123 %136 = load i32, ptr %11, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %156, label %138 138: ; preds = %135 %139 = load ptr, ptr %10, align 8 %140 = call i32 @rewind(ptr noundef %139) %141 = trunc i64 %24 to i32 %142 = load ptr, ptr %10, align 8 %143 = call ptr @fgets(ptr noundef %25, i32 noundef %141, ptr noundef %142) %144 = icmp eq ptr %143, null br i1 %144, label %145, label %149 145: ; preds = %138 %146 = load i32, ptr @errno, align 4 %147 = call ptr @strerror(i32 noundef %146) %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %147) store i32 1, ptr %11, align 4 br label %155 149: ; preds = %138 %150 = call i64 @strcmp(ptr noundef %25, ptr noundef @main.replace) %151 = icmp ne i64 %150, 0 br i1 %151, label %152, label %154 152: ; preds = %149 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %25, ptr noundef @main.replace) store i32 1, ptr %11, align 4 br label %154 154: ; preds = %152, %149 br label %155 155: ; preds = %154, %145 br label %156 156: ; preds = %155, %135 %157 = load i32, ptr %11, align 4 %158 = icmp ne i32 %157, 0 br i1 %158, label %159, label %161 159: ; preds = %156 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %19) br label %164 161: ; preds = %156 %162 = call i32 @remove(ptr noundef %19) %163 = call i32 @puts(ptr noundef @.str.10) br label %164 164: ; preds = %161, %159 %165 = load i32, ptr %11, align 4 %166 = icmp ne i32 %165, 0 br i1 %166, label %167, label %169 167: ; preds = %164 %168 = load i32, ptr @EXIT_FAILURE, align 4 br label %171 169: ; preds = %164 %170 = load i32, ptr @EXIT_SUCCESS, align 4 br label %171 171: ; preds = %169, %167 %172 = phi i32 [ %168, %167 ], [ %170, %169 ] %173 = call i32 @exit(i32 noundef %172) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fputs(ptr noundef, ptr noundef) #2 declare i32 @rewind(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @getc(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i64 @ftell(ptr noundef) #2 declare i32 @putc(i8 noundef signext, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @remove(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpe0f9m093.c' source_filename = "/tmp/tmpe0f9m093.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %23, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %26 12: ; preds = %8 %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 = call signext i8 @toupper(i8 noundef signext %17) %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 br label %23 23: ; preds = %12 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %8, !llvm.loop !6 26: ; preds = %8 %27 = load ptr, ptr %2, align 8 ret ptr %27 } declare i64 @strlen(ptr noundef) #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/tmpe0f9m093.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strupr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %4, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %22 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call signext i8 @toupper(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %11 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %1 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare i64 @strlen(ptr noundef) #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/tmppu60ztji.c' source_filename = "/tmp/tmppu60ztji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @errno = dso_local global i32 0, align 4 @F_GETFD = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"F_DUPFD\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"fd %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"new fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_getfd() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.1) %10 = load i32, ptr @errno, align 4 store i32 %10, ptr %1, align 4 br label %25 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @F_GETFD, align 4 %14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str.2) %19 = load i32, ptr @errno, align 4 store i32 %19, ptr %1, align 4 br label %25 20: ; preds = %11 %21 = load i32, ptr %2, align 4 %22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str.4, i32 noundef %23) store i32 0, ptr %1, align 4 br label %25 25: ; preds = %20, %17, %8 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 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/tmppu60ztji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @errno = dso_local global i32 0, align 4 @F_GETFD = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"F_DUPFD\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"fd %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"new fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_getfd() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.1) %10 = load i32, ptr @errno, align 4 store i32 %10, ptr %1, align 4 br label %25 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @F_GETFD, align 4 %14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str.2) %19 = load i32, ptr @errno, align 4 store i32 %19, ptr %1, align 4 br label %25 20: ; preds = %11 %21 = load i32, ptr %2, align 4 %22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str.4, i32 noundef %23) store i32 0, ptr %1, align 4 br label %25 25: ; preds = %20, %17, %8 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 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/tmphe89_3bk.c' source_filename = "/tmp/tmphe89_3bk.c" target datalayout = "e-m:e-p270: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/tmphe89_3bk.c" target datalayout = "e-m:e-p270: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/tmpfmkebecx.c' source_filename = "/tmp/tmpfmkebecx.c" target datalayout = "e-m:e-p270: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/tmpfmkebecx.c" target datalayout = "e-m:e-p270: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/tmp55ifm6u3.c' source_filename = "/tmp/tmp55ifm6u3.c" target datalayout = "e-m:e-p270: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/tmp55ifm6u3.c" target datalayout = "e-m:e-p270: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/tmpvlh6ty1f.c' source_filename = "/tmp/tmpvlh6ty1f.c" target datalayout = "e-m:e-p270: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/tmpvlh6ty1f.c" target datalayout = "e-m:e-p270: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/tmp3iv_kpqb.c' source_filename = "/tmp/tmp3iv_kpqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_clear(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) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %13, %1 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %19 12: ; preds = %8 br label %13 13: ; preds = %12 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = sext i32 %15 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 store i8 0, ptr %18, align 1 br label %8, !llvm.loop !6 19: ; preds = %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } 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/tmp3iv_kpqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_clear(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) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %12 br label %12 12: ; preds = %11 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = sext i32 %14 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 store i8 0, ptr %17, align 1 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %1 %22 = load i32, ptr %3, align 4 ret i32 %22 } 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/tmpc7awprv3.c' source_filename = "/tmp/tmpc7awprv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FlashUnlockBypassReset() #0 { %1 = call i32 @FlashWrite(i32 noundef 0, i32 noundef 144) %2 = call i32 @FlashWrite(i32 noundef 0, i32 noundef 0) ret void } declare i32 @FlashWrite(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/tmpc7awprv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FlashUnlockBypassReset() #0 { %1 = call i32 @FlashWrite(i32 noundef 0, i32 noundef 144) %2 = call i32 @FlashWrite(i32 noundef 0, i32 noundef 0) ret void } declare i32 @FlashWrite(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/tmpt4b20o60.c' source_filename = "/tmp/tmpt4b20o60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdtemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @gen_tempname(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %8, %7 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare i64 @gen_tempname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4b20o60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdtemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @gen_tempname(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %8, %7 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare i64 @gen_tempname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ngbqqki.c' source_filename = "/tmp/tmp1ngbqqki.c" target datalayout = "e-m:e-p270: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/tmp1ngbqqki.c" target datalayout = "e-m:e-p270: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/tmp6okpjg9r.c' source_filename = "/tmp/tmp6okpjg9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers seperated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%d is the smalles\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 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) %12 = load i32, ptr %6, align 4 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %7, align 4 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %8, align 4 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %30 19: ; preds = %0 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) br label %78 30: ; preds = %23, %19, %0 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %45 34: ; preds = %30 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %45 38: ; preds = %34 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) br label %77 45: ; preds = %38, %34, %30 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %49 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load i32, ptr %4, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58) br label %76 60: ; preds = %53, %49, %45 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %75 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i32, ptr %5, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73) br label %75 75: ; preds = %72, %68, %64, %60 br label %76 76: ; preds = %75, %57 br label %77 77: ; preds = %76, %42 br label %78 78: ; preds = %77, %27 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmp6okpjg9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers seperated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%d is the smalles\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 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) %12 = load i32, ptr %6, align 4 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %7, align 4 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %8, align 4 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %30 19: ; preds = %0 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) br label %78 30: ; preds = %23, %19, %0 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %45 34: ; preds = %30 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %45 38: ; preds = %34 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) br label %77 45: ; preds = %38, %34, %30 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %49 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load i32, ptr %4, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58) br label %76 60: ; preds = %53, %49, %45 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %75 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i32, ptr %5, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73) br label %75 75: ; preds = %72, %68, %64, %60 br label %76 76: ; preds = %75, %57 br label %77 77: ; preds = %76, %42 br label %78 78: ; preds = %77, %27 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpmiec99sj.c' source_filename = "/tmp/tmpmiec99sj.c" target datalayout = "e-m:e-p270: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/tmpmiec99sj.c" target datalayout = "e-m:e-p270: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/tmp5i365j29.c' source_filename = "/tmp/tmp5i365j29.c" target datalayout = "e-m:e-p270: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/tmp5i365j29.c" target datalayout = "e-m:e-p270: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/tmph4lsoqin.c' source_filename = "/tmp/tmph4lsoqin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"tmpfile()\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %7 = call ptr (...) @tmpfile() store ptr %7, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %53 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = call i32 @perror(ptr noundef %16) store i32 -1, ptr %2, align 4 br label %53 18: ; preds = %11 br label %19 19: ; preds = %26, %18 %20 = load ptr, ptr %5, align 8 %21 = call signext i8 @fgetc(ptr noundef %20) store i8 %21, ptr %6, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr @EOF, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %22, %24 br i1 %25, label %26, label %32 26: ; preds = %19 %27 = load i8, ptr %6, align 1 %28 = call signext i8 @conv(i8 noundef signext %27) store i8 %28, ptr %6, align 1 %29 = load i8, ptr %6, align 1 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fputc(i8 noundef signext %29, ptr noundef %30) br label %19, !llvm.loop !6 32: ; preds = %19 %33 = load ptr, ptr %5, align 8 %34 = call i32 @rewind(ptr noundef %33) %35 = load ptr, ptr %4, align 8 %36 = call i32 @rewind(ptr noundef %35) br label %37 37: ; preds = %44, %32 %38 = load ptr, ptr %4, align 8 %39 = call signext i8 @fgetc(ptr noundef %38) store i8 %39, ptr %6, align 1 %40 = sext i8 %39 to i32 %41 = load i8, ptr @EOF, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %40, %42 br i1 %43, label %44, label %48 44: ; preds = %37 %45 = load i8, ptr %6, align 1 %46 = load ptr, ptr %5, align 8 %47 = call i32 @fputc(i8 noundef signext %45, ptr noundef %46) br label %37, !llvm.loop !8 48: ; preds = %37 %49 = load ptr, ptr %5, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %4, align 8 %52 = call i32 @fclose(ptr noundef %51) store i32 0, ptr %2, align 4 br label %53 53: ; preds = %48, %15, %9 %54 = load i32, ptr %2, align 4 ret i32 %54 } declare ptr @tmpfile(...) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @conv(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph4lsoqin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"tmpfile()\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %7 = call ptr (...) @tmpfile() store ptr %7, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %63 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = call i32 @perror(ptr noundef %16) store i32 -1, ptr %2, align 4 br label %63 18: ; preds = %11 %19 = load ptr, ptr %5, align 8 %20 = call signext i8 @fgetc(ptr noundef %19) store i8 %20, ptr %6, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr @EOF, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %21, %23 br i1 %24, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %25 25: ; preds = %.lr.ph, %25 %26 = load i8, ptr %6, align 1 %27 = call signext i8 @conv(i8 noundef signext %26) store i8 %27, ptr %6, align 1 %28 = load i8, ptr %6, align 1 %29 = load ptr, ptr %4, align 8 %30 = call i32 @fputc(i8 noundef signext %28, ptr noundef %29) %31 = load ptr, ptr %5, align 8 %32 = call signext i8 @fgetc(ptr noundef %31) store i8 %32, ptr %6, align 1 %33 = sext i8 %32 to i32 %34 = load i8, ptr @EOF, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %33, %35 br i1 %36, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %37 37: ; preds = %._crit_edge, %18 %38 = load ptr, ptr %5, align 8 %39 = call i32 @rewind(ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @rewind(ptr noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call signext i8 @fgetc(ptr noundef %42) store i8 %43, ptr %6, align 1 %44 = sext i8 %43 to i32 %45 = load i8, ptr @EOF, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %44, %46 br i1 %47, label %.lr.ph2, label %58 .lr.ph2: ; preds = %37 br label %48 48: ; preds = %.lr.ph2, %48 %49 = load i8, ptr %6, align 1 %50 = load ptr, ptr %5, align 8 %51 = call i32 @fputc(i8 noundef signext %49, ptr noundef %50) %52 = load ptr, ptr %4, align 8 %53 = call signext i8 @fgetc(ptr noundef %52) store i8 %53, ptr %6, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr @EOF, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %54, %56 br i1 %57, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %58 58: ; preds = %._crit_edge3, %37 %59 = load ptr, ptr %5, align 8 %60 = call i32 @fclose(ptr noundef %59) %61 = load ptr, ptr %4, align 8 %62 = call i32 @fclose(ptr noundef %61) store i32 0, ptr %2, align 4 br label %63 63: ; preds = %58, %15, %9 %64 = load i32, ptr %2, align 4 ret i32 %64 } declare ptr @tmpfile(...) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @conv(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7_n24q7w.c' source_filename = "/tmp/tmp7_n24q7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = call i32 (...) @a() ret void } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7_n24q7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = call i32 (...) @a() ret void } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprvaootwg.c' source_filename = "/tmp/tmprvaootwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 0, ptr %3, align 1 br label %4 4: ; preds = %18, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %3, align 1 %7 = zext i8 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, 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 %12, label %16 12: ; preds = %4 %13 = load i8, ptr %3, align 1 %14 = zext i8 %13 to i32 %15 = icmp slt i32 %14, 255 br label %16 16: ; preds = %12, %4 %17 = phi i1 [ false, %4 ], [ %15, %12 ] br i1 %17, label %18, label %27 18: ; preds = %16 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %3, align 1 %21 = zext i8 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = call i32 @lcd_putch(i8 noundef signext %23) %25 = load i8, ptr %3, align 1 %26 = add i8 %25, 1 store i8 %26, ptr %3, align 1 br label %4, !llvm.loop !6 27: ; preds = %16 ret void } declare i32 @lcd_putch(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/tmprvaootwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 0, ptr %3, align 1 br label %4 4: ; preds = %18, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %3, align 1 %7 = zext i8 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, 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 %12, label %16 12: ; preds = %4 %13 = load i8, ptr %3, align 1 %14 = zext i8 %13 to i32 %15 = icmp slt i32 %14, 255 br label %16 16: ; preds = %12, %4 %17 = phi i1 [ false, %4 ], [ %15, %12 ] br i1 %17, label %18, label %27 18: ; preds = %16 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %3, align 1 %21 = zext i8 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = call i32 @lcd_putch(i8 noundef signext %23) %25 = load i8, ptr %3, align 1 %26 = add i8 %25, 1 store i8 %26, ptr %3, align 1 br label %4, !llvm.loop !6 27: ; preds = %16 ret void } declare i32 @lcd_putch(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/tmpat5pyomu.c' source_filename = "/tmp/tmpat5pyomu.c" target datalayout = "e-m:e-p270: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/tmpat5pyomu.c" target datalayout = "e-m:e-p270: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/tmplj2xeqit.c' source_filename = "/tmp/tmplj2xeqit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"waitpid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = call i32 @bomb(ptr noundef @.str) %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @bomb(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplj2xeqit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"waitpid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitpid(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = call i32 @bomb(ptr noundef @.str) %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @bomb(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnzc_nnjv.c' source_filename = "/tmp/tmpnzc_nnjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_negative_elements.array = private unnamed_addr constant [10 x i32] [i32 -2, i32 5, i32 8, i32 -5, i32 -2, i32 -2, i32 8, i32 5, i32 5, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_negative_elements() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_negative_elements.array, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @find(ptr noundef %2, i32 noundef 10) %4 = icmp eq i32 -5, %3 %5 = zext i1 %4 to i32 ret i32 %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @find(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnzc_nnjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_negative_elements.array = private unnamed_addr constant [10 x i32] [i32 -2, i32 5, i32 8, i32 -5, i32 -2, i32 -2, i32 8, i32 5, i32 5, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_negative_elements() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_negative_elements.array, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i32 @find(ptr noundef %2, i32 noundef 10) %4 = icmp eq i32 -5, %3 %5 = zext i1 %4 to i32 ret i32 %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @find(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq8v1ymmr.c' source_filename = "/tmp/tmpq8v1ymmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ult i32 %5, %6 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) br label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8v1ymmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ult i32 %4, %5 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %10 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %16 16: ; preds = %._crit_edge, %1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5i9k8xmr.c' source_filename = "/tmp/tmp5i9k8xmr.c" target datalayout = "e-m:e-p270: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/tmp5i9k8xmr.c" target datalayout = "e-m:e-p270: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/tmp5y65oj4j.c' source_filename = "/tmp/tmp5y65oj4j.c" target datalayout = "e-m:e-p270: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/tmp5y65oj4j.c" target datalayout = "e-m:e-p270: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/tmpev0_mcxv.c' source_filename = "/tmp/tmpev0_mcxv.c" target datalayout = "e-m:e-p270: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/tmpev0_mcxv.c" target datalayout = "e-m:e-p270: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/tmpqd5jl80x.c' source_filename = "/tmp/tmpqd5jl80x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkTimer() #0 { %1 = alloca i32, align 4 %2 = call i32 @time(ptr noundef null) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqd5jl80x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkTimer() #0 { %1 = alloca i32, align 4 %2 = call i32 @time(ptr noundef null) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf_u_lxwd.c' source_filename = "/tmp/tmpf_u_lxwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Size of basic integer types:\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Size of char: %ld bytes.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Size of short: %ld bytes.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Size of int: %ld bytes.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Size of long: %ld bytes.\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Size of void*: %ld bytes.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Datamodel is: \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"Size of floating-point types:\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Size of float: %ld bytes.\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"Size of double: %ld bytes.\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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 8) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %9 = call i32 (...) @print_datamodel() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef 4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_datamodel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_u_lxwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Size of basic integer types:\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Size of char: %ld bytes.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Size of short: %ld bytes.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Size of int: %ld bytes.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Size of long: %ld bytes.\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Size of void*: %ld bytes.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Datamodel is: \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"Size of floating-point types:\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Size of float: %ld bytes.\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"Size of double: %ld bytes.\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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 8) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %9 = call i32 (...) @print_datamodel() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef 4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_datamodel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdywt253l.c' source_filename = "/tmp/tmpdywt253l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmm_mrenew(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @xmm_free(ptr noundef %7, i64 noundef %8) %10 = load i64, ptr %6, align 8 %11 = call ptr @xmm_mnew(i64 noundef %10) ret ptr %11 } declare i32 @xmm_free(ptr noundef, i64 noundef) #1 declare ptr @xmm_mnew(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdywt253l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmm_mrenew(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @xmm_free(ptr noundef %7, i64 noundef %8) %10 = load i64, ptr %6, align 8 %11 = call ptr @xmm_mnew(i64 noundef %10) ret ptr %11 } declare i32 @xmm_free(ptr noundef, i64 noundef) #1 declare ptr @xmm_mnew(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn33xjus5.c' source_filename = "/tmp/tmpn33xjus5.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } %struct.hostent = type { ptr } @get_hostname.answer = internal global [1024 x i8] zeroinitializer, align 16 @get_hostname.lastreq = internal global [1024 x i8] zeroinitializer, align 16 @get_hostname.last_answerp = internal global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c" get hostname...\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"\08\08\08\08\08\08\08\08\08\08\08\08\08\08\08 \08\08\08\08\08\08\08\08\08\08\08\08\08\08\08\00", align 1 @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_hostname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.in_addr, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fflush(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str.1) %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @get_hostname.lastreq) %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %1 %14 = load ptr, ptr @get_hostname.last_answerp, align 8 store ptr %14, ptr %2, align 8 br label %30 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strncpy(ptr noundef @get_hostname.lastreq, ptr noundef %16, i32 noundef 1024) %18 = load ptr, ptr %3, align 8 %19 = call i32 @inet_aton(ptr noundef %18, ptr noundef %5) %20 = load i32, ptr @AF_INET, align 4 %21 = call ptr @gethostbyaddr(ptr noundef %5, i32 noundef 4, i32 noundef %20) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %15 store ptr null, ptr @get_hostname.last_answerp, align 8 store ptr null, ptr %2, align 8 br label %30 25: ; preds = %15 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strncpy(ptr noundef @get_hostname.answer, ptr noundef %28, i32 noundef 1024) store ptr @get_hostname.answer, ptr @get_hostname.last_answerp, align 8 store ptr @get_hostname.answer, ptr %2, align 8 br label %30 30: ; preds = %25, %24, %13 %31 = load ptr, ptr %2, align 8 ret ptr %31 } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare ptr @gethostbyaddr(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/tmpn33xjus5.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } %struct.hostent = type { ptr } @get_hostname.answer = internal global [1024 x i8] zeroinitializer, align 16 @get_hostname.lastreq = internal global [1024 x i8] zeroinitializer, align 16 @get_hostname.last_answerp = internal global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c" get hostname...\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"\08\08\08\08\08\08\08\08\08\08\08\08\08\08\08 \08\08\08\08\08\08\08\08\08\08\08\08\08\08\08\00", align 1 @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_hostname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.in_addr, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fflush(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str.1) %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @get_hostname.lastreq) %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %1 %14 = load ptr, ptr @get_hostname.last_answerp, align 8 store ptr %14, ptr %2, align 8 br label %30 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strncpy(ptr noundef @get_hostname.lastreq, ptr noundef %16, i32 noundef 1024) %18 = load ptr, ptr %3, align 8 %19 = call i32 @inet_aton(ptr noundef %18, ptr noundef %5) %20 = load i32, ptr @AF_INET, align 4 %21 = call ptr @gethostbyaddr(ptr noundef %5, i32 noundef 4, i32 noundef %20) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %15 store ptr null, ptr @get_hostname.last_answerp, align 8 store ptr null, ptr %2, align 8 br label %30 25: ; preds = %15 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strncpy(ptr noundef @get_hostname.answer, ptr noundef %28, i32 noundef 1024) store ptr @get_hostname.answer, ptr @get_hostname.last_answerp, align 8 store ptr @get_hostname.answer, ptr %2, align 8 br label %30 30: ; preds = %25, %24, %13 %31 = load ptr, ptr %2, align 8 ret ptr %31 } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare ptr @gethostbyaddr(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/tmpi2fksnvn.c' source_filename = "/tmp/tmpi2fksnvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 %8, %9 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %12, %13 %15 = mul nsw i32 3, %14 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = mul nsw i32 2, %22 %24 = add nsw i32 %15, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %2, align 4 %29 = mul nsw i32 %27, %28 %30 = mul nsw i32 5, %29 %31 = sub nsw i32 %24, %30 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 %32, %33 %35 = sub nsw i32 %31, %34 %36 = load i32, ptr %2, align 4 %37 = mul nsw i32 7, %36 %38 = add nsw i32 %35, %37 %39 = sub nsw i32 %38, 6 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) 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/tmpi2fksnvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 %8, %9 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %12, %13 %15 = mul nsw i32 3, %14 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = mul nsw i32 2, %22 %24 = add nsw i32 %15, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %2, align 4 %29 = mul nsw i32 %27, %28 %30 = mul nsw i32 5, %29 %31 = sub nsw i32 %24, %30 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 %32, %33 %35 = sub nsw i32 %31, %34 %36 = load i32, ptr %2, align 4 %37 = mul nsw i32 7, %36 %38 = add nsw i32 %35, %37 %39 = sub nsw i32 %38, 6 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) 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/tmpiu669c0e.c' source_filename = "/tmp/tmpiu669c0e.c" target datalayout = "e-m:e-p270: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/tmpiu669c0e.c" target datalayout = "e-m:e-p270: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/tmp5bc9l5sr.c' source_filename = "/tmp/tmp5bc9l5sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUS_USB = dso_local global i16 0, align 2 @ID_BUS = dso_local global i64 0, align 8 @ID_PRODUCT = dso_local global i64 0, align 8 @ID_VENDOR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5bc9l5sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUS_USB = dso_local global i16 0, align 2 @ID_BUS = dso_local global i64 0, align 8 @ID_PRODUCT = dso_local global i64 0, align 8 @ID_VENDOR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp036qb0hj.c' source_filename = "/tmp/tmp036qb0hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintVector(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fprint_vector(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %7) ret void } declare i32 @fprint_vector(i32 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/tmp036qb0hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintVector(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fprint_vector(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef %7) ret void } declare i32 @fprint_vector(i32 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/tmpevcu5hu4.c' source_filename = "/tmp/tmpevcu5hu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Usuario # %s # Valido\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c" #######ERROR########\0A ==Usuario %s INVALIDO==\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @authentication(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [50 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %9, align 8 %10 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %13) %15 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @strpbrk(ptr noundef %15, ptr noundef @.str.2) %17 = getelementptr inbounds i8, ptr %16, i64 2 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i64 @atol(ptr noundef %18) store i64 %19, ptr %9, align 8 br label %20 20: ; preds = %38, %3 %21 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = call i64 @memcmp(ptr noundef %21, ptr noundef %22, i32 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %20 %28 = load i64, ptr %9, align 8 %29 = load i64, ptr %6, align 8 %30 = icmp ne i64 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br label %36 36: ; preds = %31, %27, %20 %37 = phi i1 [ false, %27 ], [ false, %20 ], [ %35, %31 ] br i1 %37, label %38, label %47 38: ; preds = %36 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @fscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %40) %42 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %43 = call ptr @strpbrk(ptr noundef %42, ptr noundef @.str.2) %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = call i64 @atol(ptr noundef %45) store i64 %46, ptr %9, align 8 br label %20, !llvm.loop !6 47: ; preds = %36 %48 = load i64, ptr %6, align 8 %49 = load i64, ptr %9, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %5, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = call i64 @memcmp(ptr noundef %52, ptr noundef %53, i32 noundef %55) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %51 %59 = load ptr, ptr %5, align 8 %60 = call i32 @printf(ptr noundef @.str.3, ptr noundef %59) br label %64 61: ; preds = %51, %47 %62 = load ptr, ptr %5, align 8 %63 = call i32 @printf(ptr noundef @.str.4, ptr noundef %62) br label %64 64: ; preds = %61, %58 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i64 @atol(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpevcu5hu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Usuario # %s # Valido\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c" #######ERROR########\0A ==Usuario %s INVALIDO==\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @authentication(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [50 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %9, align 8 %10 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %13) %15 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @strpbrk(ptr noundef %15, ptr noundef @.str.2) %17 = getelementptr inbounds i8, ptr %16, i64 2 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = call i64 @atol(ptr noundef %18) store i64 %19, ptr %9, align 8 br label %20 20: ; preds = %38, %3 %21 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = call i64 @memcmp(ptr noundef %21, ptr noundef %22, i32 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %36 27: ; preds = %20 %28 = load i64, ptr %9, align 8 %29 = load i64, ptr %6, align 8 %30 = icmp ne i64 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br label %36 36: ; preds = %31, %27, %20 %37 = phi i1 [ false, %27 ], [ false, %20 ], [ %35, %31 ] br i1 %37, label %38, label %47 38: ; preds = %36 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @fscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %40) %42 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %43 = call ptr @strpbrk(ptr noundef %42, ptr noundef @.str.2) %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = call i64 @atol(ptr noundef %45) store i64 %46, ptr %9, align 8 br label %20, !llvm.loop !6 47: ; preds = %36 %48 = load i64, ptr %6, align 8 %49 = load i64, ptr %9, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %5, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = call i64 @memcmp(ptr noundef %52, ptr noundef %53, i32 noundef %55) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %51 %59 = load ptr, ptr %5, align 8 %60 = call i32 @printf(ptr noundef @.str.3, ptr noundef %59) br label %64 61: ; preds = %51, %47 %62 = load ptr, ptr %5, align 8 %63 = call i32 @printf(ptr noundef @.str.4, ptr noundef %62) br label %64 64: ; preds = %61, %58 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i64 @atol(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbgmpjjd7.c' source_filename = "/tmp/tmpbgmpjjd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REQUEST_get_message_header.hdr_result = internal global [2048 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @REQUEST_get_message_header(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str) %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store ptr @.str.1, ptr %3, align 8 br label %78 14: ; preds = %2 %15 = call i64 @calloc(i32 noundef 256, i32 noundef 1) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 %17 = call i64 @calloc(i32 noundef 2049, i32 noundef 1) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %67, %14 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = load i64, ptr %5, align 8 %23 = icmp slt i64 %21, %22 br i1 %23, label %24, label %70 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, 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 ne i32 %30, 10 br i1 %31, label %32, label %44 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 %37, ptr %41, align 1 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %66 44: ; preds = %24 %45 = load ptr, ptr %6, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = icmp eq i32 %46, 1 br i1 %47, label %48, label %49 48: ; preds = %44 br label %70 49: ; preds = %44 %50 = load ptr, ptr %7, align 8 %51 = call i32 @strlen(ptr noundef %50) %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %49 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %6, align 8 %56 = call i32 @strncpy(ptr noundef %54, ptr noundef %55, i32 noundef 2048) br label %61 57: ; preds = %49 %58 = load ptr, ptr %7, align 8 %59 = load ptr, ptr %6, align 8 %60 = call i32 @strncat(ptr noundef %58, ptr noundef %59, i32 noundef 2048) br label %61 61: ; preds = %57, %53 %62 = load ptr, ptr %7, align 8 %63 = call i32 @strncat(ptr noundef %62, ptr noundef @.str.2, i32 noundef 2048) %64 = load ptr, ptr %6, align 8 %65 = call i32 @memset(ptr noundef %64, i8 noundef signext 0, i32 noundef 256) store i32 0, ptr %9, align 4 br label %66 66: ; preds = %61, %32 br label %67 67: ; preds = %66 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %8, align 4 br label %19, !llvm.loop !6 70: ; preds = %48, %19 %71 = load ptr, ptr %6, align 8 %72 = call i32 @free(ptr noundef %71) store ptr null, ptr %6, align 8 %73 = call i32 @memset(ptr noundef @REQUEST_get_message_header.hdr_result, i8 noundef signext 0, i32 noundef 2048) %74 = load ptr, ptr %7, align 8 %75 = call i32 @strncpy(ptr noundef @REQUEST_get_message_header.hdr_result, ptr noundef %74, i32 noundef 2048) %76 = load ptr, ptr %7, align 8 %77 = call i32 @free(ptr noundef %76) store ptr null, ptr %7, align 8 store ptr @REQUEST_get_message_header.hdr_result, ptr %3, align 8 br label %78 78: ; preds = %70, %13 %79 = load ptr, ptr %3, align 8 ret ptr %79 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgmpjjd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REQUEST_get_message_header.hdr_result = internal global [2048 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @REQUEST_get_message_header(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str) %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store ptr @.str.1, ptr %3, align 8 br label %81 14: ; preds = %2 %15 = call i64 @calloc(i32 noundef 256, i32 noundef 1) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 %17 = call i64 @calloc(i32 noundef 2049, i32 noundef 1) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = load i64, ptr %5, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %23 23: ; preds = %.lr.ph, %66 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %8, 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 ne i32 %29, 10 br i1 %30, label %31, label %43 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 br label %65 43: ; preds = %23 %44 = load ptr, ptr %6, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %48 47: ; preds = %43 br label %73 48: ; preds = %43 %49 = load ptr, ptr %7, align 8 %50 = call i32 @strlen(ptr noundef %49) %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %48 %53 = load ptr, ptr %7, align 8 %54 = load ptr, ptr %6, align 8 %55 = call i32 @strncpy(ptr noundef %53, ptr noundef %54, i32 noundef 2048) br label %60 56: ; preds = %48 %57 = load ptr, ptr %7, align 8 %58 = load ptr, ptr %6, align 8 %59 = call i32 @strncat(ptr noundef %57, ptr noundef %58, i32 noundef 2048) br label %60 60: ; preds = %56, %52 %61 = load ptr, ptr %7, align 8 %62 = call i32 @strncat(ptr noundef %61, ptr noundef @.str.2, i32 noundef 2048) %63 = load ptr, ptr %6, align 8 %64 = call i32 @memset(ptr noundef %63, i8 noundef signext 0, i32 noundef 256) store i32 0, ptr %9, align 4 br label %65 65: ; preds = %60, %31 br label %66 66: ; preds = %65 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %8, align 4 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = load i64, ptr %5, align 8 %72 = icmp slt i64 %70, %71 br i1 %72, label %23, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %66 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %73 73: ; preds = %.loopexit, %47 %74 = load ptr, ptr %6, align 8 %75 = call i32 @free(ptr noundef %74) store ptr null, ptr %6, align 8 %76 = call i32 @memset(ptr noundef @REQUEST_get_message_header.hdr_result, i8 noundef signext 0, i32 noundef 2048) %77 = load ptr, ptr %7, align 8 %78 = call i32 @strncpy(ptr noundef @REQUEST_get_message_header.hdr_result, ptr noundef %77, i32 noundef 2048) %79 = load ptr, ptr %7, align 8 %80 = call i32 @free(ptr noundef %79) store ptr null, ptr %7, align 8 store ptr @REQUEST_get_message_header.hdr_result, ptr %3, align 8 br label %81 81: ; preds = %73, %13 %82 = load ptr, ptr %3, align 8 ret ptr %82 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5x9_rhj6.c' source_filename = "/tmp/tmp5x9_rhj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%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 [5 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %13, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %16 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 2, %8 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %11 store i32 %9, ptr %12, align 4 br label %13 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %29, %16 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %20, label %32 20: ; preds = %17 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) br label %29 29: ; preds = %20 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 br label %17, !llvm.loop !8 32: ; preds = %17 %33 = load i32, ptr %2, align 4 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5x9_rhj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%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 [5 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %12 %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 2, %7 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %10 store i32 %8, ptr %11, align 4 br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 5 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %.lr.ph2, label %34 .lr.ph2: ; preds = %17 br label %20 20: ; preds = %.lr.ph2, %29 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) br label %29 29: ; preds = %20 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %32, 5 br i1 %33, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %17 %35 = load i32, ptr %2, align 4 %36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2fanda_r.c' source_filename = "/tmp/tmp2fanda_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2fanda_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}