llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpod9_ptim.c' source_filename = "/tmp/tmpod9_ptim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printString(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod9_ptim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printString(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4f__n4pe.c' source_filename = "/tmp/tmp4f__n4pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"NO\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 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %79, %0 %8 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %11, label %80 11: ; preds = %7 store i32 1, ptr %3, align 4 br label %12 12: ; preds = %76, %11 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %79 16: ; preds = %12 %17 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %31 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %21, %16 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %39, %40 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = sub nsw i32 %42, %43 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %35, %31 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %49, label %59 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %50, %51 store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %5, align 4 %55 = sub nsw i32 %53, %54 store i32 %55, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %5, align 4 %58 = sub nsw i32 %56, %57 store i32 %58, ptr %4, align 4 br label %59 59: ; preds = %49, %45 %60 = load i32, ptr %4, align 4 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %60, %61 %63 = load i32, ptr %6, align 4 %64 = icmp sgt i32 %62, %63 br i1 %64, label %65, label %73 65: ; preds = %59 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %5, align 4 %68 = sub nsw i32 %66, %67 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %65 %72 = call i32 @printf(ptr noundef @.str.2) br label %75 73: ; preds = %65, %59 %74 = call i32 @printf(ptr noundef @.str.3) br label %75 75: ; preds = %73, %71 br label %76 76: ; preds = %75 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 br label %12, !llvm.loop !6 79: ; preds = %12 br label %7, !llvm.loop !8 80: ; preds = %7 ret i32 0 } declare i64 @scanf(ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4f__n4pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"NO\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 store i32 0, ptr %1, align 4 %7 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i64, ptr @EOF, align 8 %9 = icmp ne i64 %7, %8 br i1 %9, label %.lr.ph2, label %84 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %80 store i32 1, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %80 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %74 %15 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 %23, %24 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %19, %14 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %43 33: ; preds = %29 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %34, %35 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = sub nsw i32 %37, %38 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %6, align 4 %42 = sub nsw i32 %40, %41 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %33, %29 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sgt i32 %44, %45 br i1 %46, label %47, label %57 47: ; preds = %43 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %48, %49 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %5, align 4 %53 = sub nsw i32 %51, %52 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %5, align 4 %56 = sub nsw i32 %54, %55 store i32 %56, ptr %4, align 4 br label %57 57: ; preds = %47, %43 %58 = load i32, ptr %4, align 4 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %58, %59 %61 = load i32, ptr %6, align 4 %62 = icmp sgt i32 %60, %61 br i1 %62, label %63, label %71 63: ; preds = %57 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %64, %65 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 @printf(ptr noundef @.str.2) br label %73 71: ; preds = %63, %57 %72 = call i32 @printf(ptr noundef @.str.3) br label %73 73: ; preds = %71, %69 br label %74 74: ; preds = %73 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp sle i32 %77, %78 br i1 %79, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %10 %81 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %82 = load i64, ptr @EOF, align 8 %83 = icmp ne i64 %81, %82 br i1 %83, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %84 84: ; preds = %._crit_edge3, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqibt4xz9.c' source_filename = "/tmp/tmpqibt4xz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret i32 0 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqibt4xz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret i32 0 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpozwigdiu.c' source_filename = "/tmp/tmpozwigdiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 1, ptr %6, align 4 %9 = call i32 (...) @rand() %10 = load i32, ptr %4, align 4 %11 = srem i32 %9, %10 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @swap(ptr noundef %17, i32 noundef 0, i32 noundef %18) store i32 0, ptr %7, align 4 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %20 20: ; preds = %44, %2 %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 %45 24: ; preds = %20 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %32, label %41 32: ; preds = %24 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = call i32 @swap(ptr noundef %33, i32 noundef %34, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %44 41: ; preds = %24 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %41, %32 br label %20, !llvm.loop !6 45: ; preds = %20 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %5, align 4 %49 = sub nsw i32 %48, 1 %50 = call i32 @swap(ptr noundef %46, i32 noundef %47, i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = sub nsw i32 %51, 1 %53 = icmp sgt i32 %52, 0 br i1 %53, label %54, label %59 54: ; preds = %45 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds i32, ptr %55, i64 0 %57 = load i32, ptr %5, align 4 %58 = sub nsw i32 %57, 1 call void @quicksort(ptr noundef %56, i32 noundef %58) br label %59 59: ; preds = %54, %45 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %5, align 4 %62 = sub nsw i32 %60, %61 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %59 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %5, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %5, align 4 %71 = sub nsw i32 %69, %70 call void @quicksort(ptr noundef %68, i32 noundef %71) br label %72 72: ; preds = %64, %59 ret void } declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpozwigdiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 1, ptr %6, align 4 %9 = call i32 (...) @rand() %10 = load i32, ptr %4, align 4 %11 = srem i32 %9, %10 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @swap(ptr noundef %17, i32 noundef 0, i32 noundef %18) store i32 0, ptr %7, align 4 store i32 1, ptr %5, align 4 store i32 1, 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 %47 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %43 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %23 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %6, align 4 %35 = call i32 @swap(ptr noundef %32, i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 br label %43 40: ; preds = %23 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %40, %31 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %47 47: ; preds = %._crit_edge, %2 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %5, align 4 %51 = sub nsw i32 %50, 1 %52 = call i32 @swap(ptr noundef %48, i32 noundef %49, i32 noundef %51) %53 = load i32, ptr %5, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %61 56: ; preds = %47 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i32, ptr %57, i64 0 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %59, 1 call void @quicksort(ptr noundef %58, i32 noundef %60) br label %61 61: ; preds = %56, %47 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = sub nsw i32 %62, %63 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %74 66: ; preds = %61 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %5, align 4 %73 = sub nsw i32 %71, %72 call void @quicksort(ptr noundef %70, i32 noundef %73) br label %74 74: ; preds = %66, %61 ret void } declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp58b1zqaq.c' source_filename = "/tmp/tmp58b1zqaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"\0AUsage: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" [-w file_name] (name for output file)\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c" [-r file_name] (name for input file)\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"If either -w or -r is omitted, stdout(stdin) is used\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = 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/tmp58b1zqaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"\0AUsage: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" [-w file_name] (name for output file)\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c" [-r file_name] (name for input file)\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"If either -w or -r is omitted, stdout(stdin) is used\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = 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/tmp9gzl_vnk.c' source_filename = "/tmp/tmp9gzl_vnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"You entered the value %i\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Address %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9gzl_vnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"You entered the value %i\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Address %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcp1gses1.c' source_filename = "/tmp/tmpcp1gses1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subtract_densities(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @combine_densities(ptr noundef %6, ptr noundef %7, double noundef -1.000000e+00) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @combine_densities(ptr noundef, 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/tmpcp1gses1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subtract_densities(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @combine_densities(ptr noundef %6, ptr noundef %7, double noundef -1.000000e+00) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @combine_densities(ptr noundef, 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/tmpczegtfym.c' source_filename = "/tmp/tmpczegtfym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vecret(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczegtfym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vecret(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpajp4p1sq.c' source_filename = "/tmp/tmpajp4p1sq.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"Newton sqrt: %f %f %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @newtonSqaureRoot(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store double 1.000000e+00, ptr %9, align 8 br label %12 12: ; preds = %22, %4 %13 = load double, ptr %9, align 8 %14 = call i32 @fabs(double noundef %13) %15 = sitofp i32 %14 to double %16 = fcmp ogt double %15, 1.000000e-09 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %18, 200 br label %20 20: ; preds = %17, %12 %21 = phi i1 [ false, %12 ], [ %19, %17 ] br i1 %21, label %22, label %37 22: ; preds = %20 %23 = load ptr, ptr %5, align 8 %24 = load double, ptr %7, align 8 %25 = load double, ptr %8, align 8 %26 = call double %23(double noundef %24, double noundef %25) store double %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = load double, ptr %7, align 8 %29 = call double %27(double noundef %28) store double %29, ptr %10, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %9, align 8 %32 = load double, ptr %10, align 8 %33 = fdiv double %31, %32 %34 = fsub double %30, %33 store double %34, ptr %7, align 8 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %11, align 4 br label %12, !llvm.loop !6 37: ; preds = %20 %38 = load i32, ptr @stdout, align 4 %39 = load double, ptr %7, align 8 %40 = load double, ptr %9, align 8 %41 = load i32, ptr %11, align 4 %42 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, double noundef %39, double noundef %40, i32 noundef %41) %43 = load double, ptr %7, align 8 ret double %43 } declare i32 @fabs(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpajp4p1sq.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"Newton sqrt: %f %f %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @newtonSqaureRoot(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store double 1.000000e+00, ptr %9, align 8 br label %12 12: ; preds = %22, %4 %13 = load double, ptr %9, align 8 %14 = call i32 @fabs(double noundef %13) %15 = sitofp i32 %14 to double %16 = fcmp ogt double %15, 1.000000e-09 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %18, 200 br label %20 20: ; preds = %17, %12 %21 = phi i1 [ false, %12 ], [ %19, %17 ] br i1 %21, label %22, label %37 22: ; preds = %20 %23 = load ptr, ptr %5, align 8 %24 = load double, ptr %7, align 8 %25 = load double, ptr %8, align 8 %26 = call double %23(double noundef %24, double noundef %25) store double %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = load double, ptr %7, align 8 %29 = call double %27(double noundef %28) store double %29, ptr %10, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %9, align 8 %32 = load double, ptr %10, align 8 %33 = fdiv double %31, %32 %34 = fsub double %30, %33 store double %34, ptr %7, align 8 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %11, align 4 br label %12, !llvm.loop !6 37: ; preds = %20 %38 = load i32, ptr @stdout, align 4 %39 = load double, ptr %7, align 8 %40 = load double, ptr %9, align 8 %41 = load i32, ptr %11, align 4 %42 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, double noundef %39, double noundef %40, i32 noundef %41) %43 = load double, ptr %7, align 8 ret double %43 } declare i32 @fabs(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp10n22ljv.c' source_filename = "/tmp/tmp10n22ljv.c" target datalayout = "e-m:e-p270: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 @EOF = dso_local global i64 0, align 8 ; 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 store i32 0, ptr %6, align 4 %7 = call i32 (...) @t1() %8 = load i32, ptr %6, align 4 %9 = or i32 %8, %7 store i32 %9, ptr %6, align 4 %10 = call i32 (...) @t2() %11 = load i32, ptr %6, align 4 %12 = or i32 %11, %10 store i32 %12, ptr %6, align 4 %13 = call i32 (...) @t3() %14 = load i32, ptr %6, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %6, align 4 %16 = call i32 (...) @F() %17 = load i32, ptr %6, align 4 %18 = or i32 %17, %16 store i32 %18, ptr %6, align 4 %19 = load i32, ptr @stdout, align 4 %20 = call i64 @fflush(i32 noundef %19) %21 = load i64, ptr @EOF, align 8 %22 = icmp eq i64 %20, %21 %23 = zext i1 %22 to i32 %24 = load i32, ptr %6, align 4 %25 = or i32 %24, %23 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 ret i32 %26 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @F(...) #1 declare i64 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp10n22ljv.c" target datalayout = "e-m:e-p270: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 @EOF = dso_local global i64 0, align 8 ; 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 store i32 0, ptr %6, align 4 %7 = call i32 (...) @t1() %8 = load i32, ptr %6, align 4 %9 = or i32 %8, %7 store i32 %9, ptr %6, align 4 %10 = call i32 (...) @t2() %11 = load i32, ptr %6, align 4 %12 = or i32 %11, %10 store i32 %12, ptr %6, align 4 %13 = call i32 (...) @t3() %14 = load i32, ptr %6, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %6, align 4 %16 = call i32 (...) @F() %17 = load i32, ptr %6, align 4 %18 = or i32 %17, %16 store i32 %18, ptr %6, align 4 %19 = load i32, ptr @stdout, align 4 %20 = call i64 @fflush(i32 noundef %19) %21 = load i64, ptr @EOF, align 8 %22 = icmp eq i64 %20, %21 %23 = zext i1 %22 to i32 %24 = load i32, ptr %6, align 4 %25 = or i32 %24, %23 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 ret i32 %26 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @F(...) #1 declare i64 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpexqdn1ku.c' source_filename = "/tmp/tmpexqdn1ku.c" target datalayout = "e-m:e-p270: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/tmpexqdn1ku.c" target datalayout = "e-m:e-p270: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/tmp54yfrhh2.c' source_filename = "/tmp/tmp54yfrhh2.c" target datalayout = "e-m:e-p270: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/tmp54yfrhh2.c" target datalayout = "e-m:e-p270: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/tmpw4pa0hut.c' source_filename = "/tmp/tmpw4pa0hut.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = 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/tmpw4pa0hut.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = 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/tmpfyx4k3lw.c' source_filename = "/tmp/tmpfyx4k3lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %16, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 10 br i1 %8, label %9, label %19 9: ; preds = %6 store i32 10, ptr %3, align 4 br label %10 10: ; preds = %13, %9 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %10, !llvm.loop !6 16: ; preds = %10 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %6, !llvm.loop !8 19: ; preds = %6 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfyx4k3lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 10 br i1 %7, label %.lr.ph2, label %21 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %16 store i32 10, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %.lr.ph, label %16 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %8 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp sle i32 %19, 10 br i1 %20, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %16 br label %21 21: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpeuqra_cy.c' source_filename = "/tmp/tmpeuqra_cy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret ptr %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeuqra_cy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret ptr %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpckam0395.c' source_filename = "/tmp/tmpckam0395.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [16 x i32] [i32 1, i32 3, i32 5, i32 7, i32 9, i32 2, i32 3, i32 4, i32 8, i32 6, i32 7, i32 0, i32 10, i32 2, i32 11, i32 5], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [16 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arr, i64 64, i1 false) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %18, %2 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = icmp ult i64 %10, 15 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 0 %24 = call i32 @sort(ptr noundef %23, i32 noundef 16) store i32 0, ptr %6, align 4 br label %25 25: ; preds = %35, %21 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = icmp ult i64 %27, 15 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %33) br label %35 35: ; preds = %29 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %25, !llvm.loop !8 38: ; preds = %25 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sort(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpckam0395.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [16 x i32] [i32 1, i32 3, i32 5, i32 7, i32 9, i32 2, i32 3, i32 4, i32 8, i32 6, i32 7, i32 0, i32 10, i32 2, i32 11, i32 5], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [16 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arr, i64 64, i1 false) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 15 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = icmp ult i64 %21, 15 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 0 %26 = call i32 @sort(ptr noundef %25, i32 noundef 16) store i32 0, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = icmp ult i64 %28, 15 br i1 %29, label %.lr.ph2, label %42 .lr.ph2: ; preds = %23 br label %30 30: ; preds = %.lr.ph2, %36 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = icmp ult i64 %40, 15 br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %23 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sort(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2zpai5np.c' source_filename = "/tmp/tmp2zpai5np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closefiddle() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 br label %2 2: ; preds = %8, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 8 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = call i32 @close(i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 br label %2, !llvm.loop !6 11: ; preds = %2 ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2zpai5np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closefiddle() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 8 br i1 %3, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %7 %5 = load i32, ptr %1, align 4 %6 = call i32 @close(i32 noundef %5) br label %7 7: ; preds = %4 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw491dwy7.c' source_filename = "/tmp/tmpw491dwy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @printraw_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = mul i32 %9, 3 %11 = load i32, ptr %4, align 4 %12 = lshr i32 %11, 4 %13 = add i32 %10, %12 %14 = add i32 %13, 11 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %7, align 8 store ptr %15, ptr %8, align 8 br label %16 16: ; preds = %39, %2 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %20, label %40 20: ; preds = %16 %21 = load ptr, ptr %8, align 8 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = zext i32 %23 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %21, ptr noundef @.str, i32 noundef %28) %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 3 store ptr %31, ptr %8, align 8 %32 = load i32, ptr %6, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = icmp eq i32 %33, 16 br i1 %34, label %35, label %39 35: ; preds = %20 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %8, align 8 %38 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %36, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %39 39: ; preds = %35, %20 br label %16, !llvm.loop !6 40: ; preds = %16 store ptr null, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 ret ptr %41 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpw491dwy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @printraw_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = mul i32 %9, 3 %11 = load i32, ptr %4, align 4 %12 = lshr i32 %11, 4 %13 = add i32 %10, %12 %14 = add i32 %13, 11 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %7, align 8 store ptr %15, ptr %8, align 8 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %.lr.ph, label %42 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %38 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = zext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str, i32 noundef %27) %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 store ptr %30, ptr %8, align 8 %31 = load i32, ptr %6, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = icmp eq i32 %32, 16 br i1 %33, label %34, label %38 34: ; preds = %19 %35 = load ptr, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %8, align 8 %37 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %38 38: ; preds = %34, %19 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp ult i32 %39, %40 br i1 %41, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %42 42: ; preds = %._crit_edge, %2 store ptr null, ptr %8, align 8 %43 = load ptr, ptr %7, align 8 ret ptr %43 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpqqdwgl1u.c' source_filename = "/tmp/tmpqqdwgl1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqdwgl1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppclgtrla.c' source_filename = "/tmp/tmppclgtrla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispent(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = mul nsw i64 24, %4 %6 = add nsw i64 1, %5 %7 = trunc i64 %6 to i32 %8 = call i32 @sqrt(i32 noundef %7) %9 = add nsw i32 %8, 1 %10 = sdiv i32 %9, 6 %11 = sitofp i32 %10 to double store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = fptosi double %13 to i32 %15 = sitofp i32 %14 to double %16 = fcmp oeq double %12, %15 %17 = zext i1 %16 to i32 ret i32 %17 } declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppclgtrla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispent(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = mul nsw i64 24, %4 %6 = add nsw i64 1, %5 %7 = trunc i64 %6 to i32 %8 = call i32 @sqrt(i32 noundef %7) %9 = add nsw i32 %8, 1 %10 = sdiv i32 %9, 6 %11 = sitofp i32 %10 to double store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = fptosi double %13 to i32 %15 = sitofp i32 %14 to double %16 = fcmp oeq double %12, %15 %17 = zext i1 %16 to i32 ret i32 %17 } declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_64zwps5.c' source_filename = "/tmp/tmp_64zwps5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr_a = private unnamed_addr constant [10 x i32] [i32 -2, i32 1, i32 -3, i32 4, i32 -1, i32 2, i32 1, i32 -5, i32 4, i32 -1], align 16 @__const.main.arr_b = private unnamed_addr constant [10 x i32] [i32 -3, i32 -2, i32 -1, i32 -2, i32 -3, i32 -4, i32 -5, i32 -6, i32 -7, i32 -8], align 16 @__const.main.arr_c = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @.str = private unnamed_addr constant [22 x i8] c"max sub array is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [10 x i32], align 16 %4 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr_a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr_b, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr_c, i64 40, i1 false) %5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %6 = call i32 @print_array(ptr noundef %5, i32 noundef 10) %7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %8 = call i32 @max_sub_array(ptr noundef %7, i32 noundef 10) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @print_array(ptr noundef %10, i32 noundef 10) %12 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @max_sub_array(ptr noundef %12, i32 noundef 10) %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %16 = call i32 @print_array(ptr noundef %15, i32 noundef 10) %17 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %18 = call i32 @max_sub_array(ptr noundef %17, i32 noundef 10) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) 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 @print_array(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @max_sub_array(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/tmp_64zwps5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr_a = private unnamed_addr constant [10 x i32] [i32 -2, i32 1, i32 -3, i32 4, i32 -1, i32 2, i32 1, i32 -5, i32 4, i32 -1], align 16 @__const.main.arr_b = private unnamed_addr constant [10 x i32] [i32 -3, i32 -2, i32 -1, i32 -2, i32 -3, i32 -4, i32 -5, i32 -6, i32 -7, i32 -8], align 16 @__const.main.arr_c = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @.str = private unnamed_addr constant [22 x i8] c"max sub array is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [10 x i32], align 16 %4 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr_a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr_b, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.arr_c, i64 40, i1 false) %5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %6 = call i32 @print_array(ptr noundef %5, i32 noundef 10) %7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %8 = call i32 @max_sub_array(ptr noundef %7, i32 noundef 10) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @print_array(ptr noundef %10, i32 noundef 10) %12 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @max_sub_array(ptr noundef %12, i32 noundef 10) %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %16 = call i32 @print_array(ptr noundef %15, i32 noundef 10) %17 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %18 = call i32 @max_sub_array(ptr noundef %17, i32 noundef 10) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) 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 @print_array(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @max_sub_array(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/tmpp96ysb2s.c' source_filename = "/tmp/tmpp96ysb2s.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigtimedwait(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 br label %8 8: ; preds = %13, %3 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @do_sigtimedwait(ptr noundef %9, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 br label %13 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr @EINTR, align 4 %16 = sub nsw i32 0, %15 %17 = icmp eq i32 %14, %16 br i1 %17, label %8, label %18, !llvm.loop !6 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = call i32 @__syscall_ret(i32 noundef %19) ret i32 %20 } declare i32 @do_sigtimedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @__syscall_ret(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp96ysb2s.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigtimedwait(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 br label %8 8: ; preds = %13, %3 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @do_sigtimedwait(ptr noundef %9, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 br label %13 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr @EINTR, align 4 %16 = sub nsw i32 0, %15 %17 = icmp eq i32 %14, %16 br i1 %17, label %8, label %18, !llvm.loop !6 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = call i32 @__syscall_ret(i32 noundef %19) ret i32 %20 } declare i32 @do_sigtimedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @__syscall_ret(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4c377v26.c' source_filename = "/tmp/tmp4c377v26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"can't stat foo\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"can't chmod foo\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"can't chmod bar\0A\00", align 1 @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 %struct.stat, 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 i64 @stat(ptr noundef @.str, ptr noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @S_IXGRP, align 4 %18 = xor i32 %17, -1 %19 = and i32 %16, %18 %20 = load i32, ptr @S_ISUID, align 4 %21 = or i32 %19, %20 %22 = call i32 @chmod(ptr noundef @.str, i32 noundef %21) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %29 24: ; preds = %14 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %14 %30 = load i32, ptr @S_IRUSR, align 4 %31 = load i32, ptr @S_IWUSR, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @S_IRGRP, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @S_IROTH, align 4 %36 = or i32 %34, %35 %37 = call i32 @chmod(ptr noundef @.str.3, i32 noundef %36) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %44 39: ; preds = %29 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %29 %45 = load i32, ptr @EXIT_SUCCESS, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chmod(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmp4c377v26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"can't stat foo\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_ISUID = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"can't chmod foo\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"can't chmod bar\0A\00", align 1 @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 %struct.stat, 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 i64 @stat(ptr noundef @.str, ptr noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @S_IXGRP, align 4 %18 = xor i32 %17, -1 %19 = and i32 %16, %18 %20 = load i32, ptr @S_ISUID, align 4 %21 = or i32 %19, %20 %22 = call i32 @chmod(ptr noundef @.str, i32 noundef %21) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %29 24: ; preds = %14 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %14 %30 = load i32, ptr @S_IRUSR, align 4 %31 = load i32, ptr @S_IWUSR, align 4 %32 = or i32 %30, %31 %33 = load i32, ptr @S_IRGRP, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @S_IROTH, align 4 %36 = or i32 %34, %35 %37 = call i32 @chmod(ptr noundef @.str.3, i32 noundef %36) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %44 39: ; preds = %29 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %29 %45 = load i32, ptr @EXIT_SUCCESS, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chmod(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpyxn5ntnw.c' source_filename = "/tmp/tmpyxn5ntnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chase_symlinks(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 ptr @xstrdup(ptr noundef %3) ret ptr %4 } declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxn5ntnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chase_symlinks(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 ptr @xstrdup(ptr noundef %3) ret ptr %4 } declare ptr @xstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxt21kku4.c' source_filename = "/tmp/tmpxt21kku4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @a() ret i32 0 } 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/tmpxt21kku4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @a() ret i32 0 } 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/tmpulj2n1n4.c' source_filename = "/tmp/tmpulj2n1n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_Square_Magic(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %5, align 4 %8 = call i32 @Are_Rows_Magic(ptr noundef %6, i32 noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @Are_Columns_Magic(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i32 @Are_Diagonals_Magic(ptr noundef %16, i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15, %10, %2 store i32 0, ptr %3, align 4 br label %22 21: ; preds = %15 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %20 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @Are_Rows_Magic(ptr noundef, i32 noundef) #1 declare i32 @Are_Columns_Magic(ptr noundef, i32 noundef) #1 declare i32 @Are_Diagonals_Magic(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/tmpulj2n1n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_Square_Magic(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %5, align 4 %8 = call i32 @Are_Rows_Magic(ptr noundef %6, i32 noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @Are_Columns_Magic(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i32 @Are_Diagonals_Magic(ptr noundef %16, i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15, %10, %2 store i32 0, ptr %3, align 4 br label %22 21: ; preds = %15 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %20 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @Are_Rows_Magic(ptr noundef, i32 noundef) #1 declare i32 @Are_Columns_Magic(ptr noundef, i32 noundef) #1 declare i32 @Are_Diagonals_Magic(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/tmpjo7664it.c' source_filename = "/tmp/tmpjo7664it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"ic_type_ref_symbol_init: type_str was null\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"ic_type_ref_symbol_init: call to ic_type_init failed\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"ic_type_ref_symbol_init: call to ic_type_set_symbol failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ic_type_ref_symbol_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %32 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %32 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = call i32 @ic_type_ref_init(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %32 23: ; preds = %17 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = call i32 @ic_type_ref_set_symbol(ptr noundef %24, ptr noundef %25, i32 noundef %26) %28 = icmp ne i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %23 %30 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %32 31: ; preds = %23 store i32 1, ptr %4, align 4 br label %32 32: ; preds = %31, %29, %21, %15, %10 %33 = load i32, ptr %4, align 4 ret i32 %33 } declare i32 @puts(ptr noundef) #1 declare i32 @ic_type_ref_init(ptr noundef) #1 declare i32 @ic_type_ref_set_symbol(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/tmpjo7664it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"ic_type_ref_symbol_init: type_str was null\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"ic_type_ref_symbol_init: call to ic_type_init failed\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"ic_type_ref_symbol_init: call to ic_type_set_symbol failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ic_type_ref_symbol_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %32 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %32 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = call i32 @ic_type_ref_init(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %32 23: ; preds = %17 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = call i32 @ic_type_ref_set_symbol(ptr noundef %24, ptr noundef %25, i32 noundef %26) %28 = icmp ne i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %23 %30 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %32 31: ; preds = %23 store i32 1, ptr %4, align 4 br label %32 32: ; preds = %31, %29, %21, %15, %10 %33 = load i32, ptr %4, align 4 ret i32 %33 } declare i32 @puts(ptr noundef) #1 declare i32 @ic_type_ref_init(ptr noundef) #1 declare i32 @ic_type_ref_set_symbol(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/tmpl5wk2pgn.c' source_filename = "/tmp/tmpl5wk2pgn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ASN1_item_dup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %30 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i64 @ASN1_item_i2d(ptr noundef %14, ptr noundef %6, ptr noundef %15) store i64 %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %13 %20 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %21 = call i32 @ASN1error(i32 noundef %20) store ptr null, ptr %3, align 8 br label %30 22: ; preds = %13 %23 = load ptr, ptr %6, align 8 store ptr %23, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = load ptr, ptr %4, align 8 %26 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef %7, i64 noundef %24, ptr noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %9, align 8 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %22, %19, %12 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i64 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ASN1error(i32 noundef) #1 declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl5wk2pgn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ASN1_item_dup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %30 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i64 @ASN1_item_i2d(ptr noundef %14, ptr noundef %6, ptr noundef %15) store i64 %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %13 %20 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %21 = call i32 @ASN1error(i32 noundef %20) store ptr null, ptr %3, align 8 br label %30 22: ; preds = %13 %23 = load ptr, ptr %6, align 8 store ptr %23, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = load ptr, ptr %4, align 8 %26 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef %7, i64 noundef %24, ptr noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %9, align 8 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %22, %19, %12 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i64 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ASN1error(i32 noundef) #1 declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc9a2yexs.c' source_filename = "/tmp/tmpc9a2yexs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qpu_enable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [32 x i32], align 16 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %6, align 4 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %10 store i32 0, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %6, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %14 store i32 0, ptr %15, align 4 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %18 store i32 196626, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %22 store i32 4, ptr %23, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %26 store i32 4, ptr %27, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %31 store i32 %28, ptr %32, align 4 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %35 store i32 0, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = trunc i64 %39 to i32 %41 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 store i32 %40, ptr %41, align 16 %42 = load i32, ptr %4, align 4 %43 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %44 = call i64 @mbox_property(i32 noundef %42, ptr noundef %43) %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %2 store i32 0, ptr %3, align 4 br label %50 47: ; preds = %2 %48 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 5 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %47, %46 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i64 @mbox_property(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/tmpc9a2yexs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qpu_enable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [32 x i32], align 16 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %6, align 4 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %10 store i32 0, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %6, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %14 store i32 0, ptr %15, align 4 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %18 store i32 196626, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %22 store i32 4, ptr %23, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %26 store i32 4, ptr %27, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %31 store i32 %28, ptr %32, align 4 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %35 store i32 0, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = trunc i64 %39 to i32 %41 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 store i32 %40, ptr %41, align 16 %42 = load i32, ptr %4, align 4 %43 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %44 = call i64 @mbox_property(i32 noundef %42, ptr noundef %43) %45 = icmp slt i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %2 store i32 0, ptr %3, align 4 br label %50 47: ; preds = %2 %48 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 5 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %47, %46 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i64 @mbox_property(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/tmp3b237u7e.c' source_filename = "/tmp/tmp3b237u7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @virtioblk_shutdown(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 @virtio_set_status(ptr noundef %3, i32 noundef 128) %5 = load ptr, ptr %2, align 8 %6 = call i32 @virtio_reset_device(ptr noundef %5) ret void } declare i32 @virtio_set_status(ptr noundef, i32 noundef) #1 declare i32 @virtio_reset_device(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/tmp3b237u7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @virtioblk_shutdown(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 @virtio_set_status(ptr noundef %3, i32 noundef 128) %5 = load ptr, ptr %2, align 8 %6 = call i32 @virtio_reset_device(ptr noundef %5) ret void } declare i32 @virtio_set_status(ptr noundef, i32 noundef) #1 declare i32 @virtio_reset_device(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/tmpmrgs98x3.c' source_filename = "/tmp/tmpmrgs98x3.c" target datalayout = "e-m:e-p270: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/tmpmrgs98x3.c" target datalayout = "e-m:e-p270: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/tmpghpxjqs0.c' source_filename = "/tmp/tmpghpxjqs0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %18, align 4 store i32 0, ptr %11, align 4 br label %21 21: ; preds = %88, %5 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %22, 64 br i1 %23, label %24, label %91 24: ; preds = %21 %25 = load ptr, ptr %10, align 8 %26 = load i32, ptr %11, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %87 32: ; preds = %24 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 store double %37, ptr %19, align 8 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 store double %42, ptr %20, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %43, i64 %49 %51 = load double, ptr %50, align 8 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 store double %51, ptr %55, align 8 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %10, align 8 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %56, i64 %62 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 store double %64, ptr %68, align 8 %69 = load double, ptr %19, align 8 %70 = load ptr, ptr %6, align 8 %71 = load ptr, ptr %10, align 8 %72 = load i32, ptr %11, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 %75 = load i32, ptr %74, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %70, i64 %76 store double %69, ptr %77, align 8 %78 = load double, ptr %20, align 8 %79 = load ptr, ptr %7, align 8 %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %79, i64 %85 store double %78, ptr %86, align 8 br label %87 87: ; preds = %32, %24 br label %88 88: ; preds = %87 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %11, align 4 br label %21, !llvm.loop !6 91: ; preds = %21 store i32 1, ptr %11, align 4 br label %92 92: ; preds = %218, %91 %93 = load i32, ptr %11, align 4 %94 = call i32 @myPow(i32 noundef 2, i32 noundef %93) %95 = icmp sle i32 %94, 64 br i1 %95, label %96, label %221 96: ; preds = %92 %97 = load i32, ptr %11, align 4 %98 = call i32 @myPow(i32 noundef 2, i32 noundef %97) store i32 %98, ptr %13, align 4 store i32 0, ptr %12, align 4 br label %99 99: ; preds = %213, %96 %100 = load i32, ptr %12, align 4 %101 = icmp slt i32 %100, 64 br i1 %101, label %102, label %217 102: ; preds = %99 %103 = load i32, ptr %13, align 4 %104 = ashr i32 %103, 1 store i32 %104, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %105 105: ; preds = %209, %102 %106 = load i32, ptr %15, align 4 %107 = load i32, ptr %14, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %109, label %212 109: ; preds = %105 %110 = load i32, ptr %12, align 4 %111 = load i32, ptr %15, align 4 %112 = add nsw i32 %110, %111 store i32 %112, ptr %16, align 4 %113 = load i32, ptr %16, align 4 %114 = load i32, ptr %14, align 4 %115 = add nsw i32 %113, %114 store i32 %115, ptr %17, align 4 %116 = load i32, ptr %15, align 4 %117 = mul nsw i32 %116, 64 %118 = load i32, ptr %11, align 4 %119 = ashr i32 %117, %118 store i32 %119, ptr %18, align 4 %120 = load ptr, ptr %6, align 8 %121 = load i32, ptr %17, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 %124 = load double, ptr %123, align 8 %125 = load ptr, ptr %8, align 8 %126 = load i32, ptr %18, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %7, align 8 %131 = load i32, ptr %17, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 %134 = load double, ptr %133, align 8 %135 = load ptr, ptr %9, align 8 %136 = load i32, ptr %18, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 %139 = load double, ptr %138, align 8 %140 = fmul double %134, %139 %141 = fneg double %140 %142 = call double @llvm.fmuladd.f64(double %124, double %129, double %141) store double %142, ptr %19, align 8 %143 = load ptr, ptr %6, align 8 %144 = load i32, ptr %17, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 %147 = load double, ptr %146, align 8 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %18, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds double, ptr %148, i64 %150 %152 = load double, ptr %151, align 8 %153 = load ptr, ptr %7, align 8 %154 = load i32, ptr %17, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %153, i64 %155 %157 = load double, ptr %156, align 8 %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %18, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 %163 = fmul double %157, %162 %164 = call double @llvm.fmuladd.f64(double %147, double %152, double %163) store double %164, ptr %20, align 8 %165 = load ptr, ptr %6, align 8 %166 = load i32, ptr %16, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %165, i64 %167 %169 = load double, ptr %168, align 8 %170 = load double, ptr %19, align 8 %171 = fsub double %169, %170 %172 = load ptr, ptr %6, align 8 %173 = load i32, ptr %17, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %172, i64 %174 store double %171, ptr %175, align 8 %176 = load ptr, ptr %7, align 8 %177 = load i32, ptr %16, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds double, ptr %176, i64 %178 %180 = load double, ptr %179, align 8 %181 = load double, ptr %20, align 8 %182 = fsub double %180, %181 %183 = load ptr, ptr %7, align 8 %184 = load i32, ptr %17, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds double, ptr %183, i64 %185 store double %182, ptr %186, align 8 %187 = load ptr, ptr %6, align 8 %188 = load i32, ptr %16, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = load double, ptr %19, align 8 %193 = fadd double %191, %192 %194 = load ptr, ptr %6, align 8 %195 = load i32, ptr %16, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %194, i64 %196 store double %193, ptr %197, align 8 %198 = load ptr, ptr %7, align 8 %199 = load i32, ptr %16, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 %202 = load double, ptr %201, align 8 %203 = load double, ptr %20, align 8 %204 = fadd double %202, %203 %205 = load ptr, ptr %7, align 8 %206 = load i32, ptr %16, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds double, ptr %205, i64 %207 store double %204, ptr %208, align 8 br label %209 209: ; preds = %109 %210 = load i32, ptr %15, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %15, align 4 br label %105, !llvm.loop !8 212: ; preds = %105 br label %213 213: ; preds = %212 %214 = load i32, ptr %13, align 4 %215 = load i32, ptr %12, align 4 %216 = add nsw i32 %215, %214 store i32 %216, ptr %12, align 4 br label %99, !llvm.loop !9 217: ; preds = %99 br label %218 218: ; preds = %217 %219 = load i32, ptr %11, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %11, align 4 br label %92, !llvm.loop !10 221: ; preds = %92 ret void } declare i32 @myPow(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpghpxjqs0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %18, align 4 store i32 0, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = icmp slt i32 %21, 64 br i1 %22, label %.lr.ph, label %92 .lr.ph: ; preds = %5 br label %23 23: ; preds = %.lr.ph, %87 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %11, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %86 31: ; preds = %23 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %11, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %32, i64 %34 %36 = load double, ptr %35, align 8 store double %36, ptr %19, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 store double %41, ptr %20, align 8 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %42, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 store double %50, ptr %54, align 8 %55 = load ptr, ptr %7, align 8 %56 = load ptr, ptr %10, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %55, i64 %61 %63 = load double, ptr %62, align 8 %64 = load ptr, ptr %7, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 store double %63, ptr %67, align 8 %68 = load double, ptr %19, align 8 %69 = load ptr, ptr %6, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %11, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %69, i64 %75 store double %68, ptr %76, align 8 %77 = load double, ptr %20, align 8 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %78, i64 %84 store double %77, ptr %85, align 8 br label %86 86: ; preds = %31, %23 br label %87 87: ; preds = %86 %88 = load i32, ptr %11, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = icmp slt i32 %90, 64 br i1 %91, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %92 92: ; preds = %._crit_edge, %5 store i32 1, ptr %11, align 4 %93 = load i32, ptr %11, align 4 %94 = call i32 @myPow(i32 noundef 2, i32 noundef %93) %95 = icmp sle i32 %94, 64 br i1 %95, label %.lr.ph8, label %227 .lr.ph8: ; preds = %92 br label %96 96: ; preds = %.lr.ph8, %221 %97 = load i32, ptr %11, align 4 %98 = call i32 @myPow(i32 noundef 2, i32 noundef %97) store i32 %98, ptr %13, align 4 store i32 0, ptr %12, align 4 %99 = load i32, ptr %12, align 4 %100 = icmp slt i32 %99, 64 br i1 %100, label %.lr.ph5, label %220 .lr.ph5: ; preds = %96 br label %101 101: ; preds = %.lr.ph5, %214 %102 = load i32, ptr %13, align 4 %103 = ashr i32 %102, 1 store i32 %103, ptr %14, align 4 store i32 0, ptr %15, align 4 %104 = load i32, ptr %15, align 4 %105 = load i32, ptr %14, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph2, label %213 .lr.ph2: ; preds = %101 br label %107 107: ; preds = %.lr.ph2, %207 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %15, align 4 %110 = add nsw i32 %108, %109 store i32 %110, ptr %16, align 4 %111 = load i32, ptr %16, align 4 %112 = load i32, ptr %14, align 4 %113 = add nsw i32 %111, %112 store i32 %113, ptr %17, align 4 %114 = load i32, ptr %15, align 4 %115 = mul nsw i32 %114, 64 %116 = load i32, ptr %11, align 4 %117 = ashr i32 %115, %116 store i32 %117, ptr %18, align 4 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %17, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 %122 = load double, ptr %121, align 8 %123 = load ptr, ptr %8, align 8 %124 = load i32, ptr %18, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 %127 = load double, ptr %126, align 8 %128 = load ptr, ptr %7, align 8 %129 = load i32, ptr %17, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %128, i64 %130 %132 = load double, ptr %131, align 8 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %18, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 %137 = load double, ptr %136, align 8 %138 = fmul double %132, %137 %139 = fneg double %138 %140 = call double @llvm.fmuladd.f64(double %122, double %127, double %139) store double %140, ptr %19, align 8 %141 = load ptr, ptr %6, align 8 %142 = load i32, ptr %17, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = load ptr, ptr %9, align 8 %147 = load i32, ptr %18, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %146, i64 %148 %150 = load double, ptr %149, align 8 %151 = load ptr, ptr %7, align 8 %152 = load i32, ptr %17, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 %155 = load double, ptr %154, align 8 %156 = load ptr, ptr %8, align 8 %157 = load i32, ptr %18, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = fmul double %155, %160 %162 = call double @llvm.fmuladd.f64(double %145, double %150, double %161) store double %162, ptr %20, align 8 %163 = load ptr, ptr %6, align 8 %164 = load i32, ptr %16, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %163, i64 %165 %167 = load double, ptr %166, align 8 %168 = load double, ptr %19, align 8 %169 = fsub double %167, %168 %170 = load ptr, ptr %6, align 8 %171 = load i32, ptr %17, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %170, i64 %172 store double %169, ptr %173, align 8 %174 = load ptr, ptr %7, align 8 %175 = load i32, ptr %16, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 %178 = load double, ptr %177, align 8 %179 = load double, ptr %20, align 8 %180 = fsub double %178, %179 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %17, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %181, i64 %183 store double %180, ptr %184, align 8 %185 = load ptr, ptr %6, align 8 %186 = load i32, ptr %16, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %185, i64 %187 %189 = load double, ptr %188, align 8 %190 = load double, ptr %19, align 8 %191 = fadd double %189, %190 %192 = load ptr, ptr %6, align 8 %193 = load i32, ptr %16, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %192, i64 %194 store double %191, ptr %195, align 8 %196 = load ptr, ptr %7, align 8 %197 = load i32, ptr %16, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = load double, ptr %199, align 8 %201 = load double, ptr %20, align 8 %202 = fadd double %200, %201 %203 = load ptr, ptr %7, align 8 %204 = load i32, ptr %16, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds double, ptr %203, i64 %205 store double %202, ptr %206, align 8 br label %207 207: ; preds = %107 %208 = load i32, ptr %15, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %15, align 4 %210 = load i32, ptr %15, align 4 %211 = load i32, ptr %14, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %107, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %207 br label %213 213: ; preds = %._crit_edge3, %101 br label %214 214: ; preds = %213 %215 = load i32, ptr %13, align 4 %216 = load i32, ptr %12, align 4 %217 = add nsw i32 %216, %215 store i32 %217, ptr %12, align 4 %218 = load i32, ptr %12, align 4 %219 = icmp slt i32 %218, 64 br i1 %219, label %101, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %214 br label %220 220: ; preds = %._crit_edge6, %96 br label %221 221: ; preds = %220 %222 = load i32, ptr %11, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %11, align 4 %224 = load i32, ptr %11, align 4 %225 = call i32 @myPow(i32 noundef 2, i32 noundef %224) %226 = icmp sle i32 %225, 64 br i1 %226, label %96, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %221 br label %227 227: ; preds = %._crit_edge9, %92 ret void } declare i32 @myPow(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpyu8o3zki.c' source_filename = "/tmp/tmpyu8o3zki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serd_allocate_buffer(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @serd_malloc_aligned(i32 noundef 4096, i64 noundef %3) ret ptr %4 } declare ptr @serd_malloc_aligned(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyu8o3zki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serd_allocate_buffer(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @serd_malloc_aligned(i32 noundef 4096, i64 noundef %3) ret ptr %4 } declare ptr @serd_malloc_aligned(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkdpfbuzu.c' source_filename = "/tmp/tmpkdpfbuzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @destroy(ptr noundef %6) br label %8 8: ; preds = %5, %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @destroy(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkdpfbuzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @destroy(ptr noundef %6) br label %8 8: ; preds = %5, %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @destroy(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmfg7gnxs.c' source_filename = "/tmp/tmpmfg7gnxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @so3CombineCoef(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %29 = load ptr, ptr %17, align 8 %30 = load i32, ptr %11, align 4 %31 = call i32 @totalCoeffs_so3(i32 noundef %30) %32 = sext i32 %31 to i64 %33 = mul i64 8, %32 %34 = trunc i64 %33 to i32 %35 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %18, align 8 %37 = load i32, ptr %11, align 4 %38 = call i32 @totalCoeffs_so3(i32 noundef %37) %39 = sext i32 %38 to i64 %40 = mul i64 8, %39 %41 = trunc i64 %40 to i32 %42 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %41) store i32 0, ptr %19, align 4 br label %43 43: ; preds = %155, %9 %44 = load i32, ptr %19, align 4 %45 = load i32, ptr %12, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %47, label %158 47: ; preds = %43 %48 = load i32, ptr %19, align 4 %49 = sitofp i32 %48 to double %50 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %49, double 1.000000e+00) %51 = fdiv double 2.000000e+00, %50 %52 = fptosi double %51 to i32 %53 = call i32 @sqrt(i32 noundef %52) %54 = sitofp i32 %53 to double %55 = fmul double 0x401921FB54442D18, %54 store double %55, ptr %28, align 8 %56 = load i32, ptr %19, align 4 %57 = sub nsw i32 0, %56 store i32 %57, ptr %20, align 4 br label %58 58: ; preds = %151, %47 %59 = load i32, ptr %20, align 4 %60 = load i32, ptr %19, align 4 %61 = icmp sle i32 %59, %60 br i1 %61, label %62, label %154 62: ; preds = %58 %63 = load i32, ptr %20, align 4 %64 = sub nsw i32 0, %63 %65 = load i32, ptr %19, align 4 %66 = load i32, ptr %10, align 4 %67 = call i32 @seanindex(i32 noundef %64, i32 noundef %65, i32 noundef %66) store i32 %67, ptr %23, align 4 %68 = load ptr, ptr %13, align 8 %69 = load i32, ptr %23, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 %72 = load double, ptr %71, align 8 store double %72, ptr %24, align 8 %73 = load ptr, ptr %14, align 8 %74 = load i32, ptr %23, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 store double %77, ptr %25, align 8 %78 = load i32, ptr %20, align 4 %79 = load i32, ptr %19, align 4 %80 = add nsw i32 %78, %79 %81 = srem i32 %80, 2 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %84 83: ; preds = %62 store i32 -1, ptr %22, align 4 br label %85 84: ; preds = %62 store i32 1, ptr %22, align 4 br label %85 85: ; preds = %84, %83 %86 = load i32, ptr %19, align 4 %87 = sub nsw i32 0, %86 store i32 %87, ptr %21, align 4 br label %88 88: ; preds = %147, %85 %89 = load i32, ptr %21, align 4 %90 = load i32, ptr %19, align 4 %91 = icmp sle i32 %89, %90 br i1 %91, label %92, label %150 92: ; preds = %88 %93 = load i32, ptr %21, align 4 %94 = sub nsw i32 0, %93 %95 = load i32, ptr %19, align 4 %96 = load i32, ptr %10, align 4 %97 = call i32 @seanindex(i32 noundef %94, i32 noundef %95, i32 noundef %96) store i32 %97, ptr %23, align 4 %98 = load i32, ptr %22, align 4 %99 = sitofp i32 %98 to double %100 = load ptr, ptr %15, align 8 %101 = load i32, ptr %23, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %100, i64 %102 %104 = load double, ptr %103, align 8 %105 = fmul double %99, %104 store double %105, ptr %26, align 8 %106 = load i32, ptr %22, align 4 %107 = sitofp i32 %106 to double %108 = load ptr, ptr %16, align 8 %109 = load i32, ptr %23, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 %113 = fneg double %112 %114 = fmul double %107, %113 store double %114, ptr %27, align 8 %115 = load i32, ptr %20, align 4 %116 = load i32, ptr %21, align 4 %117 = load i32, ptr %19, align 4 %118 = load i32, ptr %11, align 4 %119 = call i32 @so3CoefLoc(i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118) store i32 %119, ptr %23, align 4 %120 = load double, ptr %28, align 8 %121 = load double, ptr %24, align 8 %122 = load double, ptr %26, align 8 %123 = load double, ptr %25, align 8 %124 = load double, ptr %27, align 8 %125 = fmul double %123, %124 %126 = fneg double %125 %127 = call double @llvm.fmuladd.f64(double %121, double %122, double %126) %128 = fmul double %120, %127 %129 = load ptr, ptr %17, align 8 %130 = load i32, ptr %23, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 store double %128, ptr %132, align 8 %133 = load double, ptr %28, align 8 %134 = load double, ptr %24, align 8 %135 = load double, ptr %27, align 8 %136 = load double, ptr %25, align 8 %137 = load double, ptr %26, align 8 %138 = fmul double %136, %137 %139 = call double @llvm.fmuladd.f64(double %134, double %135, double %138) %140 = fmul double %133, %139 %141 = load ptr, ptr %18, align 8 %142 = load i32, ptr %23, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 store double %140, ptr %144, align 8 %145 = load i32, ptr %22, align 4 %146 = mul nsw i32 %145, -1 store i32 %146, ptr %22, align 4 br label %147 147: ; preds = %92 %148 = load i32, ptr %21, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %21, align 4 br label %88, !llvm.loop !6 150: ; preds = %88 br label %151 151: ; preds = %150 %152 = load i32, ptr %20, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %20, align 4 br label %58, !llvm.loop !8 154: ; preds = %58 br label %155 155: ; preds = %154 %156 = load i32, ptr %19, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %19, align 4 br label %43, !llvm.loop !9 158: ; preds = %43 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @totalCoeffs_so3(i32 noundef) #1 declare i32 @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @seanindex(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @so3CoefLoc(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" } 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/tmpmfg7gnxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @so3CombineCoef(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %29 = load ptr, ptr %17, align 8 %30 = load i32, ptr %11, align 4 %31 = call i32 @totalCoeffs_so3(i32 noundef %30) %32 = sext i32 %31 to i64 %33 = mul i64 8, %32 %34 = trunc i64 %33 to i32 %35 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %18, align 8 %37 = load i32, ptr %11, align 4 %38 = call i32 @totalCoeffs_so3(i32 noundef %37) %39 = sext i32 %38 to i64 %40 = mul i64 8, %39 %41 = trunc i64 %40 to i32 %42 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %41) store i32 0, ptr %19, align 4 %43 = load i32, ptr %19, align 4 %44 = load i32, ptr %12, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %.lr.ph5, label %164 .lr.ph5: ; preds = %9 br label %46 46: ; preds = %.lr.ph5, %158 %47 = load i32, ptr %19, align 4 %48 = sitofp i32 %47 to double %49 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %48, double 1.000000e+00) %50 = fdiv double 2.000000e+00, %49 %51 = fptosi double %50 to i32 %52 = call i32 @sqrt(i32 noundef %51) %53 = sitofp i32 %52 to double %54 = fmul double 0x401921FB54442D18, %53 store double %54, ptr %28, align 8 %55 = load i32, ptr %19, align 4 %56 = sub nsw i32 0, %55 store i32 %56, ptr %20, align 4 %57 = load i32, ptr %20, align 4 %58 = load i32, ptr %19, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %.lr.ph2, label %157 .lr.ph2: ; preds = %46 br label %60 60: ; preds = %.lr.ph2, %151 %61 = load i32, ptr %20, align 4 %62 = sub nsw i32 0, %61 %63 = load i32, ptr %19, align 4 %64 = load i32, ptr %10, align 4 %65 = call i32 @seanindex(i32 noundef %62, i32 noundef %63, i32 noundef %64) store i32 %65, ptr %23, align 4 %66 = load ptr, ptr %13, align 8 %67 = load i32, ptr %23, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 %70 = load double, ptr %69, align 8 store double %70, ptr %24, align 8 %71 = load ptr, ptr %14, align 8 %72 = load i32, ptr %23, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 %75 = load double, ptr %74, align 8 store double %75, ptr %25, align 8 %76 = load i32, ptr %20, align 4 %77 = load i32, ptr %19, align 4 %78 = add nsw i32 %76, %77 %79 = srem i32 %78, 2 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %60 store i32 -1, ptr %22, align 4 br label %83 82: ; preds = %60 store i32 1, ptr %22, align 4 br label %83 83: ; preds = %82, %81 %84 = load i32, ptr %19, align 4 %85 = sub nsw i32 0, %84 store i32 %85, ptr %21, align 4 %86 = load i32, ptr %21, align 4 %87 = load i32, ptr %19, align 4 %88 = icmp sle i32 %86, %87 br i1 %88, label %.lr.ph, label %150 .lr.ph: ; preds = %83 br label %89 89: ; preds = %.lr.ph, %144 %90 = load i32, ptr %21, align 4 %91 = sub nsw i32 0, %90 %92 = load i32, ptr %19, align 4 %93 = load i32, ptr %10, align 4 %94 = call i32 @seanindex(i32 noundef %91, i32 noundef %92, i32 noundef %93) store i32 %94, ptr %23, align 4 %95 = load i32, ptr %22, align 4 %96 = sitofp i32 %95 to double %97 = load ptr, ptr %15, align 8 %98 = load i32, ptr %23, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = fmul double %96, %101 store double %102, ptr %26, align 8 %103 = load i32, ptr %22, align 4 %104 = sitofp i32 %103 to double %105 = load ptr, ptr %16, align 8 %106 = load i32, ptr %23, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 %109 = load double, ptr %108, align 8 %110 = fneg double %109 %111 = fmul double %104, %110 store double %111, ptr %27, align 8 %112 = load i32, ptr %20, align 4 %113 = load i32, ptr %21, align 4 %114 = load i32, ptr %19, align 4 %115 = load i32, ptr %11, align 4 %116 = call i32 @so3CoefLoc(i32 noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115) store i32 %116, ptr %23, align 4 %117 = load double, ptr %28, align 8 %118 = load double, ptr %24, align 8 %119 = load double, ptr %26, align 8 %120 = load double, ptr %25, align 8 %121 = load double, ptr %27, align 8 %122 = fmul double %120, %121 %123 = fneg double %122 %124 = call double @llvm.fmuladd.f64(double %118, double %119, double %123) %125 = fmul double %117, %124 %126 = load ptr, ptr %17, align 8 %127 = load i32, ptr %23, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 store double %125, ptr %129, align 8 %130 = load double, ptr %28, align 8 %131 = load double, ptr %24, align 8 %132 = load double, ptr %27, align 8 %133 = load double, ptr %25, align 8 %134 = load double, ptr %26, align 8 %135 = fmul double %133, %134 %136 = call double @llvm.fmuladd.f64(double %131, double %132, double %135) %137 = fmul double %130, %136 %138 = load ptr, ptr %18, align 8 %139 = load i32, ptr %23, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %138, i64 %140 store double %137, ptr %141, align 8 %142 = load i32, ptr %22, align 4 %143 = mul nsw i32 %142, -1 store i32 %143, ptr %22, align 4 br label %144 144: ; preds = %89 %145 = load i32, ptr %21, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %21, align 4 %147 = load i32, ptr %21, align 4 %148 = load i32, ptr %19, align 4 %149 = icmp sle i32 %147, %148 br i1 %149, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %144 br label %150 150: ; preds = %._crit_edge, %83 br label %151 151: ; preds = %150 %152 = load i32, ptr %20, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %20, align 4 %154 = load i32, ptr %20, align 4 %155 = load i32, ptr %19, align 4 %156 = icmp sle i32 %154, %155 br i1 %156, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %151 br label %157 157: ; preds = %._crit_edge3, %46 br label %158 158: ; preds = %157 %159 = load i32, ptr %19, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %19, align 4 %161 = load i32, ptr %19, align 4 %162 = load i32, ptr %12, align 4 %163 = icmp sle i32 %161, %162 br i1 %163, label %46, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %158 br label %164 164: ; preds = %._crit_edge6, %9 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @totalCoeffs_so3(i32 noundef) #1 declare i32 @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @seanindex(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @so3CoefLoc(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" } 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/tmp49khmxn_.c' source_filename = "/tmp/tmp49khmxn_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"hf:w:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global float 0.000000e+00, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Option -%c requires a filename.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_cmd_line_args(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr @opterr, align 8 br label %10 10: ; preds = %42, %3 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %9, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %43 15: ; preds = %10 %16 = load i32, ptr %9, align 4 switch i32 %16, label %42 [ i32 104, label %17 i32 102, label %18 i32 63, label %21 ] 17: ; preds = %15 store i32 1, ptr %8, align 4 br label %42 18: ; preds = %15 %19 = load ptr, ptr @optarg, align 8 %20 = load ptr, ptr %7, align 8 store ptr %19, ptr %20, align 8 br label %42 21: ; preds = %15 %22 = load float, ptr @optopt, align 4 %23 = fcmp oeq float %22, 1.020000e+02 br i1 %23, label %24, label %28 24: ; preds = %21 %25 = load i32, ptr @stderr, align 4 %26 = load float, ptr @optopt, align 4 %27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.1, float noundef %26) br label %41 28: ; preds = %21 %29 = load float, ptr @optopt, align 4 %30 = call i32 @isprint(float noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i32, ptr @stderr, align 4 %34 = load float, ptr @optopt, align 4 %35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2, float noundef %34) br label %40 36: ; preds = %28 %37 = load i32, ptr @stderr, align 4 %38 = load float, ptr @optopt, align 4 %39 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.3, float noundef %38) br label %40 40: ; preds = %36, %32 br label %41 41: ; preds = %40, %24 store i32 1, ptr %4, align 4 br label %49 42: ; preds = %15, %18, %17 br label %10, !llvm.loop !6 43: ; preds = %10 %44 = load i32, ptr %8, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = call i32 (...) @show_usage() store i32 1, ptr %4, align 4 br label %49 48: ; preds = %43 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %48, %46, %41 %50 = load i32, ptr %4, align 4 ret i32 %50 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #1 declare i32 @isprint(float noundef) #1 declare i32 @show_usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp49khmxn_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"hf:w:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global float 0.000000e+00, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Option -%c requires a filename.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_cmd_line_args(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr @opterr, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %9, align 4 %13 = icmp ne i32 %12, -1 br i1 %13, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %41 %15 = load i32, ptr %9, align 4 switch i32 %15, label %41 [ i32 104, label %16 i32 102, label %17 i32 63, label %20 ] 16: ; preds = %14 store i32 1, ptr %8, align 4 br label %41 17: ; preds = %14 %18 = load ptr, ptr @optarg, align 8 %19 = load ptr, ptr %7, align 8 store ptr %18, ptr %19, align 8 br label %41 20: ; preds = %14 %21 = load float, ptr @optopt, align 4 %22 = fcmp oeq float %21, 1.020000e+02 br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = load float, ptr @optopt, align 4 %26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.1, float noundef %25) br label %40 27: ; preds = %20 %28 = load float, ptr @optopt, align 4 %29 = call i32 @isprint(float noundef %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr @stderr, align 4 %33 = load float, ptr @optopt, align 4 %34 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.2, float noundef %33) br label %39 35: ; preds = %27 %36 = load i32, ptr @stderr, align 4 %37 = load float, ptr @optopt, align 4 %38 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.3, float noundef %37) br label %39 39: ; preds = %35, %31 br label %40 40: ; preds = %39, %23 store i32 1, ptr %4, align 4 br label %52 41: ; preds = %17, %16, %14 %42 = load i32, ptr %5, align 4 %43 = load ptr, ptr %6, align 8 %44 = call i32 @getopt(i32 noundef %42, ptr noundef %43, ptr noundef @.str) store i32 %44, ptr %9, align 4 %45 = icmp ne i32 %44, -1 br i1 %45, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %3 %47 = load i32, ptr %8, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (...) @show_usage() store i32 1, ptr %4, align 4 br label %52 51: ; preds = %46 store i32 0, ptr %4, align 4 br label %52 52: ; preds = %51, %49, %40 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #1 declare i32 @isprint(float noundef) #1 declare i32 @show_usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1oy2c0go.c' source_filename = "/tmp/tmp1oy2c0go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_LEN_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @prn_printable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) store i32 0, ptr %6, align 4 br label %9 9: ; preds = %58, %35, %17, %1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr @MB_LEN_MAX, align 4 %12 = call i64 @mbrtowc(ptr noundef %4, ptr noundef %10, i32 noundef %11, ptr noundef %3) store i64 %12, ptr %7, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %68 14: ; preds = %9 %15 = load i64, ptr %7, align 8 %16 = icmp eq i64 %15, -1 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = call i32 @putchar(i8 noundef zeroext 63) %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %2, align 8 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) br label %9, !llvm.loop !6 24: ; preds = %14 %25 = load i64, ptr %7, align 8 %26 = icmp eq i64 %25, -2 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = call i32 @putchar(i8 noundef zeroext 63) %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %68 31: ; preds = %24 %32 = load i32, ptr %4, align 4 %33 = call i32 @iswprint(i32 noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %31 %36 = call i32 @putchar(i8 noundef zeroext 63) %37 = load i64, ptr %7, align 8 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 %37 store ptr %39, ptr %2, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %9, !llvm.loop !6 42: ; preds = %31 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %55, %42 %44 = load i32, ptr %5, align 4 %45 = load i64, ptr %7, align 8 %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %44, %46 br i1 %47, label %48, label %58 48: ; preds = %43 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i32 @putchar(i8 noundef zeroext %53) br label %55 55: ; preds = %48 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 br label %43, !llvm.loop !8 58: ; preds = %43 %59 = load i64, ptr %7, align 8 %60 = load ptr, ptr %2, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 %59 store ptr %61, ptr %2, align 8 %62 = load i32, ptr %4, align 4 %63 = call i64 @wcwidth(i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = add nsw i64 %65, %63 %67 = trunc i64 %66 to i32 store i32 %67, ptr %6, align 4 br label %9, !llvm.loop !6 68: ; preds = %27, %9 %69 = load i32, ptr %6, align 4 ret i32 %69 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @mbrtowc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef zeroext) #1 declare i32 @iswprint(i32 noundef) #1 declare i64 @wcwidth(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/tmp1oy2c0go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_LEN_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @prn_printable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) store i32 0, ptr %6, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr @MB_LEN_MAX, align 4 %11 = call i64 @mbrtowc(ptr noundef %4, ptr noundef %9, i32 noundef %10, ptr noundef %3) store i64 %11, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %1 br label %13 13: ; preds = %.lr.ph2, %.backedge %14 = load i64, ptr %7, align 8 %15 = icmp eq i64 %14, -1 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = call i32 @putchar(i8 noundef zeroext 63) %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %2, align 8 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) br label %.backedge .backedge: ; preds = %16, %38, %64 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr @MB_LEN_MAX, align 4 %25 = call i64 @mbrtowc(ptr noundef %4, ptr noundef %23, i32 noundef %24, ptr noundef %3) store i64 %25, ptr %7, align 8 %26 = icmp ne i64 %25, 0 br i1 %26, label %13, label %..loopexit_crit_edge, !llvm.loop !6 27: ; preds = %13 %28 = load i64, ptr %7, align 8 %29 = icmp eq i64 %28, -2 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = call i32 @putchar(i8 noundef zeroext 63) %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %74 34: ; preds = %27 %35 = load i32, ptr %4, align 4 %36 = call i32 @iswprint(i32 noundef %35) %37 = icmp ne i32 %36, 0 br i1 %37, label %45, label %38 38: ; preds = %34 %39 = call i32 @putchar(i8 noundef zeroext 63) %40 = load i64, ptr %7, align 8 %41 = load ptr, ptr %2, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 %40 store ptr %42, ptr %2, align 8 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %.backedge 45: ; preds = %34 store i32 0, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i64, ptr %7, align 8 %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %46, %48 br i1 %49, label %.lr.ph, label %64 .lr.ph: ; preds = %45 br label %50 50: ; preds = %.lr.ph, %57 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call i32 @putchar(i8 noundef zeroext %55) br label %57 57: ; preds = %50 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i64, ptr %7, align 8 %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %60, %62 br i1 %63, label %50, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %45 %65 = load i64, ptr %7, align 8 %66 = load ptr, ptr %2, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 %65 store ptr %67, ptr %2, align 8 %68 = load i32, ptr %4, align 4 %69 = call i64 @wcwidth(i32 noundef %68) %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = add nsw i64 %71, %69 %73 = trunc i64 %72 to i32 store i32 %73, ptr %6, align 4 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %74 74: ; preds = %.loopexit, %30 %75 = load i32, ptr %6, align 4 ret i32 %75 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @mbrtowc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef zeroext) #1 declare i32 @iswprint(i32 noundef) #1 declare i64 @wcwidth(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/tmps_ttkuqf.c' source_filename = "/tmp/tmps_ttkuqf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter M & N: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = 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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x [100 x i32]], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i32 0, ptr %4, align 4 br label %9 9: ; preds = %30, %0 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %33 13: ; preds = %9 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %26, %13 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %20 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i32], ptr %21, i64 0, i64 %23 %25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %24) br label %26 26: ; preds = %18 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %14, !llvm.loop !6 29: ; preds = %14 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 br label %9, !llvm.loop !8 33: ; preds = %9 %34 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 0 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = call i32 @minCost(ptr noundef %34, i32 noundef %35, i32 noundef %36) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @minCost(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_ttkuqf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter M & N: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = 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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x [100 x i32]], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i32 0, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %37 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %31 store i32 0, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %30 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %24 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %18 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [100 x i32], ptr %19, i64 0, i64 %21 %23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %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 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %37 37: ; preds = %._crit_edge3, %0 %38 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 0 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %3, align 4 %41 = call i32 @minCost(ptr noundef %38, i32 noundef %39, i32 noundef %40) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @minCost(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx8a3i2jb.c' source_filename = "/tmp/tmpx8a3i2jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_encode(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 -1, ptr %4, align 4 br label %101 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 128 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 store i8 %16, ptr %18, align 1 %19 = load ptr, ptr %7, align 8 store i64 1, ptr %19, align 8 br label %99 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 2048 br i1 %22, label %23, label %38 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = and i32 %24, 1984 %26 = ashr i32 %25, 6 %27 = add nsw i32 192, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 store i8 %28, ptr %30, align 1 %31 = load i32, ptr %5, align 4 %32 = and i32 %31, 63 %33 = add nsw i32 128, %32 %34 = trunc i32 %33 to i8 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 store i8 %34, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 store i64 2, ptr %37, align 8 br label %98 38: ; preds = %20 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %39, 65536 br i1 %40, label %41, label %63 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = and i32 %42, 61440 %44 = ashr i32 %43, 12 %45 = add nsw i32 224, %44 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 0 store i8 %46, ptr %48, align 1 %49 = load i32, ptr %5, align 4 %50 = and i32 %49, 4032 %51 = ashr i32 %50, 6 %52 = add nsw i32 128, %51 %53 = trunc i32 %52 to i8 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 store i8 %53, ptr %55, align 1 %56 = load i32, ptr %5, align 4 %57 = and i32 %56, 63 %58 = add nsw i32 128, %57 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 2 store i8 %59, ptr %61, align 1 %62 = load ptr, ptr %7, align 8 store i64 3, ptr %62, align 8 br label %97 63: ; preds = %38 %64 = load i32, ptr %5, align 4 %65 = icmp sle i32 %64, 1114111 br i1 %65, label %66, label %95 66: ; preds = %63 %67 = load i32, ptr %5, align 4 %68 = and i32 %67, 1835008 %69 = ashr i32 %68, 18 %70 = add nsw i32 240, %69 %71 = trunc i32 %70 to i8 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 0 store i8 %71, ptr %73, align 1 %74 = load i32, ptr %5, align 4 %75 = and i32 %74, 258048 %76 = ashr i32 %75, 12 %77 = add nsw i32 128, %76 %78 = trunc i32 %77 to i8 %79 = load ptr, ptr %6, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 1 store i8 %78, ptr %80, align 1 %81 = load i32, ptr %5, align 4 %82 = and i32 %81, 4032 %83 = ashr i32 %82, 6 %84 = add nsw i32 128, %83 %85 = trunc i32 %84 to i8 %86 = load ptr, ptr %6, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 2 store i8 %85, ptr %87, align 1 %88 = load i32, ptr %5, align 4 %89 = and i32 %88, 63 %90 = add nsw i32 128, %89 %91 = trunc i32 %90 to i8 %92 = load ptr, ptr %6, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 3 store i8 %91, ptr %93, align 1 %94 = load ptr, ptr %7, align 8 store i64 4, ptr %94, align 8 br label %96 95: ; preds = %63 store i32 -1, ptr %4, align 4 br label %101 96: ; preds = %66 br label %97 97: ; preds = %96, %41 br label %98 98: ; preds = %97, %23 br label %99 99: ; preds = %98, %14 br label %100 100: ; preds = %99 store i32 0, ptr %4, align 4 br label %101 101: ; preds = %100, %95, %10 %102 = load i32, ptr %4, align 4 ret i32 %102 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx8a3i2jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_encode(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 -1, ptr %4, align 4 br label %101 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 128 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 store i8 %16, ptr %18, align 1 %19 = load ptr, ptr %7, align 8 store i64 1, ptr %19, align 8 br label %99 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 2048 br i1 %22, label %23, label %38 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = and i32 %24, 1984 %26 = ashr i32 %25, 6 %27 = add nsw i32 192, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 store i8 %28, ptr %30, align 1 %31 = load i32, ptr %5, align 4 %32 = and i32 %31, 63 %33 = add nsw i32 128, %32 %34 = trunc i32 %33 to i8 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 store i8 %34, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 store i64 2, ptr %37, align 8 br label %98 38: ; preds = %20 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %39, 65536 br i1 %40, label %41, label %63 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = and i32 %42, 61440 %44 = ashr i32 %43, 12 %45 = add nsw i32 224, %44 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 0 store i8 %46, ptr %48, align 1 %49 = load i32, ptr %5, align 4 %50 = and i32 %49, 4032 %51 = ashr i32 %50, 6 %52 = add nsw i32 128, %51 %53 = trunc i32 %52 to i8 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 store i8 %53, ptr %55, align 1 %56 = load i32, ptr %5, align 4 %57 = and i32 %56, 63 %58 = add nsw i32 128, %57 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 2 store i8 %59, ptr %61, align 1 %62 = load ptr, ptr %7, align 8 store i64 3, ptr %62, align 8 br label %97 63: ; preds = %38 %64 = load i32, ptr %5, align 4 %65 = icmp sle i32 %64, 1114111 br i1 %65, label %66, label %95 66: ; preds = %63 %67 = load i32, ptr %5, align 4 %68 = and i32 %67, 1835008 %69 = ashr i32 %68, 18 %70 = add nsw i32 240, %69 %71 = trunc i32 %70 to i8 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 0 store i8 %71, ptr %73, align 1 %74 = load i32, ptr %5, align 4 %75 = and i32 %74, 258048 %76 = ashr i32 %75, 12 %77 = add nsw i32 128, %76 %78 = trunc i32 %77 to i8 %79 = load ptr, ptr %6, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 1 store i8 %78, ptr %80, align 1 %81 = load i32, ptr %5, align 4 %82 = and i32 %81, 4032 %83 = ashr i32 %82, 6 %84 = add nsw i32 128, %83 %85 = trunc i32 %84 to i8 %86 = load ptr, ptr %6, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 2 store i8 %85, ptr %87, align 1 %88 = load i32, ptr %5, align 4 %89 = and i32 %88, 63 %90 = add nsw i32 128, %89 %91 = trunc i32 %90 to i8 %92 = load ptr, ptr %6, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 3 store i8 %91, ptr %93, align 1 %94 = load ptr, ptr %7, align 8 store i64 4, ptr %94, align 8 br label %96 95: ; preds = %63 store i32 -1, ptr %4, align 4 br label %101 96: ; preds = %66 br label %97 97: ; preds = %96, %41 br label %98 98: ; preds = %97, %23 br label %99 99: ; preds = %98, %14 br label %100 100: ; preds = %99 store i32 0, ptr %4, align 4 br label %101 101: ; preds = %100, %95, %10 %102 = load i32, ptr %4, align 4 ret i32 %102 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptil3eqte.c' source_filename = "/tmp/tmptil3eqte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %24, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 1, %15 store i32 %16, ptr %6, align 4 br label %21 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %17, %14 %22 = load i32, ptr %6, align 4 %23 = call i32 @bar(i32 noundef %22) br label %24 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = add i32 %25, 1 store i32 %26, ptr %5, align 4 br label %7, !llvm.loop !6 27: ; preds = %7 ret void } declare i32 @bar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptil3eqte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %23 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 1, %14 store i32 %15, ptr %6, align 4 br label %20 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %6, align 4 br label %20 20: ; preds = %16, %13 %21 = load i32, ptr %6, align 4 %22 = call i32 @bar(i32 noundef %21) br label %23 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp ult i32 %26, %27 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 ret void } declare i32 @bar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0rttohk6.c' source_filename = "/tmp/tmp0rttohk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Help presently unavailable on unix.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0rttohk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Help presently unavailable on unix.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_kr50m7u.c' source_filename = "/tmp/tmp_kr50m7u.c" target datalayout = "e-m:e-p270: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_kr50m7u.c" target datalayout = "e-m:e-p270: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/tmpggj72l00.c' source_filename = "/tmp/tmpggj72l00.c" target datalayout = "e-m:e-p270: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/tmpggj72l00.c" target datalayout = "e-m:e-p270: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/tmp0rrq7z8h.c' source_filename = "/tmp/tmp0rrq7z8h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexdump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [17 x i8], align 16 %9 = 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 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %3 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %78, %16 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %81 21: ; preds = %17 %22 = load i32, ptr %7, align 4 %23 = srem i32 %22, 16 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %7, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %34 34: ; preds = %31, %21 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40) %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = icmp slt i32 %47, 32 br i1 %48, label %57, label %49 49: ; preds = %34 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = icmp sgt i32 %55, 126 br i1 %56, label %57, label %62 57: ; preds = %49, %34 %58 = load i32, ptr %7, align 4 %59 = srem i32 %58, 16 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %60 store i8 46, ptr %61, align 1 br label %72 62: ; preds = %49 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = load i32, ptr %7, align 4 %69 = srem i32 %68, 16 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %70 store i8 %67, ptr %71, align 1 br label %72 72: ; preds = %62, %57 %73 = load i32, ptr %7, align 4 %74 = srem i32 %73, 16 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %72 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 br label %17, !llvm.loop !6 81: ; preds = %17 br label %82 82: ; preds = %86, %81 %83 = load i32, ptr %7, align 4 %84 = srem i32 %83, 16 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %90 86: ; preds = %82 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %7, align 4 br label %82, !llvm.loop !8 90: ; preds = %82 %91 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %91) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0rrq7z8h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexdump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [17 x i8], align 16 %9 = 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 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %3 store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %83 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %77 %21 = load i32, ptr %7, align 4 %22 = srem i32 %21, 16 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %7, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) br label %33 33: ; preds = %30, %20 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39) %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = icmp slt i32 %46, 32 br i1 %47, label %56, label %48 48: ; preds = %33 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = icmp sgt i32 %54, 126 br i1 %55, label %56, label %61 56: ; preds = %48, %33 %57 = load i32, ptr %7, align 4 %58 = srem i32 %57, 16 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %59 store i8 46, ptr %60, align 1 br label %71 61: ; preds = %48 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = load i32, ptr %7, align 4 %68 = srem i32 %67, 16 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %69 store i8 %66, ptr %70, align 1 br label %71 71: ; preds = %61, %56 %72 = load i32, ptr %7, align 4 %73 = srem i32 %72, 16 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %71 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %83 83: ; preds = %._crit_edge, %16 %84 = load i32, ptr %7, align 4 %85 = srem i32 %84, 16 %86 = icmp ne i32 %85, 0 br i1 %86, label %.lr.ph2, label %94 .lr.ph2: ; preds = %83 br label %87 87: ; preds = %.lr.ph2, %87 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = load i32, ptr %7, align 4 %92 = srem i32 %91, 16 %93 = icmp ne i32 %92, 0 br i1 %93, label %87, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %94 94: ; preds = %._crit_edge3, %83 %95 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %95) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfs1lhbbu.c' source_filename = "/tmp/tmpfs1lhbbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_digest(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 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @sha256_write_digest(ptr noundef %7, i32 noundef 32, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @sha256_init(ptr noundef %10) ret void } declare i32 @sha256_write_digest(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sha256_init(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/tmpfs1lhbbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_digest(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 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @sha256_write_digest(ptr noundef %7, i32 noundef 32, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @sha256_init(ptr noundef %10) ret void } declare i32 @sha256_write_digest(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sha256_init(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/tmpnnvloga1.c' source_filename = "/tmp/tmpnnvloga1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R0_Wakeup() #0 { %1 = call i32 (...) @R0_RestoreConfig() ret void } declare i32 @R0_RestoreConfig(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnvloga1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R0_Wakeup() #0 { %1 = call i32 (...) @R0_RestoreConfig() ret void } declare i32 @R0_RestoreConfig(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuy5phvix.c' source_filename = "/tmp/tmpuy5phvix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %5, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %30, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %33 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr %4, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %28 26: ; preds = %16 %27 = load i32, ptr %9, align 4 store i32 %27, ptr %6, align 4 br label %33 28: ; preds = %16 store i32 -1, ptr %6, align 4 br label %29 29: ; preds = %28 br label %30 30: ; preds = %29 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %12, !llvm.loop !6 33: ; preds = %26, %12 %34 = load i32, ptr %6, align 4 %35 = trunc i32 %34 to i8 store i8 %35, ptr %7, align 1 store ptr %7, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 ret ptr %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/tmpuy5phvix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %5, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %29 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %4, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = load i32, ptr %9, align 4 store i32 %26, ptr %6, align 4 br label %35 27: ; preds = %15 store i32 -1, ptr %6, align 4 br label %28 28: ; preds = %27 br label %29 29: ; preds = %28 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %29 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %35 35: ; preds = %.loopexit, %25 %36 = load i32, ptr %6, align 4 %37 = trunc i32 %36 to i8 store i8 %37, ptr %7, align 1 store ptr %7, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 ret ptr %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/tmpm0b1x043.c' source_filename = "/tmp/tmpm0b1x043.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_spacefactor(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = sitofp i32 %9 to double %11 = call double @pow(double noundef 2.000000e+00, double noundef %10) #2 %12 = fsub double %11, 1.000000e+00 ret double %12 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm0b1x043.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_spacefactor(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = sitofp i32 %9 to double %11 = call double @pow(double noundef 2.000000e+00, double noundef %10) #2 %12 = fsub double %11, 1.000000e+00 ret double %12 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv0hs6s2q.c' source_filename = "/tmp/tmpv0hs6s2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AnalyticPS(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 store float %0, ptr %9, align 4 store float %1, ptr %10, align 4 store float %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store float %7, ptr %16, align 4 %20 = load float, ptr %10, align 4 %21 = load float, ptr %12, align 4 %22 = load float, ptr %14, align 4 %23 = fsub float %21, %22 %24 = load float, ptr %11, align 4 %25 = load float, ptr %13, align 4 %26 = load float, ptr %15, align 4 %27 = fsub float %25, %26 %28 = fmul float %24, %27 %29 = call float @llvm.fmuladd.f32(float %20, float %23, float %28) store float %29, ptr %18, align 4 %30 = load float, ptr %12, align 4 %31 = load float, ptr %14, align 4 %32 = fsub float %30, %31 %33 = load float, ptr %12, align 4 %34 = load float, ptr %14, align 4 %35 = fsub float %33, %34 %36 = load float, ptr %13, align 4 %37 = load float, ptr %15, align 4 %38 = fsub float %36, %37 %39 = load float, ptr %13, align 4 %40 = load float, ptr %15, align 4 %41 = fsub float %39, %40 %42 = fmul float %38, %41 %43 = call float @llvm.fmuladd.f32(float %32, float %35, float %42) store float %43, ptr %17, align 4 %44 = load float, ptr %9, align 4 %45 = load float, ptr %9, align 4 %46 = load float, ptr %10, align 4 %47 = load float, ptr %10, align 4 %48 = load float, ptr %11, align 4 %49 = load float, ptr %11, align 4 %50 = fmul float %48, %49 %51 = call float @llvm.fmuladd.f32(float %46, float %47, float %50) %52 = fneg float %51 %53 = call float @llvm.fmuladd.f32(float %44, float %45, float %52) store float %53, ptr %19, align 4 %54 = load float, ptr %16, align 4 %55 = load float, ptr %17, align 4 %56 = load float, ptr %18, align 4 %57 = load float, ptr %19, align 4 %58 = load float, ptr %17, align 4 %59 = load float, ptr %18, align 4 %60 = load float, ptr %18, align 4 %61 = fmul float %59, %60 %62 = call float @llvm.fmuladd.f32(float %57, float %58, float %61) %63 = call float @sqrt(float noundef %62) %64 = fadd float %56, %63 %65 = fdiv float %55, %64 %66 = fadd float %54, %65 store float %66, ptr %16, align 4 %67 = load float, ptr %16, align 4 ret float %67 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @sqrt(float 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 speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0hs6s2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AnalyticPS(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 store float %0, ptr %9, align 4 store float %1, ptr %10, align 4 store float %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store float %7, ptr %16, align 4 %20 = load float, ptr %10, align 4 %21 = load float, ptr %12, align 4 %22 = load float, ptr %14, align 4 %23 = fsub float %21, %22 %24 = load float, ptr %11, align 4 %25 = load float, ptr %13, align 4 %26 = load float, ptr %15, align 4 %27 = fsub float %25, %26 %28 = fmul float %24, %27 %29 = call float @llvm.fmuladd.f32(float %20, float %23, float %28) store float %29, ptr %18, align 4 %30 = load float, ptr %12, align 4 %31 = load float, ptr %14, align 4 %32 = fsub float %30, %31 %33 = load float, ptr %12, align 4 %34 = load float, ptr %14, align 4 %35 = fsub float %33, %34 %36 = load float, ptr %13, align 4 %37 = load float, ptr %15, align 4 %38 = fsub float %36, %37 %39 = load float, ptr %13, align 4 %40 = load float, ptr %15, align 4 %41 = fsub float %39, %40 %42 = fmul float %38, %41 %43 = call float @llvm.fmuladd.f32(float %32, float %35, float %42) store float %43, ptr %17, align 4 %44 = load float, ptr %9, align 4 %45 = load float, ptr %9, align 4 %46 = load float, ptr %10, align 4 %47 = load float, ptr %10, align 4 %48 = load float, ptr %11, align 4 %49 = load float, ptr %11, align 4 %50 = fmul float %48, %49 %51 = call float @llvm.fmuladd.f32(float %46, float %47, float %50) %52 = fneg float %51 %53 = call float @llvm.fmuladd.f32(float %44, float %45, float %52) store float %53, ptr %19, align 4 %54 = load float, ptr %16, align 4 %55 = load float, ptr %17, align 4 %56 = load float, ptr %18, align 4 %57 = load float, ptr %19, align 4 %58 = load float, ptr %17, align 4 %59 = load float, ptr %18, align 4 %60 = load float, ptr %18, align 4 %61 = fmul float %59, %60 %62 = call float @llvm.fmuladd.f32(float %57, float %58, float %61) %63 = call float @sqrt(float noundef %62) %64 = fadd float %56, %63 %65 = fdiv float %55, %64 %66 = fadd float %54, %65 store float %66, ptr %16, align 4 %67 = load float, ptr %16, align 4 ret float %67 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @sqrt(float 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 speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2kfpjga7.c' source_filename = "/tmp/tmp2kfpjga7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat_transform(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @mat_transform_copy(ptr noundef %5, ptr noundef %6, ptr noundef %7) ret void } declare i32 @mat_transform_copy(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/tmp2kfpjga7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat_transform(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @mat_transform_copy(ptr noundef %5, ptr noundef %6, ptr noundef %7) ret void } declare i32 @mat_transform_copy(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/tmpl16l1j01.c' source_filename = "/tmp/tmpl16l1j01.c" target datalayout = "e-m:e-p270: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/tmpl16l1j01.c" target datalayout = "e-m:e-p270: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/tmpnnxeq79s.c' source_filename = "/tmp/tmpnnxeq79s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_Command(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i16, align 2 %4 = alloca [1 x i16], align 2 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = and i32 255, %5 %7 = or i32 0, %6 %8 = trunc i32 %7 to i16 store i16 %8, ptr %3, align 2 %9 = getelementptr inbounds [1 x i16], ptr %4, i64 0, i64 0 %10 = call i32 @SPI_Transfer(ptr noundef %3, ptr noundef %9, i32 noundef 1) ret void } declare i32 @SPI_Transfer(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/tmpnnxeq79s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_Command(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i16, align 2 %4 = alloca [1 x i16], align 2 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = and i32 255, %5 %7 = or i32 0, %6 %8 = trunc i32 %7 to i16 store i16 %8, ptr %3, align 2 %9 = getelementptr inbounds [1 x i16], ptr %4, i64 0, i64 0 %10 = call i32 @SPI_Transfer(ptr noundef %3, ptr noundef %9, i32 noundef 1) ret void } declare i32 @SPI_Transfer(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/tmp3nyg07d_.c' source_filename = "/tmp/tmp3nyg07d_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GEN_IPADD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @X509_check_ip(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr @GEN_IPADD, align 4 %14 = call i32 @do_x509_check(ptr noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @do_x509_check(ptr noundef, ptr noundef, i64 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/tmp3nyg07d_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GEN_IPADD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @X509_check_ip(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr @GEN_IPADD, align 4 %14 = call i32 @do_x509_check(ptr noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @do_x509_check(ptr noundef, ptr noundef, i64 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/tmpj4tn6cku.c' source_filename = "/tmp/tmpj4tn6cku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createNotExpression(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 ptr @createUnaryExpression(i32 noundef 34, ptr noundef %3) ret ptr %4 } declare ptr @createUnaryExpression(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/tmpj4tn6cku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createNotExpression(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 ptr @createUnaryExpression(i32 noundef 34, ptr noundef %3) ret ptr %4 } declare ptr @createUnaryExpression(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/tmpre6v95z_.c' source_filename = "/tmp/tmpre6v95z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Escriba %d n\C3\BAmeros: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 4) store i32 0, ptr %6, align 4 br label %9 9: ; preds = %17, %0 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 %21 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %21, align 16 store i32 %22, ptr %4, align 4 store i32 1, ptr %6, align 4 br label %23 23: ; preds = %68, %20 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %71 26: ; preds = %23 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %26 %34 = load i32, ptr %5, align 4 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %4, align 4 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %4, align 4 br label %67 40: ; preds = %26 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sgt i32 %44, %45 br i1 %46, label %47, label %53 47: ; preds = %40 %48 = load i32, ptr %5, align 4 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %5, align 4 br label %66 53: ; preds = %40 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %65 60: ; preds = %53 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 store i32 %64, ptr %7, align 4 br label %65 65: ; preds = %60, %53 br label %66 66: ; preds = %65, %47 br label %67 67: ; preds = %66, %33 br label %68 68: ; preds = %67 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 br label %23, !llvm.loop !8 71: ; preds = %23 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %73 = load i32, ptr %4, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %73) %75 = load i32, ptr %5, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75) %77 = load i32, ptr %7, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %77) %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %80 = load i32, ptr %1, align 4 ret i32 %80 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpre6v95z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Escriba %d n\C3\BAmeros: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 4) store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %23 = load i32, ptr %22, align 16 store i32 %23, ptr %4, align 4 store i32 1, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %.lr.ph2, label %73 .lr.ph2: ; preds = %21 br label %26 26: ; preds = %.lr.ph2, %68 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %26 %34 = load i32, ptr %5, align 4 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %4, align 4 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %4, align 4 br label %67 40: ; preds = %26 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sgt i32 %44, %45 br i1 %46, label %47, label %53 47: ; preds = %40 %48 = load i32, ptr %5, align 4 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %5, align 4 br label %66 53: ; preds = %40 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %65 60: ; preds = %53 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 store i32 %64, ptr %7, align 4 br label %65 65: ; preds = %60, %53 br label %66 66: ; preds = %65, %47 br label %67 67: ; preds = %66, %33 br label %68 68: ; preds = %67 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp slt i32 %71, 4 br i1 %72, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %73 73: ; preds = %._crit_edge3, %21 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %75 = load i32, ptr %4, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75) %77 = load i32, ptr %5, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %77) %79 = load i32, ptr %7, align 4 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %79) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %82 = load i32, ptr %1, align 4 ret i32 %82 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6ogul2yw.c' source_filename = "/tmp/tmp6ogul2yw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Buffer comparison mismatch\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check_pattern(ptr noundef %0, i32 noundef %1) #0 { %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 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = ptrtoint ptr %8 to i64 %10 = and i64 %9, 3 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 0, ptr %5, align 4 br label %14 14: ; preds = %40, %2 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %15, 4096 br i1 %16, label %17, label %43 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = call i32 @printf(ptr noundef @.str) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %17 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 1 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i32, ptr %4, align 4 %34 = lshr i32 %33, 1 %35 = xor i32 %34, -2147483561 store i32 %35, ptr %4, align 4 br label %39 36: ; preds = %28 %37 = load i32, ptr %4, align 4 %38 = lshr i32 %37, 1 store i32 %38, ptr %4, align 4 br label %39 39: ; preds = %36, %32 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %14, !llvm.loop !6 43: ; preds = %14 ret void } declare i32 @assert(i32 noundef) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ogul2yw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Buffer comparison mismatch\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check_pattern(ptr noundef %0, i32 noundef %1) #0 { %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 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = ptrtoint ptr %8 to i64 %10 = and i64 %9, 3 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %14, 4096 br i1 %15, label %.lr.ph, label %44 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %39 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %16 %25 = call i32 @printf(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %16 %28 = load i32, ptr %4, align 4 %29 = and i32 %28, 1 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr %4, align 4 %33 = lshr i32 %32, 1 %34 = xor i32 %33, -2147483561 store i32 %34, ptr %4, align 4 br label %38 35: ; preds = %27 %36 = load i32, ptr %4, align 4 %37 = lshr i32 %36, 1 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %31 br label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %42, 4096 br i1 %43, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %44 44: ; preds = %._crit_edge, %2 ret void } declare i32 @assert(i32 noundef) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxbmi_u55.c' source_filename = "/tmp/tmpxbmi_u55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Primary configuration bits\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Alternative configuration bits\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mm(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) #0 { %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 store i32 %0, ptr %19, align 4 store i32 %1, ptr %20, align 4 store i32 %2, ptr %21, align 4 store i32 %3, ptr %22, align 4 store i32 %4, ptr %23, align 4 store i32 %5, ptr %24, align 4 store i32 %6, ptr %25, align 4 store i32 %7, ptr %26, align 4 store i32 %8, ptr %27, align 4 store i32 %9, ptr %28, align 4 store i32 %10, ptr %29, align 4 store i32 %11, ptr %30, align 4 store i32 %12, ptr %31, align 4 store i32 %13, ptr %32, align 4 store i32 %14, ptr %33, align 4 store i32 %15, ptr %34, align 4 store i32 %16, ptr %35, align 4 store i32 %17, ptr %36, align 4 %37 = call i32 @printf(ptr noundef @.str) %38 = load i32, ptr %19, align 4 %39 = call i32 @print_mm_fdevopt(i32 noundef %38, i32 noundef 0) %40 = load i32, ptr %20, align 4 %41 = call i32 @print_mm_ficd(i32 noundef %40, i32 noundef 0) %42 = load i32, ptr %21, align 4 %43 = call i32 @print_mm_fpor(i32 noundef %42, i32 noundef 0) %44 = load i32, ptr %22, align 4 %45 = call i32 @print_mm_fwdt(i32 noundef %44, i32 noundef 0) %46 = load i32, ptr %23, align 4 %47 = call i32 @print_mm_foscsel(i32 noundef %46, i32 noundef 0) %48 = load i32, ptr %24, align 4 %49 = call i32 @print_mm_fsec(i32 noundef %48, i32 noundef 0) %50 = call i32 @printf(ptr noundef @.str.1) %51 = call i32 @printf(ptr noundef @.str.2) %52 = load i32, ptr %25, align 4 %53 = call i32 @print_mm_fdevopt(i32 noundef %52, i32 noundef 1) %54 = load i32, ptr %26, align 4 %55 = call i32 @print_mm_ficd(i32 noundef %54, i32 noundef 1) %56 = load i32, ptr %27, align 4 %57 = call i32 @print_mm_fpor(i32 noundef %56, i32 noundef 1) %58 = load i32, ptr %28, align 4 %59 = call i32 @print_mm_fwdt(i32 noundef %58, i32 noundef 1) %60 = load i32, ptr %29, align 4 %61 = call i32 @print_mm_foscsel(i32 noundef %60, i32 noundef 1) %62 = load i32, ptr %30, align 4 %63 = call i32 @print_mm_fsec(i32 noundef %62, i32 noundef 1) %64 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @print_mm_fdevopt(i32 noundef, i32 noundef) #1 declare i32 @print_mm_ficd(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fpor(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fwdt(i32 noundef, i32 noundef) #1 declare i32 @print_mm_foscsel(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fsec(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/tmpxbmi_u55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Primary configuration bits\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Alternative configuration bits\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mm(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) #0 { %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 store i32 %0, ptr %19, align 4 store i32 %1, ptr %20, align 4 store i32 %2, ptr %21, align 4 store i32 %3, ptr %22, align 4 store i32 %4, ptr %23, align 4 store i32 %5, ptr %24, align 4 store i32 %6, ptr %25, align 4 store i32 %7, ptr %26, align 4 store i32 %8, ptr %27, align 4 store i32 %9, ptr %28, align 4 store i32 %10, ptr %29, align 4 store i32 %11, ptr %30, align 4 store i32 %12, ptr %31, align 4 store i32 %13, ptr %32, align 4 store i32 %14, ptr %33, align 4 store i32 %15, ptr %34, align 4 store i32 %16, ptr %35, align 4 store i32 %17, ptr %36, align 4 %37 = call i32 @printf(ptr noundef @.str) %38 = load i32, ptr %19, align 4 %39 = call i32 @print_mm_fdevopt(i32 noundef %38, i32 noundef 0) %40 = load i32, ptr %20, align 4 %41 = call i32 @print_mm_ficd(i32 noundef %40, i32 noundef 0) %42 = load i32, ptr %21, align 4 %43 = call i32 @print_mm_fpor(i32 noundef %42, i32 noundef 0) %44 = load i32, ptr %22, align 4 %45 = call i32 @print_mm_fwdt(i32 noundef %44, i32 noundef 0) %46 = load i32, ptr %23, align 4 %47 = call i32 @print_mm_foscsel(i32 noundef %46, i32 noundef 0) %48 = load i32, ptr %24, align 4 %49 = call i32 @print_mm_fsec(i32 noundef %48, i32 noundef 0) %50 = call i32 @printf(ptr noundef @.str.1) %51 = call i32 @printf(ptr noundef @.str.2) %52 = load i32, ptr %25, align 4 %53 = call i32 @print_mm_fdevopt(i32 noundef %52, i32 noundef 1) %54 = load i32, ptr %26, align 4 %55 = call i32 @print_mm_ficd(i32 noundef %54, i32 noundef 1) %56 = load i32, ptr %27, align 4 %57 = call i32 @print_mm_fpor(i32 noundef %56, i32 noundef 1) %58 = load i32, ptr %28, align 4 %59 = call i32 @print_mm_fwdt(i32 noundef %58, i32 noundef 1) %60 = load i32, ptr %29, align 4 %61 = call i32 @print_mm_foscsel(i32 noundef %60, i32 noundef 1) %62 = load i32, ptr %30, align 4 %63 = call i32 @print_mm_fsec(i32 noundef %62, i32 noundef 1) %64 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @print_mm_fdevopt(i32 noundef, i32 noundef) #1 declare i32 @print_mm_ficd(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fpor(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fwdt(i32 noundef, i32 noundef) #1 declare i32 @print_mm_foscsel(i32 noundef, i32 noundef) #1 declare i32 @print_mm_fsec(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/tmpcw7tichl.c' source_filename = "/tmp/tmpcw7tichl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_is_negative(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putchar(i8 noundef signext 78) br label %9 7: ; preds = %1 %8 = call i32 @ft_putchar(i8 noundef signext 80) br label %9 9: ; preds = %7, %5 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcw7tichl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_is_negative(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putchar(i8 noundef signext 78) br label %9 7: ; preds = %1 %8 = call i32 @ft_putchar(i8 noundef signext 80) br label %9 9: ; preds = %7, %5 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj38e1jg4.c' source_filename = "/tmp/tmpj38e1jg4.c" target datalayout = "e-m:e-p270: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/tmpj38e1jg4.c" target datalayout = "e-m:e-p270: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/tmp23hl2t1r.c' source_filename = "/tmp/tmp23hl2t1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"%s: internal error\0A\00", align 1 @__const.remote_setup.new_sockets = private unnamed_addr constant [2 x i32] [i32 -1, i32 -1], align 4 @PF_LOCAL = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"%s: could not create new socket: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"%s: could not duplicate socket: %s\0A\00", align 1 @F_SETFD = dso_local global i32 0, align 4 @F_GETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @remote_setup(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [2 x i32], align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %26 17: ; preds = %6 %18 = load ptr, ptr %11, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %12, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load ptr, ptr %13, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %30, label %26 26: ; preds = %23, %20, %17, %6 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %8, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) store i32 -1, ptr %7, align 4 br label %104 30: ; preds = %23 %31 = load i32, ptr %9, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %94 33: ; preds = %30 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const.remote_setup.new_sockets, i64 8, i1 false) %34 = load i32, ptr @PF_LOCAL, align 4 %35 = load i32, ptr @SOCK_STREAM, align 4 %36 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %37 = call i64 @socketpair(i32 noundef %34, i32 noundef %35, i32 noundef 0, ptr noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %33 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, ptr noundef %41, ptr noundef %43) store i32 -1, ptr %7, align 4 br label %104 45: ; preds = %33 %46 = load i32, ptr @STDIN_FILENO, align 4 %47 = call i32 @dup(i32 noundef %46) %48 = load ptr, ptr %11, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %10, align 8 store i32 %47, ptr %49, align 4 %50 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %13, align 8 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %12, align 8 store i32 %51, ptr %53, align 4 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %54, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %67, label %57 57: ; preds = %45 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %58, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %67, label %61 61: ; preds = %57 %62 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = load i32, ptr @STDIN_FILENO, align 4 %65 = call i64 @dup2(i32 noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %61, %57, %45 %68 = load i32, ptr @stderr, align 4 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr @errno, align 4 %71 = call ptr @strerror(i32 noundef %70) %72 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.2, ptr noundef %69, ptr noundef %71) store i32 -1, ptr %7, align 4 br label %104 73: ; preds = %61 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %74, align 4 %76 = load i32, ptr @F_SETFD, align 4 %77 = load ptr, ptr %10, align 8 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr @F_GETFD, align 4 %80 = call i32 (i32, i32, ...) @fcntl(i32 noundef %78, i32 noundef %79) %81 = load i32, ptr @FD_CLOEXEC, align 4 %82 = or i32 %80, %81 %83 = call i32 (i32, i32, ...) @fcntl(i32 noundef %75, i32 noundef %76, i32 noundef %82) %84 = load ptr, ptr %12, align 8 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr @F_SETFD, align 4 %87 = load ptr, ptr %12, align 8 %88 = load i32, ptr %87, align 4 %89 = load i32, ptr @F_GETFD, align 4 %90 = call i32 (i32, i32, ...) @fcntl(i32 noundef %88, i32 noundef %89) %91 = load i32, ptr @FD_CLOEXEC, align 4 %92 = or i32 %90, %91 %93 = call i32 (i32, i32, ...) @fcntl(i32 noundef %85, i32 noundef %86, i32 noundef %92) br label %103 94: ; preds = %30 %95 = load i32, ptr @STDOUT_FILENO, align 4 %96 = load ptr, ptr %12, align 8 store i32 %95, ptr %96, align 4 %97 = load i32, ptr @STDOUT_FILENO, align 4 %98 = load ptr, ptr %13, align 8 store i32 %97, ptr %98, align 4 %99 = load i32, ptr @STDIN_FILENO, align 4 %100 = load ptr, ptr %10, align 8 store i32 %99, ptr %100, align 4 %101 = load i32, ptr @STDIN_FILENO, align 4 %102 = load ptr, ptr %11, align 8 store i32 %101, ptr %102, align 4 br label %103 103: ; preds = %94, %73 store i32 0, ptr %7, align 4 br label %104 104: ; preds = %103, %67, %39, %26 %105 = load i32, ptr %7, align 4 ret i32 %105 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp23hl2t1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"%s: internal error\0A\00", align 1 @__const.remote_setup.new_sockets = private unnamed_addr constant [2 x i32] [i32 -1, i32 -1], align 4 @PF_LOCAL = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"%s: could not create new socket: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"%s: could not duplicate socket: %s\0A\00", align 1 @F_SETFD = dso_local global i32 0, align 4 @F_GETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @remote_setup(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [2 x i32], align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %26 17: ; preds = %6 %18 = load ptr, ptr %11, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %12, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load ptr, ptr %13, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %30, label %26 26: ; preds = %23, %20, %17, %6 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %8, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) store i32 -1, ptr %7, align 4 br label %104 30: ; preds = %23 %31 = load i32, ptr %9, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %94 33: ; preds = %30 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const.remote_setup.new_sockets, i64 8, i1 false) %34 = load i32, ptr @PF_LOCAL, align 4 %35 = load i32, ptr @SOCK_STREAM, align 4 %36 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %37 = call i64 @socketpair(i32 noundef %34, i32 noundef %35, i32 noundef 0, ptr noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %33 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, ptr noundef %41, ptr noundef %43) store i32 -1, ptr %7, align 4 br label %104 45: ; preds = %33 %46 = load i32, ptr @STDIN_FILENO, align 4 %47 = call i32 @dup(i32 noundef %46) %48 = load ptr, ptr %11, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %10, align 8 store i32 %47, ptr %49, align 4 %50 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %13, align 8 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %12, align 8 store i32 %51, ptr %53, align 4 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %54, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %67, label %57 57: ; preds = %45 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %58, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %67, label %61 61: ; preds = %57 %62 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = load i32, ptr @STDIN_FILENO, align 4 %65 = call i64 @dup2(i32 noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %61, %57, %45 %68 = load i32, ptr @stderr, align 4 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr @errno, align 4 %71 = call ptr @strerror(i32 noundef %70) %72 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.2, ptr noundef %69, ptr noundef %71) store i32 -1, ptr %7, align 4 br label %104 73: ; preds = %61 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %74, align 4 %76 = load i32, ptr @F_SETFD, align 4 %77 = load ptr, ptr %10, align 8 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr @F_GETFD, align 4 %80 = call i32 (i32, i32, ...) @fcntl(i32 noundef %78, i32 noundef %79) %81 = load i32, ptr @FD_CLOEXEC, align 4 %82 = or i32 %80, %81 %83 = call i32 (i32, i32, ...) @fcntl(i32 noundef %75, i32 noundef %76, i32 noundef %82) %84 = load ptr, ptr %12, align 8 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr @F_SETFD, align 4 %87 = load ptr, ptr %12, align 8 %88 = load i32, ptr %87, align 4 %89 = load i32, ptr @F_GETFD, align 4 %90 = call i32 (i32, i32, ...) @fcntl(i32 noundef %88, i32 noundef %89) %91 = load i32, ptr @FD_CLOEXEC, align 4 %92 = or i32 %90, %91 %93 = call i32 (i32, i32, ...) @fcntl(i32 noundef %85, i32 noundef %86, i32 noundef %92) br label %103 94: ; preds = %30 %95 = load i32, ptr @STDOUT_FILENO, align 4 %96 = load ptr, ptr %12, align 8 store i32 %95, ptr %96, align 4 %97 = load i32, ptr @STDOUT_FILENO, align 4 %98 = load ptr, ptr %13, align 8 store i32 %97, ptr %98, align 4 %99 = load i32, ptr @STDIN_FILENO, align 4 %100 = load ptr, ptr %10, align 8 store i32 %99, ptr %100, align 4 %101 = load i32, ptr @STDIN_FILENO, align 4 %102 = load ptr, ptr %11, align 8 store i32 %101, ptr %102, align 4 br label %103 103: ; preds = %94, %73 store i32 0, ptr %7, align 4 br label %104 104: ; preds = %103, %67, %39, %26 %105 = load i32, ptr %7, align 4 ret i32 %105 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgshwvko7.c' source_filename = "/tmp/tmpgshwvko7.c" target datalayout = "e-m:e-p270: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/tmpgshwvko7.c" target datalayout = "e-m:e-p270: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/tmpi7pwsru5.c' source_filename = "/tmp/tmpi7pwsru5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @foo.c = internal global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"123498765abcde\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"123498765..\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"129abcde\00", align 1 @__const.foo.q = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.foo.q, i64 32, i1 false) %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @foo.c, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 %6 %8 = load ptr, ptr %7, align 8 %9 = call i64 @strcmp(ptr noundef %4, ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 (...) @abort() #4 unreachable 13: ; preds = %1 %14 = load i32, ptr @foo.c, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr @foo.c, align 4 ret i32 %14 } ; 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 i64 @strcmp(ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpi7pwsru5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @foo.c = internal global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"123498765abcde\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"123498765..\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"129abcde\00", align 1 @__const.foo.q = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.foo.q, i64 32, i1 false) %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @foo.c, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 %6 %8 = load ptr, ptr %7, align 8 %9 = call i64 @strcmp(ptr noundef %4, ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 (...) @abort() #4 unreachable 13: ; preds = %1 %14 = load i32, ptr @foo.c, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr @foo.c, align 4 ret i32 %14 } ; 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 i64 @strcmp(ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpw19th6ps.c' source_filename = "/tmp/tmpw19th6ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"days per year: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Seems reasonable\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Some long number: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"i=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"float Pi = %7.5e\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"double Pi = %lf\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"(not actually?) long double Pi = %Lf\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Variable x is located at memory address %lu\0A\00", align 1 @.str.9 = private unnamed_addr constant [38 x i8] c"The int at memory location %lu is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca double, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 365, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 366 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 17: ; preds = %0 store i64 100000000000000, ptr %3, align 8 %18 = load i64, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %18) br label %20 20: ; preds = %17, %15 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %27, %20 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 5 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25) br label %27 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %21, !llvm.loop !6 30: ; preds = %21 store float 0x40091EB860000000, ptr %5, align 4 store double 0x400921FB53C8D4F1, ptr %6, align 8 store x86_fp80 0xK4000C90FDAA2216887DE, ptr %7, align 16 %31 = load float, ptr %5, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %32) %34 = load double, ptr %6, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %34) %36 = load x86_fp80, ptr %7, align 16 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, x86_fp80 noundef %36) store i32 5, ptr %8, align 4 %38 = ptrtoint ptr %8 to i64 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %38) store ptr %8, ptr %9, align 8 %40 = load ptr, ptr %9, align 8 %41 = ptrtoint ptr %40 to i64 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %42, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %41, i32 noundef %43) %45 = load i32, ptr %1, align 4 ret i32 %45 } 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/tmpw19th6ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"days per year: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Seems reasonable\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Some long number: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"i=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"float Pi = %7.5e\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"double Pi = %lf\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"(not actually?) long double Pi = %Lf\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Variable x is located at memory address %lu\0A\00", align 1 @.str.9 = private unnamed_addr constant [38 x i8] c"The int at memory location %lu is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca double, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 365, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 366 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 17: ; preds = %0 store i64 100000000000000, ptr %3, align 8 %18 = load i64, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %18) br label %20 20: ; preds = %17, %15 store i32 0, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %.lr.ph, label %31 .lr.ph: ; preds = %20 br label %23 23: ; preds = %.lr.ph, %26 %24 = load i32, ptr %4, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24) br label %26 26: ; preds = %23 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 5 br i1 %30, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %20 store float 0x40091EB860000000, ptr %5, align 4 store double 0x400921FB53C8D4F1, ptr %6, align 8 store x86_fp80 0xK4000C90FDAA2216887DE, ptr %7, align 16 %32 = load float, ptr %5, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %33) %35 = load double, ptr %6, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %35) %37 = load x86_fp80, ptr %7, align 16 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, x86_fp80 noundef %37) store i32 5, ptr %8, align 4 %39 = ptrtoint ptr %8 to i64 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %39) store ptr %8, ptr %9, align 8 %41 = load ptr, ptr %9, align 8 %42 = ptrtoint ptr %41 to i64 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %42, i32 noundef %44) %46 = load i32, ptr %1, align 4 ret i32 %46 } 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/tmpo77m95nt.c' source_filename = "/tmp/tmpo77m95nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_pld(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 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %15, %1 %8 = load ptr, ptr %3, 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 = icmp eq i32 %12, -1 br i1 %13, label %14, label %18 14: ; preds = %7 br label %15 15: ; preds = %14 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 store i32 99, ptr %5, align 4 br label %19 19: ; preds = %36, %18 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %41 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp ne i32 %28, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 0, ptr %2, align 4 br label %42 36: ; preds = %23 %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 br label %19, !llvm.loop !8 41: ; preds = %19 store i32 1, ptr %2, align 4 br label %42 42: ; preds = %41, %35 %43 = load i32, ptr %2, align 4 ret i32 %43 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo77m95nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_pld(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 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %14 br label %14 14: ; preds = %13 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %1 store i32 99, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %48 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %40 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp ne i32 %32, %37 br i1 %38, label %39, label %40 39: ; preds = %27 store i32 0, ptr %2, align 4 br label %49 40: ; preds = %27 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %48 48: ; preds = %._crit_edge3, %23 store i32 1, ptr %2, align 4 br label %49 49: ; preds = %48, %39 %50 = load i32, ptr %2, align 4 ret i32 %50 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5lkae8m6.c' source_filename = "/tmp/tmp5lkae8m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PR_SET_NAME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @task_name1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @PR_SET_NAME, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @prctl(i32 noundef %3, ptr noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @prctl(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5lkae8m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PR_SET_NAME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @task_name1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @PR_SET_NAME, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @prctl(i32 noundef %3, ptr noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @prctl(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp47hr1rd2.c' source_filename = "/tmp/tmp47hr1rd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std_us_resp(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 ptr @us_resp(ptr noundef %3, i32 noundef 16, i32 noundef 16) ret ptr %4 } declare ptr @us_resp(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/tmp47hr1rd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std_us_resp(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 ptr @us_resp(ptr noundef %3, i32 noundef 16, i32 noundef 16) ret ptr %4 } declare ptr @us_resp(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/tmpej9zo1cw.c' source_filename = "/tmp/tmpej9zo1cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate(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 = call i64 @time(ptr noundef null) %6 = trunc i64 %5 to i32 %7 = call i32 @srand(i32 noundef %6) br label %8 8: ; preds = %12, %2 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %4, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = call i64 (...) @rand() %14 = srem i64 %13, 2147483647 %15 = trunc i64 %14 to i32 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 ret void } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @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/tmpej9zo1cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate(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 = call i64 @time(ptr noundef null) %6 = trunc i64 %5 to i32 %7 = call i32 @srand(i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = call i64 (...) @rand() %13 = srem i64 %12, 2147483647 %14 = trunc i64 %13 to i32 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 store i32 %14, ptr %18, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %4, align 4 %21 = icmp ne i32 %19, 0 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @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/tmpsbyf0ef9.c' source_filename = "/tmp/tmpsbyf0ef9.c" target datalayout = "e-m:e-p270: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/tmpsbyf0ef9.c" target datalayout = "e-m:e-p270: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/tmpjtdu9bhe.c' source_filename = "/tmp/tmpjtdu9bhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"fahrenheit\09celsium\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"__________\09_______\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%3.0f\09\09%6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %16, %0 %12 = load float, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to float %15 = fcmp ole float %12, %14 br i1 %15, label %16, label %31 16: ; preds = %11 %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = fsub double %18, 3.200000e+01 %20 = fmul double 0x3FE1C71C71C71C72, %19 %21 = fptrunc double %20 to float store float %21, ptr %3, align 4 %22 = load float, ptr %2, align 4 %23 = fpext float %22 to double %24 = load float, ptr %3, align 4 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %23, double noundef %25) %27 = load float, ptr %2, align 4 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to float %30 = fadd float %27, %29 store float %30, ptr %2, align 4 br label %11, !llvm.loop !6 31: ; preds = %11 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjtdu9bhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"fahrenheit\09celsium\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"__________\09_______\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%3.0f\09\09%6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %11 = load float, ptr %2, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %15 %16 = load float, ptr %2, align 4 %17 = fpext float %16 to double %18 = fsub double %17, 3.200000e+01 %19 = fmul double 0x3FE1C71C71C71C72, %18 %20 = fptrunc double %19 to float store float %20, ptr %3, align 4 %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22, double noundef %24) %26 = load float, ptr %2, align 4 %27 = load i32, ptr %6, align 4 %28 = sitofp i32 %27 to float %29 = fadd float %26, %28 store float %29, ptr %2, align 4 %30 = load float, ptr %2, align 4 %31 = load i32, ptr %5, align 4 %32 = sitofp i32 %31 to float %33 = fcmp ole float %30, %32 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgwr5ovqi.c' source_filename = "/tmp/tmpgwr5ovqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDataGetNonBlocking(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @SSIBaseValid(i64 noundef %6) %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = add i64 %9, 12 %11 = inttoptr i64 %10 to ptr %12 = load volatile i64, ptr %11, align 8 %13 = and i64 %12, 4 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i64, ptr %4, align 8 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to ptr %19 = load volatile i64, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 store i64 %19, ptr %20, align 8 store i64 1, ptr %3, align 8 br label %22 21: ; preds = %2 store i64 0, ptr %3, align 8 br label %22 22: ; preds = %21, %15 %23 = load i64, ptr %3, align 8 ret i64 %23 } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @SSIBaseValid(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/tmpgwr5ovqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDataGetNonBlocking(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @SSIBaseValid(i64 noundef %6) %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = add i64 %9, 12 %11 = inttoptr i64 %10 to ptr %12 = load volatile i64, ptr %11, align 8 %13 = and i64 %12, 4 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i64, ptr %4, align 8 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to ptr %19 = load volatile i64, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 store i64 %19, ptr %20, align 8 store i64 1, ptr %3, align 8 br label %22 21: ; preds = %2 store i64 0, ptr %3, align 8 br label %22 22: ; preds = %21, %15 %23 = load i64, ptr %3, align 8 ret i64 %23 } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @SSIBaseValid(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/tmppuwu9deh.c' source_filename = "/tmp/tmppuwu9deh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorIntStatus(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store volatile i64 %0, ptr %5, align 8 store volatile i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %21 10: ; preds = %3 %11 = load volatile i64, ptr %5, align 8 %12 = add i64 %11, 0 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = load volatile i64, ptr %6, align 8 %16 = lshr i64 %14, %15 %17 = and i64 %16, 1 %18 = icmp ne i64 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, i32 1, i32 0 store i32 %20, ptr %4, align 4 br label %32 21: ; preds = %3 %22 = load volatile i64, ptr %5, align 8 %23 = add i64 %22, 4 %24 = inttoptr i64 %23 to ptr %25 = load volatile i64, ptr %24, align 8 %26 = load volatile i64, ptr %6, align 8 %27 = lshr i64 %25, %26 %28 = and i64 %27, 1 %29 = icmp ne i64 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 1, i32 0 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %21, %10 %33 = load i32, ptr %4, align 4 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppuwu9deh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorIntStatus(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store volatile i64 %0, ptr %5, align 8 store volatile i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %21 10: ; preds = %3 %11 = load volatile i64, ptr %5, align 8 %12 = add i64 %11, 0 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = load volatile i64, ptr %6, align 8 %16 = lshr i64 %14, %15 %17 = and i64 %16, 1 %18 = icmp ne i64 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, i32 1, i32 0 store i32 %20, ptr %4, align 4 br label %32 21: ; preds = %3 %22 = load volatile i64, ptr %5, align 8 %23 = add i64 %22, 4 %24 = inttoptr i64 %23 to ptr %25 = load volatile i64, ptr %24, align 8 %26 = load volatile i64, ptr %6, align 8 %27 = lshr i64 %25, %26 %28 = and i64 %27, 1 %29 = icmp ne i64 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 1, i32 0 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %21, %10 %33 = load i32, ptr %4, align 4 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj9wmqy2a.c' source_filename = "/tmp/tmpj9wmqy2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @whiteSpaceLen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %7 7: ; preds = %1, %74, %99, %114 %8 = load ptr, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %8, i64 %9 %11 = load i8, ptr %10, align 1 store i8 %11, ptr %5, align 1 %12 = load i8, ptr %5, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %7 %15 = load i64, ptr %4, align 8 store i64 %15, ptr %2, align 8 br label %117 16: ; preds = %7 %17 = load i8, ptr %5, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 36 br i1 %19, label %20, label %108 20: ; preds = %16 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %4, align 8 %23 = add nsw i64 %22, 1 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 40 br i1 %27, label %28, label %81 28: ; preds = %20 br label %29 29: ; preds = %28, %68 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 %33 = getelementptr inbounds i8, ptr %32, i64 2 store ptr %33, ptr %6, align 8 br label %34 34: ; preds = %48, %29 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 36 br i1 %39, label %40, label %51 40: ; preds = %34 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %40 store ptr null, ptr %6, align 8 br label %51 47: ; preds = %40 br label %48 48: ; preds = %47 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %6, align 8 br label %34, !llvm.loop !6 51: ; preds = %46, %34 %52 = load ptr, ptr %6, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %61, label %54 54: ; preds = %51 %55 = load i64, ptr %4, align 8 %56 = load ptr, ptr %3, align 8 %57 = load i64, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %56, i64 %57 %59 = call i64 @strlen(ptr noundef %58) %60 = add nsw i64 %55, %59 store i64 %60, ptr %2, align 8 br label %117 61: ; preds = %51 %62 = load ptr, ptr %6, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 41 br i1 %66, label %67, label %68 67: ; preds = %61 br label %74 68: ; preds = %61 %69 = load ptr, ptr %6, align 8 %70 = load ptr, ptr %3, align 8 %71 = ptrtoint ptr %69 to i64 %72 = ptrtoint ptr %70 to i64 %73 = sub i64 %71, %72 store i64 %73, ptr %4, align 8 br label %29 74: ; preds = %67 %75 = load ptr, ptr %6, align 8 %76 = load ptr, ptr %3, align 8 %77 = ptrtoint ptr %75 to i64 %78 = ptrtoint ptr %76 to i64 %79 = sub i64 %77, %78 %80 = add nsw i64 %79, 2 store i64 %80, ptr %4, align 8 br label %7 81: ; preds = %20 %82 = load ptr, ptr %3, align 8 %83 = load i64, ptr %4, align 8 %84 = add nsw i64 %83, 1 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 33 br i1 %88, label %89, label %106 89: ; preds = %81 %90 = load ptr, ptr %3, align 8 %91 = load i64, ptr %4, align 8 %92 = getelementptr inbounds i8, ptr %90, i64 %91 %93 = getelementptr inbounds i8, ptr %92, i64 2 %94 = call ptr @strchr(ptr noundef %93, i8 noundef signext 10) store ptr %94, ptr %6, align 8 %95 = load ptr, ptr %6, align 8 %96 = icmp ne ptr %95, null br i1 %96, label %99, label %97 97: ; preds = %89 %98 = call i32 @bug(i32 noundef 1716) br label %99 99: ; preds = %97, %89 %100 = load ptr, ptr %6, align 8 %101 = load ptr, ptr %3, align 8 %102 = ptrtoint ptr %100 to i64 %103 = ptrtoint ptr %101 to i64 %104 = sub i64 %102, %103 %105 = add nsw i64 %104, 1 store i64 %105, ptr %4, align 8 br label %7 106: ; preds = %81 %107 = load i64, ptr %4, align 8 store i64 %107, ptr %2, align 8 br label %117 108: ; preds = %16 %109 = load i8, ptr %5, align 1 %110 = call i64 @isgraph(i8 noundef zeroext %109) %111 = icmp ne i64 %110, 0 br i1 %111, label %112, label %114 112: ; preds = %108 %113 = load i64, ptr %4, align 8 store i64 %113, ptr %2, align 8 br label %117 114: ; preds = %108 %115 = load i64, ptr %4, align 8 %116 = add nsw i64 %115, 1 store i64 %116, ptr %4, align 8 br label %7 117: ; preds = %112, %106, %54, %14 %118 = load i64, ptr %2, align 8 ret i64 %118 } declare i64 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @bug(i32 noundef) #1 declare i64 @isgraph(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj9wmqy2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @whiteSpaceLen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %7, i64 %8 %10 = load i8, ptr %9, align 1 store i8 %10, ptr %5, align 1 %11 = load i8, ptr %5, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %.lr.ph1, label %13 .lr.ph1: ; preds = %1 br label %15 ._crit_edge: ; preds = %.backedge br label %13 13: ; preds = %._crit_edge, %1 %14 = load i64, ptr %4, align 8 store i64 %14, ptr %2, align 8 br label %125 15: ; preds = %.lr.ph1, %.backedge %16 = load i8, ptr %5, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 36 br i1 %18, label %19, label %116 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = add nsw i64 %21, 1 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 40 br i1 %26, label %27, label %89 27: ; preds = %19 br label %28 28: ; preds = %70, %27 %29 = load ptr, ptr %3, align 8 %30 = load i64, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = getelementptr inbounds i8, ptr %31, i64 2 store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 36 br i1 %36, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %28 br label %37 37: ; preds = %.lr.ph, %45 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %37 store ptr null, ptr %6, align 8 br label %53 44: ; preds = %37 br label %45 45: ; preds = %44 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %6, align 8 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %51, 36 br i1 %52, label %37, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %45 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %53 53: ; preds = %.loopexit, %43 %54 = load ptr, ptr %6, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %63, label %56 56: ; preds = %53 %57 = load i64, ptr %4, align 8 %58 = load ptr, ptr %3, align 8 %59 = load i64, ptr %4, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = call i64 @strlen(ptr noundef %60) %62 = add nsw i64 %57, %61 store i64 %62, ptr %2, align 8 br label %125 63: ; preds = %53 %64 = load ptr, ptr %6, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 41 br i1 %68, label %69, label %70 69: ; preds = %63 br label %76 70: ; preds = %63 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %3, align 8 %73 = ptrtoint ptr %71 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 store i64 %75, ptr %4, align 8 br label %28 76: ; preds = %69 %77 = load ptr, ptr %6, 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, 2 store i64 %82, ptr %4, align 8 br label %.backedge .backedge: ; preds = %76, %107, %122 %83 = load ptr, ptr %3, align 8 %84 = load i64, ptr %4, align 8 %85 = getelementptr inbounds i8, ptr %83, i64 %84 %86 = load i8, ptr %85, align 1 store i8 %86, ptr %5, align 1 %87 = load i8, ptr %5, align 1 %88 = icmp ne i8 %87, 0 br i1 %88, label %15, label %._crit_edge 89: ; preds = %19 %90 = load ptr, ptr %3, align 8 %91 = load i64, ptr %4, align 8 %92 = add nsw i64 %91, 1 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 33 br i1 %96, label %97, label %114 97: ; preds = %89 %98 = load ptr, ptr %3, align 8 %99 = load i64, ptr %4, align 8 %100 = getelementptr inbounds i8, ptr %98, i64 %99 %101 = getelementptr inbounds i8, ptr %100, i64 2 %102 = call ptr @strchr(ptr noundef %101, i8 noundef signext 10) store ptr %102, ptr %6, align 8 %103 = load ptr, ptr %6, align 8 %104 = icmp ne ptr %103, null br i1 %104, label %107, label %105 105: ; preds = %97 %106 = call i32 @bug(i32 noundef 1716) br label %107 107: ; preds = %105, %97 %108 = load ptr, ptr %6, align 8 %109 = load ptr, ptr %3, align 8 %110 = ptrtoint ptr %108 to i64 %111 = ptrtoint ptr %109 to i64 %112 = sub i64 %110, %111 %113 = add nsw i64 %112, 1 store i64 %113, ptr %4, align 8 br label %.backedge 114: ; preds = %89 %115 = load i64, ptr %4, align 8 store i64 %115, ptr %2, align 8 br label %125 116: ; preds = %15 %117 = load i8, ptr %5, align 1 %118 = call i64 @isgraph(i8 noundef zeroext %117) %119 = icmp ne i64 %118, 0 br i1 %119, label %120, label %122 120: ; preds = %116 %121 = load i64, ptr %4, align 8 store i64 %121, ptr %2, align 8 br label %125 122: ; preds = %116 %123 = load i64, ptr %4, align 8 %124 = add nsw i64 %123, 1 store i64 %124, ptr %4, align 8 br label %.backedge 125: ; preds = %120, %114, %56, %13 %126 = load i64, ptr %2, align 8 ret i64 %126 } declare i64 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @bug(i32 noundef) #1 declare i64 @isgraph(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps_z6n4az.c' source_filename = "/tmp/tmps_z6n4az.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"ERROR, no port provided\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr @AF_INET, align 4 %22 = load i32, ptr @SOCK_STREAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %20 %27 = call i32 @error(ptr noundef @.str.1) br label %28 28: ; preds = %26, %20 %29 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %8, align 4 %34 = load i32, ptr @AF_INET, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %34, ptr %35, align 4 %36 = load i32, ptr @INADDR_ANY, align 4 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i32 0, i32 0 store i32 %36, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %11, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %28 %46 = call i32 @error(ptr noundef @.str.2) br label %47 47: ; preds = %45, %28 %48 = load i32, ptr %6, align 4 %49 = call i32 @listen(i32 noundef %48, i32 noundef 5) store i32 12, ptr %9, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 @accept(i32 noundef %50, ptr noundef %12, ptr noundef %9) store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %47 %55 = call i32 @error(ptr noundef @.str.3) br label %56 56: ; preds = %54, %47 br label %57 57: ; preds = %67, %56 %58 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @bzero(ptr noundef %58, i32 noundef 256) %60 = load i32, ptr %7, align 4 %61 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 1024) store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp slt i32 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %57 %66 = call i32 @error(ptr noundef @.str.4) br label %67 67: ; preds = %65, %57 %68 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %69 = call i32 @printf(ptr noundef @.str.5, ptr noundef %68) br label %57 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 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" } 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/tmps_z6n4az.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"ERROR, no port provided\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr @AF_INET, align 4 %22 = load i32, ptr @SOCK_STREAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %20 %27 = call i32 @error(ptr noundef @.str.1) br label %28 28: ; preds = %26, %20 %29 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) store i32 %33, ptr %8, align 4 %34 = load i32, ptr @AF_INET, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %34, ptr %35, align 4 %36 = load i32, ptr @INADDR_ANY, align 4 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i32 0, i32 0 store i32 %36, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %11, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %28 %46 = call i32 @error(ptr noundef @.str.2) br label %47 47: ; preds = %45, %28 %48 = load i32, ptr %6, align 4 %49 = call i32 @listen(i32 noundef %48, i32 noundef 5) store i32 12, ptr %9, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 @accept(i32 noundef %50, ptr noundef %12, ptr noundef %9) store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %47 %55 = call i32 @error(ptr noundef @.str.3) br label %56 56: ; preds = %54, %47 br label %57 57: ; preds = %67, %56 %58 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @bzero(ptr noundef %58, i32 noundef 256) %60 = load i32, ptr %7, align 4 %61 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 1024) store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp slt i32 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %57 %66 = call i32 @error(ptr noundef @.str.4) br label %67 67: ; preds = %65, %57 %68 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %69 = call i32 @printf(ptr noundef @.str.5, ptr noundef %68) br label %57 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 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" } 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/tmpo9lzaonx.c' source_filename = "/tmp/tmpo9lzaonx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"cat /proc/cpuinfo | grep vendor_id | wc -l\00", align 1 @LONG_MIN = dso_local global i32 0, align 4 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @env_getCoreCount() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @runCommand(ptr noundef %5, ptr noundef %6, i32 noundef 16) %8 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @strtol(ptr noundef %8, ptr noundef null, i32 noundef 10) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @LONG_MIN, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @LONG_MAX, align 4 %19 = icmp eq i32 %17, %18 br label %20 20: ; preds = %16, %12, %0 %21 = phi i1 [ true, %12 ], [ true, %0 ], [ %19, %16 ] %22 = zext i1 %21 to i32 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 br label %28 26: ; preds = %20 %27 = load i32, ptr %3, align 4 br label %28 28: ; preds = %26, %25 %29 = phi i32 [ -1, %25 ], [ %27, %26 ] ret i32 %29 } declare i32 @runCommand(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strtol(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/tmpo9lzaonx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"cat /proc/cpuinfo | grep vendor_id | wc -l\00", align 1 @LONG_MIN = dso_local global i32 0, align 4 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @env_getCoreCount() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @runCommand(ptr noundef %5, ptr noundef %6, i32 noundef 16) %8 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @strtol(ptr noundef %8, ptr noundef null, i32 noundef 10) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @LONG_MIN, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @LONG_MAX, align 4 %19 = icmp eq i32 %17, %18 br label %20 20: ; preds = %16, %12, %0 %21 = phi i1 [ true, %12 ], [ true, %0 ], [ %19, %16 ] %22 = zext i1 %21 to i32 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 br label %28 26: ; preds = %20 %27 = load i32, ptr %3, align 4 br label %28 28: ; preds = %26, %25 %29 = phi i32 [ -1, %25 ], [ %27, %26 ] ret i32 %29 } declare i32 @runCommand(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strtol(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/tmp6nvar0y0.c' source_filename = "/tmp/tmp6nvar0y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findParen(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load i32, ptr %8, align 4 store i32 %11, ptr %10, align 4 br label %12 12: ; preds = %48, %4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %51 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %16 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %9, align 4 br label %39 27: ; preds = %16 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %9, align 4 br label %38 38: ; preds = %35, %27 br label %39 39: ; preds = %38, %24 %40 = load i32, ptr %9, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42 br label %51 47: ; preds = %42, %39 br label %48 48: ; preds = %47 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 br label %12, !llvm.loop !6 51: ; preds = %46, %12 %52 = load i32, ptr %10, align 4 ret i32 %52 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nvar0y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findParen(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load i32, ptr %8, align 4 store i32 %11, ptr %10, align 4 %12 = load i32, ptr %10, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %15 15: ; preds = %.lr.ph, %47 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %10, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %15 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %9, align 4 br label %38 26: ; preds = %15 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.1) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %26 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %9, align 4 br label %37 37: ; preds = %34, %26 br label %38 38: ; preds = %37, %23 %39 = load i32, ptr %9, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp ne i32 %42, %43 br i1 %44, label %45, label %46 45: ; preds = %41 br label %53 46: ; preds = %41, %38 br label %47 47: ; preds = %46 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %47 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %53 53: ; preds = %.loopexit, %45 %54 = load i32, ptr %10, align 4 ret i32 %54 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp460x6o9o.c' source_filename = "/tmp/tmp460x6o9o.c" target datalayout = "e-m:e-p270: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/tmp460x6o9o.c" target datalayout = "e-m:e-p270: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/tmpsm1d13zx.c' source_filename = "/tmp/tmpsm1d13zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostraInvertido(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 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 %7, align 4 %8 = load ptr, ptr %6, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %7, align 4 br label %12 12: ; preds = %22, %3 %13 = load i32, ptr %7, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %7, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsm1d13zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostraInvertido(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 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 %7, align 4 %8 = load ptr, ptr %6, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %3 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiulbeweu.c' source_filename = "/tmp/tmpiulbeweu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s DIRECTORY...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiulbeweu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s DIRECTORY...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpszhskig4.c' source_filename = "/tmp/tmpszhskig4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @applet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 br label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } 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/tmpszhskig4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @applet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 br label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } 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/tmpe12ybblj.c' source_filename = "/tmp/tmpe12ybblj.c" target datalayout = "e-m:e-p270: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/tmpe12ybblj.c" target datalayout = "e-m:e-p270: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/tmp12ml8210.c' source_filename = "/tmp/tmp12ml8210.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtcp_interval(i32 noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store double 5.000000e+00, ptr %13, align 8 store double 2.500000e-01, ptr %14, align 8 store double 7.500000e-01, ptr %15, align 8 store double 1.218280e+00, ptr %16, align 8 store double 5.000000e+00, ptr %18, align 8 %20 = load i32, ptr %12, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %6 %23 = load double, ptr %18, align 8 %24 = fdiv double %23, 2.000000e+00 store double %24, ptr %18, align 8 br label %25 25: ; preds = %22, %6 %26 = load i32, ptr %7, align 4 store i32 %26, ptr %19, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %50 29: ; preds = %25 %30 = load i32, ptr %8, align 4 %31 = sitofp i32 %30 to double %32 = load i32, ptr %7, align 4 %33 = sitofp i32 %32 to double %34 = fmul double %33, 2.500000e-01 %35 = fcmp olt double %31, %34 br i1 %35, label %36, label %50 36: ; preds = %29 %37 = load i32, ptr %10, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load double, ptr %9, align 8 %41 = fmul double %40, 2.500000e-01 store double %41, ptr %9, align 8 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %19, align 4 br label %49 43: ; preds = %36 %44 = load double, ptr %9, align 8 %45 = fmul double %44, 7.500000e-01 store double %45, ptr %9, align 8 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %19, align 4 %48 = sub nsw i32 %47, %46 store i32 %48, ptr %19, align 4 br label %49 49: ; preds = %43, %39 br label %50 50: ; preds = %49, %29, %25 %51 = load double, ptr %11, align 8 %52 = load i32, ptr %19, align 4 %53 = sitofp i32 %52 to double %54 = fmul double %51, %53 %55 = load double, ptr %9, align 8 %56 = fdiv double %54, %55 store double %56, ptr %17, align 8 %57 = load double, ptr %17, align 8 %58 = load double, ptr %18, align 8 %59 = fcmp olt double %57, %58 br i1 %59, label %60, label %62 60: ; preds = %50 %61 = load double, ptr %18, align 8 store double %61, ptr %17, align 8 br label %62 62: ; preds = %60, %50 %63 = load double, ptr %17, align 8 %64 = call double (...) @drand30() %65 = fadd double %64, 5.000000e-01 %66 = fmul double %63, %65 store double %66, ptr %17, align 8 %67 = load double, ptr %17, align 8 %68 = fdiv double %67, 1.218280e+00 store double %68, ptr %17, align 8 %69 = load double, ptr %17, align 8 ret double %69 } declare double @drand30(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12ml8210.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtcp_interval(i32 noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store double 5.000000e+00, ptr %13, align 8 store double 2.500000e-01, ptr %14, align 8 store double 7.500000e-01, ptr %15, align 8 store double 1.218280e+00, ptr %16, align 8 store double 5.000000e+00, ptr %18, align 8 %20 = load i32, ptr %12, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %6 %23 = load double, ptr %18, align 8 %24 = fdiv double %23, 2.000000e+00 store double %24, ptr %18, align 8 br label %25 25: ; preds = %22, %6 %26 = load i32, ptr %7, align 4 store i32 %26, ptr %19, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %50 29: ; preds = %25 %30 = load i32, ptr %8, align 4 %31 = sitofp i32 %30 to double %32 = load i32, ptr %7, align 4 %33 = sitofp i32 %32 to double %34 = fmul double %33, 2.500000e-01 %35 = fcmp olt double %31, %34 br i1 %35, label %36, label %50 36: ; preds = %29 %37 = load i32, ptr %10, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load double, ptr %9, align 8 %41 = fmul double %40, 2.500000e-01 store double %41, ptr %9, align 8 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %19, align 4 br label %49 43: ; preds = %36 %44 = load double, ptr %9, align 8 %45 = fmul double %44, 7.500000e-01 store double %45, ptr %9, align 8 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %19, align 4 %48 = sub nsw i32 %47, %46 store i32 %48, ptr %19, align 4 br label %49 49: ; preds = %43, %39 br label %50 50: ; preds = %49, %29, %25 %51 = load double, ptr %11, align 8 %52 = load i32, ptr %19, align 4 %53 = sitofp i32 %52 to double %54 = fmul double %51, %53 %55 = load double, ptr %9, align 8 %56 = fdiv double %54, %55 store double %56, ptr %17, align 8 %57 = load double, ptr %17, align 8 %58 = load double, ptr %18, align 8 %59 = fcmp olt double %57, %58 br i1 %59, label %60, label %62 60: ; preds = %50 %61 = load double, ptr %18, align 8 store double %61, ptr %17, align 8 br label %62 62: ; preds = %60, %50 %63 = load double, ptr %17, align 8 %64 = call double (...) @drand30() %65 = fadd double %64, 5.000000e-01 %66 = fmul double %63, %65 store double %66, ptr %17, align 8 %67 = load double, ptr %17, align 8 %68 = fdiv double %67, 1.218280e+00 store double %68, ptr %17, align 8 %69 = load double, ptr %17, align 8 ret double %69 } declare double @drand30(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkixtkqk_.c' source_filename = "/tmp/tmpkixtkqk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @levinson_durbin(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 ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %7, align 8 %22 = mul nuw i64 %17, %20 %23 = alloca float, i64 %22, align 16 store i64 %17, ptr %8, align 8 store i64 %20, ptr %9, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 %26 = load float, ptr %25, align 4 store float %26, ptr %11, align 4 store i32 1, ptr %13, align 4 br label %27 27: ; preds = %131, %3 %28 = load i32, ptr %13, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %31, label %134 31: ; preds = %27 store float 0.000000e+00, ptr %10, align 4 store i32 1, ptr %14, align 4 br label %32 32: ; preds = %56, %31 %33 = load i32, ptr %14, align 4 %34 = load i32, ptr %13, align 4 %35 = sub nsw i32 %34, 1 %36 = icmp sle i32 %33, %35 br i1 %36, label %37, label %59 37: ; preds = %32 %38 = load i32, ptr %13, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = mul nsw i64 %40, %20 %42 = getelementptr inbounds float, ptr %23, i64 %41 %43 = load i32, ptr %14, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 %46 = load float, ptr %45, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr %14, align 4 %50 = sub nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %47, i64 %51 %53 = load float, ptr %52, align 4 %54 = load float, ptr %10, align 4 %55 = call float @llvm.fmuladd.f32(float %46, float %53, float %54) store float %55, ptr %10, align 4 br label %56 56: ; preds = %37 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %14, align 4 br label %32, !llvm.loop !6 59: ; preds = %32 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %13, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds float, ptr %60, i64 %62 %64 = load float, ptr %63, align 4 %65 = load float, ptr %10, align 4 %66 = fadd float %64, %65 %67 = fpext float %66 to double %68 = fmul double -1.000000e+00, %67 %69 = load float, ptr %11, align 4 %70 = fpext float %69 to double %71 = fdiv double %68, %70 %72 = fptrunc double %71 to float store float %72, ptr %12, align 4 %73 = load float, ptr %12, align 4 %74 = call double @fabsf(float noundef %73) %75 = fcmp ogt double %74, 1.000000e+00 br i1 %75, label %76, label %77 76: ; preds = %59 store float 0.000000e+00, ptr %12, align 4 br label %77 77: ; preds = %76, %59 %78 = load float, ptr %12, align 4 %79 = load i32, ptr %13, align 4 %80 = sext i32 %79 to i64 %81 = mul nsw i64 %80, %20 %82 = getelementptr inbounds float, ptr %23, i64 %81 %83 = load i32, ptr %13, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %82, i64 %84 store float %78, ptr %85, align 4 store i32 1, ptr %14, align 4 br label %86 86: ; preds = %121, %77 %87 = load i32, ptr %14, align 4 %88 = load i32, ptr %13, align 4 %89 = sub nsw i32 %88, 1 %90 = icmp sle i32 %87, %89 br i1 %90, label %91, label %124 91: ; preds = %86 %92 = load i32, ptr %13, align 4 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = mul nsw i64 %94, %20 %96 = getelementptr inbounds float, ptr %23, i64 %95 %97 = load i32, ptr %14, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds float, ptr %96, i64 %98 %100 = load float, ptr %99, align 4 %101 = load float, ptr %12, align 4 %102 = load i32, ptr %13, align 4 %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = mul nsw i64 %104, %20 %106 = getelementptr inbounds float, ptr %23, i64 %105 %107 = load i32, ptr %13, align 4 %108 = load i32, ptr %14, align 4 %109 = sub nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %106, i64 %110 %112 = load float, ptr %111, align 4 %113 = call float @llvm.fmuladd.f32(float %101, float %112, float %100) %114 = load i32, ptr %13, align 4 %115 = sext i32 %114 to i64 %116 = mul nsw i64 %115, %20 %117 = getelementptr inbounds float, ptr %23, i64 %116 %118 = load i32, ptr %14, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds float, ptr %117, i64 %119 store float %113, ptr %120, align 4 br label %121 121: ; preds = %91 %122 = load i32, ptr %14, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %14, align 4 br label %86, !llvm.loop !8 124: ; preds = %86 %125 = load float, ptr %12, align 4 %126 = load float, ptr %12, align 4 %127 = fneg float %125 %128 = call float @llvm.fmuladd.f32(float %127, float %126, float 1.000000e+00) %129 = load float, ptr %11, align 4 %130 = fmul float %129, %128 store float %130, ptr %11, align 4 br label %131 131: ; preds = %124 %132 = load i32, ptr %13, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %13, align 4 br label %27, !llvm.loop !9 134: ; preds = %27 store i32 1, ptr %13, align 4 br label %135 135: ; preds = %152, %134 %136 = load i32, ptr %13, align 4 %137 = load i32, ptr %6, align 4 %138 = icmp sle i32 %136, %137 br i1 %138, label %139, label %155 139: ; preds = %135 %140 = load i32, ptr %6, align 4 %141 = sext i32 %140 to i64 %142 = mul nsw i64 %141, %20 %143 = getelementptr inbounds float, ptr %23, i64 %142 %144 = load i32, ptr %13, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds float, ptr %143, i64 %145 %147 = load float, ptr %146, align 4 %148 = load ptr, ptr %5, align 8 %149 = load i32, ptr %13, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds float, ptr %148, i64 %150 store float %147, ptr %151, align 4 br label %152 152: ; preds = %139 %153 = load i32, ptr %13, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %13, align 4 br label %135, !llvm.loop !10 155: ; preds = %135 %156 = load ptr, ptr %5, align 8 %157 = getelementptr inbounds float, ptr %156, i64 0 store float 1.000000e+00, ptr %157, align 4 %158 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %158) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare double @fabsf(float noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkixtkqk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @levinson_durbin(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 ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %7, align 8 %22 = mul nuw i64 %17, %20 %23 = alloca float, i64 %22, align 16 store i64 %17, ptr %8, align 8 store i64 %20, ptr %9, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 %26 = load float, ptr %25, align 4 store float %26, ptr %11, align 4 store i32 1, ptr %13, align 4 %27 = load i32, ptr %13, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph5, label %142 .lr.ph5: ; preds = %3 br label %30 30: ; preds = %.lr.ph5, %136 store float 0.000000e+00, ptr %10, align 4 store i32 1, ptr %14, align 4 %31 = load i32, ptr %14, align 4 %32 = load i32, ptr %13, align 4 %33 = sub nsw i32 %32, 1 %34 = icmp sle i32 %31, %33 br i1 %34, label %.lr.ph, label %61 .lr.ph: ; preds = %30 br label %35 35: ; preds = %.lr.ph, %54 %36 = load i32, ptr %13, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = mul nsw i64 %38, %20 %40 = getelementptr inbounds float, ptr %23, i64 %39 %41 = load i32, ptr %14, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %40, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %14, align 4 %48 = sub nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %45, i64 %49 %51 = load float, ptr %50, align 4 %52 = load float, ptr %10, align 4 %53 = call float @llvm.fmuladd.f32(float %44, float %51, float %52) store float %53, ptr %10, align 4 br label %54 54: ; preds = %35 %55 = load i32, ptr %14, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %14, align 4 %57 = load i32, ptr %14, align 4 %58 = load i32, ptr %13, align 4 %59 = sub nsw i32 %58, 1 %60 = icmp sle i32 %57, %59 br i1 %60, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %61 61: ; preds = %._crit_edge, %30 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds float, ptr %62, i64 %64 %66 = load float, ptr %65, align 4 %67 = load float, ptr %10, align 4 %68 = fadd float %66, %67 %69 = fpext float %68 to double %70 = fmul double -1.000000e+00, %69 %71 = load float, ptr %11, align 4 %72 = fpext float %71 to double %73 = fdiv double %70, %72 %74 = fptrunc double %73 to float store float %74, ptr %12, align 4 %75 = load float, ptr %12, align 4 %76 = call double @fabsf(float noundef %75) %77 = fcmp ogt double %76, 1.000000e+00 br i1 %77, label %78, label %79 78: ; preds = %61 store float 0.000000e+00, ptr %12, align 4 br label %79 79: ; preds = %78, %61 %80 = load float, ptr %12, align 4 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = mul nsw i64 %82, %20 %84 = getelementptr inbounds float, ptr %23, i64 %83 %85 = load i32, ptr %13, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds float, ptr %84, i64 %86 store float %80, ptr %87, align 4 store i32 1, ptr %14, align 4 %88 = load i32, ptr %14, align 4 %89 = load i32, ptr %13, align 4 %90 = sub nsw i32 %89, 1 %91 = icmp sle i32 %88, %90 br i1 %91, label %.lr.ph2, label %129 .lr.ph2: ; preds = %79 br label %92 92: ; preds = %.lr.ph2, %122 %93 = load i32, ptr %13, align 4 %94 = sub nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = mul nsw i64 %95, %20 %97 = getelementptr inbounds float, ptr %23, i64 %96 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds float, ptr %97, i64 %99 %101 = load float, ptr %100, align 4 %102 = load float, ptr %12, align 4 %103 = load i32, ptr %13, align 4 %104 = sub nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = mul nsw i64 %105, %20 %107 = getelementptr inbounds float, ptr %23, i64 %106 %108 = load i32, ptr %13, align 4 %109 = load i32, ptr %14, align 4 %110 = sub nsw i32 %108, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds float, ptr %107, i64 %111 %113 = load float, ptr %112, align 4 %114 = call float @llvm.fmuladd.f32(float %102, float %113, float %101) %115 = load i32, ptr %13, align 4 %116 = sext i32 %115 to i64 %117 = mul nsw i64 %116, %20 %118 = getelementptr inbounds float, ptr %23, i64 %117 %119 = load i32, ptr %14, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds float, ptr %118, i64 %120 store float %114, ptr %121, align 4 br label %122 122: ; preds = %92 %123 = load i32, ptr %14, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %14, align 4 %125 = load i32, ptr %14, align 4 %126 = load i32, ptr %13, align 4 %127 = sub nsw i32 %126, 1 %128 = icmp sle i32 %125, %127 br i1 %128, label %92, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %122 br label %129 129: ; preds = %._crit_edge3, %79 %130 = load float, ptr %12, align 4 %131 = load float, ptr %12, align 4 %132 = fneg float %130 %133 = call float @llvm.fmuladd.f32(float %132, float %131, float 1.000000e+00) %134 = load float, ptr %11, align 4 %135 = fmul float %134, %133 store float %135, ptr %11, align 4 br label %136 136: ; preds = %129 %137 = load i32, ptr %13, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %13, align 4 %139 = load i32, ptr %13, align 4 %140 = load i32, ptr %6, align 4 %141 = icmp sle i32 %139, %140 br i1 %141, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %136 br label %142 142: ; preds = %._crit_edge6, %3 store i32 1, ptr %13, align 4 %143 = load i32, ptr %13, align 4 %144 = load i32, ptr %6, align 4 %145 = icmp sle i32 %143, %144 br i1 %145, label %.lr.ph8, label %165 .lr.ph8: ; preds = %142 br label %146 146: ; preds = %.lr.ph8, %159 %147 = load i32, ptr %6, align 4 %148 = sext i32 %147 to i64 %149 = mul nsw i64 %148, %20 %150 = getelementptr inbounds float, ptr %23, i64 %149 %151 = load i32, ptr %13, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %150, i64 %152 %154 = load float, ptr %153, align 4 %155 = load ptr, ptr %5, align 8 %156 = load i32, ptr %13, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %155, i64 %157 store float %154, ptr %158, align 4 br label %159 159: ; preds = %146 %160 = load i32, ptr %13, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %13, align 4 %162 = load i32, ptr %13, align 4 %163 = load i32, ptr %6, align 4 %164 = icmp sle i32 %162, %163 br i1 %164, label %146, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %159 br label %165 165: ; preds = %._crit_edge9, %142 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds float, ptr %166, i64 0 store float 1.000000e+00, ptr %167, align 4 %168 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %168) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare double @fabsf(float noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpej0l0cx7.c' source_filename = "/tmp/tmpej0l0cx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [51 x i8] c"MUITO OBRIGADO\0AAlcool: %d\0AGasolina: %d\0ADiesel: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false) %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %5 5: ; preds = %22, %0 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 4 br i1 %7, label %8, label %24 8: ; preds = %5 %9 = load i32, ptr %3, align 4 switch i32 %9, label %22 [ i32 1, label %10 i32 2, label %14 i32 3, label %18 ] 10: ; preds = %8 %11 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %12 = load i32, ptr %11, align 16 %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 16 br label %22 14: ; preds = %8 %15 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %15, align 4 br label %22 18: ; preds = %8 %19 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %20 = load i32, ptr %19, align 8 %21 = add nsw i32 %20, 1 store i32 %21, ptr %19, align 8 br label %22 22: ; preds = %8, %18, %14, %10 %23 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %5, !llvm.loop !6 24: ; preds = %5 %25 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %26 = load i32, ptr %25, align 16 %27 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %30 = load i32, ptr %29, align 8 %31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %28, i32 noundef %30) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpej0l0cx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [51 x i8] c"MUITO OBRIGADO\0AAlcool: %d\0AGasolina: %d\0ADiesel: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false) %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 4 br i1 %6, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %21 %8 = load i32, ptr %3, align 4 switch i32 %8, label %21 [ i32 1, label %9 i32 2, label %13 i32 3, label %17 ] 9: ; preds = %7 %10 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %11 = load i32, ptr %10, align 16 %12 = add nsw i32 %11, 1 store i32 %12, ptr %10, align 16 br label %21 13: ; preds = %7 %14 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %14, align 4 br label %21 17: ; preds = %7 %18 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %19 = load i32, ptr %18, align 8 %20 = add nsw i32 %19, 1 store i32 %20, ptr %18, align 8 br label %21 21: ; preds = %17, %13, %9, %7 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %23 = load i32, ptr %3, align 4 %24 = icmp ne i32 %23, 4 br i1 %24, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %25 25: ; preds = %._crit_edge, %0 %26 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %27 = load i32, ptr %26, align 16 %28 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %31 = load i32, ptr %30, align 8 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %29, i32 noundef %31) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyrb5w_7u.c' source_filename = "/tmp/tmpyrb5w_7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_tanh() #0 { %1 = alloca float, align 4 %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 %4 = load float, ptr %1, align 4 %5 = call i32 @tanhf(float noundef %4) %6 = load double, ptr %2, align 8 %7 = call i32 @tanh(double noundef %6) %8 = load x86_fp80, ptr %3, align 16 %9 = call i32 @tanhl(x86_fp80 noundef %8) ret void } declare i32 @tanhf(float noundef) #1 declare i32 @tanh(double noundef) #1 declare i32 @tanhl(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyrb5w_7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_tanh() #0 { %1 = alloca float, align 4 %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 %4 = load float, ptr %1, align 4 %5 = call i32 @tanhf(float noundef %4) %6 = load double, ptr %2, align 8 %7 = call i32 @tanh(double noundef %6) %8 = load x86_fp80, ptr %3, align 16 %9 = call i32 @tanhl(x86_fp80 noundef %8) ret void } declare i32 @tanhf(float noundef) #1 declare i32 @tanh(double noundef) #1 declare i32 @tanhl(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr_unlz84.c' source_filename = "/tmp/tmpr_unlz84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"recvfrom() failed\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getAnswer(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [1024 x i8], align 16 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %41, %2 %9 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1024) %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i64 @recvfrom(i32 noundef %11, ptr noundef %12, i32 noundef 1024, i32 noundef 0, ptr noundef %13, ptr noundef %5) %15 = icmp slt i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = call i32 @dieError(ptr noundef @.str, i32 noundef %17) br label %40 19: ; preds = %8 %20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @strlen(ptr noundef %20) %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %39 23: ; preds = %19 %24 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %25 = call i64 @strtol(ptr noundef %24, ptr noundef null, i32 noundef 8) %26 = trunc i64 %25 to i32 store i32 %26, ptr %7, align 4 %27 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1024 store i8 0, ptr %27, align 16 %28 = load i32, ptr %7, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %30 br label %42 37: ; preds = %30 br label %38 38: ; preds = %37, %23 br label %39 39: ; preds = %38, %19 br label %40 40: ; preds = %39, %16 br label %41 41: ; preds = %40 br i1 true, label %8, label %42 42: ; preds = %41, %36 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dieError(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_unlz84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"recvfrom() failed\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getAnswer(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [1024 x i8], align 16 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %41, %2 %9 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1024) %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i64 @recvfrom(i32 noundef %11, ptr noundef %12, i32 noundef 1024, i32 noundef 0, ptr noundef %13, ptr noundef %5) %15 = icmp slt i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = call i32 @dieError(ptr noundef @.str, i32 noundef %17) br label %40 19: ; preds = %8 %20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %21 = call i64 @strlen(ptr noundef %20) %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %39 23: ; preds = %19 %24 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %25 = call i64 @strtol(ptr noundef %24, ptr noundef null, i32 noundef 8) %26 = trunc i64 %25 to i32 store i32 %26, ptr %7, align 4 %27 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1024 store i8 0, ptr %27, align 16 %28 = load i32, ptr %7, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %30 br label %42 37: ; preds = %30 br label %38 38: ; preds = %37, %23 br label %39 39: ; preds = %38, %19 br label %40 40: ; preds = %39, %16 br label %41 41: ; preds = %40 br i1 true, label %8, label %.loopexit .loopexit: ; preds = %41 br label %42 42: ; preds = %.loopexit, %36 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dieError(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmuavf6k1.c' source_filename = "/tmp/tmpmuavf6k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load volatile i64, ptr %3, align 8 %7 = add i64 %6, 36 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, 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/tmpmuavf6k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load volatile i64, ptr %3, align 8 %7 = add i64 %6, 36 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, 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/tmpbx11bwu8.c' source_filename = "/tmp/tmpbx11bwu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %12, align 8 %17 = load i64, ptr %9, align 8 %18 = trunc i64 %17 to i32 store i32 %18, ptr %13, align 4 br label %19 19: ; preds = %44, %5 %20 = load i32, ptr %13, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %47 22: ; preds = %19 %23 = load ptr, ptr %12, align 8 %24 = load i32, ptr %13, align 4 %25 = ashr i32 %24, 1 %26 = sext i32 %25 to i64 %27 = load i64, ptr %10, align 8 %28 = mul i64 %26, %27 %29 = getelementptr inbounds i8, ptr %23, i64 %28 store ptr %29, ptr %15, align 8 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %15, align 8 %33 = call i32 %30(ptr noundef %31, ptr noundef %32) store i32 %33, ptr %14, align 4 %34 = icmp sle i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %22 %36 = load ptr, ptr %15, align 8 store ptr %36, ptr %6, align 8 br label %48 37: ; preds = %22 %38 = load ptr, ptr %15, align 8 %39 = load i64, ptr %10, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 store ptr %40, ptr %12, align 8 %41 = load i32, ptr %13, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %13, align 4 br label %43 43: ; preds = %37 br label %44 44: ; preds = %43 %45 = load i32, ptr %13, align 4 %46 = ashr i32 %45, 1 store i32 %46, ptr %13, align 4 br label %19, !llvm.loop !6 47: ; preds = %19 store ptr null, ptr %6, align 8 br label %48 48: ; preds = %47, %35 %49 = load ptr, ptr %6, align 8 ret ptr %49 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbx11bwu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %12, align 8 %17 = load i64, ptr %9, align 8 %18 = trunc i64 %17 to i32 store i32 %18, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %.lr.ph, label %48 .lr.ph: ; preds = %5 br label %21 21: ; preds = %.lr.ph, %43 %22 = load ptr, ptr %12, align 8 %23 = load i32, ptr %13, align 4 %24 = ashr i32 %23, 1 %25 = sext i32 %24 to i64 %26 = load i64, ptr %10, align 8 %27 = mul i64 %25, %26 %28 = getelementptr inbounds i8, ptr %22, i64 %27 store ptr %28, ptr %15, align 8 %29 = load ptr, ptr %11, align 8 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %15, align 8 %32 = call i32 %29(ptr noundef %30, ptr noundef %31) store i32 %32, ptr %14, align 4 %33 = icmp sle i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %21 %35 = load ptr, ptr %15, align 8 store ptr %35, ptr %6, align 8 br label %49 36: ; preds = %21 %37 = load ptr, ptr %15, align 8 %38 = load i64, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store ptr %39, ptr %12, align 8 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %13, align 4 br label %42 42: ; preds = %36 br label %43 43: ; preds = %42 %44 = load i32, ptr %13, align 4 %45 = ashr i32 %44, 1 store i32 %45, ptr %13, align 4 %46 = load i32, ptr %13, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %5 store ptr null, ptr %6, align 8 br label %49 49: ; preds = %48, %34 %50 = load ptr, ptr %6, align 8 ret ptr %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpby9goplr.c' source_filename = "/tmp/tmpby9goplr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @__cpuid(i32 noundef 0, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) ret i32 0 } declare i32 @__cpuid(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpby9goplr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @__cpuid(i32 noundef 0, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) ret i32 0 } declare i32 @__cpuid(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprlrt8ig1.c' source_filename = "/tmp/tmprlrt8ig1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_malloc_r(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = call ptr @malloc(i64 noundef %5) #2 ret ptr %6 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprlrt8ig1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_malloc_r(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = call ptr @malloc(i64 noundef %5) #2 ret ptr %6 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfy3c8nyn.c' source_filename = "/tmp/tmpfy3c8nyn.c" target datalayout = "e-m:e-p270: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/tmpfy3c8nyn.c" target datalayout = "e-m:e-p270: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/tmpu3mfg6vr.c' source_filename = "/tmp/tmpu3mfg6vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Random Number: %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 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu3mfg6vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Random Number: %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 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1w97vtzh.c' source_filename = "/tmp/tmp1w97vtzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_strcpy_s(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 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i32 @strcpy_s(ptr noundef %10, i32 noundef 1, ptr noundef @.str) %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @strcpy_s(ptr noundef %12, i32 noundef 1, ptr noundef %13) %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @strcpy_s(ptr noundef %15, i32 noundef %16, ptr noundef @.str) %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strcpy_s(ptr noundef %18, i32 noundef %19, ptr noundef %20) ret void } declare i32 @strcpy_s(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1w97vtzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_strcpy_s(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 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i32 @strcpy_s(ptr noundef %10, i32 noundef 1, ptr noundef @.str) %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @strcpy_s(ptr noundef %12, i32 noundef 1, ptr noundef %13) %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @strcpy_s(ptr noundef %15, i32 noundef %16, ptr noundef @.str) %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strcpy_s(ptr noundef %18, i32 noundef %19, ptr noundef %20) ret void } declare i32 @strcpy_s(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeqtsvwlr.c' source_filename = "/tmp/tmpeqtsvwlr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strend(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %3, i64 %6 ret ptr %7 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeqtsvwlr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strend(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %3, i64 %6 ret ptr %7 } 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"}
; ModuleID = '/tmp/tmpicu9ou_6.c' source_filename = "/tmp/tmpicu9ou_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%08x => %x (expected %x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test32() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %27, %0 %6 = load i32, ptr %2, align 4 %7 = icmp ult i32 %6, 16 br i1 %7, label %8, label %30 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = call i32 @generate(i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = and i32 %11, 2139062143 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = call i32 @movmask(i32 noundef %16) store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %8 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 0, ptr %1, align 4 br label %31 26: ; preds = %8 br label %27 27: ; preds = %26 %28 = load i32, ptr %2, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %2, align 4 br label %5, !llvm.loop !6 30: ; preds = %5 store i32 1, ptr %1, align 4 br label %31 31: ; preds = %30, %21 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i32 @generate(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @movmask(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpicu9ou_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%08x => %x (expected %x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test32() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ult i32 %5, 16 br i1 %6, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %26 %8 = load i32, ptr %2, align 4 %9 = call i32 @generate(i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = and i32 %10, 2139062143 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = call i32 @movmask(i32 noundef %15) store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %7 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23) store i32 0, ptr %1, align 4 br label %32 25: ; preds = %7 br label %26 26: ; preds = %25 %27 = load i32, ptr %2, align 4 %28 = add i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp ult i32 %29, 16 br i1 %30, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 store i32 1, ptr %1, align 4 br label %32 32: ; preds = %31, %20 %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @generate(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @movmask(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgnpzn4e4.c' source_filename = "/tmp/tmpgnpzn4e4.c" target datalayout = "e-m:e-p270: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/tmpgnpzn4e4.c" target datalayout = "e-m:e-p270: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/tmp0h7odf35.c' source_filename = "/tmp/tmp0h7odf35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @topheap() #0 { %1 = call ptr @sbrk(i32 noundef 0) ret ptr %1 } declare ptr @sbrk(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/tmp0h7odf35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @topheap() #0 { %1 = call ptr @sbrk(i32 noundef 0) ret ptr %1 } declare ptr @sbrk(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_e3rk21s.c' source_filename = "/tmp/tmp_e3rk21s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdcopy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load i64, ptr %8, align 8 store i64 %13, ptr %11, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %5 br label %48 17: ; preds = %5 store i64 0, ptr %12, align 8 br label %18 18: ; preds = %36, %17 %19 = load i64, ptr %12, align 8 %20 = load i64, ptr %9, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %39 22: ; preds = %18 %23 = load ptr, ptr %10, align 8 %24 = load i64, ptr %12, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 %26 = load i64, ptr %25, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %22 br label %48 29: ; preds = %22 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %12, align 8 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = load i64, ptr %32, align 8 %34 = load i64, ptr %11, align 8 %35 = mul i64 %34, %33 store i64 %35, ptr %11, align 8 br label %36 36: ; preds = %29 %37 = load i64, ptr %12, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %12, align 8 br label %18, !llvm.loop !6 39: ; preds = %18 %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %9, align 8 %42 = call i32 @mdfirst(ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %9, align 8 %45 = call i32 @mdfirst(ptr noundef %43, i64 noundef %44) %46 = load i64, ptr %11, align 8 %47 = call i32 @memcpy(i32 noundef %42, i32 noundef %45, i64 noundef %46) br label %48 48: ; preds = %39, %28, %16 ret void } declare i32 @memcpy(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @mdfirst(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_e3rk21s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdcopy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load i64, ptr %8, align 8 store i64 %13, ptr %11, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %5 br label %50 17: ; preds = %5 store i64 0, ptr %12, align 8 %18 = load i64, ptr %12, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %41 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %35 %22 = load ptr, ptr %10, align 8 %23 = load i64, ptr %12, align 8 %24 = getelementptr inbounds i64, ptr %22, i64 %23 %25 = load i64, ptr %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %21 br label %50 28: ; preds = %21 %29 = load ptr, ptr %10, align 8 %30 = load i64, ptr %12, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = load i64, ptr %31, align 8 %33 = load i64, ptr %11, align 8 %34 = mul i64 %33, %32 store i64 %34, ptr %11, align 8 br label %35 35: ; preds = %28 %36 = load i64, ptr %12, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %12, align 8 %38 = load i64, ptr %12, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %17 %42 = load ptr, ptr %6, align 8 %43 = load i64, ptr %9, align 8 %44 = call i32 @mdfirst(ptr noundef %42, i64 noundef %43) %45 = load ptr, ptr %7, align 8 %46 = load i64, ptr %9, align 8 %47 = call i32 @mdfirst(ptr noundef %45, i64 noundef %46) %48 = load i64, ptr %11, align 8 %49 = call i32 @memcpy(i32 noundef %44, i32 noundef %47, i64 noundef %48) br label %50 50: ; preds = %41, %27, %16 ret void } declare i32 @memcpy(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @mdfirst(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi36x5wz2.c' source_filename = "/tmp/tmpi36x5wz2.c" target datalayout = "e-m:e-p270: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/tmpi36x5wz2.c" target datalayout = "e-m:e-p270: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/tmpul01ty8n.c' source_filename = "/tmp/tmpul01ty8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"result: %lu\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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store i32 0, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %7) %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %2 store i32 334, ptr %8, align 4 br label %19 19: ; preds = %68, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 499 br i1 %21, label %22, label %71 22: ; preds = %19 store i32 167, ptr %9, align 4 br label %23 23: ; preds = %64, %22 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %67 27: ; preds = %23 store i32 167, ptr %10, align 4 br label %28 28: ; preds = %60, %27 %29 = load i32, ptr %10, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %63 32: ; preds = %28 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %10, align 4 %35 = add nsw i32 %33, %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %35, %36 %38 = load i32, ptr %7, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %59 40: ; preds = %32 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = mul nsw i32 %48, %49 %51 = icmp eq i32 %47, %50 br i1 %51, label %52, label %59 52: ; preds = %40 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %10, align 4 %55 = mul nsw i32 %53, %54 %56 = load i32, ptr %8, align 4 %57 = mul nsw i32 %55, %56 %58 = sext i32 %57 to i64 store i64 %58, ptr %6, align 8 br label %63 59: ; preds = %40, %32 br label %60 60: ; preds = %59 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %10, align 4 br label %28, !llvm.loop !6 63: ; preds = %52, %28 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 br label %23, !llvm.loop !8 67: ; preds = %23 br label %68 68: ; preds = %67 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %19, !llvm.loop !9 71: ; preds = %19 %72 = load i64, ptr %6, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %72) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpul01ty8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"result: %lu\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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store i32 0, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %7) %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %2 store i32 334, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 499 br i1 %20, label %.lr.ph3, label %76 .lr.ph3: ; preds = %18 br label %21 21: ; preds = %.lr.ph3, %71 store i32 167, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph1, label %70 .lr.ph1: ; preds = %21 br label %25 25: ; preds = %.lr.ph1, %64 store i32 167, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %57 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %30, %31 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %32, %33 %35 = load i32, ptr %7, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %56 37: ; preds = %29 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = mul nsw i32 %38, %39 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = mul nsw i32 %41, %42 %44 = add nsw i32 %40, %43 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %45, %46 %48 = icmp eq i32 %44, %47 br i1 %48, label %49, label %56 49: ; preds = %37 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %10, align 4 %52 = mul nsw i32 %50, %51 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 %52, %53 %55 = sext i32 %54 to i64 store i64 %55, ptr %6, align 8 br label %63 56: ; preds = %37, %29 br label %57 57: ; preds = %56 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %29, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %25 br label %63 63: ; preds = %.loopexit, %49 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %21 br label %71 71: ; preds = %70 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp slt i32 %74, 499 br i1 %75, label %21, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %71 br label %76 76: ; preds = %._crit_edge4, %18 %77 = load i64, ptr %6, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %77) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps6_hxfmf.c' source_filename = "/tmp/tmps6_hxfmf.c" target datalayout = "e-m:e-p270: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/tmps6_hxfmf.c" target datalayout = "e-m:e-p270: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"}