llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmplmlwinmj.c' source_filename = "/tmp/tmplmlwinmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %11, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 10 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 %14, 10 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = sdiv i32 %18, 10 store i32 %19, ptr %2, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmplmlwinmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %13, 10 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %2, align 4 %18 = sdiv i32 %17, 10 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmp4in330su.c' source_filename = "/tmp/tmp4in330su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextGreaterElement(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %11, align 8 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %10, align 8 store i32 %21, ptr %22, align 4 store i32 0, ptr %12, align 4 br label %23 23: ; preds = %79, %5 %24 = load i32, ptr %12, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %82 27: ; preds = %23 store i32 0, ptr %14, align 4 %28 = load ptr, ptr %11, align 8 %29 = load i32, ptr %12, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 -1, ptr %31, align 4 store i32 0, ptr %13, align 4 br label %32 32: ; preds = %75, %27 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %78 36: ; preds = %32 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %13, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp eq i32 %41, %46 br i1 %47, label %48, label %49 48: ; preds = %36 store i32 1, ptr %14, align 4 br label %49 49: ; preds = %48, %36 %50 = load i32, ptr %14, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %74 52: ; preds = %49 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp slt i32 %57, %62 br i1 %63, label %64, label %74 64: ; preds = %52 %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %13, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load ptr, ptr %11, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 store i32 %69, ptr %73, align 4 br label %78 74: ; preds = %52, %49 br label %75 75: ; preds = %74 %76 = load i32, ptr %13, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %13, align 4 br label %32, !llvm.loop !6 78: ; preds = %64, %32 br label %79 79: ; preds = %78 %80 = load i32, ptr %12, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %12, align 4 br label %23, !llvm.loop !8 82: ; preds = %23 %83 = load ptr, ptr %11, align 8 ret ptr %83 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4in330su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextGreaterElement(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %11, align 8 %21 = load i32, ptr %7, align 4 %22 = load ptr, ptr %10, align 8 store i32 %21, ptr %22, align 4 store i32 0, ptr %12, align 4 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph1, label %86 .lr.ph1: ; preds = %5 br label %26 26: ; preds = %.lr.ph1, %80 store i32 0, ptr %14, align 4 %27 = load ptr, ptr %11, align 8 %28 = load i32, ptr %12, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 -1, ptr %30, align 4 store i32 0, ptr %13, align 4 %31 = load i32, ptr %13, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %26 br label %34 34: ; preds = %.lr.ph, %73 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %12, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp eq i32 %39, %44 br i1 %45, label %46, label %47 46: ; preds = %34 store i32 1, ptr %14, align 4 br label %47 47: ; preds = %46, %34 %48 = load i32, ptr %14, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %72 50: ; preds = %47 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %13, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = icmp slt i32 %55, %60 br i1 %61, label %62, label %72 62: ; preds = %50 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %13, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %11, align 8 %69 = load i32, ptr %12, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %79 72: ; preds = %50, %47 br label %73 73: ; preds = %72 %74 = load i32, ptr %13, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %34, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %73 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %26 br label %79 79: ; preds = %.loopexit, %62 br label %80 80: ; preds = %79 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %12, align 4 %83 = load i32, ptr %12, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %26, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %80 br label %86 86: ; preds = %._crit_edge, %5 %87 = load ptr, ptr %11, align 8 ret ptr %87 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvj3acx1f.c' source_filename = "/tmp/tmpvj3acx1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"data_input\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"s:b:po:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"Unexpected Options. \0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Cant open a file!/n\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"Cant open a file!\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"The matrix size is %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"Matrix A is \0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"Matrix B is \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store i32 5, ptr %7, align 4 store ptr @.str, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %33, %2 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str.1) store i32 %18, ptr %10, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %34 20: ; preds = %15 %21 = load i32, ptr %10, align 4 switch i32 %21, label %33 [ i32 115, label %22 i32 98, label %25 i32 112, label %28 i32 111, label %29 i32 63, label %31 ] 22: ; preds = %20 %23 = load ptr, ptr @optarg, align 8 %24 = call i32 @strtol(ptr noundef %23, ptr noundef null, i32 noundef 10) store i32 %24, ptr %6, align 4 br label %33 25: ; preds = %20 %26 = load ptr, ptr @optarg, align 8 %27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 10) store i32 %27, ptr %7, align 4 br label %33 28: ; preds = %20 store i32 1, ptr %9, align 4 br label %33 29: ; preds = %20 %30 = load ptr, ptr @optarg, align 8 store ptr %30, ptr %8, align 8 br label %33 31: ; preds = %20 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %176 33: ; preds = %20, %29, %28, %25, %22 br label %15, !llvm.loop !6 34: ; preds = %15 %35 = load ptr, ptr %8, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.3) store ptr %36, ptr %14, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -2, ptr %3, align 4 br label %176 40: ; preds = %34 %41 = call i32 @time(ptr noundef null) %42 = call i32 @srand(i32 noundef %41) %43 = load ptr, ptr %14, align 8 %44 = load i32, ptr %6, align 4 %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.5, i32 noundef %44) store i32 0, ptr %12, align 4 br label %46 46: ; preds = %72, %40 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %75 50: ; preds = %46 store i32 0, ptr %13, align 4 br label %51 51: ; preds = %66, %50 %52 = load i32, ptr %13, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %69 55: ; preds = %51 %56 = call i32 (...) @rand() %57 = load i32, ptr %7, align 4 %58 = mul nsw i32 2, %57 %59 = srem i32 %56, %58 %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 %59, %60 %62 = add nsw i32 %61, 1 store i32 %62, ptr %11, align 4 %63 = load ptr, ptr %14, align 8 %64 = load i32, ptr %11, align 4 %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.6, i32 noundef %64) br label %66 66: ; preds = %55 %67 = load i32, ptr %13, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %13, align 4 br label %51, !llvm.loop !8 69: ; preds = %51 %70 = load ptr, ptr %14, align 8 %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.7) br label %72 72: ; preds = %69 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %12, align 4 br label %46, !llvm.loop !9 75: ; preds = %46 %76 = load ptr, ptr %14, align 8 %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.7) store i32 0, ptr %12, align 4 br label %78 78: ; preds = %104, %75 %79 = load i32, ptr %12, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %107 82: ; preds = %78 store i32 0, ptr %13, align 4 br label %83 83: ; preds = %98, %82 %84 = load i32, ptr %13, align 4 %85 = load i32, ptr %6, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %101 87: ; preds = %83 %88 = call i32 (...) @rand() %89 = load i32, ptr %7, align 4 %90 = mul nsw i32 2, %89 %91 = srem i32 %88, %90 %92 = load i32, ptr %7, align 4 %93 = sub nsw i32 %91, %92 %94 = add nsw i32 %93, 1 store i32 %94, ptr %11, align 4 %95 = load ptr, ptr %14, align 8 %96 = load i32, ptr %11, align 4 %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.6, i32 noundef %96) br label %98 98: ; preds = %87 %99 = load i32, ptr %13, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %13, align 4 br label %83, !llvm.loop !10 101: ; preds = %83 %102 = load ptr, ptr %14, align 8 %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.7) br label %104 104: ; preds = %101 %105 = load i32, ptr %12, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %12, align 4 br label %78, !llvm.loop !11 107: ; preds = %78 %108 = load ptr, ptr %14, align 8 %109 = call i32 @fclose(ptr noundef %108) %110 = load i32, ptr %9, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %175 112: ; preds = %107 %113 = load ptr, ptr %8, align 8 %114 = call ptr @fopen(ptr noundef %113, ptr noundef @.str.8) store ptr %114, ptr %14, align 8 %115 = icmp eq ptr %114, null br i1 %115, label %116, label %118 116: ; preds = %112 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 -2, ptr %3, align 4 br label %176 118: ; preds = %112 %119 = load ptr, ptr %14, align 8 %120 = call i32 @fscanf(ptr noundef %119, ptr noundef @.str.10, ptr noundef %6) %121 = load i32, ptr %6, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 0, ptr %12, align 4 br label %125 125: ; preds = %144, %118 %126 = load i32, ptr %12, align 4 %127 = load i32, ptr %6, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %129, label %147 129: ; preds = %125 store i32 0, ptr %13, align 4 br label %130 130: ; preds = %139, %129 %131 = load i32, ptr %13, align 4 %132 = load i32, ptr %6, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %134, label %142 134: ; preds = %130 %135 = load ptr, ptr %14, align 8 %136 = call i32 @fscanf(ptr noundef %135, ptr noundef @.str.6, ptr noundef %11) %137 = load i32, ptr %11, align 4 %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %137) br label %139 139: ; preds = %134 %140 = load i32, ptr %13, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %13, align 4 br label %130, !llvm.loop !12 142: ; preds = %130 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %144 144: ; preds = %142 %145 = load i32, ptr %12, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %12, align 4 br label %125, !llvm.loop !13 147: ; preds = %125 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) store i32 0, ptr %12, align 4 br label %150 150: ; preds = %169, %147 %151 = load i32, ptr %12, align 4 %152 = load i32, ptr %6, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %154, label %172 154: ; preds = %150 store i32 0, ptr %13, align 4 br label %155 155: ; preds = %164, %154 %156 = load i32, ptr %13, align 4 %157 = load i32, ptr %6, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %159, label %167 159: ; preds = %155 %160 = load ptr, ptr %14, align 8 %161 = call i32 @fscanf(ptr noundef %160, ptr noundef @.str.6, ptr noundef %11) %162 = load i32, ptr %11, align 4 %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %162) br label %164 164: ; preds = %159 %165 = load i32, ptr %13, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %13, align 4 br label %155, !llvm.loop !14 167: ; preds = %155 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %169 169: ; preds = %167 %170 = load i32, ptr %12, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %12, align 4 br label %150, !llvm.loop !15 172: ; preds = %150 %173 = load ptr, ptr %14, align 8 %174 = call i32 @fclose(ptr noundef %173) br label %175 175: ; preds = %172, %107 store i32 0, ptr %3, align 4 br label %176 176: ; preds = %175, %116, %38, %31 %177 = load i32, ptr %3, align 4 ret i32 %177 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvj3acx1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"data_input\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"s:b:po:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"Unexpected Options. \0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Cant open a file!/n\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"Cant open a file!\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"The matrix size is %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"Matrix A is \0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"Matrix B is \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 store i32 5, ptr %7, align 4 store ptr @.str, ptr %8, align 8 store i32 0, ptr %9, align 4 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1) store i32 %17, ptr %10, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %32 %20 = load i32, ptr %10, align 4 switch i32 %20, label %32 [ i32 115, label %21 i32 98, label %24 i32 112, label %27 i32 111, label %28 i32 63, label %30 ] 21: ; preds = %19 %22 = load ptr, ptr @optarg, align 8 %23 = call i32 @strtol(ptr noundef %22, ptr noundef null, i32 noundef 10) store i32 %23, ptr %6, align 4 br label %32 24: ; preds = %19 %25 = load ptr, ptr @optarg, align 8 %26 = call i32 @strtol(ptr noundef %25, ptr noundef null, i32 noundef 10) store i32 %26, ptr %7, align 4 br label %32 27: ; preds = %19 store i32 1, ptr %9, align 4 br label %32 28: ; preds = %19 %29 = load ptr, ptr @optarg, align 8 store ptr %29, ptr %8, align 8 br label %32 30: ; preds = %19 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %195 32: ; preds = %28, %27, %24, %21, %19 %33 = load i32, ptr %4, align 4 %34 = load ptr, ptr %5, align 8 %35 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef @.str.1) store i32 %35, ptr %10, align 4 %36 = icmp ne i32 %35, -1 br i1 %36, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %2 %38 = load ptr, ptr %8, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.3) store ptr %39, ptr %14, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -2, ptr %3, align 4 br label %195 43: ; preds = %37 %44 = call i32 @time(ptr noundef null) %45 = call i32 @srand(i32 noundef %44) %46 = load ptr, ptr %14, align 8 %47 = load i32, ptr %6, align 4 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.5, i32 noundef %47) store i32 0, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph5, label %82 .lr.ph5: ; preds = %43 br label %52 52: ; preds = %.lr.ph5, %76 store i32 0, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph2, label %73 .lr.ph2: ; preds = %52 br label %56 56: ; preds = %.lr.ph2, %67 %57 = call i32 (...) @rand() %58 = load i32, ptr %7, align 4 %59 = mul nsw i32 2, %58 %60 = srem i32 %57, %59 %61 = load i32, ptr %7, align 4 %62 = sub nsw i32 %60, %61 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 %64 = load ptr, ptr %14, align 8 %65 = load i32, ptr %11, align 4 %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.6, i32 noundef %65) br label %67 67: ; preds = %56 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %13, align 4 %70 = load i32, ptr %13, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %52 %74 = load ptr, ptr %14, align 8 %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.7) br label %76 76: ; preds = %73 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %12, align 4 %79 = load i32, ptr %12, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %82 82: ; preds = %._crit_edge6, %43 %83 = load ptr, ptr %14, align 8 %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.7) store i32 0, ptr %12, align 4 %85 = load i32, ptr %12, align 4 %86 = load i32, ptr %6, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph11, label %118 .lr.ph11: ; preds = %82 br label %88 88: ; preds = %.lr.ph11, %112 store i32 0, ptr %13, align 4 %89 = load i32, ptr %13, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph8, label %109 .lr.ph8: ; preds = %88 br label %92 92: ; preds = %.lr.ph8, %103 %93 = call i32 (...) @rand() %94 = load i32, ptr %7, align 4 %95 = mul nsw i32 2, %94 %96 = srem i32 %93, %95 %97 = load i32, ptr %7, align 4 %98 = sub nsw i32 %96, %97 %99 = add nsw i32 %98, 1 store i32 %99, ptr %11, align 4 %100 = load ptr, ptr %14, align 8 %101 = load i32, ptr %11, align 4 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.6, i32 noundef %101) br label %103 103: ; preds = %92 %104 = load i32, ptr %13, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %13, align 4 %106 = load i32, ptr %13, align 4 %107 = load i32, ptr %6, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %109 109: ; preds = %._crit_edge9, %88 %110 = load ptr, ptr %14, align 8 %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.7) br label %112 112: ; preds = %109 %113 = load i32, ptr %12, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %12, align 4 %115 = load i32, ptr %12, align 4 %116 = load i32, ptr %6, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %88, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %112 br label %118 118: ; preds = %._crit_edge12, %82 %119 = load ptr, ptr %14, align 8 %120 = call i32 @fclose(ptr noundef %119) %121 = load i32, ptr %9, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %194 123: ; preds = %118 %124 = load ptr, ptr %8, align 8 %125 = call ptr @fopen(ptr noundef %124, ptr noundef @.str.8) store ptr %125, ptr %14, align 8 %126 = icmp eq ptr %125, null br i1 %126, label %127, label %129 127: ; preds = %123 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 -2, ptr %3, align 4 br label %195 129: ; preds = %123 %130 = load ptr, ptr %14, align 8 %131 = call i32 @fscanf(ptr noundef %130, ptr noundef @.str.10, ptr noundef %6) %132 = load i32, ptr %6, align 4 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %132) %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 0, ptr %12, align 4 %136 = load i32, ptr %12, align 4 %137 = load i32, ptr %6, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %.lr.ph17, label %162 .lr.ph17: ; preds = %129 br label %139 139: ; preds = %.lr.ph17, %156 store i32 0, ptr %13, align 4 %140 = load i32, ptr %13, align 4 %141 = load i32, ptr %6, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %.lr.ph14, label %154 .lr.ph14: ; preds = %139 br label %143 143: ; preds = %.lr.ph14, %148 %144 = load ptr, ptr %14, align 8 %145 = call i32 @fscanf(ptr noundef %144, ptr noundef @.str.6, ptr noundef %11) %146 = load i32, ptr %11, align 4 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %146) br label %148 148: ; preds = %143 %149 = load i32, ptr %13, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %13, align 4 %151 = load i32, ptr %13, align 4 %152 = load i32, ptr %6, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %143, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %148 br label %154 154: ; preds = %._crit_edge15, %139 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %156 156: ; preds = %154 %157 = load i32, ptr %12, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %12, align 4 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %6, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %139, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %156 br label %162 162: ; preds = %._crit_edge18, %129 %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) store i32 0, ptr %12, align 4 %165 = load i32, ptr %12, align 4 %166 = load i32, ptr %6, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %.lr.ph23, label %191 .lr.ph23: ; preds = %162 br label %168 168: ; preds = %.lr.ph23, %185 store i32 0, ptr %13, align 4 %169 = load i32, ptr %13, align 4 %170 = load i32, ptr %6, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %.lr.ph20, label %183 .lr.ph20: ; preds = %168 br label %172 172: ; preds = %.lr.ph20, %177 %173 = load ptr, ptr %14, align 8 %174 = call i32 @fscanf(ptr noundef %173, ptr noundef @.str.6, ptr noundef %11) %175 = load i32, ptr %11, align 4 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %175) br label %177 177: ; preds = %172 %178 = load i32, ptr %13, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %13, align 4 %180 = load i32, ptr %13, align 4 %181 = load i32, ptr %6, align 4 %182 = icmp slt i32 %180, %181 br i1 %182, label %172, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %177 br label %183 183: ; preds = %._crit_edge21, %168 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %185 185: ; preds = %183 %186 = load i32, ptr %12, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %12, align 4 %188 = load i32, ptr %12, align 4 %189 = load i32, ptr %6, align 4 %190 = icmp slt i32 %188, %189 br i1 %190, label %168, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %185 br label %191 191: ; preds = %._crit_edge24, %162 %192 = load ptr, ptr %14, align 8 %193 = call i32 @fclose(ptr noundef %192) br label %194 194: ; preds = %191, %118 store i32 0, ptr %3, align 4 br label %195 195: ; preds = %194, %127, %41, %30 %196 = load i32, ptr %3, align 4 ret i32 %196 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @rand(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpmhnv8f5r.c' source_filename = "/tmp/tmpmhnv8f5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call signext i8 @f(i32 noundef 1) %3 = sext i8 %2 to i32 %4 = icmp ne i32 %3, 114 br i1 %4, label %25, label %5 5: ; preds = %0 %6 = call signext i8 @f(i32 noundef 2) %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 120 br i1 %8, label %25, label %9 9: ; preds = %5 %10 = call signext i8 @f(i32 noundef 3) %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 102 br i1 %12, label %25, label %13 13: ; preds = %9 %14 = call signext i8 @f(i32 noundef 4) %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 115 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = call signext i8 @f(i32 noundef 5) %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 117 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = call signext i8 @f(i32 noundef 6) %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 122 br i1 %24, label %25, label %27 25: ; preds = %21, %17, %13, %9, %5, %0 %26 = call i32 (...) @abort() #3 unreachable 27: ; preds = %21 ret i32 0 } declare signext i8 @f(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpmhnv8f5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call signext i8 @f(i32 noundef 1) %3 = sext i8 %2 to i32 %4 = icmp ne i32 %3, 114 br i1 %4, label %25, label %5 5: ; preds = %0 %6 = call signext i8 @f(i32 noundef 2) %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 120 br i1 %8, label %25, label %9 9: ; preds = %5 %10 = call signext i8 @f(i32 noundef 3) %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 102 br i1 %12, label %25, label %13 13: ; preds = %9 %14 = call signext i8 @f(i32 noundef 4) %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 115 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = call signext i8 @f(i32 noundef 5) %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 117 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = call signext i8 @f(i32 noundef 6) %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 122 br i1 %24, label %25, label %27 25: ; preds = %21, %17, %13, %9, %5, %0 %26 = call i32 (...) @abort() #3 unreachable 27: ; preds = %21 ret i32 0 } declare signext i8 @f(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmph28ifrtx.c' source_filename = "/tmp/tmph28ifrtx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @opterr = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"c:deh\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"Usage: %s [-c core] [-d] [-e] [-h]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Unsupported CPU type\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Unable to access prefetch MSR.\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"* Verify you have an Intel Nehalem or newer processor\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"* You will probably need to run as root\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"* Make sure the msr module is installed\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %7, align 4 store i32 -1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr @opterr, align 8 br label %12 12: ; preds = %32, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str.1) store i32 %15, ptr %6, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %33 17: ; preds = %12 %18 = load i32, ptr %6, align 4 switch i32 %18, label %30 [ i32 99, label %19 i32 100, label %22 i32 101, label %23 i32 104, label %24 ] 19: ; preds = %17 %20 = load i32, ptr @optarg, align 4 %21 = call i32 @atoi(i32 noundef %20) store i32 %21, ptr %7, align 4 br label %32 22: ; preds = %17 store i32 1, ptr %9, align 4 br label %32 23: ; preds = %17 store i32 0, ptr %9, align 4 br label %32 24: ; preds = %17 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) %29 = call i32 @exit(i32 noundef 0) #3 unreachable 30: ; preds = %17 %31 = call i32 @exit(i32 noundef -1) #3 unreachable 32: ; preds = %23, %22, %19 br label %12, !llvm.loop !6 33: ; preds = %12 %34 = call i32 (...) @detect_cpu() store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %72 39: ; preds = %33 %40 = load i32, ptr %9, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %52 42: ; preds = %39 %43 = load i32, ptr %10, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i32, ptr %7, align 4 %47 = call i32 @disable_prefetch_core2(i32 noundef %46) store i32 %47, ptr %8, align 4 br label %51 48: ; preds = %42 %49 = load i32, ptr %7, align 4 %50 = call i32 @disable_prefetch_nhm(i32 noundef %49) store i32 %50, ptr %8, align 4 br label %51 51: ; preds = %48, %45 br label %62 52: ; preds = %39 %53 = load i32, ptr %10, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %52 %56 = load i32, ptr %7, align 4 %57 = call i32 @enable_prefetch_core2(i32 noundef %56) store i32 %57, ptr %8, align 4 br label %61 58: ; preds = %52 %59 = load i32, ptr %7, align 4 %60 = call i32 @enable_prefetch_nhm(i32 noundef %59) store i32 %60, ptr %8, align 4 br label %61 61: ; preds = %58, %55 br label %62 62: ; preds = %61, %51 %63 = load i32, ptr %8, align 4 %64 = icmp slt i32 %63, 0 br i1 %64, label %65, label %71 65: ; preds = %62 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %72 71: ; preds = %62 store i32 0, ptr %3, align 4 br label %72 72: ; preds = %71, %65, %37 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @detect_cpu(...) #1 declare i32 @disable_prefetch_core2(i32 noundef) #1 declare i32 @disable_prefetch_nhm(i32 noundef) #1 declare i32 @enable_prefetch_core2(i32 noundef) #1 declare i32 @enable_prefetch_nhm(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph28ifrtx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @opterr = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"c:deh\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"Usage: %s [-c core] [-d] [-e] [-h]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Unsupported CPU type\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Unable to access prefetch MSR.\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"* Verify you have an Intel Nehalem or newer processor\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"* You will probably need to run as root\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"* Make sure the msr module is installed\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %7, align 4 store i32 -1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i64 0, ptr @opterr, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str.1) store i32 %14, ptr %6, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %31 %17 = load i32, ptr %6, align 4 switch i32 %17, label %29 [ i32 99, label %18 i32 100, label %21 i32 101, label %22 i32 104, label %23 ] 18: ; preds = %16 %19 = load i32, ptr @optarg, align 4 %20 = call i32 @atoi(i32 noundef %19) store i32 %20, ptr %7, align 4 br label %31 21: ; preds = %16 store i32 1, ptr %9, align 4 br label %31 22: ; preds = %16 store i32 0, ptr %9, align 4 br label %31 23: ; preds = %16 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26) %28 = call i32 @exit(i32 noundef 0) #3 unreachable 29: ; preds = %16 %30 = call i32 @exit(i32 noundef -1) #3 unreachable 31: ; preds = %22, %21, %18 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = call i32 @getopt(i32 noundef %32, ptr noundef %33, ptr noundef @.str.1) store i32 %34, ptr %6, align 4 %35 = icmp ne i32 %34, -1 br i1 %35, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %2 %37 = call i32 (...) @detect_cpu() store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %75 42: ; preds = %36 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %55 45: ; preds = %42 %46 = load i32, ptr %10, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %7, align 4 %50 = call i32 @disable_prefetch_core2(i32 noundef %49) store i32 %50, ptr %8, align 4 br label %54 51: ; preds = %45 %52 = load i32, ptr %7, align 4 %53 = call i32 @disable_prefetch_nhm(i32 noundef %52) store i32 %53, ptr %8, align 4 br label %54 54: ; preds = %51, %48 br label %65 55: ; preds = %42 %56 = load i32, ptr %10, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load i32, ptr %7, align 4 %60 = call i32 @enable_prefetch_core2(i32 noundef %59) store i32 %60, ptr %8, align 4 br label %64 61: ; preds = %55 %62 = load i32, ptr %7, align 4 %63 = call i32 @enable_prefetch_nhm(i32 noundef %62) store i32 %63, ptr %8, align 4 br label %64 64: ; preds = %61, %58 br label %65 65: ; preds = %64, %54 %66 = load i32, ptr %8, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %65 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %75 74: ; preds = %65 store i32 0, ptr %3, align 4 br label %75 75: ; preds = %74, %68, %40 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @detect_cpu(...) #1 declare i32 @disable_prefetch_core2(i32 noundef) #1 declare i32 @disable_prefetch_nhm(i32 noundef) #1 declare i32 @enable_prefetch_core2(i32 noundef) #1 declare i32 @enable_prefetch_nhm(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps45x_24k.c' source_filename = "/tmp/tmps45x_24k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @f() %2 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps45x_24k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @f() %2 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr7v_9phb.c' source_filename = "/tmp/tmpr7v_9phb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %5, %6 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = load i32, ptr %3, align 4 %13 = xor i32 %11, %12 %14 = add nsw i32 %7, %13 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true %19 = zext i1 %18 to i32 %20 = xor i32 %15, %19 %21 = add nsw i32 %14, %20 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i32 %26 = load i32, ptr %3, align 4 %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true %29 = zext i1 %28 to i32 %30 = xor i32 %25, %29 %31 = add nsw i32 %21, %30 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr7v_9phb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %5, %6 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = load i32, ptr %3, align 4 %13 = xor i32 %11, %12 %14 = add nsw i32 %7, %13 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true %19 = zext i1 %18 to i32 %20 = xor i32 %15, %19 %21 = add nsw i32 %14, %20 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i32 %26 = load i32, ptr %3, align 4 %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true %29 = zext i1 %28 to i32 %30 = xor i32 %25, %29 %31 = add nsw i32 %21, %30 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu75z35n6.c' source_filename = "/tmp/tmpu75z35n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @read_gra_b(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call i32 @outb(i16 noundef zeroext %3, i32 noundef 974) %5 = call zeroext i8 @inb(i32 noundef 975) ret i8 %5 } declare i32 @outb(i16 noundef zeroext, i32 noundef) #1 declare zeroext i8 @inb(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/tmpu75z35n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @read_gra_b(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call i32 @outb(i16 noundef zeroext %3, i32 noundef 974) %5 = call zeroext i8 @inb(i32 noundef 975) ret i8 %5 } declare i32 @outb(i16 noundef zeroext, i32 noundef) #1 declare zeroext i8 @inb(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/tmp6ej05z2l.c' source_filename = "/tmp/tmp6ej05z2l.c" target datalayout = "e-m:e-p270: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/tmp6ej05z2l.c" target datalayout = "e-m:e-p270: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/tmp1jnj7hut.c' source_filename = "/tmp/tmp1jnj7hut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 { %1 = call i32 @foo(i32 noundef 400) ret void } declare i32 @foo(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/tmp1jnj7hut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 { %1 = call i32 @foo(i32 noundef 400) ret void } declare i32 @foo(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/tmpcxf6hwy8.c' source_filename = "/tmp/tmpcxf6hwy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn4(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %12 [ i32 1, label %5 i32 2, label %11 ] 5: ; preds = %1 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 5 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = call i32 @grace(i32 noundef 1) br label %13 10: ; preds = %5 br label %13 11: ; preds = %1 br label %12 12: ; preds = %11, %1 br label %13 13: ; preds = %12, %10, %8 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @grace(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/tmpcxf6hwy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn4(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %12 [ i32 1, label %5 i32 2, label %11 ] 5: ; preds = %1 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 5 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = call i32 @grace(i32 noundef 1) br label %13 10: ; preds = %5 br label %13 11: ; preds = %1 br label %12 12: ; preds = %11, %1 br label %13 13: ; preds = %12, %10, %8 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @grace(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/tmpjr6x_59c.c' source_filename = "/tmp/tmpjr6x_59c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %3, %33 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %4, align 4 br label %36 15: ; preds = %10 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %8, 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 ptr, ptr %6, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = sub nsw i32 %21, %27 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %15 %32 = load i32, ptr %9, align 4 store i32 %32, ptr %4, align 4 br label %36 33: ; preds = %15 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %10 36: ; preds = %31, %14 %37 = load i32, ptr %4, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjr6x_59c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %.lr.ph .lr.ph: ; preds = %3 br label %14 ._crit_edge: ; preds = %32 br label %13 13: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %38 14: ; preds = %.lr.ph, %32 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = sub nsw i32 %20, %26 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %14 %31 = load i32, ptr %9, align 4 store i32 %31, ptr %4, align 4 br label %38 32: ; preds = %14 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %._crit_edge, label %14 38: ; preds = %30, %13 %39 = load i32, ptr %4, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjctwnui4.c' source_filename = "/tmp/tmpjctwnui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startWorker() #0 { %1 = alloca i64, align 8 %2 = call i64 (...) @fork() store i64 %2, ptr %1, align 8 br label %3 3: ; preds = %6, %0 %4 = load i64, ptr %1, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = call i32 @workHard(i32 noundef 50, i32 noundef 800) br label %3, !llvm.loop !6 8: ; preds = %3 %9 = load i64, ptr %1, align 8 ret i64 %9 } declare i64 @fork(...) #1 declare i32 @workHard(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/tmpjctwnui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @startWorker() #0 { %1 = alloca i64, align 8 %2 = call i64 (...) @fork() store i64 %2, ptr %1, align 8 %3 = load i64, ptr %1, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label %.lr.ph, label %9 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = call i32 @workHard(i32 noundef 50, i32 noundef 800) %7 = load i64, ptr %1, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %9 9: ; preds = %._crit_edge, %0 %10 = load i64, ptr %1, align 8 ret i64 %10 } declare i64 @fork(...) #1 declare i32 @workHard(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/tmp15b4pqy6.c' source_filename = "/tmp/tmp15b4pqy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ut_init_ascending_naturals(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %17, %2 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load i64, ptr %5, align 8 %12 = trunc i64 %11 to i32 %13 = add nsw i32 %12, 1 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 store i32 %13, ptr %16, align 4 br label %17 17: ; preds = %10 %18 = load i64, ptr %5, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %5, align 8 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp15b4pqy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ut_init_ascending_naturals(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i64, ptr %5, align 8 %11 = trunc i64 %10 to i32 %12 = add nsw i32 %11, 1 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 store i32 %12, ptr %15, align 4 br label %16 16: ; preds = %9 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %5, align 8 %19 = load i64, ptr %5, align 8 %20 = load i64, ptr %4, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3ej0t_8o.c' source_filename = "/tmp/tmp3ej0t_8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trim_trailing(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 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = getelementptr inbounds i8, ptr %8, i64 -1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %28, %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp uge ptr %11, %12 br i1 %13, label %14, label %26 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 9 br label %24 24: ; preds = %19, %14 %25 = phi i1 [ true, %14 ], [ %23, %19 ] br label %26 26: ; preds = %24, %10 %27 = phi i1 [ false, %10 ], [ %25, %24 ] br i1 %27, label %28, label %32 28: ; preds = %26 %29 = load ptr, ptr %3, align 8 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %3, align 8 br label %10, !llvm.loop !6 32: ; preds = %26 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ej0t_8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trim_trailing(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 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = getelementptr inbounds i8, ptr %8, i64 -1 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %28, %1 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = icmp uge ptr %11, %12 br i1 %13, label %14, label %26 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 9 br label %24 24: ; preds = %19, %14 %25 = phi i1 [ true, %14 ], [ %23, %19 ] br label %26 26: ; preds = %24, %10 %27 = phi i1 [ false, %10 ], [ %25, %24 ] br i1 %27, label %28, label %32 28: ; preds = %26 %29 = load ptr, ptr %3, align 8 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %3, align 8 br label %10, !llvm.loop !6 32: ; preds = %26 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb0xvjhyv.c' source_filename = "/tmp/tmpb0xvjhyv.c" target datalayout = "e-m:e-p270: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/tmpb0xvjhyv.c" target datalayout = "e-m:e-p270: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/tmpuc6qa_y7.c' source_filename = "/tmp/tmpuc6qa_y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpuc6qa_y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpmcu7ap_f.c' source_filename = "/tmp/tmpmcu7ap_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"<pointer to %p>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cutils_cdar_DynamicArray_void_ptr_format(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i64, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %8, i64 noundef %10, ptr noundef @.str, ptr noundef %11) ret i32 1 } declare i32 @snprintf(ptr noundef, i64 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/tmpmcu7ap_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"<pointer to %p>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cutils_cdar_DynamicArray_void_ptr_format(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i64, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %8, i64 noundef %10, ptr noundef @.str, ptr noundef %11) ret i32 1 } declare i32 @snprintf(ptr noundef, i64 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/tmpee1eyyxk.c' source_filename = "/tmp/tmpee1eyyxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Please input the array numbers:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Please input %d numbers:\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"minimum is:%d\0Amaximum 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 i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) store i32 0, ptr %2, align 4 br label %15 15: ; preds = %24, %0 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %27 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %12, i64 %21 %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %15, !llvm.loop !6 27: ; preds = %15 %28 = load i32, ptr %3, align 4 %29 = call ptr @min_maximum(ptr noundef %12, i32 noundef %28) store ptr %29, ptr %4, align 8 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 1 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @free(ptr noundef %36) store i32 0, ptr %1, align 4 %38 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %38) %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @min_maximum(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpee1eyyxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Please input the array numbers:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Please input %d numbers:\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"minimum is:%d\0Amaximum 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 i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) store i32 0, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %23 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %12, i64 %20 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %0 %30 = load i32, ptr %3, align 4 %31 = call ptr @min_maximum(ptr noundef %12, i32 noundef %30) store ptr %31, ptr %4, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33, i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @free(ptr noundef %38) store i32 0, ptr %1, align 4 %40 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %40) %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @min_maximum(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpygvcssq7.c' source_filename = "/tmp/tmpygvcssq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR1 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Evens Waiting...\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Evens!: %d\0A\00", align 1 @SIGUSR2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @one(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %6, align 4 %10 = call i32 @sigemptyset(ptr noundef %7) %11 = load i32, ptr @SIGUSR1, align 4 %12 = call i32 @sigaddset(ptr noundef %7, i32 noundef %11) br label %13 13: ; preds = %17, %1 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 @sigwait(ptr noundef %7, ptr noundef %4) %20 = load i32, ptr %5, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 2 store i32 %23, ptr %5, align 4 %24 = load i32, ptr @SIGUSR2, align 4 %25 = call i32 @raise(i32 noundef %24) br label %13, !llvm.loop !6 26: ; preds = %13 %27 = load ptr, ptr %2, align 8 ret ptr %27 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sigwait(ptr noundef, ptr noundef) #1 declare i32 @raise(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/tmpygvcssq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGUSR1 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Evens Waiting...\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Evens!: %d\0A\00", align 1 @SIGUSR2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @one(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %6, align 4 %10 = call i32 @sigemptyset(ptr noundef %7) %11 = load i32, ptr @SIGUSR1, align 4 %12 = call i32 @sigaddset(ptr noundef %7, i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %16 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @sigwait(ptr noundef %7, ptr noundef %4) %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 2 store i32 %22, ptr %5, align 4 %23 = load i32, ptr @SIGUSR2, align 4 %24 = call i32 @raise(i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %28 28: ; preds = %._crit_edge, %1 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sigwait(ptr noundef, ptr noundef) #1 declare i32 @raise(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/tmpvcpxutur.c' source_filename = "/tmp/tmpvcpxutur.c" target datalayout = "e-m:e-p270: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.htoi.chars = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htoi(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 [8 x i8], align 1 %7 = alloca [17 x i8], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.htoi.chars, i64 17, i1 false) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = call signext i8 @tolower(i8 noundef signext %10) %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 120 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 2 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %14, %1 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %35, %17 %19 = load i32, ptr %3, align 4 %20 = load ptr, ptr %2, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = icmp slt i32 %19, %21 br i1 %22, label %23, label %38 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = trunc i32 %29 to i8 %31 = call signext i8 @tolower(i8 noundef signext %30) %32 = load i32, ptr %3, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 br label %35 35: ; preds = %23 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %18, !llvm.loop !6 38: ; preds = %18 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %63, %38 %42 = load i32, ptr %3, align 4 %43 = icmp sge i32 %42, 0 br i1 %43, label %44, label %68 44: ; preds = %41 %45 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call ptr @strchr(ptr noundef %45, i8 noundef signext %49) %51 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %52 = ptrtoint ptr %50 to i64 %53 = ptrtoint ptr %51 to i64 %54 = sub i64 %52, %53 %55 = load i32, ptr %5, align 4 %56 = mul nsw i32 4, %55 %57 = zext i32 %56 to i64 %58 = shl i64 %54, %57 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = add nsw i64 %60, %58 %62 = trunc i64 %61 to i32 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %44 %64 = load i32, ptr %3, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %3, align 4 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %5, align 4 br label %41, !llvm.loop !8 68: ; preds = %41 %69 = load i32, ptr %4, align 4 ret i32 %69 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 signext i8 @tolower(i8 noundef signext) #3 declare i32 @strlen(ptr noundef) #3 declare ptr @strchr(ptr noundef, i8 noundef signext) #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: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvcpxutur.c" target datalayout = "e-m:e-p270: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.htoi.chars = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @htoi(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 [8 x i8], align 1 %7 = alloca [17 x i8], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.htoi.chars, i64 17, i1 false) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = call signext i8 @tolower(i8 noundef signext %10) %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 120 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 2 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %14, %1 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = icmp slt i32 %18, %20 br i1 %21, label %.lr.ph, label %41 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %34 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = trunc i32 %28 to i8 %30 = call signext i8 @tolower(i8 noundef signext %29) %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 br label %34 34: ; preds = %22 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = load ptr, ptr %2, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = icmp slt i32 %37, %39 br i1 %40, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %17 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp sge i32 %44, 0 br i1 %45, label %.lr.ph2, label %72 .lr.ph2: ; preds = %41 br label %46 46: ; preds = %.lr.ph2, %65 %47 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call ptr @strchr(ptr noundef %47, i8 noundef signext %51) %53 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = load i32, ptr %5, align 4 %58 = mul nsw i32 4, %57 %59 = zext i32 %58 to i64 %60 = shl i64 %56, %59 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = add nsw i64 %62, %60 %64 = trunc i64 %63 to i32 store i32 %64, ptr %4, align 4 br label %65 65: ; preds = %46 %66 = load i32, ptr %3, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %3, align 4 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp sge i32 %70, 0 br i1 %71, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %72 72: ; preds = %._crit_edge3, %41 %73 = load i32, ptr %4, align 4 ret i32 %73 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 signext i8 @tolower(i8 noundef signext) #3 declare i32 @strlen(ptr noundef) #3 declare ptr @strchr(ptr noundef, i8 noundef signext) #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: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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}
; ModuleID = '/tmp/tmp_hm9sw06.c' source_filename = "/tmp/tmp_hm9sw06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_link(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @add_node_link(i32 noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @add_node_link(i32 noundef %8, i32 noundef %9) ret void } declare i32 @add_node_link(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/tmp_hm9sw06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_link(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @add_node_link(i32 noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @add_node_link(i32 noundef %8, i32 noundef %9) ret void } declare i32 @add_node_link(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/tmpr7jns2hg.c' source_filename = "/tmp/tmpr7jns2hg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter the number of rows: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Enter the number of coloumns: \00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"The value in array[2][3] is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 @allocate(ptr noundef %6, i32 noundef %13, i32 noundef %14) %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 3 store i32 5, ptr %19, align 4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 3 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load i32, ptr %7, align 4 %27 = call i32 @deallocate(ptr noundef %6, i32 noundef %26) %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 3 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @allocate(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @deallocate(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/tmpr7jns2hg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Enter the number of rows: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Enter the number of coloumns: \00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"The value in array[2][3] is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 @allocate(ptr noundef %6, i32 noundef %13, i32 noundef %14) %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 3 store i32 5, ptr %19, align 4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 3 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load i32, ptr %7, align 4 %27 = call i32 @deallocate(ptr noundef %6, i32 noundef %26) %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 3 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @allocate(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @deallocate(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/tmp8h30fnr8.c' source_filename = "/tmp/tmp8h30fnr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"usage: mdp [-Vh] [-c config] command [command args ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_usage_core() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8h30fnr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"usage: mdp [-Vh] [-c config] command [command args ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_usage_core() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpigrfsfo7.c' source_filename = "/tmp/tmpigrfsfo7.c" target datalayout = "e-m:e-p270: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.addon = private unnamed_addr constant [24 x i8] c"s smell like old shoes.\00", align 16 @.str = private unnamed_addr constant [30 x i8] c"What is your favorite flower?\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"What is your favorite bug?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i8], align 16 %3 = alloca [24 x i8], align 16 %4 = alloca [13 x i8], align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.addon, i64 24, i1 false) %6 = call i32 @puts(ptr noundef @.str) %7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @s_gets(ptr noundef %7, i32 noundef 30) %9 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = add nsw i32 %13, 1 %15 = icmp sle i32 %14, 30 br i1 %15, label %16, label %20 16: ; preds = %0 %17 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @strcat(ptr noundef %17, ptr noundef %18) br label %20 20: ; preds = %16, %0 %21 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %22 = call i32 @puts(ptr noundef %21) %23 = call i32 @puts(ptr noundef @.str.1) %24 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @s_gets(ptr noundef %24, i32 noundef 13) %26 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = sub nsw i32 13, %27 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %31 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %32 = load i32, ptr %5, align 4 %33 = call i32 @strncat(ptr noundef %30, ptr noundef %31, i32 noundef %32) %34 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %35 = call i32 @puts(ptr noundef %34) 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 @puts(ptr noundef) #2 declare i32 @s_gets(ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @strncat(ptr noundef, 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/tmpigrfsfo7.c" target datalayout = "e-m:e-p270: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.addon = private unnamed_addr constant [24 x i8] c"s smell like old shoes.\00", align 16 @.str = private unnamed_addr constant [30 x i8] c"What is your favorite flower?\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"What is your favorite bug?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i8], align 16 %3 = alloca [24 x i8], align 16 %4 = alloca [13 x i8], align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.addon, i64 24, i1 false) %6 = call i32 @puts(ptr noundef @.str) %7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @s_gets(ptr noundef %7, i32 noundef 30) %9 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = add nsw i32 %13, 1 %15 = icmp sle i32 %14, 30 br i1 %15, label %16, label %20 16: ; preds = %0 %17 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @strcat(ptr noundef %17, ptr noundef %18) br label %20 20: ; preds = %16, %0 %21 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %22 = call i32 @puts(ptr noundef %21) %23 = call i32 @puts(ptr noundef @.str.1) %24 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @s_gets(ptr noundef %24, i32 noundef 13) %26 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = sub nsw i32 13, %27 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %31 = getelementptr inbounds [24 x i8], ptr %3, i64 0, i64 0 %32 = load i32, ptr %5, align 4 %33 = call i32 @strncat(ptr noundef %30, ptr noundef %31, i32 noundef %32) %34 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0 %35 = call i32 @puts(ptr noundef %34) 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 @puts(ptr noundef) #2 declare i32 @s_gets(ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @strncat(ptr noundef, 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/tmpejrqa5uz.c' source_filename = "/tmp/tmpejrqa5uz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter a number to test amrstrong-ility: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%d is armstrong number\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%d is not armstrong number\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 store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %13, %0 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %25 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 10 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %5, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = sdiv i32 %23, 10 store i32 %24, ptr %3, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load i32, ptr %2, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %38 35: ; preds = %25 %36 = load i32, ptr %2, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) br label %38 38: ; preds = %35, %32 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpejrqa5uz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter a number to test amrstrong-ility: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%d is armstrong number\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%d is not armstrong number\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 store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 10 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = sdiv i32 %22, 10 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %27, %28 %30 = zext i1 %29 to i32 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %26 %34 = load i32, ptr %2, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34) br label %39 36: ; preds = %26 %37 = load i32, ptr %2, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37) br label %39 39: ; preds = %36, %33 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplzqmtnxy.c' source_filename = "/tmp/tmplzqmtnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_moves(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i16, align 2 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 50 br i1 %14, label %15, label %25 15: ; preds = %3 %16 = load i64, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sdiv i32 %17, 10 %19 = srem i32 %18, 5 %20 = mul nsw i32 %19, 10 %21 = zext i32 %20 to i64 %22 = lshr i64 %16, %21 %23 = and i64 %22, 1023 %24 = trunc i64 %23 to i16 store i16 %24, ptr %7, align 2 br label %35 25: ; preds = %3 %26 = load i64, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = sdiv i32 %27, 10 %29 = srem i32 %28, 5 %30 = mul nsw i32 %29, 10 %31 = zext i32 %30 to i64 %32 = lshr i64 %26, %31 %33 = and i64 %32, 1023 %34 = trunc i64 %33 to i16 store i16 %34, ptr %7, align 2 br label %35 35: ; preds = %25, %15 %36 = load i16, ptr %7, align 2 %37 = load i32, ptr %6, align 4 %38 = srem i32 %37, 10 %39 = call i32 @calc_stream_moves(i16 noundef zeroext %36, i32 noundef %38, i32 noundef 10) store i32 %39, ptr %8, align 4 %40 = load i64, ptr %4, align 8 %41 = load i32, ptr %6, align 4 %42 = srem i32 %41, 10 %43 = zext i32 %42 to i64 %44 = lshr i64 %40, %43 %45 = and i64 %44, 1 %46 = load i64, ptr %4, align 8 %47 = load i32, ptr %6, align 4 %48 = srem i32 %47, 10 %49 = add nsw i32 %48, 9 %50 = zext i32 %49 to i64 %51 = lshr i64 %46, %50 %52 = and i64 %51, 2 %53 = or i64 %45, %52 %54 = load i64, ptr %4, align 8 %55 = load i32, ptr %6, align 4 %56 = srem i32 %55, 10 %57 = add nsw i32 %56, 18 %58 = zext i32 %57 to i64 %59 = lshr i64 %54, %58 %60 = and i64 %59, 4 %61 = or i64 %53, %60 %62 = load i64, ptr %4, align 8 %63 = load i32, ptr %6, align 4 %64 = srem i32 %63, 10 %65 = add nsw i32 %64, 27 %66 = zext i32 %65 to i64 %67 = lshr i64 %62, %66 %68 = and i64 %67, 8 %69 = or i64 %61, %68 %70 = load i64, ptr %4, align 8 %71 = load i32, ptr %6, align 4 %72 = srem i32 %71, 10 %73 = add nsw i32 %72, 36 %74 = zext i32 %73 to i64 %75 = lshr i64 %70, %74 %76 = and i64 %75, 16 %77 = or i64 %69, %76 %78 = load i64, ptr %5, align 8 %79 = load i32, ptr %6, align 4 %80 = srem i32 %79, 10 %81 = zext i32 %80 to i64 %82 = lshr i64 %78, %81 %83 = and i64 %82, 1 %84 = load i64, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = srem i32 %85, 10 %87 = add nsw i32 %86, 9 %88 = zext i32 %87 to i64 %89 = lshr i64 %84, %88 %90 = and i64 %89, 2 %91 = or i64 %83, %90 %92 = load i64, ptr %5, align 8 %93 = load i32, ptr %6, align 4 %94 = srem i32 %93, 10 %95 = add nsw i32 %94, 18 %96 = zext i32 %95 to i64 %97 = lshr i64 %92, %96 %98 = and i64 %97, 4 %99 = or i64 %91, %98 %100 = load i64, ptr %5, align 8 %101 = load i32, ptr %6, align 4 %102 = srem i32 %101, 10 %103 = add nsw i32 %102, 27 %104 = zext i32 %103 to i64 %105 = lshr i64 %100, %104 %106 = and i64 %105, 8 %107 = or i64 %99, %106 %108 = load i64, ptr %5, align 8 %109 = load i32, ptr %6, align 4 %110 = srem i32 %109, 10 %111 = add nsw i32 %110, 36 %112 = zext i32 %111 to i64 %113 = lshr i64 %108, %112 %114 = and i64 %113, 16 %115 = or i64 %107, %114 %116 = shl i64 %115, 5 %117 = or i64 %77, %116 %118 = trunc i64 %117 to i16 store i16 %118, ptr %7, align 2 %119 = load i16, ptr %7, align 2 %120 = load i32, ptr %6, align 4 %121 = sdiv i32 %120, 10 %122 = call i32 @calc_stream_moves(i16 noundef zeroext %119, i32 noundef %121, i32 noundef 10) store i32 %122, ptr %9, align 4 %123 = load i32, ptr %6, align 4 %124 = srem i32 %123, 10 %125 = load i32, ptr %6, align 4 %126 = sdiv i32 %125, 10 %127 = icmp sgt i32 %124, %126 br i1 %127, label %128, label %134 128: ; preds = %35 %129 = load i32, ptr %6, align 4 %130 = load i32, ptr %6, align 4 %131 = sdiv i32 %130, 10 %132 = mul nsw i32 %131, 11 %133 = sub nsw i32 %129, %132 br label %140 134: ; preds = %35 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %6, align 4 %137 = srem i32 %136, 10 %138 = mul nsw i32 %137, 11 %139 = sub nsw i32 %135, %138 br label %140 140: ; preds = %134, %128 %141 = phi i32 [ %133, %128 ], [ %139, %134 ] store i32 %141, ptr %12, align 4 %142 = load i64, ptr %4, align 8 %143 = load i64, ptr %5, align 8 %144 = load i32, ptr %12, align 4 %145 = call zeroext i16 @get_forward_diag(i64 noundef %142, i64 noundef %143, i32 noundef %144) store i16 %145, ptr %7, align 2 %146 = load i16, ptr %7, align 2 %147 = load i32, ptr %6, align 4 %148 = srem i32 %147, 10 %149 = load i32, ptr %6, align 4 %150 = sdiv i32 %149, 10 %151 = icmp sgt i32 %148, %150 br i1 %151, label %152, label %155 152: ; preds = %140 %153 = load i32, ptr %6, align 4 %154 = sdiv i32 %153, 10 br label %158 155: ; preds = %140 %156 = load i32, ptr %6, align 4 %157 = srem i32 %156, 10 br label %158 158: ; preds = %155, %152 %159 = phi i32 [ %154, %152 ], [ %157, %155 ] %160 = load i32, ptr %12, align 4 %161 = icmp slt i32 %160, 10 br i1 %161, label %162, label %165 162: ; preds = %158 %163 = load i32, ptr %12, align 4 %164 = sub nsw i32 10, %163 br label %169 165: ; preds = %158 %166 = load i32, ptr %12, align 4 %167 = sdiv i32 %166, 10 %168 = sub nsw i32 10, %167 br label %169 169: ; preds = %165, %162 %170 = phi i32 [ %164, %162 ], [ %168, %165 ] %171 = call i32 @calc_stream_moves(i16 noundef zeroext %146, i32 noundef %159, i32 noundef %170) store i32 %171, ptr %10, align 4 %172 = load i32, ptr %6, align 4 %173 = sdiv i32 %172, 10 %174 = load i32, ptr %6, align 4 %175 = srem i32 %174, 10 %176 = sub nsw i32 10, %175 %177 = icmp slt i32 %173, %176 br i1 %177, label %178, label %184 178: ; preds = %169 %179 = load i32, ptr %6, align 4 %180 = load i32, ptr %6, align 4 %181 = sdiv i32 %180, 10 %182 = mul nsw i32 %181, 9 %183 = sub nsw i32 %179, %182 br label %191 184: ; preds = %169 %185 = load i32, ptr %6, align 4 %186 = load i32, ptr %6, align 4 %187 = srem i32 %186, 10 %188 = sub nsw i32 9, %187 %189 = mul nsw i32 %188, 9 %190 = sub nsw i32 %185, %189 br label %191 191: ; preds = %184, %178 %192 = phi i32 [ %183, %178 ], [ %190, %184 ] store i32 %192, ptr %12, align 4 %193 = load i64, ptr %4, align 8 %194 = load i64, ptr %5, align 8 %195 = load i32, ptr %12, align 4 %196 = call zeroext i16 @get_back_diag(i64 noundef %193, i64 noundef %194, i32 noundef %195) store i16 %196, ptr %7, align 2 %197 = load i16, ptr %7, align 2 %198 = load i32, ptr %6, align 4 %199 = sdiv i32 %198, 10 %200 = load i32, ptr %6, align 4 %201 = srem i32 %200, 10 %202 = sub nsw i32 10, %201 %203 = icmp slt i32 %199, %202 br i1 %203, label %204, label %207 204: ; preds = %191 %205 = load i32, ptr %6, align 4 %206 = sdiv i32 %205, 10 br label %211 207: ; preds = %191 %208 = load i32, ptr %6, align 4 %209 = srem i32 %208, 10 %210 = sub nsw i32 9, %209 br label %211 211: ; preds = %207, %204 %212 = phi i32 [ %206, %204 ], [ %210, %207 ] %213 = load i32, ptr %12, align 4 %214 = icmp slt i32 %213, 10 br i1 %214, label %215, label %218 215: ; preds = %211 %216 = load i32, ptr %12, align 4 %217 = add nsw i32 %216, 1 br label %222 218: ; preds = %211 %219 = load i32, ptr %12, align 4 %220 = sdiv i32 %219, 10 %221 = sub nsw i32 10, %220 br label %222 222: ; preds = %218, %215 %223 = phi i32 [ %217, %215 ], [ %221, %218 ] %224 = call i32 @calc_stream_moves(i16 noundef zeroext %197, i32 noundef %212, i32 noundef %223) store i32 %224, ptr %11, align 4 %225 = load i32, ptr %8, align 4 %226 = load i32, ptr %9, align 4 %227 = add nsw i32 %225, %226 %228 = load i32, ptr %10, align 4 %229 = add nsw i32 %227, %228 %230 = load i32, ptr %11, align 4 %231 = add nsw i32 %229, %230 ret i32 %231 } declare i32 @calc_stream_moves(i16 noundef zeroext, i32 noundef, i32 noundef) #1 declare zeroext i16 @get_forward_diag(i64 noundef, i64 noundef, i32 noundef) #1 declare zeroext i16 @get_back_diag(i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzqmtnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_moves(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i16, align 2 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 50 br i1 %14, label %15, label %25 15: ; preds = %3 %16 = load i64, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sdiv i32 %17, 10 %19 = srem i32 %18, 5 %20 = mul nsw i32 %19, 10 %21 = zext i32 %20 to i64 %22 = lshr i64 %16, %21 %23 = and i64 %22, 1023 %24 = trunc i64 %23 to i16 store i16 %24, ptr %7, align 2 br label %35 25: ; preds = %3 %26 = load i64, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = sdiv i32 %27, 10 %29 = srem i32 %28, 5 %30 = mul nsw i32 %29, 10 %31 = zext i32 %30 to i64 %32 = lshr i64 %26, %31 %33 = and i64 %32, 1023 %34 = trunc i64 %33 to i16 store i16 %34, ptr %7, align 2 br label %35 35: ; preds = %25, %15 %36 = load i16, ptr %7, align 2 %37 = load i32, ptr %6, align 4 %38 = srem i32 %37, 10 %39 = call i32 @calc_stream_moves(i16 noundef zeroext %36, i32 noundef %38, i32 noundef 10) store i32 %39, ptr %8, align 4 %40 = load i64, ptr %4, align 8 %41 = load i32, ptr %6, align 4 %42 = srem i32 %41, 10 %43 = zext i32 %42 to i64 %44 = lshr i64 %40, %43 %45 = and i64 %44, 1 %46 = load i64, ptr %4, align 8 %47 = load i32, ptr %6, align 4 %48 = srem i32 %47, 10 %49 = add nsw i32 %48, 9 %50 = zext i32 %49 to i64 %51 = lshr i64 %46, %50 %52 = and i64 %51, 2 %53 = or i64 %45, %52 %54 = load i64, ptr %4, align 8 %55 = load i32, ptr %6, align 4 %56 = srem i32 %55, 10 %57 = add nsw i32 %56, 18 %58 = zext i32 %57 to i64 %59 = lshr i64 %54, %58 %60 = and i64 %59, 4 %61 = or i64 %53, %60 %62 = load i64, ptr %4, align 8 %63 = load i32, ptr %6, align 4 %64 = srem i32 %63, 10 %65 = add nsw i32 %64, 27 %66 = zext i32 %65 to i64 %67 = lshr i64 %62, %66 %68 = and i64 %67, 8 %69 = or i64 %61, %68 %70 = load i64, ptr %4, align 8 %71 = load i32, ptr %6, align 4 %72 = srem i32 %71, 10 %73 = add nsw i32 %72, 36 %74 = zext i32 %73 to i64 %75 = lshr i64 %70, %74 %76 = and i64 %75, 16 %77 = or i64 %69, %76 %78 = load i64, ptr %5, align 8 %79 = load i32, ptr %6, align 4 %80 = srem i32 %79, 10 %81 = zext i32 %80 to i64 %82 = lshr i64 %78, %81 %83 = and i64 %82, 1 %84 = load i64, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = srem i32 %85, 10 %87 = add nsw i32 %86, 9 %88 = zext i32 %87 to i64 %89 = lshr i64 %84, %88 %90 = and i64 %89, 2 %91 = or i64 %83, %90 %92 = load i64, ptr %5, align 8 %93 = load i32, ptr %6, align 4 %94 = srem i32 %93, 10 %95 = add nsw i32 %94, 18 %96 = zext i32 %95 to i64 %97 = lshr i64 %92, %96 %98 = and i64 %97, 4 %99 = or i64 %91, %98 %100 = load i64, ptr %5, align 8 %101 = load i32, ptr %6, align 4 %102 = srem i32 %101, 10 %103 = add nsw i32 %102, 27 %104 = zext i32 %103 to i64 %105 = lshr i64 %100, %104 %106 = and i64 %105, 8 %107 = or i64 %99, %106 %108 = load i64, ptr %5, align 8 %109 = load i32, ptr %6, align 4 %110 = srem i32 %109, 10 %111 = add nsw i32 %110, 36 %112 = zext i32 %111 to i64 %113 = lshr i64 %108, %112 %114 = and i64 %113, 16 %115 = or i64 %107, %114 %116 = shl i64 %115, 5 %117 = or i64 %77, %116 %118 = trunc i64 %117 to i16 store i16 %118, ptr %7, align 2 %119 = load i16, ptr %7, align 2 %120 = load i32, ptr %6, align 4 %121 = sdiv i32 %120, 10 %122 = call i32 @calc_stream_moves(i16 noundef zeroext %119, i32 noundef %121, i32 noundef 10) store i32 %122, ptr %9, align 4 %123 = load i32, ptr %6, align 4 %124 = srem i32 %123, 10 %125 = load i32, ptr %6, align 4 %126 = sdiv i32 %125, 10 %127 = icmp sgt i32 %124, %126 br i1 %127, label %128, label %134 128: ; preds = %35 %129 = load i32, ptr %6, align 4 %130 = load i32, ptr %6, align 4 %131 = sdiv i32 %130, 10 %132 = mul nsw i32 %131, 11 %133 = sub nsw i32 %129, %132 br label %140 134: ; preds = %35 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %6, align 4 %137 = srem i32 %136, 10 %138 = mul nsw i32 %137, 11 %139 = sub nsw i32 %135, %138 br label %140 140: ; preds = %134, %128 %141 = phi i32 [ %133, %128 ], [ %139, %134 ] store i32 %141, ptr %12, align 4 %142 = load i64, ptr %4, align 8 %143 = load i64, ptr %5, align 8 %144 = load i32, ptr %12, align 4 %145 = call zeroext i16 @get_forward_diag(i64 noundef %142, i64 noundef %143, i32 noundef %144) store i16 %145, ptr %7, align 2 %146 = load i16, ptr %7, align 2 %147 = load i32, ptr %6, align 4 %148 = srem i32 %147, 10 %149 = load i32, ptr %6, align 4 %150 = sdiv i32 %149, 10 %151 = icmp sgt i32 %148, %150 br i1 %151, label %152, label %155 152: ; preds = %140 %153 = load i32, ptr %6, align 4 %154 = sdiv i32 %153, 10 br label %158 155: ; preds = %140 %156 = load i32, ptr %6, align 4 %157 = srem i32 %156, 10 br label %158 158: ; preds = %155, %152 %159 = phi i32 [ %154, %152 ], [ %157, %155 ] %160 = load i32, ptr %12, align 4 %161 = icmp slt i32 %160, 10 br i1 %161, label %162, label %165 162: ; preds = %158 %163 = load i32, ptr %12, align 4 %164 = sub nsw i32 10, %163 br label %169 165: ; preds = %158 %166 = load i32, ptr %12, align 4 %167 = sdiv i32 %166, 10 %168 = sub nsw i32 10, %167 br label %169 169: ; preds = %165, %162 %170 = phi i32 [ %164, %162 ], [ %168, %165 ] %171 = call i32 @calc_stream_moves(i16 noundef zeroext %146, i32 noundef %159, i32 noundef %170) store i32 %171, ptr %10, align 4 %172 = load i32, ptr %6, align 4 %173 = sdiv i32 %172, 10 %174 = load i32, ptr %6, align 4 %175 = srem i32 %174, 10 %176 = sub nsw i32 10, %175 %177 = icmp slt i32 %173, %176 br i1 %177, label %178, label %184 178: ; preds = %169 %179 = load i32, ptr %6, align 4 %180 = load i32, ptr %6, align 4 %181 = sdiv i32 %180, 10 %182 = mul nsw i32 %181, 9 %183 = sub nsw i32 %179, %182 br label %191 184: ; preds = %169 %185 = load i32, ptr %6, align 4 %186 = load i32, ptr %6, align 4 %187 = srem i32 %186, 10 %188 = sub nsw i32 9, %187 %189 = mul nsw i32 %188, 9 %190 = sub nsw i32 %185, %189 br label %191 191: ; preds = %184, %178 %192 = phi i32 [ %183, %178 ], [ %190, %184 ] store i32 %192, ptr %12, align 4 %193 = load i64, ptr %4, align 8 %194 = load i64, ptr %5, align 8 %195 = load i32, ptr %12, align 4 %196 = call zeroext i16 @get_back_diag(i64 noundef %193, i64 noundef %194, i32 noundef %195) store i16 %196, ptr %7, align 2 %197 = load i16, ptr %7, align 2 %198 = load i32, ptr %6, align 4 %199 = sdiv i32 %198, 10 %200 = load i32, ptr %6, align 4 %201 = srem i32 %200, 10 %202 = sub nsw i32 10, %201 %203 = icmp slt i32 %199, %202 br i1 %203, label %204, label %207 204: ; preds = %191 %205 = load i32, ptr %6, align 4 %206 = sdiv i32 %205, 10 br label %211 207: ; preds = %191 %208 = load i32, ptr %6, align 4 %209 = srem i32 %208, 10 %210 = sub nsw i32 9, %209 br label %211 211: ; preds = %207, %204 %212 = phi i32 [ %206, %204 ], [ %210, %207 ] %213 = load i32, ptr %12, align 4 %214 = icmp slt i32 %213, 10 br i1 %214, label %215, label %218 215: ; preds = %211 %216 = load i32, ptr %12, align 4 %217 = add nsw i32 %216, 1 br label %222 218: ; preds = %211 %219 = load i32, ptr %12, align 4 %220 = sdiv i32 %219, 10 %221 = sub nsw i32 10, %220 br label %222 222: ; preds = %218, %215 %223 = phi i32 [ %217, %215 ], [ %221, %218 ] %224 = call i32 @calc_stream_moves(i16 noundef zeroext %197, i32 noundef %212, i32 noundef %223) store i32 %224, ptr %11, align 4 %225 = load i32, ptr %8, align 4 %226 = load i32, ptr %9, align 4 %227 = add nsw i32 %225, %226 %228 = load i32, ptr %10, align 4 %229 = add nsw i32 %227, %228 %230 = load i32, ptr %11, align 4 %231 = add nsw i32 %229, %230 ret i32 %231 } declare i32 @calc_stream_moves(i16 noundef zeroext, i32 noundef, i32 noundef) #1 declare zeroext i16 @get_forward_diag(i64 noundef, i64 noundef, i32 noundef) #1 declare zeroext i16 @get_back_diag(i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph_96o7b5.c' source_filename = "/tmp/tmph_96o7b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimize_intercept(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %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 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store i32 1, ptr %17, align 4 br label %25 25: ; preds = %110, %8 %26 = load i32, ptr %17, align 4 %27 = icmp sle i32 %26, 10 br i1 %27, label %28, label %113 28: ; preds = %25 %29 = load i32, ptr %16, align 4 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds double, ptr %30, i64 0 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %14, align 8 %34 = load ptr, ptr %15, align 8 %35 = load ptr, ptr %10, align 8 %36 = call i32 @dmat_waxpby(i32 noundef %29, double noundef %32, ptr noundef %33, i32 noundef 1, ptr noundef %34, ptr noundef %35) %37 = load i32, ptr %16, align 4 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %11, align 8 %40 = call i32 @dmat_yexpx(i32 noundef %37, ptr noundef %38, ptr noundef %39) %41 = load i32, ptr %16, align 4 %42 = load ptr, ptr %11, align 8 %43 = load ptr, ptr %12, align 8 %44 = call i32 @dmat_yinvx(i32 noundef %41, ptr noundef %42, ptr noundef %43) %45 = load i32, ptr %16, align 4 %46 = load ptr, ptr %11, align 8 %47 = load ptr, ptr %12, align 8 %48 = load ptr, ptr %14, align 8 %49 = call i32 @gradient_hessian_over_v(i32 noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %19, ptr noundef %20) %50 = load double, ptr %19, align 8 %51 = load double, ptr %19, align 8 %52 = fmul double %50, %51 %53 = load double, ptr %20, align 8 %54 = fdiv double %52, %53 %55 = fdiv double %54, 2.000000e+00 store double %55, ptr %21, align 8 %56 = load double, ptr %19, align 8 %57 = fneg double %56 %58 = load double, ptr %20, align 8 %59 = fdiv double %57, %58 store double %59, ptr %22, align 8 %60 = load double, ptr %21, align 8 %61 = fcmp olt double %60, 0x3D719799812DEA11 br i1 %61, label %65, label %62 62: ; preds = %28 %63 = load i32, ptr %17, align 4 %64 = icmp eq i32 %63, 10 br i1 %64, label %65, label %66 65: ; preds = %62, %28 br label %113 66: ; preds = %62 store double 1.000000e+00, ptr %23, align 8 %67 = load i32, ptr %16, align 4 %68 = load ptr, ptr %10, align 8 %69 = load ptr, ptr %11, align 8 %70 = load ptr, ptr %12, align 8 %71 = call double @logistic_loss2(i32 noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70) store double %71, ptr %24, align 8 store i32 1, ptr %18, align 4 br label %72 72: ; preds = %100, %66 %73 = load i32, ptr %18, align 4 %74 = icmp slt i32 %73, 10 br i1 %74, label %75, label %103 75: ; preds = %72 %76 = load i32, ptr %16, align 4 %77 = load double, ptr %23, align 8 %78 = load double, ptr %22, align 8 %79 = fmul double %77, %78 %80 = load ptr, ptr %14, align 8 %81 = load ptr, ptr %10, align 8 %82 = load ptr, ptr %13, align 8 %83 = call i32 @dmat_waxpby(i32 noundef %76, double noundef %79, ptr noundef %80, i32 noundef 1, ptr noundef %81, ptr noundef %82) %84 = load i32, ptr %16, align 4 %85 = load ptr, ptr %13, align 8 %86 = call double @logistic_loss(i32 noundef %84, ptr noundef %85) %87 = load double, ptr %24, align 8 %88 = fsub double %86, %87 %89 = load double, ptr %23, align 8 %90 = fmul double 1.000000e-02, %89 %91 = load double, ptr %22, align 8 %92 = fmul double %90, %91 %93 = load double, ptr %19, align 8 %94 = fmul double %92, %93 %95 = fcmp ole double %88, %94 br i1 %95, label %96, label %97 96: ; preds = %75 br label %103 97: ; preds = %75 %98 = load double, ptr %23, align 8 %99 = fmul double %98, 5.000000e-01 store double %99, ptr %23, align 8 br label %100 100: ; preds = %97 %101 = load i32, ptr %18, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %18, align 4 br label %72, !llvm.loop !6 103: ; preds = %96, %72 %104 = load double, ptr %23, align 8 %105 = load double, ptr %22, align 8 %106 = load ptr, ptr %9, align 8 %107 = getelementptr inbounds double, ptr %106, i64 0 %108 = load double, ptr %107, align 8 %109 = call double @llvm.fmuladd.f64(double %104, double %105, double %108) store double %109, ptr %107, align 8 br label %110 110: ; preds = %103 %111 = load i32, ptr %17, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %17, align 4 br label %25, !llvm.loop !8 113: ; preds = %65, %25 ret void } declare i32 @dmat_waxpby(i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dmat_yexpx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dmat_yinvx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @gradient_hessian_over_v(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @logistic_loss2(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @logistic_loss(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_96o7b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimize_intercept(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %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 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store i32 1, ptr %17, align 4 %25 = load i32, ptr %17, align 4 %26 = icmp sle i32 %25, 10 br i1 %26, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %8 br label %27 27: ; preds = %.lr.ph2, %110 %28 = load i32, ptr %16, align 4 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %14, align 8 %33 = load ptr, ptr %15, align 8 %34 = load ptr, ptr %10, align 8 %35 = call i32 @dmat_waxpby(i32 noundef %28, double noundef %31, ptr noundef %32, i32 noundef 1, ptr noundef %33, ptr noundef %34) %36 = load i32, ptr %16, align 4 %37 = load ptr, ptr %10, align 8 %38 = load ptr, ptr %11, align 8 %39 = call i32 @dmat_yexpx(i32 noundef %36, ptr noundef %37, ptr noundef %38) %40 = load i32, ptr %16, align 4 %41 = load ptr, ptr %11, align 8 %42 = load ptr, ptr %12, align 8 %43 = call i32 @dmat_yinvx(i32 noundef %40, ptr noundef %41, ptr noundef %42) %44 = load i32, ptr %16, align 4 %45 = load ptr, ptr %11, align 8 %46 = load ptr, ptr %12, align 8 %47 = load ptr, ptr %14, align 8 %48 = call i32 @gradient_hessian_over_v(i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %19, ptr noundef %20) %49 = load double, ptr %19, align 8 %50 = load double, ptr %19, align 8 %51 = fmul double %49, %50 %52 = load double, ptr %20, align 8 %53 = fdiv double %51, %52 %54 = fdiv double %53, 2.000000e+00 store double %54, ptr %21, align 8 %55 = load double, ptr %19, align 8 %56 = fneg double %55 %57 = load double, ptr %20, align 8 %58 = fdiv double %56, %57 store double %58, ptr %22, align 8 %59 = load double, ptr %21, align 8 %60 = fcmp olt double %59, 0x3D719799812DEA11 br i1 %60, label %64, label %61 61: ; preds = %27 %62 = load i32, ptr %17, align 4 %63 = icmp eq i32 %62, 10 br i1 %63, label %64, label %65 64: ; preds = %61, %27 br label %115 65: ; preds = %61 store double 1.000000e+00, ptr %23, align 8 %66 = load i32, ptr %16, align 4 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %11, align 8 %69 = load ptr, ptr %12, align 8 %70 = call double @logistic_loss2(i32 noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69) store double %70, ptr %24, align 8 store i32 1, ptr %18, align 4 %71 = load i32, ptr %18, align 4 %72 = icmp slt i32 %71, 10 br i1 %72, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %65 br label %73 73: ; preds = %.lr.ph, %98 %74 = load i32, ptr %16, align 4 %75 = load double, ptr %23, align 8 %76 = load double, ptr %22, align 8 %77 = fmul double %75, %76 %78 = load ptr, ptr %14, align 8 %79 = load ptr, ptr %10, align 8 %80 = load ptr, ptr %13, align 8 %81 = call i32 @dmat_waxpby(i32 noundef %74, double noundef %77, ptr noundef %78, i32 noundef 1, ptr noundef %79, ptr noundef %80) %82 = load i32, ptr %16, align 4 %83 = load ptr, ptr %13, align 8 %84 = call double @logistic_loss(i32 noundef %82, ptr noundef %83) %85 = load double, ptr %24, align 8 %86 = fsub double %84, %85 %87 = load double, ptr %23, align 8 %88 = fmul double 1.000000e-02, %87 %89 = load double, ptr %22, align 8 %90 = fmul double %88, %89 %91 = load double, ptr %19, align 8 %92 = fmul double %90, %91 %93 = fcmp ole double %86, %92 br i1 %93, label %94, label %95 94: ; preds = %73 br label %103 95: ; preds = %73 %96 = load double, ptr %23, align 8 %97 = fmul double %96, 5.000000e-01 store double %97, ptr %23, align 8 br label %98 98: ; preds = %95 %99 = load i32, ptr %18, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %18, align 4 %101 = load i32, ptr %18, align 4 %102 = icmp slt i32 %101, 10 br i1 %102, label %73, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %98 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %65 br label %103 103: ; preds = %.loopexit, %94 %104 = load double, ptr %23, align 8 %105 = load double, ptr %22, align 8 %106 = load ptr, ptr %9, align 8 %107 = getelementptr inbounds double, ptr %106, i64 0 %108 = load double, ptr %107, align 8 %109 = call double @llvm.fmuladd.f64(double %104, double %105, double %108) store double %109, ptr %107, align 8 br label %110 110: ; preds = %103 %111 = load i32, ptr %17, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %17, align 4 %113 = load i32, ptr %17, align 4 %114 = icmp sle i32 %113, 10 br i1 %114, label %27, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %110 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %8 br label %115 115: ; preds = %.loopexit1, %64 ret void } declare i32 @dmat_waxpby(i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dmat_yexpx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dmat_yinvx(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @gradient_hessian_over_v(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @logistic_loss2(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @logistic_loss(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph5t48w16.c' source_filename = "/tmp/tmph5t48w16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pppoat_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph5t48w16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pppoat_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2t0y3a8t.c' source_filename = "/tmp/tmp2t0y3a8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"dvhf:pgb:r:\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"\0AUsage : %s [-h] [-dv] [-f conffile] [-b batchid] [-r rmid] [-p|g]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [235 x i8] c"\09-h\09\09show this message\0A\09-d\09\09increase debug level\0A\09-v\09\09increase verbose level\0A\09-f conffile\09Configuration file\0A\09-b batchid\09Batch session identifier\0A\09-r rmid\09\09Resource manager job identifier\0A\09-p\09\09ping request (default)\0A\09-g\09\09get request\0A\0A\00", align 1 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"memory allocation error!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"used=%ld usable=%ld halt=%ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"unable to process get request\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"unable to process ping request\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store ptr @.str, ptr %9, align 8 store ptr @.str.1, ptr %10, align 8 store ptr @.str.2, ptr %11, align 8 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 1, ptr %20, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call ptr @rindex(ptr noundef %23, i8 noundef signext 47) store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %31 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %7, align 8 br label %34 31: ; preds = %2 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 br label %34 34: ; preds = %31, %27 br label %35 35: ; preds = %82, %34 %36 = load i32, ptr %4, align 4 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %9, align 8 %39 = call i32 @getopt(i32 noundef %36, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = icmp ne i32 %39, -1 br i1 %40, label %41, label %83 41: ; preds = %35 %42 = load i32, ptr %8, align 4 switch i32 %42, label %73 [ i32 118, label %43 i32 100, label %46 i32 102, label %49 i32 98, label %52 i32 114, label %61 i32 112, label %70 i32 103, label %71 i32 104, label %72 ] 43: ; preds = %41 %44 = load i32, ptr %19, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %19, align 4 br label %82 46: ; preds = %41 %47 = load i32, ptr %18, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %18, align 4 br label %82 49: ; preds = %41 %50 = load i32, ptr @optarg, align 4 %51 = call ptr @strdup(i32 noundef %50) store ptr %51, ptr %12, align 8 br label %82 52: ; preds = %41 %53 = load i32, ptr @optarg, align 4 %54 = call ptr @strdup(i32 noundef %53) store ptr %54, ptr %13, align 8 %55 = load ptr, ptr %13, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load i32, ptr @stderr, align 4 %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %130 60: ; preds = %52 br label %82 61: ; preds = %41 %62 = load i32, ptr @optarg, align 4 %63 = call ptr @strdup(i32 noundef %62) store ptr %63, ptr %14, align 8 %64 = load ptr, ptr %14, align 8 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %69 66: ; preds = %61 %67 = load i32, ptr @stderr, align 4 %68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %130 69: ; preds = %61 br label %82 70: ; preds = %41 store i32 1, ptr %20, align 4 br label %82 71: ; preds = %41 store i32 2, ptr %20, align 4 br label %82 72: ; preds = %41 br label %73 73: ; preds = %41, %72 %74 = load i32, ptr @stdout, align 4 %75 = load ptr, ptr %10, align 8 %76 = load ptr, ptr %7, align 8 %77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef %75, ptr noundef %76) %78 = load i32, ptr @stdout, align 4 %79 = load ptr, ptr %11, align 8 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.4, ptr noundef %79) %81 = call i32 @exit(i32 noundef 0) #3 unreachable 82: ; preds = %71, %70, %69, %60, %49, %46, %43 br label %35, !llvm.loop !6 83: ; preds = %35 %84 = load i32, ptr %18, align 4 %85 = call i32 @xdebug_setmaxlevel(i32 noundef %84) %86 = load i32, ptr %19, align 4 %87 = call i32 @xverbose_setmaxlevel(i32 noundef %86) %88 = load i32, ptr %20, align 4 switch i32 %88, label %107 [ i32 2, label %89 i32 1, label %106 ] 89: ; preds = %83 %90 = load ptr, ptr %12, align 8 %91 = load ptr, ptr %13, align 8 %92 = load ptr, ptr %14, align 8 %93 = call i32 @bridgedapi_get(ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %16, ptr noundef %15, ptr noundef %17) store i32 %93, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp eq i32 %94, 0 br i1 %95, label %96, label %102 96: ; preds = %89 %97 = load i32, ptr @stdout, align 4 %98 = load i32, ptr %15, align 4 %99 = load i32, ptr %16, align 4 %100 = load i32, ptr %17, align 4 %101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.5, i32 noundef %98, i32 noundef %99, i32 noundef %100) br label %105 102: ; preds = %89 %103 = load i32, ptr @stderr, align 4 %104 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.6) br label %105 105: ; preds = %102, %96 br label %116 106: ; preds = %83 br label %107 107: ; preds = %83, %106 %108 = load ptr, ptr %12, align 8 %109 = call i32 @bridgedapi_ping(ptr noundef %108) store i32 %109, ptr %6, align 4 %110 = load i32, ptr %6, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %107 %113 = load i32, ptr @stderr, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str.7) br label %115 115: ; preds = %112, %107 br label %116 116: ; preds = %115, %105 %117 = load ptr, ptr %13, align 8 %118 = icmp ne ptr %117, null br i1 %118, label %119, label %122 119: ; preds = %116 %120 = load ptr, ptr %13, align 8 %121 = call i32 @free(ptr noundef %120) br label %122 122: ; preds = %119, %116 %123 = load ptr, ptr %14, align 8 %124 = icmp ne ptr %123, null br i1 %124, label %125, label %128 125: ; preds = %122 %126 = load ptr, ptr %14, align 8 %127 = call i32 @free(ptr noundef %126) br label %128 128: ; preds = %125, %122 %129 = load i32, ptr %6, align 4 store i32 %129, ptr %3, align 4 br label %130 130: ; preds = %128, %66, %57 %131 = load i32, ptr %3, align 4 ret i32 %131 } declare ptr @rindex(ptr noundef, i8 noundef signext) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @xdebug_setmaxlevel(i32 noundef) #1 declare i32 @xverbose_setmaxlevel(i32 noundef) #1 declare i32 @bridgedapi_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bridgedapi_ping(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2t0y3a8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"dvhf:pgb:r:\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"\0AUsage : %s [-h] [-dv] [-f conffile] [-b batchid] [-r rmid] [-p|g]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [235 x i8] c"\09-h\09\09show this message\0A\09-d\09\09increase debug level\0A\09-v\09\09increase verbose level\0A\09-f conffile\09Configuration file\0A\09-b batchid\09Batch session identifier\0A\09-r rmid\09\09Resource manager job identifier\0A\09-p\09\09ping request (default)\0A\09-g\09\09get request\0A\0A\00", align 1 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"memory allocation error!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"used=%ld usable=%ld halt=%ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"unable to process get request\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"unable to process ping request\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store ptr @.str, ptr %9, align 8 store ptr @.str.1, ptr %10, align 8 store ptr @.str.2, ptr %11, align 8 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 1, ptr %20, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call ptr @rindex(ptr noundef %23, i8 noundef signext 47) store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %31 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %7, align 8 br label %34 31: ; preds = %2 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 br label %34 34: ; preds = %31, %27 %35 = load i32, ptr %4, align 4 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %9, align 8 %38 = call i32 @getopt(i32 noundef %35, ptr noundef %36, ptr noundef %37) store i32 %38, ptr %8, align 4 %39 = icmp ne i32 %38, -1 br i1 %39, label %.lr.ph, label %87 .lr.ph: ; preds = %34 br label %40 40: ; preds = %.lr.ph, %81 %41 = load i32, ptr %8, align 4 switch i32 %41, label %.loopexit [ i32 118, label %42 i32 100, label %45 i32 102, label %48 i32 98, label %51 i32 114, label %60 i32 112, label %69 i32 103, label %70 i32 104, label %71 ] 42: ; preds = %40 %43 = load i32, ptr %19, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %19, align 4 br label %81 45: ; preds = %40 %46 = load i32, ptr %18, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %18, align 4 br label %81 48: ; preds = %40 %49 = load i32, ptr @optarg, align 4 %50 = call ptr @strdup(i32 noundef %49) store ptr %50, ptr %12, align 8 br label %81 51: ; preds = %40 %52 = load i32, ptr @optarg, align 4 %53 = call ptr @strdup(i32 noundef %52) store ptr %53, ptr %13, align 8 %54 = load ptr, ptr %13, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %59 56: ; preds = %51 %57 = load i32, ptr @stderr, align 4 %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %134 59: ; preds = %51 br label %81 60: ; preds = %40 %61 = load i32, ptr @optarg, align 4 %62 = call ptr @strdup(i32 noundef %61) store ptr %62, ptr %14, align 8 %63 = load ptr, ptr %14, align 8 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %68 65: ; preds = %60 %66 = load i32, ptr @stderr, align 4 %67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %134 68: ; preds = %60 br label %81 69: ; preds = %40 store i32 1, ptr %20, align 4 br label %81 70: ; preds = %40 store i32 2, ptr %20, align 4 br label %81 71: ; preds = %40 br label %72 .loopexit: ; preds = %40 br label %72 72: ; preds = %.loopexit, %71 %73 = load i32, ptr @stdout, align 4 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %7, align 8 %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef %74, ptr noundef %75) %77 = load i32, ptr @stdout, align 4 %78 = load ptr, ptr %11, align 8 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.4, ptr noundef %78) %80 = call i32 @exit(i32 noundef 0) #3 unreachable 81: ; preds = %70, %69, %68, %59, %48, %45, %42 %82 = load i32, ptr %4, align 4 %83 = load ptr, ptr %5, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 @getopt(i32 noundef %82, ptr noundef %83, ptr noundef %84) store i32 %85, ptr %8, align 4 %86 = icmp ne i32 %85, -1 br i1 %86, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %34 %88 = load i32, ptr %18, align 4 %89 = call i32 @xdebug_setmaxlevel(i32 noundef %88) %90 = load i32, ptr %19, align 4 %91 = call i32 @xverbose_setmaxlevel(i32 noundef %90) %92 = load i32, ptr %20, align 4 switch i32 %92, label %111 [ i32 2, label %93 i32 1, label %110 ] 93: ; preds = %87 %94 = load ptr, ptr %12, align 8 %95 = load ptr, ptr %13, align 8 %96 = load ptr, ptr %14, align 8 %97 = call i32 @bridgedapi_get(ptr noundef %94, ptr noundef %95, ptr noundef %96, ptr noundef %16, ptr noundef %15, ptr noundef %17) store i32 %97, ptr %6, align 4 %98 = load i32, ptr %6, align 4 %99 = icmp eq i32 %98, 0 br i1 %99, label %100, label %106 100: ; preds = %93 %101 = load i32, ptr @stdout, align 4 %102 = load i32, ptr %15, align 4 %103 = load i32, ptr %16, align 4 %104 = load i32, ptr %17, align 4 %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.5, i32 noundef %102, i32 noundef %103, i32 noundef %104) br label %109 106: ; preds = %93 %107 = load i32, ptr @stderr, align 4 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.6) br label %109 109: ; preds = %106, %100 br label %120 110: ; preds = %87 br label %111 111: ; preds = %110, %87 %112 = load ptr, ptr %12, align 8 %113 = call i32 @bridgedapi_ping(ptr noundef %112) store i32 %113, ptr %6, align 4 %114 = load i32, ptr %6, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %111 %117 = load i32, ptr @stderr, align 4 %118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.7) br label %119 119: ; preds = %116, %111 br label %120 120: ; preds = %119, %109 %121 = load ptr, ptr %13, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %123, label %126 123: ; preds = %120 %124 = load ptr, ptr %13, align 8 %125 = call i32 @free(ptr noundef %124) br label %126 126: ; preds = %123, %120 %127 = load ptr, ptr %14, align 8 %128 = icmp ne ptr %127, null br i1 %128, label %129, label %132 129: ; preds = %126 %130 = load ptr, ptr %14, align 8 %131 = call i32 @free(ptr noundef %130) br label %132 132: ; preds = %129, %126 %133 = load i32, ptr %6, align 4 store i32 %133, ptr %3, align 4 br label %134 134: ; preds = %132, %65, %56 %135 = load i32, ptr %3, align 4 ret i32 %135 } declare ptr @rindex(ptr noundef, i8 noundef signext) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @xdebug_setmaxlevel(i32 noundef) #1 declare i32 @xverbose_setmaxlevel(i32 noundef) #1 declare i32 @bridgedapi_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bridgedapi_ping(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvx01bood.c' source_filename = "/tmp/tmpvx01bood.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asin(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %32, %1 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 8 br i1 %7, label %8, label %35 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = mul i32 2, %9 %11 = call double @fac(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = call i32 @_pow(double noundef 4.000000e+00, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = call double @fac(i32 noundef %14) %16 = call i32 @_pow(double noundef %15, i32 noundef 2) %17 = mul nsw i32 %13, %16 %18 = load i32, ptr %4, align 4 %19 = mul i32 2, %18 %20 = add i32 %19, 1 %21 = mul i32 %17, %20 %22 = uitofp i32 %21 to double %23 = fdiv double %11, %22 %24 = load double, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = mul i32 2, %25 %27 = add i32 %26, 1 %28 = call i32 @_pow(double noundef %24, i32 noundef %27) %29 = sitofp i32 %28 to double %30 = load double, ptr %3, align 8 %31 = call double @llvm.fmuladd.f64(double %23, double %29, double %30) store double %31, ptr %3, align 8 br label %32 32: ; preds = %8 %33 = load i32, ptr %4, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %4, align 4 br label %5, !llvm.loop !6 35: ; preds = %5 %36 = load double, ptr %3, align 8 ret double %36 } declare double @fac(i32 noundef) #1 declare i32 @_pow(double 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvx01bood.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asin(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 8 br i1 %6, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %31 %8 = load i32, ptr %4, align 4 %9 = mul i32 2, %8 %10 = call double @fac(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @_pow(double noundef 4.000000e+00, i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call double @fac(i32 noundef %13) %15 = call i32 @_pow(double noundef %14, i32 noundef 2) %16 = mul nsw i32 %12, %15 %17 = load i32, ptr %4, align 4 %18 = mul i32 2, %17 %19 = add i32 %18, 1 %20 = mul i32 %16, %19 %21 = uitofp i32 %20 to double %22 = fdiv double %10, %21 %23 = load double, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = mul i32 2, %24 %26 = add i32 %25, 1 %27 = call i32 @_pow(double noundef %23, i32 noundef %26) %28 = sitofp i32 %27 to double %29 = load double, ptr %3, align 8 %30 = call double @llvm.fmuladd.f64(double %22, double %28, double %29) store double %30, ptr %3, align 8 br label %31 31: ; preds = %7 %32 = load i32, ptr %4, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 8 br i1 %35, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %1 %37 = load double, ptr %3, align 8 ret double %37 } declare double @fac(i32 noundef) #1 declare i32 @_pow(double 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"}
; ModuleID = '/tmp/tmpog2pmj1u.c' source_filename = "/tmp/tmpog2pmj1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"(1x,a,f14.1,a,2(a,1p1e12.5))\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"(1x,a,i10,1x,i2,1x,f4.1,2(a,1p1e12.5))\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"(1x,a,f14.3,a,2(a,1p1e12.5))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmio_log(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [38 x i8], align 16 %18 = alloca [6 x i8], align 1 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 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 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 38, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %18, i8 0, i64 6, i1 false) %22 = load ptr, ptr %12, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 2 %24 = load i32, ptr %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %7 %27 = load ptr, ptr %12, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 2 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 2 br i1 %30, label %31, label %39 31: ; preds = %26, %7 %32 = getelementptr inbounds [6 x i8], ptr %18, i64 0, i64 0 %33 = load ptr, ptr %13, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strncpy(ptr noundef %32, ptr noundef %35, i32 noundef 6) %37 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %38 = call i32 @snprintf(ptr noundef %37, i32 noundef 38, ptr noundef @.str) br label %56 39: ; preds = %26 %40 = load ptr, ptr %12, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %46 = call i32 @snprintf(ptr noundef %45, i32 noundef 38, ptr noundef @.str.1) br label %55 47: ; preds = %39 %48 = getelementptr inbounds [6 x i8], ptr %18, i64 0, i64 0 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 1 %51 = load ptr, ptr %50, align 8 %52 = call i32 @strncpy(ptr noundef %48, ptr noundef %51, i32 noundef 6) %53 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %54 = call i32 @snprintf(ptr noundef %53, i32 noundef 38, ptr noundef @.str.2) br label %55 55: ; preds = %47, %44 br label %56 56: ; preds = %55, %31 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %20, align 8 %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 %59 = load double, ptr %58, align 8 %60 = fcmp une double %59, 0.000000e+00 br i1 %60, label %61, label %78 61: ; preds = %56 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds double, ptr %62, i64 1 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds double, ptr %65, i64 2 %67 = load double, ptr %66, align 8 %68 = fadd double %64, %67 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds double, ptr %69, i64 0 %71 = load double, ptr %70, align 8 %72 = fsub double %68, %71 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds double, ptr %73, i64 0 %75 = load double, ptr %74, align 8 %76 = call double @fabs(double noundef %75) %77 = fdiv double %72, %76 store double %77, ptr %19, align 8 br label %78 78: ; preds = %61, %56 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds double, ptr %79, i64 0 %81 = load double, ptr %80, align 8 %82 = fcmp une double %81, 0.000000e+00 br i1 %82, label %83, label %100 83: ; preds = %78 %84 = load ptr, ptr %11, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = load ptr, ptr %11, align 8 %88 = getelementptr inbounds double, ptr %87, i64 2 %89 = load double, ptr %88, align 8 %90 = fadd double %86, %89 %91 = load ptr, ptr %11, align 8 %92 = getelementptr inbounds double, ptr %91, i64 0 %93 = load double, ptr %92, align 8 %94 = fsub double %90, %93 %95 = load ptr, ptr %11, align 8 %96 = getelementptr inbounds double, ptr %95, i64 0 %97 = load double, ptr %96, align 8 %98 = call double @fabs(double noundef %97) %99 = fdiv double %94, %98 store double %99, ptr %20, align 8 br label %100 100: ; preds = %83, %78 store double 0.000000e+00, ptr %21, align 8 %101 = load ptr, ptr %12, align 8 %102 = getelementptr inbounds i32, ptr %101, i64 2 %103 = load i32, ptr %102, align 4 %104 = icmp eq i32 %103, 1 br i1 %104, label %105, label %108 105: ; preds = %100 %106 = load double, ptr %8, align 8 %107 = call i32 @cmio_jd2y(double noundef %106, ptr noundef %15, ptr noundef %16, ptr noundef %21) br label %135 108: ; preds = %100 %109 = load ptr, ptr %12, align 8 %110 = getelementptr inbounds i32, ptr %109, i64 2 %111 = load i32, ptr %110, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %108 %114 = load double, ptr %8, align 8 store double %114, ptr %21, align 8 br label %115 115: ; preds = %113, %108 %116 = load ptr, ptr %12, align 8 %117 = getelementptr inbounds i32, ptr %116, i64 2 %118 = load i32, ptr %117, align 4 %119 = icmp eq i32 %118, 2 br i1 %119, label %120, label %124 120: ; preds = %115 %121 = load double, ptr %8, align 8 %122 = load double, ptr %9, align 8 %123 = fsub double %121, %122 store double %123, ptr %21, align 8 br label %124 124: ; preds = %120, %115 %125 = load ptr, ptr %12, align 8 %126 = getelementptr inbounds i32, ptr %125, i64 2 %127 = load i32, ptr %126, align 4 %128 = icmp eq i32 %127, 3 br i1 %128, label %129, label %134 129: ; preds = %124 %130 = load double, ptr %8, align 8 %131 = load double, ptr %9, align 8 %132 = fsub double %130, %131 %133 = fdiv double %132, 3.652500e+02 store double %133, ptr %21, align 8 br label %134 134: ; preds = %129, %124 br label %135 135: ; preds = %134, %105 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 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #2 declare double @fabs(double noundef) #2 declare i32 @cmio_jd2y(double noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpog2pmj1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"(1x,a,f14.1,a,2(a,1p1e12.5))\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"(1x,a,i10,1x,i2,1x,f4.1,2(a,1p1e12.5))\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"(1x,a,f14.3,a,2(a,1p1e12.5))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmio_log(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [38 x i8], align 16 %18 = alloca [6 x i8], align 1 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 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 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 38, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %18, i8 0, i64 6, i1 false) %22 = load ptr, ptr %12, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 2 %24 = load i32, ptr %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %7 %27 = load ptr, ptr %12, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 2 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 2 br i1 %30, label %31, label %39 31: ; preds = %26, %7 %32 = getelementptr inbounds [6 x i8], ptr %18, i64 0, i64 0 %33 = load ptr, ptr %13, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strncpy(ptr noundef %32, ptr noundef %35, i32 noundef 6) %37 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %38 = call i32 @snprintf(ptr noundef %37, i32 noundef 38, ptr noundef @.str) br label %56 39: ; preds = %26 %40 = load ptr, ptr %12, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %46 = call i32 @snprintf(ptr noundef %45, i32 noundef 38, ptr noundef @.str.1) br label %55 47: ; preds = %39 %48 = getelementptr inbounds [6 x i8], ptr %18, i64 0, i64 0 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 1 %51 = load ptr, ptr %50, align 8 %52 = call i32 @strncpy(ptr noundef %48, ptr noundef %51, i32 noundef 6) %53 = getelementptr inbounds [38 x i8], ptr %17, i64 0, i64 0 %54 = call i32 @snprintf(ptr noundef %53, i32 noundef 38, ptr noundef @.str.2) br label %55 55: ; preds = %47, %44 br label %56 56: ; preds = %55, %31 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %20, align 8 %57 = load ptr, ptr %10, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 %59 = load double, ptr %58, align 8 %60 = fcmp une double %59, 0.000000e+00 br i1 %60, label %61, label %78 61: ; preds = %56 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds double, ptr %62, i64 1 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds double, ptr %65, i64 2 %67 = load double, ptr %66, align 8 %68 = fadd double %64, %67 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds double, ptr %69, i64 0 %71 = load double, ptr %70, align 8 %72 = fsub double %68, %71 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds double, ptr %73, i64 0 %75 = load double, ptr %74, align 8 %76 = call double @fabs(double noundef %75) %77 = fdiv double %72, %76 store double %77, ptr %19, align 8 br label %78 78: ; preds = %61, %56 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds double, ptr %79, i64 0 %81 = load double, ptr %80, align 8 %82 = fcmp une double %81, 0.000000e+00 br i1 %82, label %83, label %100 83: ; preds = %78 %84 = load ptr, ptr %11, align 8 %85 = getelementptr inbounds double, ptr %84, i64 1 %86 = load double, ptr %85, align 8 %87 = load ptr, ptr %11, align 8 %88 = getelementptr inbounds double, ptr %87, i64 2 %89 = load double, ptr %88, align 8 %90 = fadd double %86, %89 %91 = load ptr, ptr %11, align 8 %92 = getelementptr inbounds double, ptr %91, i64 0 %93 = load double, ptr %92, align 8 %94 = fsub double %90, %93 %95 = load ptr, ptr %11, align 8 %96 = getelementptr inbounds double, ptr %95, i64 0 %97 = load double, ptr %96, align 8 %98 = call double @fabs(double noundef %97) %99 = fdiv double %94, %98 store double %99, ptr %20, align 8 br label %100 100: ; preds = %83, %78 store double 0.000000e+00, ptr %21, align 8 %101 = load ptr, ptr %12, align 8 %102 = getelementptr inbounds i32, ptr %101, i64 2 %103 = load i32, ptr %102, align 4 %104 = icmp eq i32 %103, 1 br i1 %104, label %105, label %108 105: ; preds = %100 %106 = load double, ptr %8, align 8 %107 = call i32 @cmio_jd2y(double noundef %106, ptr noundef %15, ptr noundef %16, ptr noundef %21) br label %135 108: ; preds = %100 %109 = load ptr, ptr %12, align 8 %110 = getelementptr inbounds i32, ptr %109, i64 2 %111 = load i32, ptr %110, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %108 %114 = load double, ptr %8, align 8 store double %114, ptr %21, align 8 br label %115 115: ; preds = %113, %108 %116 = load ptr, ptr %12, align 8 %117 = getelementptr inbounds i32, ptr %116, i64 2 %118 = load i32, ptr %117, align 4 %119 = icmp eq i32 %118, 2 br i1 %119, label %120, label %124 120: ; preds = %115 %121 = load double, ptr %8, align 8 %122 = load double, ptr %9, align 8 %123 = fsub double %121, %122 store double %123, ptr %21, align 8 br label %124 124: ; preds = %120, %115 %125 = load ptr, ptr %12, align 8 %126 = getelementptr inbounds i32, ptr %125, i64 2 %127 = load i32, ptr %126, align 4 %128 = icmp eq i32 %127, 3 br i1 %128, label %129, label %134 129: ; preds = %124 %130 = load double, ptr %8, align 8 %131 = load double, ptr %9, align 8 %132 = fsub double %130, %131 %133 = fdiv double %132, 3.652500e+02 store double %133, ptr %21, align 8 br label %134 134: ; preds = %129, %124 br label %135 135: ; preds = %134, %105 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 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #2 declare double @fabs(double noundef) #2 declare i32 @cmio_jd2y(double noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmy50j8qu.c' source_filename = "/tmp/tmpmy50j8qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"#.0lhjz+- 123456789*$'L?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_is_arg(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @ft_strchr(ptr noundef @.str, i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %7, %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmy50j8qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"#.0lhjz+- 123456789*$'L?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_is_arg(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @ft_strchr(ptr noundef @.str, i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %7, %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmqzxa18y.c' source_filename = "/tmp/tmpmqzxa18y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 59, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 35, %7 br i1 %8, label %9, label %11 9: ; preds = %6, %1 %10 = call i32 (...) @line_Comment() store i32 -1, ptr %2, align 4 br label %34 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 48, %12 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 -1, ptr %2, align 4 br label %34 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 57, %16 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 48 store i32 %20, ptr %2, align 4 br label %34 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 223 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 65, %24 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -1, ptr %2, align 4 br label %34 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = icmp sge i32 70, %28 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 %31, 55 store i32 %32, ptr %2, align 4 br label %34 33: ; preds = %27 store i32 -1, ptr %2, align 4 br label %34 34: ; preds = %33, %30, %26, %18, %14, %9 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @line_Comment(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmqzxa18y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 59, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 35, %7 br i1 %8, label %9, label %11 9: ; preds = %6, %1 %10 = call i32 (...) @line_Comment() store i32 -1, ptr %2, align 4 br label %34 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 48, %12 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 -1, ptr %2, align 4 br label %34 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 57, %16 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 48 store i32 %20, ptr %2, align 4 br label %34 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 223 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 65, %24 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 -1, ptr %2, align 4 br label %34 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = icmp sge i32 70, %28 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 %31, 55 store i32 %32, ptr %2, align 4 br label %34 33: ; preds = %27 store i32 -1, ptr %2, align 4 br label %34 34: ; preds = %33, %30, %26, %18, %14, %9 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @line_Comment(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa_w2bs9q.c' source_filename = "/tmp/tmpa_w2bs9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tube_WriteC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = trunc i32 %6 to i8 %8 = call i32 @sendByte(i32 noundef 1, i8 noundef zeroext %7) ret void } declare i32 @sendByte(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa_w2bs9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tube_WriteC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = trunc i32 %6 to i8 %8 = call i32 @sendByte(i32 noundef 1, i8 noundef zeroext %7) ret void } declare i32 @sendByte(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpscj5mavx.c' source_filename = "/tmp/tmpscj5mavx.c" target datalayout = "e-m:e-p270: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/tmpscj5mavx.c" target datalayout = "e-m:e-p270: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/tmpf5fwz2_r.c' source_filename = "/tmp/tmpf5fwz2_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5fwz2_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj7bja9ir.c' source_filename = "/tmp/tmpj7bja9ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"dec esi\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sub esi, %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"mov ah, [data_str+esi]\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"inc esi\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"add esi, %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"inc ah\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"add ah, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"mov [data_str+esi], ah\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"dec ah\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"sub ah, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @processing_pending_instruction(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 switch i32 %6, label %47 [ i32 60, label %7 i32 62, label %17 i32 43, label %27 i32 45, label %37 ] 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %15 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %12, %10 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %47 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %25 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23) br label %25 25: ; preds = %22, %20 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %47 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %35 32: ; preds = %27 %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %33) br label %35 35: ; preds = %32, %30 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %47 37: ; preds = %2 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %45 42: ; preds = %37 %43 = load i32, ptr %4, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %43) br label %45 45: ; preds = %42, %40 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %47 47: ; preds = %2, %45, %35, %25, %15 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/tmpj7bja9ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"dec esi\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sub esi, %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"mov ah, [data_str+esi]\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"inc esi\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"add esi, %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"inc ah\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"add ah, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"mov [data_str+esi], ah\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"dec ah\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"sub ah, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @processing_pending_instruction(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 switch i32 %6, label %47 [ i32 60, label %7 i32 62, label %17 i32 43, label %27 i32 45, label %37 ] 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %15 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %12, %10 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %47 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %25 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23) br label %25 25: ; preds = %22, %20 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %47 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %35 32: ; preds = %27 %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %33) br label %35 35: ; preds = %32, %30 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %47 37: ; preds = %2 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %45 42: ; preds = %37 %43 = load i32, ptr %4, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %43) br label %45 45: ; preds = %42, %40 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %47 47: ; preds = %45, %35, %25, %15, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_vzryp5r.c' source_filename = "/tmp/tmp_vzryp5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @argconfig_parse_comma_sep_array(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 ptr, align 8 %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 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13, %3 %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = add nsw i64 %20, 1 %22 = call ptr @malloc(i64 noundef %21) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %4, align 8 %24 = call ptr @strtok(ptr noundef %23, ptr noundef @.str) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %18 %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %18 %30 = load ptr, ptr %8, align 8 %31 = call i32 @strtol(ptr noundef %30, ptr noundef %9, i32 noundef 0) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load ptr, ptr %9, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %29 %43 = load i32, ptr %7, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %7, align 4 br label %45 45: ; preds = %42, %70 %46 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %46, ptr %8, align 8 %47 = load ptr, ptr %8, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %51 49: ; preds = %45 %50 = load i32, ptr %7, align 4 ret i32 %50 51: ; preds = %45 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp uge i32 %52, %53 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %51 %58 = load ptr, ptr %8, align 8 %59 = call i32 @strtol(ptr noundef %58, ptr noundef %9, i32 noundef 0) %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %7, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 store i32 %59, ptr %63, align 4 %64 = load ptr, ptr %9, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %57 %69 = call i32 @exit(i32 noundef 1) #3 unreachable 70: ; preds = %57 %71 = load i32, ptr %7, align 4 %72 = add i32 %71, 1 store i32 %72, ptr %7, align 4 br label %45 } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i64 noundef) #1 declare ptr @strtok(ptr noundef, ptr 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vzryp5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @argconfig_parse_comma_sep_array(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 ptr, align 8 %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 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13, %3 %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = add nsw i64 %20, 1 %22 = call ptr @malloc(i64 noundef %21) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %4, align 8 %24 = call ptr @strtok(ptr noundef %23, ptr noundef @.str) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %18 %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %18 %30 = load ptr, ptr %8, align 8 %31 = call i32 @strtol(ptr noundef %30, ptr noundef %9, i32 noundef 0) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load ptr, ptr %9, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %29 %43 = load i32, ptr %7, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %45, ptr %8, align 8 %46 = load ptr, ptr %8, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %.lr.ph .lr.ph: ; preds = %42 br label %50 ._crit_edge: ; preds = %69 br label %48 48: ; preds = %._crit_edge, %42 %49 = load i32, ptr %7, align 4 ret i32 %49 50: ; preds = %.lr.ph, %69 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp uge i32 %51, %52 br i1 %53, label %54, label %56 54: ; preds = %50 %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %50 %57 = load ptr, ptr %8, align 8 %58 = call i32 @strtol(ptr noundef %57, ptr noundef %9, i32 noundef 0) %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %7, align 4 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %58, ptr %62, align 4 %63 = load ptr, ptr %9, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %56 %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %56 %70 = load i32, ptr %7, align 4 %71 = add i32 %70, 1 store i32 %71, ptr %7, align 4 %72 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %72, ptr %8, align 8 %73 = load ptr, ptr %8, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %._crit_edge, label %50 } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i64 noundef) #1 declare ptr @strtok(ptr noundef, ptr 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" } 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/tmpyq_kwncx.c' source_filename = "/tmp/tmpyq_kwncx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retSized(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyq_kwncx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retSized(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_z_ou2aw.c' source_filename = "/tmp/tmp_z_ou2aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rel_error(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 double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store double 0.000000e+00, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %51, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %54 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds double, ptr %20, i64 %22 %24 = load double, ptr %23, align 8 %25 = fsub double %19, %24 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = fsub double %30, %35 %37 = load double, ptr %8, align 8 %38 = call double @llvm.fmuladd.f64(double %25, double %36, double %37) store double %38, ptr %8, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load double, ptr %9, align 8 %50 = call double @llvm.fmuladd.f64(double %43, double %48, double %49) store double %50, ptr %9, align 8 br label %51 51: ; preds = %14 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %10, !llvm.loop !6 54: ; preds = %10 %55 = load double, ptr %8, align 8 %56 = call double @sqrt(double noundef %55) #3 %57 = load double, ptr %9, align 8 %58 = call double @sqrt(double noundef %57) #3 %59 = fdiv double %56, %58 ret double %59 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_z_ou2aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rel_error(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 double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store double 0.000000e+00, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %56 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %50 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds double, ptr %19, i64 %21 %23 = load double, ptr %22, align 8 %24 = fsub double %18, %23 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = fsub double %29, %34 %36 = load double, ptr %8, align 8 %37 = call double @llvm.fmuladd.f64(double %24, double %35, double %36) store double %37, ptr %8, align 8 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load double, ptr %46, align 8 %48 = load double, ptr %9, align 8 %49 = call double @llvm.fmuladd.f64(double %42, double %47, double %48) store double %49, ptr %9, align 8 br label %50 50: ; preds = %13 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %3 %57 = load double, ptr %8, align 8 %58 = call double @sqrt(double noundef %57) #3 %59 = load double, ptr %9, align 8 %60 = call double @sqrt(double noundef %59) #3 %61 = fdiv double %58, %60 ret double %61 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq45t6pr4.c' source_filename = "/tmp/tmpq45t6pr4.c" target datalayout = "e-m:e-p270: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/tmpq45t6pr4.c" target datalayout = "e-m:e-p270: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/tmpwbhi9ja4.c' source_filename = "/tmp/tmpwbhi9ja4.c" target datalayout = "e-m:e-p270: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/tmpwbhi9ja4.c" target datalayout = "e-m:e-p270: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/tmp1m294zr2.c' source_filename = "/tmp/tmp1m294zr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRRESIZEPALETTE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core7_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core7_swap(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/tmp1m294zr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRRESIZEPALETTE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core7_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core7_swap(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/tmpnmrp9mrg.c' source_filename = "/tmp/tmpnmrp9mrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 2, ptr %4, align 4 br label %5 5: ; preds = %10, %1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = srem i32 %6, %7 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str) br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %34 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = icmp sle i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26, %23 %29 = load i32, ptr %3, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.2) br label %33 33: ; preds = %31, %28 br label %34 34: ; preds = %33, %19 %35 = load i32, ptr %2, align 4 ret i32 %35 } 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/tmpnmrp9mrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 2, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = srem i32 %12, %13 %15 = icmp ne i32 %14, 0 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str) br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %37 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = icmp sle i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.1) br label %31 31: ; preds = %29, %26 %32 = load i32, ptr %3, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34, %31 br label %37 37: ; preds = %36, %22 %38 = load i32, ptr %2, align 4 ret i32 %38 } 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/tmp4em55ajt.c' source_filename = "/tmp/tmp4em55ajt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"abc45678\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"helightxu@gmail.com\00", align 1 @DES_ENCRYPT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"content= %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"content_in= %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"content_out= %s\0A\00", align 1 @DES_DECRYPT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca [1024 x i8], align 16 %5 = alloca [1024 x i8], align 16 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 1024, i1 false) store ptr @.str, ptr %7, align 8 store ptr @.str.1, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @DES_string_to_key(ptr noundef %11, ptr noundef %9) %13 = call i32 @DES_set_key_checked(ptr noundef %9, ptr noundef %10) %14 = load ptr, ptr %8, align 8 %15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %8, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load i32, ptr @DES_ENCRYPT, align 4 %19 = call i32 @DES_ncbc_encrypt(ptr noundef %14, ptr noundef %15, i32 noundef %17, ptr noundef %10, ptr noundef %9, i32 noundef %18) %20 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) %23 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @Base64Encode(ptr noundef %20, i32 noundef %22, ptr noundef %23, i32 noundef 1024) %25 = load ptr, ptr %8, align 8 %26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25) %27 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %27) %29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @printf(ptr noundef @.str.4, ptr noundef %29) %31 = load ptr, ptr %7, align 8 %32 = call i32 @DES_string_to_key(ptr noundef %31, ptr noundef %9) %33 = call i32 @DES_set_key_checked(ptr noundef %9, ptr noundef %10) %34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %36 = call i32 @strlen(ptr noundef %35) %37 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %38 = call i32 @Base64Encode(ptr noundef %34, i32 noundef %36, ptr noundef %37, i32 noundef 1024) %39 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %40 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %41 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %42 = call i32 @strlen(ptr noundef %41) %43 = load i32, ptr @DES_DECRYPT, align 4 %44 = call i32 @DES_ncbc_encrypt(ptr noundef %39, ptr noundef %40, i32 noundef %42, ptr noundef %10, ptr noundef %9, i32 noundef %43) %45 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45) %47 = call i32 (...) @test_base64() 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 @DES_string_to_key(ptr noundef, ptr noundef) #2 declare i32 @DES_set_key_checked(ptr noundef, ptr noundef) #2 declare i32 @DES_ncbc_encrypt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @Base64Encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @test_base64(...) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4em55ajt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"abc45678\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"helightxu@gmail.com\00", align 1 @DES_ENCRYPT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"content= %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"content_in= %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"content_out= %s\0A\00", align 1 @DES_DECRYPT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca [1024 x i8], align 16 %5 = alloca [1024 x i8], align 16 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 1024, i1 false) store ptr @.str, ptr %7, align 8 store ptr @.str.1, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @DES_string_to_key(ptr noundef %11, ptr noundef %9) %13 = call i32 @DES_set_key_checked(ptr noundef %9, ptr noundef %10) %14 = load ptr, ptr %8, align 8 %15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %8, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load i32, ptr @DES_ENCRYPT, align 4 %19 = call i32 @DES_ncbc_encrypt(ptr noundef %14, ptr noundef %15, i32 noundef %17, ptr noundef %10, ptr noundef %9, i32 noundef %18) %20 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) %23 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @Base64Encode(ptr noundef %20, i32 noundef %22, ptr noundef %23, i32 noundef 1024) %25 = load ptr, ptr %8, align 8 %26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25) %27 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %27) %29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @printf(ptr noundef @.str.4, ptr noundef %29) %31 = load ptr, ptr %7, align 8 %32 = call i32 @DES_string_to_key(ptr noundef %31, ptr noundef %9) %33 = call i32 @DES_set_key_checked(ptr noundef %9, ptr noundef %10) %34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %36 = call i32 @strlen(ptr noundef %35) %37 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %38 = call i32 @Base64Encode(ptr noundef %34, i32 noundef %36, ptr noundef %37, i32 noundef 1024) %39 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %40 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %41 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %42 = call i32 @strlen(ptr noundef %41) %43 = load i32, ptr @DES_DECRYPT, align 4 %44 = call i32 @DES_ncbc_encrypt(ptr noundef %39, ptr noundef %40, i32 noundef %42, ptr noundef %10, ptr noundef %9, i32 noundef %43) %45 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %46 = call i32 @printf(ptr noundef @.str.4, ptr noundef %45) %47 = call i32 (...) @test_base64() 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 @DES_string_to_key(ptr noundef, ptr noundef) #2 declare i32 @DES_set_key_checked(ptr noundef, ptr noundef) #2 declare i32 @DES_ncbc_encrypt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @Base64Encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @test_base64(...) #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"}
; ModuleID = '/tmp/tmpk3zhprkv.c' source_filename = "/tmp/tmpk3zhprkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1024 x double], align 16 %3 = alloca [2048 x double], align 16 %4 = alloca [1024 x double], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 2048 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %11 store double 1.000000e+00, ptr %12, align 8 br label %13 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 %17 = getelementptr inbounds [1024 x double], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds [1024 x double], ptr %4, i64 0, i64 0 %20 = call i32 @foo(ptr noundef %17, ptr noundef %18, ptr noundef %19) store i32 0, ptr %5, align 4 br label %21 21: ; preds = %44, %16 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 1024 br i1 %23, label %24, label %47 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 2, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %27 %29 = load double, ptr %28, align 8 %30 = fcmp une double %29, 2.000000e+00 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %24 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 2, %34 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %37 %39 = load double, ptr %38, align 8 %40 = fcmp une double %39, 4.000000e+00 br i1 %40, label %41, label %43 41: ; preds = %33 %42 = call i32 (...) @abort() #3 unreachable 43: ; preds = %33 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 2 store i32 %46, ptr %5, align 4 br label %21, !llvm.loop !8 47: ; preds = %21 store i32 0, ptr %5, align 4 br label %48 48: ; preds = %68, %47 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %49, 1024 br i1 %50, label %51, label %71 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1024 x double], ptr %2, i64 0, i64 %53 %55 = load double, ptr %54, align 8 %56 = fcmp une double %55, 1.000000e+00 br i1 %56, label %57, label %59 57: ; preds = %51 %58 = call i32 (...) @abort() #3 unreachable 59: ; preds = %51 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [1024 x double], ptr %4, i64 0, i64 %61 %63 = load double, ptr %62, align 8 %64 = fcmp une double %63, 6.000000e+00 br i1 %64, label %65, label %67 65: ; preds = %59 %66 = call i32 (...) @abort() #3 unreachable 67: ; preds = %59 br label %68 68: ; preds = %67 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %48, !llvm.loop !9 71: ; preds = %48 ret i32 0 } declare i32 @foo(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk3zhprkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1024 x double], align 16 %3 = alloca [2048 x double], align 16 %4 = alloca [1024 x double], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 2048 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %10 store double 1.000000e+00, ptr %11, align 8 br label %12 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %15, 2048 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = getelementptr inbounds [1024 x double], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [1024 x double], ptr %4, i64 0, i64 0 %21 = call i32 @foo(ptr noundef %18, ptr noundef %19, ptr noundef %20) store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 1024 br i1 %23, label %.lr.ph2, label %49 .lr.ph2: ; preds = %17 br label %24 24: ; preds = %.lr.ph2, %44 %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 2, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %27 %29 = load double, ptr %28, align 8 %30 = fcmp une double %29, 2.000000e+00 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %24 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 2, %34 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [2048 x double], ptr %3, i64 0, i64 %37 %39 = load double, ptr %38, align 8 %40 = fcmp une double %39, 4.000000e+00 br i1 %40, label %41, label %43 41: ; preds = %33 %42 = call i32 (...) @abort() #3 unreachable 43: ; preds = %33 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 2 store i32 %46, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp slt i32 %47, 1024 br i1 %48, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %49 49: ; preds = %._crit_edge3, %17 store i32 0, ptr %5, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %50, 1024 br i1 %51, label %.lr.ph5, label %74 .lr.ph5: ; preds = %49 br label %52 52: ; preds = %.lr.ph5, %69 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1024 x double], ptr %2, i64 0, i64 %54 %56 = load double, ptr %55, align 8 %57 = fcmp une double %56, 1.000000e+00 br i1 %57, label %58, label %60 58: ; preds = %52 %59 = call i32 (...) @abort() #3 unreachable 60: ; preds = %52 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [1024 x double], ptr %4, i64 0, i64 %62 %64 = load double, ptr %63, align 8 %65 = fcmp une double %64, 6.000000e+00 br i1 %65, label %66, label %68 66: ; preds = %60 %67 = call i32 (...) @abort() #3 unreachable 68: ; preds = %60 br label %69 69: ; preds = %68 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %72, 1024 br i1 %73, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %74 74: ; preds = %._crit_edge6, %49 ret i32 0 } declare i32 @foo(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphrdi5as1.c' source_filename = "/tmp/tmphrdi5as1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GotoLc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @GotoXy(i32 noundef %5, i32 noundef %6) ret void } declare i32 @GotoXy(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/tmphrdi5as1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GotoLc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @GotoXy(i32 noundef %5, i32 noundef %6) ret void } declare i32 @GotoXy(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/tmpapjhp78b.c' source_filename = "/tmp/tmpapjhp78b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rte_parse_json(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = call ptr (...) @new_json_item() store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr null, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 10: ; preds = %1 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @json_skip(ptr noundef %12) %14 = call ptr @json_parse_value(ptr noundef %11, i32 noundef %13) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp eq ptr null, %15 br i1 %16, label %17, label %20 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = call i32 @rte_destroy_json(ptr noundef %18) store ptr null, ptr %2, align 8 br label %22 20: ; preds = %10 %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %20, %17, %9 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @new_json_item(...) #1 declare ptr @json_parse_value(ptr noundef, i32 noundef) #1 declare i32 @json_skip(ptr noundef) #1 declare i32 @rte_destroy_json(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/tmpapjhp78b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rte_parse_json(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = call ptr (...) @new_json_item() store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr null, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 10: ; preds = %1 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @json_skip(ptr noundef %12) %14 = call ptr @json_parse_value(ptr noundef %11, i32 noundef %13) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp eq ptr null, %15 br i1 %16, label %17, label %20 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = call i32 @rte_destroy_json(ptr noundef %18) store ptr null, ptr %2, align 8 br label %22 20: ; preds = %10 %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %20, %17, %9 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @new_json_item(...) #1 declare ptr @json_parse_value(ptr noundef, i32 noundef) #1 declare i32 @json_skip(ptr noundef) #1 declare i32 @rte_destroy_json(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/tmpd21l58hl.c' source_filename = "/tmp/tmpd21l58hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = mul i64 %12, %13 store i64 %14, ptr %10, align 8 store i64 0, ptr %11, align 8 br label %15 15: ; preds = %35, %4 %16 = load i64, ptr %11, align 8 %17 = load i64, ptr %10, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %38 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = ptrtoint ptr %20 to i64 %22 = load i64, ptr %11, align 8 %23 = add i64 %21, %22 %24 = inttoptr i64 %23 to ptr %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %9, align 8 %27 = call i64 @fputc(i8 noundef signext %25, ptr noundef %26) %28 = load i64, ptr @EOF, align 8 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %19 %31 = load i64, ptr %11, align 8 %32 = load i64, ptr %7, align 8 %33 = udiv i64 %31, %32 store i64 %33, ptr %5, align 8 br label %40 34: ; preds = %19 br label %35 35: ; preds = %34 %36 = load i64, ptr %11, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %11, align 8 br label %15, !llvm.loop !6 38: ; preds = %15 %39 = load i64, ptr %8, align 8 store i64 %39, ptr %5, align 8 br label %40 40: ; preds = %38, %30 %41 = load i64, ptr %5, align 8 ret i64 %41 } declare i64 @fputc(i8 noundef signext, 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/tmpd21l58hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = mul i64 %12, %13 store i64 %14, ptr %10, align 8 store i64 0, ptr %11, align 8 %15 = load i64, ptr %11, align 8 %16 = load i64, ptr %10, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph, label %40 .lr.ph: ; preds = %4 br label %18 18: ; preds = %.lr.ph, %34 %19 = load ptr, ptr %6, align 8 %20 = ptrtoint ptr %19 to i64 %21 = load i64, ptr %11, align 8 %22 = add i64 %20, %21 %23 = inttoptr i64 %22 to ptr %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %9, align 8 %26 = call i64 @fputc(i8 noundef signext %24, ptr noundef %25) %27 = load i64, ptr @EOF, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %33 29: ; preds = %18 %30 = load i64, ptr %11, align 8 %31 = load i64, ptr %7, align 8 %32 = udiv i64 %30, %31 store i64 %32, ptr %5, align 8 br label %42 33: ; preds = %18 br label %34 34: ; preds = %33 %35 = load i64, ptr %11, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %11, align 8 %37 = load i64, ptr %11, align 8 %38 = load i64, ptr %10, align 8 %39 = icmp ult i64 %37, %38 br i1 %39, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %4 %41 = load i64, ptr %8, align 8 store i64 %41, ptr %5, align 8 br label %42 42: ; preds = %40, %29 %43 = load i64, ptr %5, align 8 ret i64 %43 } declare i64 @fputc(i8 noundef signext, 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/tmpqm1nkorh.c' source_filename = "/tmp/tmpqm1nkorh.c" target datalayout = "e-m:e-p270: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/tmpqm1nkorh.c" target datalayout = "e-m:e-p270: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/tmpge84khpc.c' source_filename = "/tmp/tmpge84khpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"\0ARaw photo decoder \22dcraw\22 v%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8.93\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0Aby Dave Coffin, dcoffin a cybercom o net\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"\0AUsage: %s [OPTION]... [FILE]...\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"-v Print verbose messages\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"-c Write image data to standard output\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"-e Extract embedded thumbnail image\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"-i Identify files without decoding them\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"-i -v Identify files and show metadata\00", align 1 @.str.9 = private unnamed_addr constant [48 x i8] c"-z Change file dates to camera timestamp\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"-w Use camera white balance, if possible\00", align 1 @.str.11 = private unnamed_addr constant [52 x i8] c"-a Average the whole image for white balance\00", align 1 @.str.12 = private unnamed_addr constant [50 x i8] c"-A <x y w h> Average a grey box for white balance\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"-r <r g b g> Set custom white balance\00", align 1 @.str.14 = private unnamed_addr constant [49 x i8] c"+M/-M Use/don't use an embedded color matrix\00", align 1 @.str.15 = private unnamed_addr constant [39 x i8] c"-C <r b> Correct chromatic aberration\00", align 1 @.str.16 = private unnamed_addr constant [50 x i8] c"-P <file> Fix the dead pixels listed in this file\00", align 1 @.str.17 = private unnamed_addr constant [47 x i8] c"-K <file> Subtract dark frame (16-bit raw PGM)\00", align 1 @.str.18 = private unnamed_addr constant [33 x i8] c"-k <num> Set the darkness level\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"-S <num> Set the saturation level\00", align 1 @.str.20 = private unnamed_addr constant [46 x i8] c"-n <num> Set threshold for wavelet denoising\00", align 1 @.str.21 = private unnamed_addr constant [65 x i8] c"-H [0-9] Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)\00", align 1 @.str.22 = private unnamed_addr constant [54 x i8] c"-t [0-7] Flip image (0=none, 3=180, 5=90CCW, 6=90CW)\00", align 1 @.str.23 = private unnamed_addr constant [63 x i8] c"-o [0-5] Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ)\00", align 1 @.str.24 = private unnamed_addr constant [53 x i8] c"-d Document mode (no color, no interpolation)\00", align 1 @.str.25 = private unnamed_addr constant [54 x i8] c"-D Document mode without scaling (totally raw)\00", align 1 @.str.26 = private unnamed_addr constant [45 x i8] c"-j Don't stretch or rotate raw pixels\00", align 1 @.str.27 = private unnamed_addr constant [49 x i8] c"-W Don't automatically brighten the image\00", align 1 @.str.28 = private unnamed_addr constant [44 x i8] c"-b <num> Adjust brightness (default = 1.0)\00", align 1 @.str.29 = private unnamed_addr constant [55 x i8] c"-g <p ts> Set custom gamma curve (default = 2.222 4.5)\00", align 1 @.str.30 = private unnamed_addr constant [40 x i8] c"-q [0-3] Set the interpolation quality\00", align 1 @.str.31 = private unnamed_addr constant [58 x i8] c"-h Half-size color image (twice as fast as \22-q 0\22)\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"-f Interpolate RGGB as four colors\00", align 1 @.str.33 = private unnamed_addr constant [51 x i8] c"-m <num> Apply a 3x3 median filter to R-G and B-G\00", align 1 @.str.34 = private unnamed_addr constant [57 x i8] c"-s [0..N-1] Select one raw image or \22all\22 from each file\00", align 1 @.str.35 = private unnamed_addr constant [58 x i8] c"-4 Write 16-bit linear instead of 8-bit with gamma\00", align 1 @.str.36 = private unnamed_addr constant [36 x i8] c"-T Write TIFF instead of PPM\00", align 1 @.str.37 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dcr_print_manual(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) %11 = call i32 @puts(ptr noundef @.str.4) %12 = call i32 @puts(ptr noundef @.str.5) %13 = call i32 @puts(ptr noundef @.str.6) %14 = call i32 @puts(ptr noundef @.str.7) %15 = call i32 @puts(ptr noundef @.str.8) %16 = call i32 @puts(ptr noundef @.str.9) %17 = call i32 @puts(ptr noundef @.str.10) %18 = call i32 @puts(ptr noundef @.str.11) %19 = call i32 @puts(ptr noundef @.str.12) %20 = call i32 @puts(ptr noundef @.str.13) %21 = call i32 @puts(ptr noundef @.str.14) %22 = call i32 @puts(ptr noundef @.str.15) %23 = call i32 @puts(ptr noundef @.str.16) %24 = call i32 @puts(ptr noundef @.str.17) %25 = call i32 @puts(ptr noundef @.str.18) %26 = call i32 @puts(ptr noundef @.str.19) %27 = call i32 @puts(ptr noundef @.str.20) %28 = call i32 @puts(ptr noundef @.str.21) %29 = call i32 @puts(ptr noundef @.str.22) %30 = call i32 @puts(ptr noundef @.str.23) %31 = call i32 @puts(ptr noundef @.str.24) %32 = call i32 @puts(ptr noundef @.str.25) %33 = call i32 @puts(ptr noundef @.str.26) %34 = call i32 @puts(ptr noundef @.str.27) %35 = call i32 @puts(ptr noundef @.str.28) %36 = call i32 @puts(ptr noundef @.str.29) %37 = call i32 @puts(ptr noundef @.str.30) %38 = call i32 @puts(ptr noundef @.str.31) %39 = call i32 @puts(ptr noundef @.str.32) %40 = call i32 @puts(ptr noundef @.str.33) %41 = call i32 @puts(ptr noundef @.str.34) %42 = call i32 @puts(ptr noundef @.str.35) %43 = call i32 @puts(ptr noundef @.str.36) %44 = call i32 @puts(ptr noundef @.str.37) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpge84khpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"\0ARaw photo decoder \22dcraw\22 v%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8.93\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0Aby Dave Coffin, dcoffin a cybercom o net\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"\0AUsage: %s [OPTION]... [FILE]...\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"-v Print verbose messages\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"-c Write image data to standard output\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"-e Extract embedded thumbnail image\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"-i Identify files without decoding them\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"-i -v Identify files and show metadata\00", align 1 @.str.9 = private unnamed_addr constant [48 x i8] c"-z Change file dates to camera timestamp\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"-w Use camera white balance, if possible\00", align 1 @.str.11 = private unnamed_addr constant [52 x i8] c"-a Average the whole image for white balance\00", align 1 @.str.12 = private unnamed_addr constant [50 x i8] c"-A <x y w h> Average a grey box for white balance\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"-r <r g b g> Set custom white balance\00", align 1 @.str.14 = private unnamed_addr constant [49 x i8] c"+M/-M Use/don't use an embedded color matrix\00", align 1 @.str.15 = private unnamed_addr constant [39 x i8] c"-C <r b> Correct chromatic aberration\00", align 1 @.str.16 = private unnamed_addr constant [50 x i8] c"-P <file> Fix the dead pixels listed in this file\00", align 1 @.str.17 = private unnamed_addr constant [47 x i8] c"-K <file> Subtract dark frame (16-bit raw PGM)\00", align 1 @.str.18 = private unnamed_addr constant [33 x i8] c"-k <num> Set the darkness level\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"-S <num> Set the saturation level\00", align 1 @.str.20 = private unnamed_addr constant [46 x i8] c"-n <num> Set threshold for wavelet denoising\00", align 1 @.str.21 = private unnamed_addr constant [65 x i8] c"-H [0-9] Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)\00", align 1 @.str.22 = private unnamed_addr constant [54 x i8] c"-t [0-7] Flip image (0=none, 3=180, 5=90CCW, 6=90CW)\00", align 1 @.str.23 = private unnamed_addr constant [63 x i8] c"-o [0-5] Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ)\00", align 1 @.str.24 = private unnamed_addr constant [53 x i8] c"-d Document mode (no color, no interpolation)\00", align 1 @.str.25 = private unnamed_addr constant [54 x i8] c"-D Document mode without scaling (totally raw)\00", align 1 @.str.26 = private unnamed_addr constant [45 x i8] c"-j Don't stretch or rotate raw pixels\00", align 1 @.str.27 = private unnamed_addr constant [49 x i8] c"-W Don't automatically brighten the image\00", align 1 @.str.28 = private unnamed_addr constant [44 x i8] c"-b <num> Adjust brightness (default = 1.0)\00", align 1 @.str.29 = private unnamed_addr constant [55 x i8] c"-g <p ts> Set custom gamma curve (default = 2.222 4.5)\00", align 1 @.str.30 = private unnamed_addr constant [40 x i8] c"-q [0-3] Set the interpolation quality\00", align 1 @.str.31 = private unnamed_addr constant [58 x i8] c"-h Half-size color image (twice as fast as \22-q 0\22)\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"-f Interpolate RGGB as four colors\00", align 1 @.str.33 = private unnamed_addr constant [51 x i8] c"-m <num> Apply a 3x3 median filter to R-G and B-G\00", align 1 @.str.34 = private unnamed_addr constant [57 x i8] c"-s [0..N-1] Select one raw image or \22all\22 from each file\00", align 1 @.str.35 = private unnamed_addr constant [58 x i8] c"-4 Write 16-bit linear instead of 8-bit with gamma\00", align 1 @.str.36 = private unnamed_addr constant [36 x i8] c"-T Write TIFF instead of PPM\00", align 1 @.str.37 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dcr_print_manual(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) %11 = call i32 @puts(ptr noundef @.str.4) %12 = call i32 @puts(ptr noundef @.str.5) %13 = call i32 @puts(ptr noundef @.str.6) %14 = call i32 @puts(ptr noundef @.str.7) %15 = call i32 @puts(ptr noundef @.str.8) %16 = call i32 @puts(ptr noundef @.str.9) %17 = call i32 @puts(ptr noundef @.str.10) %18 = call i32 @puts(ptr noundef @.str.11) %19 = call i32 @puts(ptr noundef @.str.12) %20 = call i32 @puts(ptr noundef @.str.13) %21 = call i32 @puts(ptr noundef @.str.14) %22 = call i32 @puts(ptr noundef @.str.15) %23 = call i32 @puts(ptr noundef @.str.16) %24 = call i32 @puts(ptr noundef @.str.17) %25 = call i32 @puts(ptr noundef @.str.18) %26 = call i32 @puts(ptr noundef @.str.19) %27 = call i32 @puts(ptr noundef @.str.20) %28 = call i32 @puts(ptr noundef @.str.21) %29 = call i32 @puts(ptr noundef @.str.22) %30 = call i32 @puts(ptr noundef @.str.23) %31 = call i32 @puts(ptr noundef @.str.24) %32 = call i32 @puts(ptr noundef @.str.25) %33 = call i32 @puts(ptr noundef @.str.26) %34 = call i32 @puts(ptr noundef @.str.27) %35 = call i32 @puts(ptr noundef @.str.28) %36 = call i32 @puts(ptr noundef @.str.29) %37 = call i32 @puts(ptr noundef @.str.30) %38 = call i32 @puts(ptr noundef @.str.31) %39 = call i32 @puts(ptr noundef @.str.32) %40 = call i32 @puts(ptr noundef @.str.33) %41 = call i32 @puts(ptr noundef @.str.34) %42 = call i32 @puts(ptr noundef @.str.35) %43 = call i32 @puts(ptr noundef @.str.36) %44 = call i32 @puts(ptr noundef @.str.37) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiraxn1c_.c' source_filename = "/tmp/tmpiraxn1c_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @.str = private unnamed_addr constant [937 x i8] c"2002928\0A-----BEGIN PGP MESSAGE-----\0AVersion: GnuPG v1.4.9 (GNU/Linux)\0A\0AhQIOAzz6ltMxvh7UEAf/Xy60gF+WHzgZNyflPb8seVn7KjSdA5ojkIpUjnsf4Xhc\0A66PgvVrQwyiyYZ6KFs2f4naBwdSUTYEa/YL+7Tsc5el1ipdYxwdVOzD9Iac1XG9G\0AQDeByA/UHk4CJj171I0CCJvIeuA7Bjd6JEpjCaNatxL1AGeLEAL4fv7dGzKYYwNc\0AFvyaIDMWtbbY1VVHmPg1yv7he1y0bTAN/PrDmlvcE5t7YNpQGixbF4mVWtys4zLi\0AZIqculNyqd+BrBLB3tYbS7K/ixufYw2PdI4dWZ70bc0S0fK17gSjJI/l8DYIGV86\0Apqeon/18JjNjj64yf86tf0TZZbDr1320QeLpKWrnUgf/e7ceFNySjJg/ZxX5jXU5\0AeYYoFqM/h+uMBonssstQzpQcccinttR+zBcsaqbx6y8PxU/83Zu2pdhAHDcp3uo2\0AdLitOKa5UDKBWbwxhym+l9MzNvrRTEE4ZyWnSuzWdPZBv39CkDC00pLb8AHCBWBU\0AdBdCPPxznzPiA31aMiWRlmY+iZJ7oj2/4MTpSWfxLhVdGhos701xl8OuAzRIg0Xj\0A9XWywzstNl7D3Gak4OqP+b7amzVLFHNjqcVMZ00qaz76Y+eO/hmPTlgzCrxtmxEm\0A9ODn8w44RK9aiDdK6Mg5TnDZMENjLvDSWAfWznh34+Ah0dVnw7X3t7nTmljOjHMy\0AI9JSARazAgS0KIQP8M/qYZMEOf22hBNYbNPBmfI3a7QQJGXqbGNTFPWqHtwu809W\0AUQQpdMJCi/N7fhdVK2Rgws+fYN3qbX1XKG2jrxD1Yj0QbOU/KA==\0A=pStt\0A-----END PGP MESSAGE-----\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"dummy-LTP cmd: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"dummy-LTP listens to url: %s\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"len=%lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"tp/dummy/listen: read\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Packet too big (%lu)!\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c"dummy-LTP received command: %s (until first \\0)\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"1002\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"dummy/c: Time to say goodbye...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [65537 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timespec, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %6, align 8 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef 4) %10 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 4 store i8 0, ptr %10, align 4 %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load i32, ptr @STDIN_FILENO, align 4 %15 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 128) %17 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 128 store i8 0, ptr %17, align 16 %18 = load i32, ptr @stderr, align 4 %19 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 3, ptr %21, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 0, ptr %22, align 8 %23 = call i32 @nanosleep(ptr noundef %5, ptr noundef null) %24 = load i32, ptr @STDOUT_FILENO, align 4 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) store i32 %28, ptr %4, align 4 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %6, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.3, i32 noundef %31) br label %33 33: ; preds = %0, %44, %61 %34 = load i32, ptr @STDIN_FILENO, align 4 %35 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %36 = call i32 @read(i32 noundef %34, ptr noundef %35, i32 noundef 65537) store i32 %36, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %33 %40 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %62 41: ; preds = %33 %42 = load i32, ptr %4, align 4 %43 = icmp sgt i32 %42, 65536 br i1 %43, label %44, label %48 44: ; preds = %41 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.5, i32 noundef %46) br label %33 48: ; preds = %41 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 %50 store i8 0, ptr %51, align 1 %52 = load i32, ptr @stderr, align 4 %53 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.6, ptr noundef %53) %55 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %56 = call i32 @strncmp(ptr noundef %55, ptr noundef @.str.7, i32 noundef 4) %57 = icmp ne i32 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %48 %59 = load i32, ptr @stderr, align 4 %60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.8) store i32 0, ptr %1, align 4 br label %62 61: ; preds = %48 br label %33 62: ; preds = %58, %39 %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiraxn1c_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @.str = private unnamed_addr constant [937 x i8] c"2002928\0A-----BEGIN PGP MESSAGE-----\0AVersion: GnuPG v1.4.9 (GNU/Linux)\0A\0AhQIOAzz6ltMxvh7UEAf/Xy60gF+WHzgZNyflPb8seVn7KjSdA5ojkIpUjnsf4Xhc\0A66PgvVrQwyiyYZ6KFs2f4naBwdSUTYEa/YL+7Tsc5el1ipdYxwdVOzD9Iac1XG9G\0AQDeByA/UHk4CJj171I0CCJvIeuA7Bjd6JEpjCaNatxL1AGeLEAL4fv7dGzKYYwNc\0AFvyaIDMWtbbY1VVHmPg1yv7he1y0bTAN/PrDmlvcE5t7YNpQGixbF4mVWtys4zLi\0AZIqculNyqd+BrBLB3tYbS7K/ixufYw2PdI4dWZ70bc0S0fK17gSjJI/l8DYIGV86\0Apqeon/18JjNjj64yf86tf0TZZbDr1320QeLpKWrnUgf/e7ceFNySjJg/ZxX5jXU5\0AeYYoFqM/h+uMBonssstQzpQcccinttR+zBcsaqbx6y8PxU/83Zu2pdhAHDcp3uo2\0AdLitOKa5UDKBWbwxhym+l9MzNvrRTEE4ZyWnSuzWdPZBv39CkDC00pLb8AHCBWBU\0AdBdCPPxznzPiA31aMiWRlmY+iZJ7oj2/4MTpSWfxLhVdGhos701xl8OuAzRIg0Xj\0A9XWywzstNl7D3Gak4OqP+b7amzVLFHNjqcVMZ00qaz76Y+eO/hmPTlgzCrxtmxEm\0A9ODn8w44RK9aiDdK6Mg5TnDZMENjLvDSWAfWznh34+Ah0dVnw7X3t7nTmljOjHMy\0AI9JSARazAgS0KIQP8M/qYZMEOf22hBNYbNPBmfI3a7QQJGXqbGNTFPWqHtwu809W\0AUQQpdMJCi/N7fhdVK2Rgws+fYN3qbX1XKG2jrxD1Yj0QbOU/KA==\0A=pStt\0A-----END PGP MESSAGE-----\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"dummy-LTP cmd: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"dummy-LTP listens to url: %s\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"len=%lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"tp/dummy/listen: read\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Packet too big (%lu)!\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c"dummy-LTP received command: %s (until first \\0)\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"1002\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"dummy/c: Time to say goodbye...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [65537 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timespec, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %6, align 8 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef 4) %10 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 4 store i8 0, ptr %10, align 4 %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load i32, ptr @STDIN_FILENO, align 4 %15 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef 128) %17 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 128 store i8 0, ptr %17, align 16 %18 = load i32, ptr @stderr, align 4 %19 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 3, ptr %21, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 0, ptr %22, align 8 %23 = call i32 @nanosleep(ptr noundef %5, ptr noundef null) %24 = load i32, ptr @STDOUT_FILENO, align 4 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) store i32 %28, ptr %4, align 4 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %6, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.3, i32 noundef %31) %33 = load i32, ptr @STDIN_FILENO, align 4 %34 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 65537) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %.lr.ph .lr.ph: ; preds = %0 br label %40 ._crit_edge: ; preds = %.backedge br label %38 38: ; preds = %._crit_edge, %0 %39 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %65 40: ; preds = %.lr.ph, %.backedge %41 = load i32, ptr %4, align 4 %42 = icmp sgt i32 %41, 65536 br i1 %42, label %43, label %51 43: ; preds = %40 %44 = load i32, ptr @stderr, align 4 %45 = load i32, ptr %4, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.5, i32 noundef %45) br label %.backedge .backedge: ; preds = %43, %64 %47 = load i32, ptr @STDIN_FILENO, align 4 %48 = call i32 @read(i32 noundef %47, ptr noundef %34, i32 noundef 65537) store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %._crit_edge, label %40 51: ; preds = %40 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 %53 store i8 0, ptr %54, align 1 %55 = load i32, ptr @stderr, align 4 %56 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.6, ptr noundef %56) %58 = getelementptr inbounds [65537 x i8], ptr %2, i64 0, i64 0 %59 = call i32 @strncmp(ptr noundef %58, ptr noundef @.str.7, i32 noundef 4) %60 = icmp ne i32 %59, 0 br i1 %60, label %64, label %61 61: ; preds = %51 %62 = load i32, ptr @stderr, align 4 %63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.8) store i32 0, ptr %1, align 4 br label %65 64: ; preds = %51 br label %.backedge 65: ; preds = %61, %38 %66 = load i32, ptr %1, align 4 ret i32 %66 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmput701hff.c' source_filename = "/tmp/tmput701hff.c" target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @EPOLLIN = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"event %d on fd #%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.epoll_event, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x %struct.epoll_event], align 16 store i32 0, ptr %1, align 4 %7 = call i32 @epoll_create(i32 noundef 10) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 111, ptr %1, align 4 br label %39 11: ; preds = %0 %12 = load i32, ptr @EPOLLIN, align 4 %13 = getelementptr inbounds %struct.epoll_event, ptr %3, i32 0, i32 0 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.epoll_event, ptr %3, i32 0, i32 1 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i32 0, ptr %15, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr @EPOLL_CTL_ADD, align 4 %18 = call i32 @epoll_ctl(i32 noundef %16, i32 noundef %17, i32 noundef 0, ptr noundef %3) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %11 store i32 111, ptr %1, align 4 br label %39 21: ; preds = %11 %22 = load i32, ptr %2, align 4 %23 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %24 = call i32 @epoll_wait(i32 noundef %22, ptr noundef %23, i32 noundef 100, i32 noundef 1000) store i32 %24, ptr %5, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 111, ptr %1, align 4 br label %39 27: ; preds = %21 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds %struct.epoll_event, ptr %31, i32 0, i32 0 %33 = load i32, ptr %32, align 16 %34 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %35 = getelementptr inbounds %struct.epoll_event, ptr %34, i32 0, i32 1 %36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %33, i32 noundef %37) br label %39 39: ; preds = %10, %20, %26, %30, %27 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @epoll_create(i32 noundef) #1 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(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/tmput701hff.c" target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @EPOLLIN = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"event %d on fd #%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.epoll_event, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x %struct.epoll_event], align 16 store i32 0, ptr %1, align 4 %7 = call i32 @epoll_create(i32 noundef 10) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 111, ptr %1, align 4 br label %39 11: ; preds = %0 %12 = load i32, ptr @EPOLLIN, align 4 %13 = getelementptr inbounds %struct.epoll_event, ptr %3, i32 0, i32 0 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.epoll_event, ptr %3, i32 0, i32 1 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i32 0, ptr %15, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr @EPOLL_CTL_ADD, align 4 %18 = call i32 @epoll_ctl(i32 noundef %16, i32 noundef %17, i32 noundef 0, ptr noundef %3) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %11 store i32 111, ptr %1, align 4 br label %39 21: ; preds = %11 %22 = load i32, ptr %2, align 4 %23 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %24 = call i32 @epoll_wait(i32 noundef %22, ptr noundef %23, i32 noundef 100, i32 noundef 1000) store i32 %24, ptr %5, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 111, ptr %1, align 4 br label %39 27: ; preds = %21 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds %struct.epoll_event, ptr %31, i32 0, i32 0 %33 = load i32, ptr %32, align 16 %34 = getelementptr inbounds [100 x %struct.epoll_event], ptr %6, i64 0, i64 0 %35 = getelementptr inbounds %struct.epoll_event, ptr %34, i32 0, i32 1 %36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %33, i32 noundef %37) br label %39 39: ; preds = %30, %27, %26, %20, %10 %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @epoll_create(i32 noundef) #1 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(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/tmpypr66dzp.c' source_filename = "/tmp/tmpypr66dzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FD_SETSIZE = 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/tmpypr66dzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FD_SETSIZE = 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/tmp7duegzpf.c' source_filename = "/tmp/tmp7duegzpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"exists\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"max\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"sum\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"min_idx\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"max_idx\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"and\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"or\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @join(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 { %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i64, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i32, align 4 store i64 %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store i64 %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store i64 %9, ptr %20, align 8 store i32 0, ptr %21, align 4 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 store i64 0, ptr %24, align 8 %30 = load i64, ptr %20, align 8 %31 = sub i64 %30, 1 store i64 %31, ptr %25, align 8 store i32 0, ptr %26, align 4 %32 = load ptr, ptr %12, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %10 store i32 1, ptr %26, align 4 br label %78 36: ; preds = %10 %37 = load ptr, ptr %12, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.1) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 2, ptr %26, align 4 br label %77 41: ; preds = %36 %42 = load ptr, ptr %12, align 8 %43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.2) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41 store i32 3, ptr %26, align 4 br label %76 46: ; preds = %41 %47 = load ptr, ptr %12, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.3) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %46 store i32 4, ptr %26, align 4 br label %75 51: ; preds = %46 %52 = load ptr, ptr %12, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.4) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %51 store i32 5, ptr %26, align 4 br label %74 56: ; preds = %51 %57 = load ptr, ptr %12, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.5) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %56 store i32 6, ptr %26, align 4 br label %73 61: ; preds = %56 %62 = load ptr, ptr %12, align 8 %63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.6) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 store i32 7, ptr %26, align 4 br label %72 66: ; preds = %61 %67 = load ptr, ptr %12, align 8 %68 = call i64 @strcmp(ptr noundef %67, ptr noundef @.str.7) %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %66 store i32 8, ptr %26, align 4 br label %71 71: ; preds = %70, %66 br label %72 72: ; preds = %71, %65 br label %73 73: ; preds = %72, %60 br label %74 74: ; preds = %73, %55 br label %75 75: ; preds = %74, %50 br label %76 76: ; preds = %75, %45 br label %77 77: ; preds = %76, %40 br label %78 78: ; preds = %77, %35 %79 = load i64, ptr %22, align 8 store i64 %79, ptr %28, align 8 %80 = load i64, ptr %24, align 8 store i64 %80, ptr %27, align 8 br label %81 81: ; preds = %323, %122, %78 %82 = load i64, ptr %27, align 8 %83 = load i64, ptr %25, align 8 %84 = icmp ult i64 %82, %83 br i1 %84, label %85, label %325 85: ; preds = %81 store i32 1, ptr %29, align 4 %86 = load ptr, ptr %18, align 8 %87 = load i64, ptr %27, align 8 %88 = getelementptr inbounds i64, ptr %86, i64 %87 store i64 0, ptr %88, align 8 %89 = load i64, ptr %27, align 8 %90 = icmp ugt i64 %89, 0 br i1 %90, label %91, label %125 91: ; preds = %85 %92 = load ptr, ptr %17, align 8 %93 = load i64, ptr %27, align 8 %94 = getelementptr inbounds i64, ptr %92, i64 %93 %95 = load i64, ptr %94, align 8 %96 = load ptr, ptr %17, align 8 %97 = load i64, ptr %27, align 8 %98 = sub i64 %97, 1 %99 = getelementptr inbounds i64, ptr %96, i64 %98 %100 = load i64, ptr %99, align 8 %101 = icmp eq i64 %95, %100 br i1 %101, label %102, label %125 102: ; preds = %91 %103 = load ptr, ptr %18, align 8 %104 = load i64, ptr %27, align 8 %105 = sub i64 %104, 1 %106 = getelementptr inbounds i64, ptr %103, i64 %105 %107 = load i64, ptr %106, align 8 %108 = load ptr, ptr %18, align 8 %109 = load i64, ptr %27, align 8 %110 = getelementptr inbounds i64, ptr %108, i64 %109 store i64 %107, ptr %110, align 8 %111 = load ptr, ptr %17, align 8 %112 = icmp ne ptr %111, null br i1 %112, label %113, label %122 113: ; preds = %102 %114 = load ptr, ptr %17, align 8 %115 = load i64, ptr %27, align 8 %116 = sub i64 %115, 1 %117 = getelementptr inbounds i64, ptr %114, i64 %116 %118 = load i64, ptr %117, align 8 %119 = load ptr, ptr %17, align 8 %120 = load i64, ptr %27, align 8 %121 = getelementptr inbounds i64, ptr %119, i64 %120 store i64 %118, ptr %121, align 8 br label %122 122: ; preds = %113, %102 %123 = load i64, ptr %27, align 8 %124 = add i64 %123, 1 store i64 %124, ptr %27, align 8 br label %81, !llvm.loop !6 125: ; preds = %91, %85 br label %126 126: ; preds = %322, %125 %127 = load i64, ptr %28, align 8 %128 = load i64, ptr %16, align 8 %129 = icmp ult i64 %127, %128 br i1 %129, label %130, label %323 130: ; preds = %126 %131 = load ptr, ptr %19, align 8 %132 = load i64, ptr %27, align 8 %133 = getelementptr inbounds i64, ptr %131, i64 %132 %134 = load i64, ptr %133, align 8 %135 = load ptr, ptr %15, align 8 %136 = load i64, ptr %16, align 8 %137 = sub i64 %136, 1 %138 = getelementptr inbounds i64, ptr %135, i64 %137 %139 = load i64, ptr %138, align 8 %140 = icmp sgt i64 %134, %139 br i1 %140, label %141, label %144 141: ; preds = %130 %142 = load i64, ptr %27, align 8 %143 = add i64 %142, 1 store i64 %143, ptr %27, align 8 br label %323 144: ; preds = %130 %145 = load ptr, ptr %15, align 8 %146 = load i64, ptr %28, align 8 %147 = getelementptr inbounds i64, ptr %145, i64 %146 %148 = load i64, ptr %147, align 8 %149 = load ptr, ptr %19, align 8 %150 = load i64, ptr %27, align 8 %151 = getelementptr inbounds i64, ptr %149, i64 %150 %152 = load i64, ptr %151, align 8 %153 = icmp slt i64 %148, %152 br i1 %153, label %154, label %157 154: ; preds = %144 %155 = load i64, ptr %28, align 8 %156 = add i64 %155, 1 store i64 %156, ptr %28, align 8 br label %322 157: ; preds = %144 %158 = load ptr, ptr %15, align 8 %159 = load i64, ptr %28, align 8 %160 = getelementptr inbounds i64, ptr %158, i64 %159 %161 = load i64, ptr %160, align 8 %162 = load ptr, ptr %19, align 8 %163 = load i64, ptr %27, align 8 %164 = getelementptr inbounds i64, ptr %162, i64 %163 %165 = load i64, ptr %164, align 8 %166 = icmp eq i64 %161, %165 br i1 %166, label %167, label %318 167: ; preds = %157 %168 = load ptr, ptr %18, align 8 %169 = load i64, ptr %27, align 8 %170 = getelementptr inbounds i64, ptr %168, i64 %169 store i64 1, ptr %170, align 8 %171 = load i32, ptr %29, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %195 173: ; preds = %167 %174 = load i32, ptr %26, align 4 %175 = icmp eq i32 %174, 5 br i1 %175, label %179, label %176 176: ; preds = %173 %177 = load i32, ptr %26, align 4 %178 = icmp eq i32 %177, 6 br i1 %178, label %179, label %186 179: ; preds = %176, %173 %180 = load i64, ptr %11, align 8 %181 = load i64, ptr %28, align 8 %182 = add i64 %180, %181 %183 = load ptr, ptr %17, align 8 %184 = load i64, ptr %27, align 8 %185 = getelementptr inbounds i64, ptr %183, i64 %184 store i64 %182, ptr %185, align 8 br label %194 186: ; preds = %176 %187 = load ptr, ptr %13, align 8 %188 = load i64, ptr %28, align 8 %189 = getelementptr inbounds i64, ptr %187, i64 %188 %190 = load i64, ptr %189, align 8 %191 = load ptr, ptr %17, align 8 %192 = load i64, ptr %27, align 8 %193 = getelementptr inbounds i64, ptr %191, i64 %192 store i64 %190, ptr %193, align 8 br label %194 194: ; preds = %186, %179 store i32 0, ptr %29, align 4 br label %315 195: ; preds = %167 %196 = load i32, ptr %26, align 4 %197 = icmp eq i32 %196, 2 br i1 %197, label %198, label %223 198: ; preds = %195 %199 = load ptr, ptr %17, align 8 %200 = load i64, ptr %27, align 8 %201 = getelementptr inbounds i64, ptr %199, i64 %200 %202 = load i64, ptr %201, align 8 %203 = load ptr, ptr %13, align 8 %204 = load i64, ptr %28, align 8 %205 = getelementptr inbounds i64, ptr %203, i64 %204 %206 = load i64, ptr %205, align 8 %207 = icmp slt i64 %202, %206 br i1 %207, label %208, label %213 208: ; preds = %198 %209 = load ptr, ptr %17, align 8 %210 = load i64, ptr %27, align 8 %211 = getelementptr inbounds i64, ptr %209, i64 %210 %212 = load i64, ptr %211, align 8 br label %218 213: ; preds = %198 %214 = load ptr, ptr %13, align 8 %215 = load i64, ptr %28, align 8 %216 = getelementptr inbounds i64, ptr %214, i64 %215 %217 = load i64, ptr %216, align 8 br label %218 218: ; preds = %213, %208 %219 = phi i64 [ %212, %208 ], [ %217, %213 ] %220 = load ptr, ptr %17, align 8 %221 = load i64, ptr %27, align 8 %222 = getelementptr inbounds i64, ptr %220, i64 %221 store i64 %219, ptr %222, align 8 br label %314 223: ; preds = %195 %224 = load i32, ptr %26, align 4 %225 = icmp eq i32 %224, 3 br i1 %225, label %226, label %251 226: ; preds = %223 %227 = load ptr, ptr %17, align 8 %228 = load i64, ptr %27, align 8 %229 = getelementptr inbounds i64, ptr %227, i64 %228 %230 = load i64, ptr %229, align 8 %231 = load ptr, ptr %13, align 8 %232 = load i64, ptr %28, align 8 %233 = getelementptr inbounds i64, ptr %231, i64 %232 %234 = load i64, ptr %233, align 8 %235 = icmp sgt i64 %230, %234 br i1 %235, label %236, label %241 236: ; preds = %226 %237 = load ptr, ptr %17, align 8 %238 = load i64, ptr %27, align 8 %239 = getelementptr inbounds i64, ptr %237, i64 %238 %240 = load i64, ptr %239, align 8 br label %246 241: ; preds = %226 %242 = load ptr, ptr %13, align 8 %243 = load i64, ptr %28, align 8 %244 = getelementptr inbounds i64, ptr %242, i64 %243 %245 = load i64, ptr %244, align 8 br label %246 246: ; preds = %241, %236 %247 = phi i64 [ %240, %236 ], [ %245, %241 ] %248 = load ptr, ptr %17, align 8 %249 = load i64, ptr %27, align 8 %250 = getelementptr inbounds i64, ptr %248, i64 %249 store i64 %247, ptr %250, align 8 br label %313 251: ; preds = %223 %252 = load i32, ptr %26, align 4 %253 = icmp eq i32 %252, 4 br i1 %253, label %254, label %267 254: ; preds = %251 %255 = load ptr, ptr %17, align 8 %256 = load i64, ptr %27, align 8 %257 = getelementptr inbounds i64, ptr %255, i64 %256 %258 = load i64, ptr %257, align 8 %259 = load ptr, ptr %13, align 8 %260 = load i64, ptr %28, align 8 %261 = getelementptr inbounds i64, ptr %259, i64 %260 %262 = load i64, ptr %261, align 8 %263 = add nsw i64 %258, %262 %264 = load ptr, ptr %17, align 8 %265 = load i64, ptr %27, align 8 %266 = getelementptr inbounds i64, ptr %264, i64 %265 store i64 %263, ptr %266, align 8 br label %312 267: ; preds = %251 %268 = load i32, ptr %26, align 4 %269 = icmp eq i32 %268, 7 br i1 %269, label %270, label %283 270: ; preds = %267 %271 = load ptr, ptr %17, align 8 %272 = load i64, ptr %27, align 8 %273 = getelementptr inbounds i64, ptr %271, i64 %272 %274 = load i64, ptr %273, align 8 %275 = load ptr, ptr %13, align 8 %276 = load i64, ptr %28, align 8 %277 = getelementptr inbounds i64, ptr %275, i64 %276 %278 = load i64, ptr %277, align 8 %279 = and i64 %274, %278 %280 = load ptr, ptr %17, align 8 %281 = load i64, ptr %27, align 8 %282 = getelementptr inbounds i64, ptr %280, i64 %281 store i64 %279, ptr %282, align 8 br label %311 283: ; preds = %267 %284 = load i32, ptr %26, align 4 %285 = icmp eq i32 %284, 8 br i1 %285, label %286, label %299 286: ; preds = %283 %287 = load ptr, ptr %17, align 8 %288 = load i64, ptr %27, align 8 %289 = getelementptr inbounds i64, ptr %287, i64 %288 %290 = load i64, ptr %289, align 8 %291 = load ptr, ptr %13, align 8 %292 = load i64, ptr %28, align 8 %293 = getelementptr inbounds i64, ptr %291, i64 %292 %294 = load i64, ptr %293, align 8 %295 = or i64 %290, %294 %296 = load ptr, ptr %17, align 8 %297 = load i64, ptr %27, align 8 %298 = getelementptr inbounds i64, ptr %296, i64 %297 store i64 %295, ptr %298, align 8 br label %310 299: ; preds = %283 %300 = load i32, ptr %26, align 4 %301 = icmp eq i32 %300, 6 br i1 %301, label %302, label %309 302: ; preds = %299 %303 = load i64, ptr %11, align 8 %304 = load i64, ptr %28, align 8 %305 = add i64 %303, %304 %306 = load ptr, ptr %17, align 8 %307 = load i64, ptr %27, align 8 %308 = getelementptr inbounds i64, ptr %306, i64 %307 store i64 %305, ptr %308, align 8 br label %309 309: ; preds = %302, %299 br label %310 310: ; preds = %309, %286 br label %311 311: ; preds = %310, %270 br label %312 312: ; preds = %311, %254 br label %313 313: ; preds = %312, %246 br label %314 314: ; preds = %313, %218 br label %315 315: ; preds = %314, %194 %316 = load i64, ptr %28, align 8 %317 = add i64 %316, 1 store i64 %317, ptr %28, align 8 br label %321 318: ; preds = %157 %319 = load i64, ptr %27, align 8 %320 = add i64 %319, 1 store i64 %320, ptr %27, align 8 store i32 1, ptr %29, align 4 br label %321 321: ; preds = %318, %315 br label %322 322: ; preds = %321, %154 br label %126, !llvm.loop !8 323: ; preds = %141, %126 %324 = load i64, ptr %28, align 8 store i64 %324, ptr %22, align 8 br label %81, !llvm.loop !6 325: ; preds = %81 %326 = load i32, ptr %21, align 4 ret i32 %326 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7duegzpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"exists\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"max\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"sum\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"min_idx\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"max_idx\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"and\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"or\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @join(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 { %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i64, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i32, align 4 store i64 %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store i64 %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store i64 %9, ptr %20, align 8 store i32 0, ptr %21, align 4 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 store i64 0, ptr %24, align 8 %30 = load i64, ptr %20, align 8 %31 = sub i64 %30, 1 store i64 %31, ptr %25, align 8 store i32 0, ptr %26, align 4 %32 = load ptr, ptr %12, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %10 store i32 1, ptr %26, align 4 br label %78 36: ; preds = %10 %37 = load ptr, ptr %12, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.1) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 2, ptr %26, align 4 br label %77 41: ; preds = %36 %42 = load ptr, ptr %12, align 8 %43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.2) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41 store i32 3, ptr %26, align 4 br label %76 46: ; preds = %41 %47 = load ptr, ptr %12, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.3) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %46 store i32 4, ptr %26, align 4 br label %75 51: ; preds = %46 %52 = load ptr, ptr %12, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.4) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %51 store i32 5, ptr %26, align 4 br label %74 56: ; preds = %51 %57 = load ptr, ptr %12, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.5) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %56 store i32 6, ptr %26, align 4 br label %73 61: ; preds = %56 %62 = load ptr, ptr %12, align 8 %63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.6) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 store i32 7, ptr %26, align 4 br label %72 66: ; preds = %61 %67 = load ptr, ptr %12, align 8 %68 = call i64 @strcmp(ptr noundef %67, ptr noundef @.str.7) %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %66 store i32 8, ptr %26, align 4 br label %71 71: ; preds = %70, %66 br label %72 72: ; preds = %71, %65 br label %73 73: ; preds = %72, %60 br label %74 74: ; preds = %73, %55 br label %75 75: ; preds = %74, %50 br label %76 76: ; preds = %75, %45 br label %77 77: ; preds = %76, %40 br label %78 78: ; preds = %77, %35 %79 = load i64, ptr %22, align 8 store i64 %79, ptr %28, align 8 %80 = load i64, ptr %24, align 8 store i64 %80, ptr %27, align 8 %81 = load i64, ptr %27, align 8 %82 = load i64, ptr %25, align 8 %83 = icmp ult i64 %81, %82 br i1 %83, label %.lr.ph1, label %329 .lr.ph1: ; preds = %78 br label %84 84: ; preds = %.lr.ph1, %.backedge store i32 1, ptr %29, align 4 %85 = load ptr, ptr %18, align 8 %86 = load i64, ptr %27, align 8 %87 = getelementptr inbounds i64, ptr %85, i64 %86 store i64 0, ptr %87, align 8 %88 = load i64, ptr %27, align 8 %89 = icmp ugt i64 %88, 0 br i1 %89, label %90, label %127 90: ; preds = %84 %91 = load ptr, ptr %17, align 8 %92 = load i64, ptr %27, align 8 %93 = getelementptr inbounds i64, ptr %91, i64 %92 %94 = load i64, ptr %93, align 8 %95 = load ptr, ptr %17, align 8 %96 = load i64, ptr %27, align 8 %97 = sub i64 %96, 1 %98 = getelementptr inbounds i64, ptr %95, i64 %97 %99 = load i64, ptr %98, align 8 %100 = icmp eq i64 %94, %99 br i1 %100, label %101, label %127 101: ; preds = %90 %102 = load ptr, ptr %18, align 8 %103 = load i64, ptr %27, align 8 %104 = sub i64 %103, 1 %105 = getelementptr inbounds i64, ptr %102, i64 %104 %106 = load i64, ptr %105, align 8 %107 = load ptr, ptr %18, align 8 %108 = load i64, ptr %27, align 8 %109 = getelementptr inbounds i64, ptr %107, i64 %108 store i64 %106, ptr %109, align 8 %110 = load ptr, ptr %17, align 8 %111 = icmp ne ptr %110, null br i1 %111, label %112, label %121 112: ; preds = %101 %113 = load ptr, ptr %17, align 8 %114 = load i64, ptr %27, align 8 %115 = sub i64 %114, 1 %116 = getelementptr inbounds i64, ptr %113, i64 %115 %117 = load i64, ptr %116, align 8 %118 = load ptr, ptr %17, align 8 %119 = load i64, ptr %27, align 8 %120 = getelementptr inbounds i64, ptr %118, i64 %119 store i64 %117, ptr %120, align 8 br label %121 121: ; preds = %112, %101 %122 = load i64, ptr %27, align 8 %123 = add i64 %122, 1 store i64 %123, ptr %27, align 8 br label %.backedge .backedge: ; preds = %121, %327 %124 = load i64, ptr %27, align 8 %125 = load i64, ptr %25, align 8 %126 = icmp ult i64 %124, %125 br i1 %126, label %84, label %._crit_edge, !llvm.loop !6 127: ; preds = %90, %84 %128 = load i64, ptr %28, align 8 %129 = load i64, ptr %16, align 8 %130 = icmp ult i64 %128, %129 br i1 %130, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %127 br label %131 131: ; preds = %.lr.ph, %323 %132 = load ptr, ptr %19, align 8 %133 = load i64, ptr %27, align 8 %134 = getelementptr inbounds i64, ptr %132, i64 %133 %135 = load i64, ptr %134, align 8 %136 = load ptr, ptr %15, align 8 %137 = load i64, ptr %16, align 8 %138 = sub i64 %137, 1 %139 = getelementptr inbounds i64, ptr %136, i64 %138 %140 = load i64, ptr %139, align 8 %141 = icmp sgt i64 %135, %140 br i1 %141, label %142, label %145 142: ; preds = %131 %143 = load i64, ptr %27, align 8 %144 = add i64 %143, 1 store i64 %144, ptr %27, align 8 br label %327 145: ; preds = %131 %146 = load ptr, ptr %15, align 8 %147 = load i64, ptr %28, align 8 %148 = getelementptr inbounds i64, ptr %146, i64 %147 %149 = load i64, ptr %148, align 8 %150 = load ptr, ptr %19, align 8 %151 = load i64, ptr %27, align 8 %152 = getelementptr inbounds i64, ptr %150, i64 %151 %153 = load i64, ptr %152, align 8 %154 = icmp slt i64 %149, %153 br i1 %154, label %155, label %158 155: ; preds = %145 %156 = load i64, ptr %28, align 8 %157 = add i64 %156, 1 store i64 %157, ptr %28, align 8 br label %323 158: ; preds = %145 %159 = load ptr, ptr %15, align 8 %160 = load i64, ptr %28, align 8 %161 = getelementptr inbounds i64, ptr %159, i64 %160 %162 = load i64, ptr %161, align 8 %163 = load ptr, ptr %19, align 8 %164 = load i64, ptr %27, align 8 %165 = getelementptr inbounds i64, ptr %163, i64 %164 %166 = load i64, ptr %165, align 8 %167 = icmp eq i64 %162, %166 br i1 %167, label %168, label %319 168: ; preds = %158 %169 = load ptr, ptr %18, align 8 %170 = load i64, ptr %27, align 8 %171 = getelementptr inbounds i64, ptr %169, i64 %170 store i64 1, ptr %171, align 8 %172 = load i32, ptr %29, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %196 174: ; preds = %168 %175 = load i32, ptr %26, align 4 %176 = icmp eq i32 %175, 5 br i1 %176, label %180, label %177 177: ; preds = %174 %178 = load i32, ptr %26, align 4 %179 = icmp eq i32 %178, 6 br i1 %179, label %180, label %187 180: ; preds = %177, %174 %181 = load i64, ptr %11, align 8 %182 = load i64, ptr %28, align 8 %183 = add i64 %181, %182 %184 = load ptr, ptr %17, align 8 %185 = load i64, ptr %27, align 8 %186 = getelementptr inbounds i64, ptr %184, i64 %185 store i64 %183, ptr %186, align 8 br label %195 187: ; preds = %177 %188 = load ptr, ptr %13, align 8 %189 = load i64, ptr %28, align 8 %190 = getelementptr inbounds i64, ptr %188, i64 %189 %191 = load i64, ptr %190, align 8 %192 = load ptr, ptr %17, align 8 %193 = load i64, ptr %27, align 8 %194 = getelementptr inbounds i64, ptr %192, i64 %193 store i64 %191, ptr %194, align 8 br label %195 195: ; preds = %187, %180 store i32 0, ptr %29, align 4 br label %316 196: ; preds = %168 %197 = load i32, ptr %26, align 4 %198 = icmp eq i32 %197, 2 br i1 %198, label %199, label %224 199: ; preds = %196 %200 = load ptr, ptr %17, align 8 %201 = load i64, ptr %27, align 8 %202 = getelementptr inbounds i64, ptr %200, i64 %201 %203 = load i64, ptr %202, align 8 %204 = load ptr, ptr %13, align 8 %205 = load i64, ptr %28, align 8 %206 = getelementptr inbounds i64, ptr %204, i64 %205 %207 = load i64, ptr %206, align 8 %208 = icmp slt i64 %203, %207 br i1 %208, label %209, label %214 209: ; preds = %199 %210 = load ptr, ptr %17, align 8 %211 = load i64, ptr %27, align 8 %212 = getelementptr inbounds i64, ptr %210, i64 %211 %213 = load i64, ptr %212, align 8 br label %219 214: ; preds = %199 %215 = load ptr, ptr %13, align 8 %216 = load i64, ptr %28, align 8 %217 = getelementptr inbounds i64, ptr %215, i64 %216 %218 = load i64, ptr %217, align 8 br label %219 219: ; preds = %214, %209 %220 = phi i64 [ %213, %209 ], [ %218, %214 ] %221 = load ptr, ptr %17, align 8 %222 = load i64, ptr %27, align 8 %223 = getelementptr inbounds i64, ptr %221, i64 %222 store i64 %220, ptr %223, align 8 br label %315 224: ; preds = %196 %225 = load i32, ptr %26, align 4 %226 = icmp eq i32 %225, 3 br i1 %226, label %227, label %252 227: ; preds = %224 %228 = load ptr, ptr %17, align 8 %229 = load i64, ptr %27, align 8 %230 = getelementptr inbounds i64, ptr %228, i64 %229 %231 = load i64, ptr %230, align 8 %232 = load ptr, ptr %13, align 8 %233 = load i64, ptr %28, align 8 %234 = getelementptr inbounds i64, ptr %232, i64 %233 %235 = load i64, ptr %234, align 8 %236 = icmp sgt i64 %231, %235 br i1 %236, label %237, label %242 237: ; preds = %227 %238 = load ptr, ptr %17, align 8 %239 = load i64, ptr %27, align 8 %240 = getelementptr inbounds i64, ptr %238, i64 %239 %241 = load i64, ptr %240, align 8 br label %247 242: ; preds = %227 %243 = load ptr, ptr %13, align 8 %244 = load i64, ptr %28, align 8 %245 = getelementptr inbounds i64, ptr %243, i64 %244 %246 = load i64, ptr %245, align 8 br label %247 247: ; preds = %242, %237 %248 = phi i64 [ %241, %237 ], [ %246, %242 ] %249 = load ptr, ptr %17, align 8 %250 = load i64, ptr %27, align 8 %251 = getelementptr inbounds i64, ptr %249, i64 %250 store i64 %248, ptr %251, align 8 br label %314 252: ; preds = %224 %253 = load i32, ptr %26, align 4 %254 = icmp eq i32 %253, 4 br i1 %254, label %255, label %268 255: ; preds = %252 %256 = load ptr, ptr %17, align 8 %257 = load i64, ptr %27, align 8 %258 = getelementptr inbounds i64, ptr %256, i64 %257 %259 = load i64, ptr %258, align 8 %260 = load ptr, ptr %13, align 8 %261 = load i64, ptr %28, align 8 %262 = getelementptr inbounds i64, ptr %260, i64 %261 %263 = load i64, ptr %262, align 8 %264 = add nsw i64 %259, %263 %265 = load ptr, ptr %17, align 8 %266 = load i64, ptr %27, align 8 %267 = getelementptr inbounds i64, ptr %265, i64 %266 store i64 %264, ptr %267, align 8 br label %313 268: ; preds = %252 %269 = load i32, ptr %26, align 4 %270 = icmp eq i32 %269, 7 br i1 %270, label %271, label %284 271: ; preds = %268 %272 = load ptr, ptr %17, align 8 %273 = load i64, ptr %27, align 8 %274 = getelementptr inbounds i64, ptr %272, i64 %273 %275 = load i64, ptr %274, align 8 %276 = load ptr, ptr %13, align 8 %277 = load i64, ptr %28, align 8 %278 = getelementptr inbounds i64, ptr %276, i64 %277 %279 = load i64, ptr %278, align 8 %280 = and i64 %275, %279 %281 = load ptr, ptr %17, align 8 %282 = load i64, ptr %27, align 8 %283 = getelementptr inbounds i64, ptr %281, i64 %282 store i64 %280, ptr %283, align 8 br label %312 284: ; preds = %268 %285 = load i32, ptr %26, align 4 %286 = icmp eq i32 %285, 8 br i1 %286, label %287, label %300 287: ; preds = %284 %288 = load ptr, ptr %17, align 8 %289 = load i64, ptr %27, align 8 %290 = getelementptr inbounds i64, ptr %288, i64 %289 %291 = load i64, ptr %290, align 8 %292 = load ptr, ptr %13, align 8 %293 = load i64, ptr %28, align 8 %294 = getelementptr inbounds i64, ptr %292, i64 %293 %295 = load i64, ptr %294, align 8 %296 = or i64 %291, %295 %297 = load ptr, ptr %17, align 8 %298 = load i64, ptr %27, align 8 %299 = getelementptr inbounds i64, ptr %297, i64 %298 store i64 %296, ptr %299, align 8 br label %311 300: ; preds = %284 %301 = load i32, ptr %26, align 4 %302 = icmp eq i32 %301, 6 br i1 %302, label %303, label %310 303: ; preds = %300 %304 = load i64, ptr %11, align 8 %305 = load i64, ptr %28, align 8 %306 = add i64 %304, %305 %307 = load ptr, ptr %17, align 8 %308 = load i64, ptr %27, align 8 %309 = getelementptr inbounds i64, ptr %307, i64 %308 store i64 %306, ptr %309, align 8 br label %310 310: ; preds = %303, %300 br label %311 311: ; preds = %310, %287 br label %312 312: ; preds = %311, %271 br label %313 313: ; preds = %312, %255 br label %314 314: ; preds = %313, %247 br label %315 315: ; preds = %314, %219 br label %316 316: ; preds = %315, %195 %317 = load i64, ptr %28, align 8 %318 = add i64 %317, 1 store i64 %318, ptr %28, align 8 br label %322 319: ; preds = %158 %320 = load i64, ptr %27, align 8 %321 = add i64 %320, 1 store i64 %321, ptr %27, align 8 store i32 1, ptr %29, align 4 br label %322 322: ; preds = %319, %316 br label %323 323: ; preds = %322, %155 %324 = load i64, ptr %28, align 8 %325 = load i64, ptr %16, align 8 %326 = icmp ult i64 %324, %325 br i1 %326, label %131, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %323 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %127 br label %327 327: ; preds = %.loopexit, %142 %328 = load i64, ptr %28, align 8 store i64 %328, ptr %22, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %329 329: ; preds = %._crit_edge, %78 %330 = load i32, ptr %21, align 4 ret i32 %330 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkc5555ka.c' source_filename = "/tmp/tmpkc5555ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"proc %d enter Kernel to wait for a child to die\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"proc %d back from wait, dead child=%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"exitValue=%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @getpid() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @syscall(i32 noundef 5, ptr noundef %3, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = call i32 (...) @getpid() %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) br label %15 15: ; preds = %12, %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkc5555ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"proc %d enter Kernel to wait for a child to die\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"proc %d back from wait, dead child=%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"exitValue=%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @getpid() %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @syscall(i32 noundef 5, ptr noundef %3, i32 noundef 0) store i32 %6, ptr %2, align 4 %7 = call i32 (...) @getpid() %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) br label %15 15: ; preds = %12, %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqzbinhus.c' source_filename = "/tmp/tmpqzbinhus.c" target datalayout = "e-m:e-p270: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/tmpqzbinhus.c" target datalayout = "e-m:e-p270: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/tmpeauwitcr.c' source_filename = "/tmp/tmpeauwitcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCSPTLCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlockpt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @TIOCSPTLCK, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeauwitcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCSPTLCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlockpt(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @TIOCSPTLCK, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpik3pritx.c' source_filename = "/tmp/tmpik3pritx.c" target datalayout = "e-m:e-p270: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/tmpik3pritx.c" target datalayout = "e-m:e-p270: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/tmp0pdhqw_6.c' source_filename = "/tmp/tmp0pdhqw_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aes_ecb_enc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [176 x i32], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [176 x i32], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @expandKey(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [176 x i32], ptr %5, i64 0, i64 0 %11 = call i32 @aes_encr(ptr noundef %9, ptr noundef %10) ret i32 0 } declare i32 @expandKey(ptr noundef, ptr noundef) #1 declare i32 @aes_encr(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/tmp0pdhqw_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aes_ecb_enc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [176 x i32], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [176 x i32], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @expandKey(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [176 x i32], ptr %5, i64 0, i64 0 %11 = call i32 @aes_encr(ptr noundef %9, ptr noundef %10) ret i32 0 } declare i32 @expandKey(ptr noundef, ptr noundef) #1 declare i32 @aes_encr(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/tmpdg1yvzf1.c' source_filename = "/tmp/tmpdg1yvzf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MinBuildHeap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @Root(i32 noundef %6) store i32 %7, ptr %5, align 4 br label %8 8: ; preds = %11, %2 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @MinHeapify(ptr noundef %12, i32 noundef %13, i32 noundef %14) %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 br label %8, !llvm.loop !6 18: ; preds = %8 ret i32 0 } declare i32 @Root(i32 noundef) #1 declare i32 @MinHeapify(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/tmpdg1yvzf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MinBuildHeap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @Root(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @MinHeapify(ptr noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @Root(i32 noundef) #1 declare i32 @MinHeapify(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/tmp64jttd9b.c' source_filename = "/tmp/tmp64jttd9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findString(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 br label %13 13: ; preds = %114, %4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %115 17: ; preds = %13 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %9, align 4 %20 = add nsw i32 %18, %19 %21 = sdiv i32 %20, 2 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i64 @isEmpty(ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %87 29: ; preds = %17 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %12, align 4 br label %34 34: ; preds = %78, %29 %35 = load i32, ptr %11, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp sge i32 %35, %36 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call i64 @isEmpty(ptr noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %38 %47 = load i32, ptr %11, align 4 store i32 %47, ptr %10, align 4 br label %73 48: ; preds = %38, %34 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %52, label %62 52: ; preds = %48 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = call i64 @isEmpty(ptr noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %52 %61 = load i32, ptr %12, align 4 store i32 %61, ptr %10, align 4 br label %72 62: ; preds = %52, %48 %63 = load i32, ptr %11, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %71 66: ; preds = %62 %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp sgt i32 %67, %68 br i1 %69, label %70, label %71 70: ; preds = %66 store i32 -1, ptr %5, align 4 br label %116 71: ; preds = %66, %62 br label %72 72: ; preds = %71, %60 br label %73 73: ; preds = %72, %46 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %11, align 4 %76 = load i32, ptr %12, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %12, align 4 br label %78 78: ; preds = %73 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = call i64 @isEmpty(ptr noundef %83) %85 = icmp ne i64 %84, 0 br i1 %85, label %34, label %86, !llvm.loop !6 86: ; preds = %78 br label %87 87: ; preds = %86, %17 %88 = load ptr, ptr %7, align 8 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %10, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds ptr, ptr %89, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i64 @isEqual(ptr noundef %88, ptr noundef %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %87 %97 = load i32, ptr %10, align 4 store i32 %97, ptr %5, align 4 br label %116 98: ; preds = %87 %99 = load ptr, ptr %7, align 8 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %10, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = call i64 @isLess(ptr noundef %99, ptr noundef %104) %106 = icmp ne i64 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %98 %108 = load i32, ptr %10, align 4 %109 = sub nsw i32 %108, 1 store i32 %109, ptr %9, align 4 br label %113 110: ; preds = %98 %111 = load i32, ptr %10, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %8, align 4 br label %113 113: ; preds = %110, %107 br label %114 114: ; preds = %113 br label %13, !llvm.loop !8 115: ; preds = %13 store i32 -1, ptr %5, align 4 br label %116 116: ; preds = %115, %96, %70 %117 = load i32, ptr %5, align 4 ret i32 %117 } declare i64 @isEmpty(ptr noundef) #1 declare i64 @isEqual(ptr noundef, ptr noundef) #1 declare i64 @isLess(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/tmp64jttd9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findString(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %117 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %113 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = add nsw i32 %17, %18 %20 = sdiv i32 %19, 2 store i32 %20, ptr %10, align 4 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i64 @isEmpty(ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %86 28: ; preds = %16 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %12, align 4 br label %33 33: ; preds = %77, %28 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %37, label %47 37: ; preds = %33 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = call i64 @isEmpty(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %37 %46 = load i32, ptr %11, align 4 store i32 %46, ptr %10, align 4 br label %72 47: ; preds = %37, %33 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %12, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = call i64 @isEmpty(ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %61, label %59 59: ; preds = %51 %60 = load i32, ptr %12, align 4 store i32 %60, ptr %10, align 4 br label %71 61: ; preds = %51, %47 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %8, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %70 65: ; preds = %61 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp sgt i32 %66, %67 br i1 %68, label %69, label %70 69: ; preds = %65 store i32 -1, ptr %5, align 4 br label %118 70: ; preds = %65, %61 br label %71 71: ; preds = %70, %59 br label %72 72: ; preds = %71, %45 %73 = load i32, ptr %11, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %11, align 4 %75 = load i32, ptr %12, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %12, align 4 br label %77 77: ; preds = %72 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = call i64 @isEmpty(ptr noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %33, label %85, !llvm.loop !6 85: ; preds = %77 br label %86 86: ; preds = %85, %16 %87 = load ptr, ptr %7, align 8 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i64 @isEqual(ptr noundef %87, ptr noundef %92) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %86 %96 = load i32, ptr %10, align 4 store i32 %96, ptr %5, align 4 br label %118 97: ; preds = %86 %98 = load ptr, ptr %7, align 8 %99 = load ptr, ptr %6, align 8 %100 = load i32, ptr %10, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = call i64 @isLess(ptr noundef %98, ptr noundef %103) %105 = icmp ne i64 %104, 0 br i1 %105, label %106, label %109 106: ; preds = %97 %107 = load i32, ptr %10, align 4 %108 = sub nsw i32 %107, 1 store i32 %108, ptr %9, align 4 br label %112 109: ; preds = %97 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %8, align 4 br label %112 112: ; preds = %109, %106 br label %113 113: ; preds = %112 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %9, align 4 %116 = icmp sle i32 %114, %115 br i1 %116, label %16, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %113 br label %117 117: ; preds = %._crit_edge, %4 store i32 -1, ptr %5, align 4 br label %118 118: ; preds = %117, %95, %69 %119 = load i32, ptr %5, align 4 ret i32 %119 } declare i64 @isEmpty(ptr noundef) #1 declare i64 @isEqual(ptr noundef, ptr noundef) #1 declare i64 @isLess(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/tmps8kg4y53.c' source_filename = "/tmp/tmps8kg4y53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"-t filter -F WiFiDog_$ID$_AuthServers\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"-t nat -F WiFiDog_$ID$_AuthServers\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @iptables_fw_clear_authservers() #0 { %1 = call i32 @iptables_do_command(ptr noundef @.str) %2 = call i32 @iptables_do_command(ptr noundef @.str.1) ret void } declare i32 @iptables_do_command(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/tmps8kg4y53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"-t filter -F WiFiDog_$ID$_AuthServers\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"-t nat -F WiFiDog_$ID$_AuthServers\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @iptables_fw_clear_authservers() #0 { %1 = call i32 @iptables_do_command(ptr noundef @.str) %2 = call i32 @iptables_do_command(ptr noundef @.str.1) ret void } declare i32 @iptables_do_command(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/tmptst68ski.c' source_filename = "/tmp/tmptst68ski.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @bar(ptr noundef %7) ret i32 0 } declare i32 @bar(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/tmptst68ski.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @bar(ptr noundef %7) ret i32 0 } declare i32 @bar(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/tmp455qa2lm.c' source_filename = "/tmp/tmp455qa2lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_GF2m_mod_inv_arr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @bn_check_top(ptr noundef %11) %13 = load ptr, ptr %8, align 8 %14 = call i32 @BN_CTX_start(ptr noundef %13) %15 = load ptr, ptr %8, align 8 %16 = call ptr @BN_CTX_get(ptr noundef %15) store ptr %16, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %4 br label %33 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i32 @BN_GF2m_arr2poly(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %19 br label %33 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %9, align 8 %29 = load ptr, ptr %8, align 8 %30 = call i32 @BN_GF2m_mod_inv(ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29) store i32 %30, ptr %10, align 4 %31 = load ptr, ptr %5, align 8 %32 = call i32 @bn_check_top(ptr noundef %31) br label %33 33: ; preds = %25, %24, %18 %34 = load ptr, ptr %8, align 8 %35 = call i32 @BN_CTX_end(ptr noundef %34) %36 = load i32, ptr %10, align 4 ret i32 %36 } declare i32 @bn_check_top(ptr noundef) #1 declare i32 @BN_CTX_start(ptr noundef) #1 declare ptr @BN_CTX_get(ptr noundef) #1 declare i32 @BN_GF2m_arr2poly(ptr noundef, ptr noundef) #1 declare i32 @BN_GF2m_mod_inv(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_CTX_end(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/tmp455qa2lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_GF2m_mod_inv_arr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @bn_check_top(ptr noundef %11) %13 = load ptr, ptr %8, align 8 %14 = call i32 @BN_CTX_start(ptr noundef %13) %15 = load ptr, ptr %8, align 8 %16 = call ptr @BN_CTX_get(ptr noundef %15) store ptr %16, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %4 br label %33 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i32 @BN_GF2m_arr2poly(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %19 br label %33 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %9, align 8 %29 = load ptr, ptr %8, align 8 %30 = call i32 @BN_GF2m_mod_inv(ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29) store i32 %30, ptr %10, align 4 %31 = load ptr, ptr %5, align 8 %32 = call i32 @bn_check_top(ptr noundef %31) br label %33 33: ; preds = %25, %24, %18 %34 = load ptr, ptr %8, align 8 %35 = call i32 @BN_CTX_end(ptr noundef %34) %36 = load i32, ptr %10, align 4 ret i32 %36 } declare i32 @bn_check_top(ptr noundef) #1 declare i32 @BN_CTX_start(ptr noundef) #1 declare ptr @BN_CTX_get(ptr noundef) #1 declare i32 @BN_GF2m_arr2poly(ptr noundef, ptr noundef) #1 declare i32 @BN_GF2m_mod_inv(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_CTX_end(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/tmpsu8ybygf.c' source_filename = "/tmp/tmpsu8ybygf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Math function sqrt of %lli is %Lf \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Big sqrt mp of %lli is %lli \0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Time taken: %f \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 i64, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 581170932765279684, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = sitofp i64 %13 to x86_fp80 %15 = call x86_fp80 @sqrtl(x86_fp80 noundef %14) #3 store x86_fp80 %15, ptr %7, align 16 %16 = load i64, ptr %6, align 8 %17 = sitofp i64 %16 to double %18 = load x86_fp80, ptr %7, align 16 %19 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %17, x86_fp80 noundef %18) store i64 0, ptr %8, align 8 %20 = call i32 @time(ptr noundef null) store i32 %20, ptr %9, align 4 store i64 2, ptr %10, align 8 br label %21 21: ; preds = %35, %2 %22 = load i64, ptr %10, align 8 %23 = load i64, ptr %6, align 8 %24 = sdiv i64 %23, 2 %25 = icmp slt i64 %22, %24 br i1 %25, label %26, label %38 26: ; preds = %21 %27 = load i64, ptr %10, align 8 %28 = load i64, ptr %10, align 8 %29 = mul nsw i64 %27, %28 %30 = load i64, ptr %6, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %26 %33 = load i64, ptr %10, align 8 store i64 %33, ptr %8, align 8 br label %38 34: ; preds = %26 br label %35 35: ; preds = %34 %36 = load i64, ptr %10, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %10, align 8 br label %21, !llvm.loop !6 38: ; preds = %32, %21 %39 = call i32 @time(ptr noundef null) store i32 %39, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %9, align 4 %42 = call double @difftime(i32 noundef %40, i32 noundef %41) store double %42, ptr %12, align 8 %43 = load i64, ptr %6, align 8 %44 = sitofp i64 %43 to double %45 = load i64, ptr %8, align 8 %46 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %44, i64 noundef %45) %47 = load double, ptr %12, align 8 %48 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %47) ret i32 0 } ; Function Attrs: nounwind declare x86_fp80 @sqrtl(x86_fp80 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #2 declare i32 @time(ptr noundef) #2 declare double @difftime(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 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsu8ybygf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Math function sqrt of %lli is %Lf \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Big sqrt mp of %lli is %lli \0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Time taken: %f \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 i64, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 581170932765279684, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = sitofp i64 %13 to x86_fp80 %15 = call x86_fp80 @sqrtl(x86_fp80 noundef %14) #3 store x86_fp80 %15, ptr %7, align 16 %16 = load i64, ptr %6, align 8 %17 = sitofp i64 %16 to double %18 = load x86_fp80, ptr %7, align 16 %19 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %17, x86_fp80 noundef %18) store i64 0, ptr %8, align 8 %20 = call i32 @time(ptr noundef null) store i32 %20, ptr %9, align 4 store i64 2, ptr %10, align 8 %21 = load i64, ptr %10, align 8 %22 = load i64, ptr %6, align 8 %23 = sdiv i64 %22, 2 %24 = icmp slt i64 %21, %23 br i1 %24, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %25 25: ; preds = %.lr.ph, %34 %26 = load i64, ptr %10, align 8 %27 = load i64, ptr %10, align 8 %28 = mul nsw i64 %26, %27 %29 = load i64, ptr %6, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = load i64, ptr %10, align 8 store i64 %32, ptr %8, align 8 br label %41 33: ; preds = %25 br label %34 34: ; preds = %33 %35 = load i64, ptr %10, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %10, align 8 %37 = load i64, ptr %10, align 8 %38 = load i64, ptr %6, align 8 %39 = sdiv i64 %38, 2 %40 = icmp slt i64 %37, %39 br i1 %40, label %25, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %41 41: ; preds = %.loopexit, %31 %42 = call i32 @time(ptr noundef null) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %9, align 4 %45 = call double @difftime(i32 noundef %43, i32 noundef %44) store double %45, ptr %12, align 8 %46 = load i64, ptr %6, align 8 %47 = sitofp i64 %46 to double %48 = load i64, ptr %8, align 8 %49 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %47, i64 noundef %48) %50 = load double, ptr %12, align 8 %51 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %50) ret i32 0 } ; Function Attrs: nounwind declare x86_fp80 @sqrtl(x86_fp80 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #2 declare i32 @time(ptr noundef) #2 declare double @difftime(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 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpger3mowo.c' source_filename = "/tmp/tmpger3mowo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_setleft() #0 { %1 = call i32 @setakpos(i32 noundef 0) ret void } declare i32 @setakpos(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/tmpger3mowo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_setleft() #0 { %1 = call i32 @setakpos(i32 noundef 0) ret void } declare i32 @setakpos(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/tmpfv3lrg29.c' source_filename = "/tmp/tmpfv3lrg29.c" target datalayout = "e-m:e-p270: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/tmpfv3lrg29.c" target datalayout = "e-m:e-p270: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/tmp45m1o9ue.c' source_filename = "/tmp/tmp45m1o9ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [197 x i8] c"\09o===================================o\0A\09| open source data logger |\0A\09| for the Raspberry PI |\0A\09| http://opendatalogger.com |\0A\09o===================================o\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"INFO: build with gcc %d.%d.%d at %s.\0A %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Mar 18 202202:45:57 local time\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_logo() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %2 2: ; preds = %0 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 9, i32 noundef 4, i32 noundef 0, ptr noundef @.str.2, ptr noundef @.str.3) br label %4 4: ; preds = %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45m1o9ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [197 x i8] c"\09o===================================o\0A\09| open source data logger |\0A\09| for the Raspberry PI |\0A\09| http://opendatalogger.com |\0A\09o===================================o\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"INFO: build with gcc %d.%d.%d at %s.\0A %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Mar 18 202202:45:57 local time\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_logo() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %2 2: ; preds = %0 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 9, i32 noundef 4, i32 noundef 0, ptr noundef @.str.2, ptr noundef @.str.3) br label %4 4: ; preds = %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe6jpd17h.c' source_filename = "/tmp/tmpe6jpd17h.c" target datalayout = "e-m:e-p270: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/tmpe6jpd17h.c" target datalayout = "e-m:e-p270: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/tmpjufza29q.c' source_filename = "/tmp/tmpjufza29q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Welcome to c coding\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Please select a menu item:\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %13, %2 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (...) @show_options() %11 = call signext i8 (...) @get_input() store i8 %11, ptr %6, align 1 %12 = call i32 @show_selection(i8 noundef signext %11) br label %13 13: ; preds = %8 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 81 br i1 %16, label %8, label %17, !llvm.loop !6 17: ; preds = %13 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @show_options(...) #1 declare i32 @show_selection(i8 noundef signext) #1 declare signext i8 @get_input(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjufza29q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Welcome to c coding\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Please select a menu item:\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %13, %2 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (...) @show_options() %11 = call signext i8 (...) @get_input() store i8 %11, ptr %6, align 1 %12 = call i32 @show_selection(i8 noundef signext %11) br label %13 13: ; preds = %8 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 81 br i1 %16, label %8, label %17, !llvm.loop !6 17: ; preds = %13 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @show_options(...) #1 declare i32 @show_selection(i8 noundef signext) #1 declare signext i8 @get_input(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpffde1_oz.c' source_filename = "/tmp/tmpffde1_oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"idx = 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @parse_idx(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i8], align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 2) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 2 store ptr %11, ptr %2, align 8 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen_(ptr noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 4 br i1 %16, label %17, label %25 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = call i32 @htoi(ptr noundef %18) %20 = shl i32 %19, 8 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = call i32 @htoi(ptr noundef %22) %24 = add nsw i32 %20, %23 store i32 %24, ptr %3, align 4 br label %43 25: ; preds = %12 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %39 28: ; preds = %25 %29 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 store i8 48, ptr %29, align 1 %30 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1 %31 = load ptr, ptr %2, align 8 %32 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef 3) %33 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 %34 = call i32 @htoi(ptr noundef %33) %35 = shl i32 %34, 8 %36 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 2 %37 = call i32 @htoi(ptr noundef %36) %38 = add nsw i32 %35, %37 store i32 %38, ptr %3, align 4 br label %42 39: ; preds = %25 %40 = load ptr, ptr %2, align 8 %41 = call i32 @htoi(ptr noundef %40) store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %39, %28 br label %43 43: ; preds = %42, %17 %44 = load i32, ptr %3, align 4 %45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44) %46 = load i32, ptr %3, align 4 %47 = trunc i32 %46 to i16 ret i16 %47 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen_(ptr noundef) #1 declare i32 @htoi(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffde1_oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"idx = 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @parse_idx(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i8], align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 2) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 2 store ptr %11, ptr %2, align 8 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen_(ptr noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 4 br i1 %16, label %17, label %25 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = call i32 @htoi(ptr noundef %18) %20 = shl i32 %19, 8 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = call i32 @htoi(ptr noundef %22) %24 = add nsw i32 %20, %23 store i32 %24, ptr %3, align 4 br label %43 25: ; preds = %12 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %39 28: ; preds = %25 %29 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 store i8 48, ptr %29, align 1 %30 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1 %31 = load ptr, ptr %2, align 8 %32 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef 3) %33 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0 %34 = call i32 @htoi(ptr noundef %33) %35 = shl i32 %34, 8 %36 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 2 %37 = call i32 @htoi(ptr noundef %36) %38 = add nsw i32 %35, %37 store i32 %38, ptr %3, align 4 br label %42 39: ; preds = %25 %40 = load ptr, ptr %2, align 8 %41 = call i32 @htoi(ptr noundef %40) store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %39, %28 br label %43 43: ; preds = %42, %17 %44 = load i32, ptr %3, align 4 %45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44) %46 = load i32, ptr %3, align 4 %47 = trunc i32 %46 to i16 ret i16 %47 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen_(ptr noundef) #1 declare i32 @htoi(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjpkgxmi9.c' source_filename = "/tmp/tmpjpkgxmi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"h\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c".------. _\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"| ____| | | \0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"| |____ _ __ ___ | |_ _____ __\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"| ____| '_ ` _ \\| _ \\ / _ \\ \\/ /\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"| |____| | | | | | |_) | (_) > < \0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"|______|_| |_| |_|____/ \\___/_/\\_\\\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Date: %12s\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"Time: %9s\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"09:53:58\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"Compiler: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"9.4.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getopt_init() br label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %6, align 4 %12 = icmp ne i32 -1, %11 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load i32, ptr %6, align 4 switch i32 %14, label %17 [ i32 104, label %15 ] 15: ; preds = %13 %16 = call i32 (...) @print_usage() store i32 0, ptr %3, align 4 br label %30 17: ; preds = %13 store i32 0, ptr %3, align 4 br label %30 18: ; preds = %8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.13) store i32 0, ptr %3, align 4 br label %30 30: ; preds = %18, %17, %15 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @getopt_init(...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_usage(...) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjpkgxmi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"h\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c".------. _\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"| ____| | | \0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"| |____ _ __ ___ | |_ _____ __\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"| ____| '_ ` _ \\| _ \\ / _ \\ \\/ /\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"| |____| | | | | | |_) | (_) > < \0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"|______|_| |_| |_|____/ \\___/_/\\_\\\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Date: %12s\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"Time: %9s\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"09:53:58\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"Compiler: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"9.4.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getopt_init() br label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %6, align 4 %12 = icmp ne i32 -1, %11 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load i32, ptr %6, align 4 switch i32 %14, label %17 [ i32 104, label %15 ] 15: ; preds = %13 %16 = call i32 (...) @print_usage() store i32 0, ptr %3, align 4 br label %30 17: ; preds = %13 store i32 0, ptr %3, align 4 br label %30 18: ; preds = %8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.13) store i32 0, ptr %3, align 4 br label %30 30: ; preds = %18, %17, %15 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @getopt_init(...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_usage(...) #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"}
; ModuleID = '/tmp/tmpi0e21pa9.c' source_filename = "/tmp/tmpi0e21pa9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ContainSpace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %20, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, 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 = icmp eq i32 %16, 32 br i1 %17, label %18, label %19 18: ; preds = %10 store i32 1, ptr %3, align 4 br label %19 19: ; preds = %18, %10 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %5, !llvm.loop !6 23: ; preds = %5 %24 = load i32, ptr %3, align 4 ret i32 %24 } 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/tmpi0e21pa9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ContainSpace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 32 br i1 %16, label %17, label %18 17: ; preds = %9 store i32 1, ptr %3, align 4 br label %18 18: ; preds = %17, %9 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load i32, ptr %3, align 4 ret i32 %27 } 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/tmpmzdd_6pb.c' source_filename = "/tmp/tmpmzdd_6pb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @taC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 br label %70 10: ; preds = %1 store i32 0, ptr %4, align 4 store i32 40, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 1, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 br label %17 17: ; preds = %48, %10 %18 = load ptr, ptr %2, align 8 %19 = call signext i8 @getc(ptr noundef %18) store i8 %19, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr @EOF, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %20, %22 br i1 %23, label %24, label %51 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp sge i32 %25, %26 br i1 %27, label %28, label %38 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 40 store i32 %30, ptr %5, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 1, %33 %35 = trunc i64 %34 to i32 %36 = call i64 @realloc(ptr noundef %31, i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %6, align 8 br label %38 38: ; preds = %28, %24 %39 = load i8, ptr %3, align 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 %44 = load i8, ptr %3, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %47, label %48 47: ; preds = %38 br label %51 48: ; preds = %38 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %17, !llvm.loop !6 51: ; preds = %47, %17 %52 = load i8, ptr %3, align 1 %53 = sext i8 %52 to i32 %54 = load i8, ptr @EOF, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %53, %55 br i1 %56, label %57, label %64 57: ; preds = %51 %58 = load ptr, ptr %6, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %63 60: ; preds = %57 %61 = load ptr, ptr %6, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %57 br label %70 64: ; preds = %51 %65 = load ptr, ptr %2, align 8 call void @taC(ptr noundef %65) %66 = load ptr, ptr %6, align 8 %67 = call i32 @printf(ptr noundef @.str, ptr noundef %66) %68 = load ptr, ptr %6, align 8 %69 = call i32 @free(ptr noundef %68) store ptr null, ptr %6, align 8 br label %70 70: ; preds = %64, %63, %9 ret void } declare i64 @malloc(i32 noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzdd_6pb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @taC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 br label %75 10: ; preds = %1 store i32 0, ptr %4, align 4 store i32 40, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 1, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %2, align 8 %18 = call signext i8 @getc(ptr noundef %17) store i8 %18, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr @EOF, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %19, %21 br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %10 br label %23 23: ; preds = %.lr.ph, %47 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp sge i32 %24, %25 br i1 %26, label %27, label %37 27: ; preds = %23 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 40 store i32 %29, ptr %5, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 1, %32 %34 = trunc i64 %33 to i32 %35 = call i64 @realloc(ptr noundef %30, i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %6, align 8 br label %37 37: ; preds = %27, %23 %38 = load i8, ptr %3, align 1 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 %38, ptr %42, align 1 %43 = load i8, ptr %3, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 10 br i1 %45, label %46, label %47 46: ; preds = %37 br label %56 47: ; preds = %37 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %4, align 4 %50 = load ptr, ptr %2, align 8 %51 = call signext i8 @getc(ptr noundef %50) store i8 %51, ptr %3, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @EOF, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %23, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %47 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %10 br label %56 56: ; preds = %.loopexit, %46 %57 = load i8, ptr %3, align 1 %58 = sext i8 %57 to i32 %59 = load i8, ptr @EOF, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %58, %60 br i1 %61, label %62, label %69 62: ; preds = %56 %63 = load ptr, ptr %6, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %68 65: ; preds = %62 %66 = load ptr, ptr %6, align 8 %67 = call i32 @free(ptr noundef %66) br label %68 68: ; preds = %65, %62 br label %75 69: ; preds = %56 %70 = load ptr, ptr %2, align 8 call void @taC(ptr noundef %70) %71 = load ptr, ptr %6, align 8 %72 = call i32 @printf(ptr noundef @.str, ptr noundef %71) %73 = load ptr, ptr %6, align 8 %74 = call i32 @free(ptr noundef %73) store ptr null, ptr %6, align 8 br label %75 75: ; preds = %69, %68, %9 ret void } declare i64 @malloc(i32 noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7pescfz1.c' source_filename = "/tmp/tmp7pescfz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"[a] Stats, sustains, luck, speed, vision, etc. \00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"[b] Misc. (Auras, light, see invis, etc) \00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"[c] Weapon Branding \00", align 1 @.str.3 = private unnamed_addr constant [57 x i8] c"[d] Resistances and Immunities \00", align 1 @.str.4 = private unnamed_addr constant [57 x i8] c"[e] ESP and Curses \00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c"[f] Activation \00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"[g] Abilities Gained \00", align 1 @.str.7 = private unnamed_addr constant [57 x i8] c"[h] Display Required Essences and items \00", align 1 @.str.8 = private unnamed_addr constant [57 x i8] c"[i] Done! Finalize and commit changes. \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_levels() #0 { %1 = call i32 (...) @Term_clear() %2 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str, i32 noundef 3, i32 noundef 10) %3 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.1, i32 noundef 4, i32 noundef 10) %4 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5, i32 noundef 10) %5 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.3, i32 noundef 6, i32 noundef 10) %6 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.4, i32 noundef 7, i32 noundef 10) %7 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.5, i32 noundef 8, i32 noundef 10) %8 = call i32 @c_prt(i32 noundef 0, ptr noundef @.str.6, i32 noundef 9, i32 noundef 10) %9 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.7, i32 noundef 10, i32 noundef 10) %10 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.8, i32 noundef 11, i32 noundef 10) ret void } declare i32 @Term_clear(...) #1 declare i32 @c_prt(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7pescfz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"[a] Stats, sustains, luck, speed, vision, etc. \00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"[b] Misc. (Auras, light, see invis, etc) \00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"[c] Weapon Branding \00", align 1 @.str.3 = private unnamed_addr constant [57 x i8] c"[d] Resistances and Immunities \00", align 1 @.str.4 = private unnamed_addr constant [57 x i8] c"[e] ESP and Curses \00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c"[f] Activation \00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"[g] Abilities Gained \00", align 1 @.str.7 = private unnamed_addr constant [57 x i8] c"[h] Display Required Essences and items \00", align 1 @.str.8 = private unnamed_addr constant [57 x i8] c"[i] Done! Finalize and commit changes. \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_levels() #0 { %1 = call i32 (...) @Term_clear() %2 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str, i32 noundef 3, i32 noundef 10) %3 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.1, i32 noundef 4, i32 noundef 10) %4 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5, i32 noundef 10) %5 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.3, i32 noundef 6, i32 noundef 10) %6 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.4, i32 noundef 7, i32 noundef 10) %7 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.5, i32 noundef 8, i32 noundef 10) %8 = call i32 @c_prt(i32 noundef 0, ptr noundef @.str.6, i32 noundef 9, i32 noundef 10) %9 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.7, i32 noundef 10, i32 noundef 10) %10 = call i32 @c_prt(i32 noundef 1, ptr noundef @.str.8, i32 noundef 11, i32 noundef 10) ret void } declare i32 @Term_clear(...) #1 declare i32 @c_prt(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpau325bvv.c' source_filename = "/tmp/tmpau325bvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %11, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = call i32 @inb(i32 noundef 64) store volatile i32 %10, ptr %3, align 4 br label %11 11: ; preds = %9 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 br label %5, !llvm.loop !6 14: ; preds = %5 ret void } declare i32 @inb(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/tmpau325bvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %10 %9 = call i32 @inb(i32 noundef 64) store volatile i32 %9, ptr %3, align 4 br label %10 10: ; preds = %8 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @inb(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/tmpk8zhk0ir.c' source_filename = "/tmp/tmpk8zhk0ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_surfflag_subname_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strncpy(ptr noundef %4, ptr noundef %5, i32 noundef 8) %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds i8, ptr %7, i64 8 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @gmvwrite_surfflag_subname(ptr noundef %9) ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gmvwrite_surfflag_subname(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/tmpk8zhk0ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_surfflag_subname_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strncpy(ptr noundef %4, ptr noundef %5, i32 noundef 8) %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds i8, ptr %7, i64 8 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @gmvwrite_surfflag_subname(ptr noundef %9) ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gmvwrite_surfflag_subname(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/tmpt39_o2p6.c' source_filename = "/tmp/tmpt39_o2p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betacf(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %7, align 4 store double 1.000000e+00, ptr %12, align 8 store double 1.000000e+00, ptr %11, align 8 store double 1.000000e+00, ptr %10, align 8 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fadd double %22, %23 store double %24, ptr %13, align 8 %25 = load double, ptr %4, align 8 %26 = fadd double %25, 1.000000e+00 store double %26, ptr %14, align 8 %27 = load double, ptr %4, align 8 %28 = fsub double %27, 1.000000e+00 store double %28, ptr %15, align 8 %29 = load double, ptr %13, align 8 %30 = load double, ptr %6, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %14, align 8 %33 = fdiv double %31, %32 %34 = fsub double 1.000000e+00, %33 store double %34, ptr %16, align 8 br label %35 35: ; preds = %46, %3 %36 = load double, ptr %12, align 8 %37 = load double, ptr %9, align 8 %38 = fsub double %36, %37 %39 = call i32 @fabs(double noundef %38) %40 = sitofp i32 %39 to double %41 = load double, ptr %12, align 8 %42 = call i32 @fabs(double noundef %41) %43 = sitofp i32 %42 to double %44 = fmul double 0x3E7AD7F29ABCAF48, %43 %45 = fcmp ogt double %40, %44 br i1 %45, label %46, label %119 46: ; preds = %35 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %49, %50 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %7, align 4 %53 = sitofp i32 %52 to double %54 = load double, ptr %5, align 8 %55 = load i32, ptr %7, align 4 %56 = sitofp i32 %55 to double %57 = fsub double %54, %56 %58 = fmul double %53, %57 %59 = load double, ptr %6, align 8 %60 = fmul double %58, %59 %61 = load double, ptr %15, align 8 %62 = load i32, ptr %8, align 4 %63 = sitofp i32 %62 to double %64 = fadd double %61, %63 %65 = fdiv double %60, %64 %66 = load double, ptr %4, align 8 %67 = load i32, ptr %8, align 4 %68 = sitofp i32 %67 to double %69 = fadd double %66, %68 %70 = fdiv double %65, %69 store double %70, ptr %17, align 8 %71 = load double, ptr %12, align 8 %72 = load double, ptr %17, align 8 %73 = load double, ptr %10, align 8 %74 = call double @llvm.fmuladd.f64(double %72, double %73, double %71) store double %74, ptr %18, align 8 %75 = load double, ptr %16, align 8 %76 = load double, ptr %17, align 8 %77 = load double, ptr %11, align 8 %78 = call double @llvm.fmuladd.f64(double %76, double %77, double %75) store double %78, ptr %19, align 8 %79 = load double, ptr %4, align 8 %80 = load i32, ptr %7, align 4 %81 = sitofp i32 %80 to double %82 = fadd double %79, %81 %83 = fneg double %82 %84 = load double, ptr %13, align 8 %85 = load i32, ptr %7, align 4 %86 = sitofp i32 %85 to double %87 = fadd double %84, %86 %88 = fmul double %83, %87 %89 = load double, ptr %6, align 8 %90 = fmul double %88, %89 %91 = load double, ptr %4, align 8 %92 = load i32, ptr %8, align 4 %93 = sitofp i32 %92 to double %94 = fadd double %91, %93 %95 = fdiv double %90, %94 %96 = load double, ptr %14, align 8 %97 = load i32, ptr %8, align 4 %98 = sitofp i32 %97 to double %99 = fadd double %96, %98 %100 = fdiv double %95, %99 store double %100, ptr %17, align 8 %101 = load double, ptr %18, align 8 %102 = load double, ptr %17, align 8 %103 = load double, ptr %12, align 8 %104 = call double @llvm.fmuladd.f64(double %102, double %103, double %101) store double %104, ptr %20, align 8 %105 = load double, ptr %19, align 8 %106 = load double, ptr %17, align 8 %107 = load double, ptr %16, align 8 %108 = call double @llvm.fmuladd.f64(double %106, double %107, double %105) store double %108, ptr %21, align 8 %109 = load double, ptr %12, align 8 store double %109, ptr %9, align 8 %110 = load double, ptr %18, align 8 %111 = load double, ptr %21, align 8 %112 = fdiv double %110, %111 store double %112, ptr %10, align 8 %113 = load double, ptr %19, align 8 %114 = load double, ptr %21, align 8 %115 = fdiv double %113, %114 store double %115, ptr %11, align 8 %116 = load double, ptr %20, align 8 %117 = load double, ptr %21, align 8 %118 = fdiv double %116, %117 store double %118, ptr %12, align 8 store double 1.000000e+00, ptr %16, align 8 br label %35, !llvm.loop !6 119: ; preds = %35 %120 = load double, ptr %12, align 8 ret double %120 } declare i32 @fabs(double 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt39_o2p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betacf(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %7, align 4 store double 1.000000e+00, ptr %12, align 8 store double 1.000000e+00, ptr %11, align 8 store double 1.000000e+00, ptr %10, align 8 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fadd double %22, %23 store double %24, ptr %13, align 8 %25 = load double, ptr %4, align 8 %26 = fadd double %25, 1.000000e+00 store double %26, ptr %14, align 8 %27 = load double, ptr %4, align 8 %28 = fsub double %27, 1.000000e+00 store double %28, ptr %15, align 8 %29 = load double, ptr %13, align 8 %30 = load double, ptr %6, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %14, align 8 %33 = fdiv double %31, %32 %34 = fsub double 1.000000e+00, %33 store double %34, ptr %16, align 8 %35 = load double, ptr %12, align 8 %36 = load double, ptr %9, align 8 %37 = fsub double %35, %36 %38 = call i32 @fabs(double noundef %37) %39 = sitofp i32 %38 to double %40 = load double, ptr %12, align 8 %41 = call i32 @fabs(double noundef %40) %42 = sitofp i32 %41 to double %43 = fmul double 0x3E7AD7F29ABCAF48, %42 %44 = fcmp ogt double %39, %43 br i1 %44, label %.lr.ph, label %128 .lr.ph: ; preds = %3 br label %45 45: ; preds = %.lr.ph, %45 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %48, %49 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %7, align 4 %52 = sitofp i32 %51 to double %53 = load double, ptr %5, align 8 %54 = load i32, ptr %7, align 4 %55 = sitofp i32 %54 to double %56 = fsub double %53, %55 %57 = fmul double %52, %56 %58 = load double, ptr %6, align 8 %59 = fmul double %57, %58 %60 = load double, ptr %15, align 8 %61 = load i32, ptr %8, align 4 %62 = sitofp i32 %61 to double %63 = fadd double %60, %62 %64 = fdiv double %59, %63 %65 = load double, ptr %4, align 8 %66 = load i32, ptr %8, align 4 %67 = sitofp i32 %66 to double %68 = fadd double %65, %67 %69 = fdiv double %64, %68 store double %69, ptr %17, align 8 %70 = load double, ptr %12, align 8 %71 = load double, ptr %17, align 8 %72 = load double, ptr %10, align 8 %73 = call double @llvm.fmuladd.f64(double %71, double %72, double %70) store double %73, ptr %18, align 8 %74 = load double, ptr %16, align 8 %75 = load double, ptr %17, align 8 %76 = load double, ptr %11, align 8 %77 = call double @llvm.fmuladd.f64(double %75, double %76, double %74) store double %77, ptr %19, align 8 %78 = load double, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = sitofp i32 %79 to double %81 = fadd double %78, %80 %82 = fneg double %81 %83 = load double, ptr %13, align 8 %84 = load i32, ptr %7, align 4 %85 = sitofp i32 %84 to double %86 = fadd double %83, %85 %87 = fmul double %82, %86 %88 = load double, ptr %6, align 8 %89 = fmul double %87, %88 %90 = load double, ptr %4, align 8 %91 = load i32, ptr %8, align 4 %92 = sitofp i32 %91 to double %93 = fadd double %90, %92 %94 = fdiv double %89, %93 %95 = load double, ptr %14, align 8 %96 = load i32, ptr %8, align 4 %97 = sitofp i32 %96 to double %98 = fadd double %95, %97 %99 = fdiv double %94, %98 store double %99, ptr %17, align 8 %100 = load double, ptr %18, align 8 %101 = load double, ptr %17, align 8 %102 = load double, ptr %12, align 8 %103 = call double @llvm.fmuladd.f64(double %101, double %102, double %100) store double %103, ptr %20, align 8 %104 = load double, ptr %19, align 8 %105 = load double, ptr %17, align 8 %106 = load double, ptr %16, align 8 %107 = call double @llvm.fmuladd.f64(double %105, double %106, double %104) store double %107, ptr %21, align 8 %108 = load double, ptr %12, align 8 store double %108, ptr %9, align 8 %109 = load double, ptr %18, align 8 %110 = load double, ptr %21, align 8 %111 = fdiv double %109, %110 store double %111, ptr %10, align 8 %112 = load double, ptr %19, align 8 %113 = load double, ptr %21, align 8 %114 = fdiv double %112, %113 store double %114, ptr %11, align 8 %115 = load double, ptr %20, align 8 %116 = load double, ptr %21, align 8 %117 = fdiv double %115, %116 store double %117, ptr %12, align 8 store double 1.000000e+00, ptr %16, align 8 %118 = load double, ptr %12, align 8 %119 = load double, ptr %9, align 8 %120 = fsub double %118, %119 %121 = call i32 @fabs(double noundef %120) %122 = sitofp i32 %121 to double %123 = load double, ptr %12, align 8 %124 = call i32 @fabs(double noundef %123) %125 = sitofp i32 %124 to double %126 = fmul double 0x3E7AD7F29ABCAF48, %125 %127 = fcmp ogt double %122, %126 br i1 %127, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %128 128: ; preds = %._crit_edge, %3 %129 = load double, ptr %12, align 8 ret double %129 } declare i32 @fabs(double 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"}
; ModuleID = '/tmp/tmpav77ch17.c' source_filename = "/tmp/tmpav77ch17.c" target datalayout = "e-m:e-p270: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/tmpav77ch17.c" target datalayout = "e-m:e-p270: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/tmp8nkd9ka4.c' source_filename = "/tmp/tmp8nkd9ka4.c" target datalayout = "e-m:e-p270: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/tmp8nkd9ka4.c" target datalayout = "e-m:e-p270: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/tmph2rhcg7w.c' source_filename = "/tmp/tmph2rhcg7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_file_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph2rhcg7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_file_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdkyk2c9v.c' source_filename = "/tmp/tmpdkyk2c9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"pwtable.dat\00", align 1 @main.bubble = internal global [4 x i8] c".oO\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [63 x i8] c"Generating tabula recta data. This can take several minutes. |\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"reading from /dev/random\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"failed to read from /dev/random\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"closing /dev/random\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"done\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"writing pwtable.dat\00", align 1 @.str.8 = private unnamed_addr constant [219 x i8] c"\0AUsage: pwtable [datfile]\0A\0AIf no datfile is specified then one will be generated\0Aand stored in pwtable.dat.\0AA tabula recta will then be printed out in ASCII.\0A\0Ahttp://blog.jgc.org/2010/12/write-your-passwords-down.html\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"reading pwtable.dat\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"\0A \00", align 1 @.str.12 = private unnamed_addr constant [57 x i8] c"\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 [676 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 676, i1 false) store ptr @.str, ptr %10, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %100 14: ; preds = %2 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %15) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #4 unreachable 23: ; preds = %14 %24 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 br label %25 25: ; preds = %63, %23 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %26, 676 br i1 %27, label %28, label %64 28: ; preds = %25 %29 = load i32, ptr %8, align 4 %30 = call i32 @read(i32 noundef %29, ptr noundef %11, i32 noundef 1) store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp eq i32 %31, 1 br i1 %32, label %33, label %53 33: ; preds = %28 %34 = load i8, ptr %11, align 1 %35 = call i64 @isprint(i8 noundef signext %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = call i32 @putchar(i8 noundef signext 8) %39 = load i32, ptr %7, align 4 %40 = srem i32 %39, 3 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x i8], ptr @main.bubble, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = call i32 @putchar(i8 noundef signext %43) %45 = load i32, ptr @stdout, align 4 %46 = call i32 @fflush(i32 noundef %45) %47 = load i8, ptr %11, align 1 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 %50 store i8 %47, ptr %51, align 1 br label %52 52: ; preds = %37, %33 br label %63 53: ; preds = %28 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = call i32 @perror(ptr noundef @.str.3) %58 = load i32, ptr @EXIT_FAILURE, align 4 %59 = call i32 @exit(i32 noundef %58) #4 unreachable 60: ; preds = %53 %61 = call i32 @perror(ptr noundef @.str.4) br label %62 62: ; preds = %60 br label %63 63: ; preds = %62, %52 br label %25, !llvm.loop !6 64: ; preds = %25 %65 = load i32, ptr %8, align 4 %66 = call i32 @close(i32 noundef %65) store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = call i32 @perror(ptr noundef @.str.5) %71 = load i32, ptr @EXIT_FAILURE, align 4 %72 = call i32 @exit(i32 noundef %71) #4 unreachable 73: ; preds = %64 %74 = call i32 @puts(ptr noundef @.str.6) %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr @O_WRONLY, align 4 %77 = load i32, ptr @O_CREAT, align 4 %78 = or i32 %76, %77 %79 = call i32 (ptr, i32, ...) @open(ptr noundef %75, i32 noundef %78, i32 noundef 420) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %87 82: ; preds = %73 %83 = load ptr, ptr %10, align 8 %84 = call i32 @perror(ptr noundef %83) %85 = load i32, ptr @EXIT_FAILURE, align 4 %86 = call i32 @exit(i32 noundef %85) #4 unreachable 87: ; preds = %73 %88 = load i32, ptr %8, align 4 %89 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 0 %90 = call i32 @write(i32 noundef %88, ptr noundef %89, i32 noundef 676) store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp ne i32 %91, 676 br i1 %92, label %93, label %97 93: ; preds = %87 %94 = call i32 @perror(ptr noundef @.str.7) %95 = load i32, ptr @EXIT_FAILURE, align 4 %96 = call i32 @exit(i32 noundef %95) #4 unreachable 97: ; preds = %87 %98 = load i32, ptr %8, align 4 %99 = call i32 @close(i32 noundef %98) br label %112 100: ; preds = %2 %101 = load i32, ptr %4, align 4 %102 = icmp eq i32 %101, 2 br i1 %102, label %103, label %107 103: ; preds = %100 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 1 %106 = load ptr, ptr %105, align 8 store ptr %106, ptr %10, align 8 br label %111 107: ; preds = %100 %108 = call i32 @puts(ptr noundef @.str.8) %109 = load i32, ptr @EXIT_FAILURE, align 4 %110 = call i32 @exit(i32 noundef %109) #4 unreachable 111: ; preds = %103 br label %112 112: ; preds = %111, %97 %113 = load ptr, ptr %10, align 8 %114 = load i32, ptr @O_RDONLY, align 4 %115 = call i32 (ptr, i32, ...) @open(ptr noundef %113, i32 noundef %114) store i32 %115, ptr %8, align 4 %116 = load i32, ptr %8, align 4 %117 = icmp slt i32 %116, 0 br i1 %117, label %118, label %123 118: ; preds = %112 %119 = load ptr, ptr %10, align 8 %120 = call i32 @perror(ptr noundef %119) %121 = load i32, ptr @EXIT_FAILURE, align 4 %122 = call i32 @exit(i32 noundef %121) #4 unreachable 123: ; preds = %112 %124 = load i32, ptr %8, align 4 %125 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 0 %126 = call i32 @read(i32 noundef %124, ptr noundef %125, i32 noundef 676) store i32 %126, ptr %9, align 4 %127 = load i32, ptr %9, align 4 %128 = icmp ne i32 %127, 676 br i1 %128, label %129, label %133 129: ; preds = %123 %130 = call i32 @perror(ptr noundef @.str.9) %131 = load i32, ptr @EXIT_FAILURE, align 4 %132 = call i32 @exit(i32 noundef %131) #4 unreachable 133: ; preds = %123 %134 = load i32, ptr %8, align 4 %135 = call i32 @close(i32 noundef %134) %136 = call i32 @printf(ptr noundef @.str.10) store i32 0, ptr %7, align 4 br label %137 137: ; preds = %146, %133 %138 = load i32, ptr %7, align 4 %139 = icmp slt i32 %138, 26 br i1 %139, label %140, label %149 140: ; preds = %137 %141 = load i32, ptr %7, align 4 %142 = srem i32 %141, 13 %143 = call signext i8 @hex(i32 noundef %142) %144 = call i32 @putchar(i8 noundef signext %143) %145 = call i32 @putchar(i8 noundef signext 32) br label %146 146: ; preds = %140 %147 = load i32, ptr %7, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %7, align 4 br label %137, !llvm.loop !8 149: ; preds = %137 %150 = call i32 @printf(ptr noundef @.str.11) store i32 0, ptr %7, align 4 br label %151 151: ; preds = %160, %149 %152 = load i32, ptr %7, align 4 %153 = icmp slt i32 %152, 26 br i1 %153, label %154, label %163 154: ; preds = %151 %155 = load i32, ptr %7, align 4 %156 = add nsw i32 65, %155 %157 = trunc i32 %156 to i8 %158 = call i32 @putchar(i8 noundef signext %157) %159 = call i32 @putchar(i8 noundef signext 32) br label %160 160: ; preds = %154 %161 = load i32, ptr %7, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %7, align 4 br label %151, !llvm.loop !9 163: ; preds = %151 %164 = call i32 @printf(ptr noundef @.str.12) store i32 0, ptr %7, align 4 br label %165 165: ; preds = %193, %163 %166 = load i32, ptr %7, align 4 %167 = icmp slt i32 %166, 676 br i1 %167, label %168, label %196 168: ; preds = %165 %169 = load i32, ptr %7, align 4 %170 = srem i32 %169, 26 %171 = icmp eq i32 %170, 0 br i1 %171, label %172, label %186 172: ; preds = %168 %173 = call i32 @putchar(i8 noundef signext 10) %174 = load i32, ptr %7, align 4 %175 = sdiv i32 %174, 26 %176 = srem i32 %175, 13 %177 = call signext i8 @hex(i32 noundef %176) %178 = call i32 @putchar(i8 noundef signext %177) %179 = call i32 @putchar(i8 noundef signext 32) %180 = load i32, ptr %7, align 4 %181 = sdiv i32 %180, 26 %182 = add nsw i32 65, %181 %183 = trunc i32 %182 to i8 %184 = call i32 @putchar(i8 noundef signext %183) %185 = call i32 @putchar(i8 noundef signext 124) br label %186 186: ; preds = %172, %168 %187 = load i32, ptr %7, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 %188 %190 = load i8, ptr %189, align 1 %191 = call i32 @putchar(i8 noundef signext %190) %192 = call i32 @putchar(i8 noundef signext 32) br label %193 193: ; preds = %186 %194 = load i32, ptr %7, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %7, align 4 br label %165, !llvm.loop !10 196: ; preds = %165 %197 = call i32 @putchar(i8 noundef signext 10) %198 = load i32, ptr @EXIT_SUCCESS, align 4 %199 = call i32 @exit(i32 noundef %198) #4 unreachable } ; 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 @open(ptr noundef, i32 noundef, ...) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @isprint(i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare signext i8 @hex(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdkyk2c9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"pwtable.dat\00", align 1 @main.bubble = internal global [4 x i8] c".oO\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [63 x i8] c"Generating tabula recta data. This can take several minutes. |\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"reading from /dev/random\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"failed to read from /dev/random\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"closing /dev/random\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"done\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [20 x i8] c"writing pwtable.dat\00", align 1 @.str.8 = private unnamed_addr constant [219 x i8] c"\0AUsage: pwtable [datfile]\0A\0AIf no datfile is specified then one will be generated\0Aand stored in pwtable.dat.\0AA tabula recta will then be printed out in ASCII.\0A\0Ahttp://blog.jgc.org/2010/12/write-your-passwords-down.html\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"reading pwtable.dat\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"\0A \00", align 1 @.str.12 = private unnamed_addr constant [57 x i8] c"\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 [676 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 676, i1 false) store ptr @.str, ptr %10, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %101 14: ; preds = %2 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %15) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #4 unreachable 23: ; preds = %14 %24 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 676 br i1 %26, label %.lr.ph, label %65 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %62 %28 = load i32, ptr %8, align 4 %29 = call i32 @read(i32 noundef %28, ptr noundef %11, i32 noundef 1) store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %52 32: ; preds = %27 %33 = load i8, ptr %11, align 1 %34 = call i64 @isprint(i8 noundef signext %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %51 36: ; preds = %32 %37 = call i32 @putchar(i8 noundef signext 8) %38 = load i32, ptr %7, align 4 %39 = srem i32 %38, 3 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x i8], ptr @main.bubble, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = call i32 @putchar(i8 noundef signext %42) %44 = load i32, ptr @stdout, align 4 %45 = call i32 @fflush(i32 noundef %44) %46 = load i8, ptr %11, align 1 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 %49 store i8 %46, ptr %50, align 1 br label %51 51: ; preds = %36, %32 br label %62 52: ; preds = %27 %53 = load i32, ptr %9, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %52 %56 = call i32 @perror(ptr noundef @.str.3) %57 = load i32, ptr @EXIT_FAILURE, align 4 %58 = call i32 @exit(i32 noundef %57) #4 unreachable 59: ; preds = %52 %60 = call i32 @perror(ptr noundef @.str.4) br label %61 61: ; preds = %59 br label %62 62: ; preds = %61, %51 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %63, 676 br i1 %64, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %65 65: ; preds = %._crit_edge, %23 %66 = load i32, ptr %8, align 4 %67 = call i32 @close(i32 noundef %66) store i32 %67, ptr %9, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %74 70: ; preds = %65 %71 = call i32 @perror(ptr noundef @.str.5) %72 = load i32, ptr @EXIT_FAILURE, align 4 %73 = call i32 @exit(i32 noundef %72) #4 unreachable 74: ; preds = %65 %75 = call i32 @puts(ptr noundef @.str.6) %76 = load ptr, ptr %10, align 8 %77 = load i32, ptr @O_WRONLY, align 4 %78 = load i32, ptr @O_CREAT, align 4 %79 = or i32 %77, %78 %80 = call i32 (ptr, i32, ...) @open(ptr noundef %76, i32 noundef %79, i32 noundef 420) store i32 %80, ptr %8, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp slt i32 %81, 0 br i1 %82, label %83, label %88 83: ; preds = %74 %84 = load ptr, ptr %10, align 8 %85 = call i32 @perror(ptr noundef %84) %86 = load i32, ptr @EXIT_FAILURE, align 4 %87 = call i32 @exit(i32 noundef %86) #4 unreachable 88: ; preds = %74 %89 = load i32, ptr %8, align 4 %90 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 0 %91 = call i32 @write(i32 noundef %89, ptr noundef %90, i32 noundef 676) store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp ne i32 %92, 676 br i1 %93, label %94, label %98 94: ; preds = %88 %95 = call i32 @perror(ptr noundef @.str.7) %96 = load i32, ptr @EXIT_FAILURE, align 4 %97 = call i32 @exit(i32 noundef %96) #4 unreachable 98: ; preds = %88 %99 = load i32, ptr %8, align 4 %100 = call i32 @close(i32 noundef %99) br label %113 101: ; preds = %2 %102 = load i32, ptr %4, align 4 %103 = icmp eq i32 %102, 2 br i1 %103, label %104, label %108 104: ; preds = %101 %105 = load ptr, ptr %5, align 8 %106 = getelementptr inbounds ptr, ptr %105, i64 1 %107 = load ptr, ptr %106, align 8 store ptr %107, ptr %10, align 8 br label %112 108: ; preds = %101 %109 = call i32 @puts(ptr noundef @.str.8) %110 = load i32, ptr @EXIT_FAILURE, align 4 %111 = call i32 @exit(i32 noundef %110) #4 unreachable 112: ; preds = %104 br label %113 113: ; preds = %112, %98 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr @O_RDONLY, align 4 %116 = call i32 (ptr, i32, ...) @open(ptr noundef %114, i32 noundef %115) store i32 %116, ptr %8, align 4 %117 = load i32, ptr %8, align 4 %118 = icmp slt i32 %117, 0 br i1 %118, label %119, label %124 119: ; preds = %113 %120 = load ptr, ptr %10, align 8 %121 = call i32 @perror(ptr noundef %120) %122 = load i32, ptr @EXIT_FAILURE, align 4 %123 = call i32 @exit(i32 noundef %122) #4 unreachable 124: ; preds = %113 %125 = load i32, ptr %8, align 4 %126 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 0 %127 = call i32 @read(i32 noundef %125, ptr noundef %126, i32 noundef 676) store i32 %127, ptr %9, align 4 %128 = load i32, ptr %9, align 4 %129 = icmp ne i32 %128, 676 br i1 %129, label %130, label %134 130: ; preds = %124 %131 = call i32 @perror(ptr noundef @.str.9) %132 = load i32, ptr @EXIT_FAILURE, align 4 %133 = call i32 @exit(i32 noundef %132) #4 unreachable 134: ; preds = %124 %135 = load i32, ptr %8, align 4 %136 = call i32 @close(i32 noundef %135) %137 = call i32 @printf(ptr noundef @.str.10) store i32 0, ptr %7, align 4 %138 = load i32, ptr %7, align 4 %139 = icmp slt i32 %138, 26 br i1 %139, label %.lr.ph2, label %151 .lr.ph2: ; preds = %134 br label %140 140: ; preds = %.lr.ph2, %146 %141 = load i32, ptr %7, align 4 %142 = srem i32 %141, 13 %143 = call signext i8 @hex(i32 noundef %142) %144 = call i32 @putchar(i8 noundef signext %143) %145 = call i32 @putchar(i8 noundef signext 32) br label %146 146: ; preds = %140 %147 = load i32, ptr %7, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %7, align 4 %149 = load i32, ptr %7, align 4 %150 = icmp slt i32 %149, 26 br i1 %150, label %140, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %146 br label %151 151: ; preds = %._crit_edge3, %134 %152 = call i32 @printf(ptr noundef @.str.11) store i32 0, ptr %7, align 4 %153 = load i32, ptr %7, align 4 %154 = icmp slt i32 %153, 26 br i1 %154, label %.lr.ph5, label %166 .lr.ph5: ; preds = %151 br label %155 155: ; preds = %.lr.ph5, %161 %156 = load i32, ptr %7, align 4 %157 = add nsw i32 65, %156 %158 = trunc i32 %157 to i8 %159 = call i32 @putchar(i8 noundef signext %158) %160 = call i32 @putchar(i8 noundef signext 32) br label %161 161: ; preds = %155 %162 = load i32, ptr %7, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %7, align 4 %164 = load i32, ptr %7, align 4 %165 = icmp slt i32 %164, 26 br i1 %165, label %155, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %161 br label %166 166: ; preds = %._crit_edge6, %151 %167 = call i32 @printf(ptr noundef @.str.12) store i32 0, ptr %7, align 4 %168 = load i32, ptr %7, align 4 %169 = icmp slt i32 %168, 676 br i1 %169, label %.lr.ph8, label %200 .lr.ph8: ; preds = %166 br label %170 170: ; preds = %.lr.ph8, %195 %171 = load i32, ptr %7, align 4 %172 = srem i32 %171, 26 %173 = icmp eq i32 %172, 0 br i1 %173, label %174, label %188 174: ; preds = %170 %175 = call i32 @putchar(i8 noundef signext 10) %176 = load i32, ptr %7, align 4 %177 = sdiv i32 %176, 26 %178 = srem i32 %177, 13 %179 = call signext i8 @hex(i32 noundef %178) %180 = call i32 @putchar(i8 noundef signext %179) %181 = call i32 @putchar(i8 noundef signext 32) %182 = load i32, ptr %7, align 4 %183 = sdiv i32 %182, 26 %184 = add nsw i32 65, %183 %185 = trunc i32 %184 to i8 %186 = call i32 @putchar(i8 noundef signext %185) %187 = call i32 @putchar(i8 noundef signext 124) br label %188 188: ; preds = %174, %170 %189 = load i32, ptr %7, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [676 x i8], ptr %6, i64 0, i64 %190 %192 = load i8, ptr %191, align 1 %193 = call i32 @putchar(i8 noundef signext %192) %194 = call i32 @putchar(i8 noundef signext 32) br label %195 195: ; preds = %188 %196 = load i32, ptr %7, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %7, align 4 %198 = load i32, ptr %7, align 4 %199 = icmp slt i32 %198, 676 br i1 %199, label %170, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %195 br label %200 200: ; preds = %._crit_edge9, %166 %201 = call i32 @putchar(i8 noundef signext 10) %202 = load i32, ptr @EXIT_SUCCESS, align 4 %203 = call i32 @exit(i32 noundef %202) #4 unreachable } ; 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 @open(ptr noundef, i32 noundef, ...) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @isprint(i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare signext i8 @hex(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp_ispsd38.c' source_filename = "/tmp/tmp_ispsd38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %7, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %8, align 8 %18 = load i32, ptr %6, align 4 %19 = call i32 @fibo_array(ptr noundef %17, i32 noundef %18) store i32 0, ptr %9, align 4 br label %20 20: ; preds = %32, %2 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ult i32 %21, %22 br i1 %23, label %24, label %35 24: ; preds = %20 %25 = load i32, ptr %9, align 4 %26 = add i32 %25, 1 %27 = load i32, ptr %9, align 4 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %17, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %30) br label %32 32: ; preds = %24 %33 = load i32, ptr %9, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %9, align 4 br label %20, !llvm.loop !6 35: ; preds = %20 %36 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fibo_array(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ispsd38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %7, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %8, align 8 %18 = load i32, ptr %6, align 4 %19 = call i32 @fibo_array(ptr noundef %17, i32 noundef %18) store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp ult i32 %20, %21 br i1 %22, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %31 %24 = load i32, ptr %9, align 4 %25 = add i32 %24, 1 %26 = load i32, ptr %9, align 4 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %17, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %29) br label %31 31: ; preds = %23 %32 = load i32, ptr %9, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %38) %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fibo_array(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuwbcevcb.c' source_filename = "/tmp/tmpuwbcevcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @magic_descriptor(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @file_or_fd(ptr noundef %5, ptr noundef null, i32 noundef %6) ret ptr %7 } declare ptr @file_or_fd(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/tmpuwbcevcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @magic_descriptor(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @file_or_fd(ptr noundef %5, ptr noundef null, i32 noundef %6) ret ptr %7 } declare ptr @file_or_fd(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/tmpaw54305e.c' source_filename = "/tmp/tmpaw54305e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test_add.val = internal global [57 x i32] [i32 0, i32 1, i32 2, i32 3, i32 63, i32 64, i32 65, i32 126, i32 127, i32 128, i32 129, i32 130, i32 191, i32 192, i32 193, i32 252, i32 253, i32 254, i32 255, i32 65280, i32 65281, i32 65282, i32 65283, i32 65343, i32 65344, i32 65345, i32 65406, i32 65407, i32 65408, i32 65409, i32 65410, i32 65471, i32 65472, i32 65473, i32 65532, i32 65533, i32 65534, i32 65535, i32 -256, i32 -255, i32 -254, i32 -253, i32 -193, i32 -192, i32 -191, i32 -130, i32 -129, i32 -128, i32 -127, i32 -126, i32 -65, i32 -64, i32 -63, i32 -4, i32 -3, i32 -2, i32 -1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_add() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @exec_add(i32 noundef 305419896, i32 noundef 135461594) %4 = call i32 @exec_add(i32 noundef 74561, i32 noundef 74561) %5 = call i32 @exec_add(i32 noundef 74561, i32 noundef -74561) %6 = call i32 @exec_add(i32 noundef -1, i32 noundef 0) %7 = call i32 @exec_add(i32 noundef -1, i32 noundef -1) %8 = call i32 @exec_add(i32 noundef -1, i32 noundef 1) %9 = call i32 @exec_add(i32 noundef -1, i32 noundef 2) %10 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef 0) %11 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef 1) %12 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef -1) %13 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef -1) %14 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef 1) %15 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef -2) %16 = call i32 @exec_add(i32 noundef 305430527, i32 noundef 0) %17 = call i32 @exec_add(i32 noundef 305430527, i32 noundef 1) %18 = call i32 @exec_add(i32 noundef 305430527, i32 noundef -1) %19 = call i32 @exec_add(i32 noundef 305430528, i32 noundef -1) %20 = call i32 @exec_add(i32 noundef 305430528, i32 noundef 1) %21 = call i32 @exec_add(i32 noundef 305430528, i32 noundef -2) %22 = call i32 @exec_add(i32 noundef 305430399, i32 noundef 0) %23 = call i32 @exec_add(i32 noundef 305430399, i32 noundef 1) %24 = call i32 @exec_add(i32 noundef 305430399, i32 noundef -1) %25 = call i32 @exec_add(i32 noundef 305430656, i32 noundef -1) %26 = call i32 @exec_add(i32 noundef 305430656, i32 noundef 1) %27 = call i32 @exec_add(i32 noundef 305430656, i32 noundef -2) store i32 0, ptr %1, align 4 br label %28 28: ; preds = %49, %0 %29 = load i32, ptr %1, align 4 %30 = icmp slt i32 %29, 57 br i1 %30, label %31, label %52 31: ; preds = %28 store i32 0, ptr %2, align 4 br label %32 32: ; preds = %45, %31 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %33, 57 br i1 %34, label %35, label %48 35: ; preds = %32 %36 = load i32, ptr %1, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [57 x i32], ptr @test_add.val, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [57 x i32], ptr @test_add.val, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 @exec_add(i32 noundef %39, i32 noundef %43) br label %45 45: ; preds = %35 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %2, align 4 br label %32, !llvm.loop !6 48: ; preds = %32 br label %49 49: ; preds = %48 %50 = load i32, ptr %1, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %1, align 4 br label %28, !llvm.loop !8 52: ; preds = %28 ret void } declare i32 @exec_add(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/tmpaw54305e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @test_add.val = internal global [57 x i32] [i32 0, i32 1, i32 2, i32 3, i32 63, i32 64, i32 65, i32 126, i32 127, i32 128, i32 129, i32 130, i32 191, i32 192, i32 193, i32 252, i32 253, i32 254, i32 255, i32 65280, i32 65281, i32 65282, i32 65283, i32 65343, i32 65344, i32 65345, i32 65406, i32 65407, i32 65408, i32 65409, i32 65410, i32 65471, i32 65472, i32 65473, i32 65532, i32 65533, i32 65534, i32 65535, i32 -256, i32 -255, i32 -254, i32 -253, i32 -193, i32 -192, i32 -191, i32 -130, i32 -129, i32 -128, i32 -127, i32 -126, i32 -65, i32 -64, i32 -63, i32 -4, i32 -3, i32 -2, i32 -1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_add() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @exec_add(i32 noundef 305419896, i32 noundef 135461594) %4 = call i32 @exec_add(i32 noundef 74561, i32 noundef 74561) %5 = call i32 @exec_add(i32 noundef 74561, i32 noundef -74561) %6 = call i32 @exec_add(i32 noundef -1, i32 noundef 0) %7 = call i32 @exec_add(i32 noundef -1, i32 noundef -1) %8 = call i32 @exec_add(i32 noundef -1, i32 noundef 1) %9 = call i32 @exec_add(i32 noundef -1, i32 noundef 2) %10 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef 0) %11 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef 1) %12 = call i32 @exec_add(i32 noundef 2147483647, i32 noundef -1) %13 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef -1) %14 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef 1) %15 = call i32 @exec_add(i32 noundef -2147483648, i32 noundef -2) %16 = call i32 @exec_add(i32 noundef 305430527, i32 noundef 0) %17 = call i32 @exec_add(i32 noundef 305430527, i32 noundef 1) %18 = call i32 @exec_add(i32 noundef 305430527, i32 noundef -1) %19 = call i32 @exec_add(i32 noundef 305430528, i32 noundef -1) %20 = call i32 @exec_add(i32 noundef 305430528, i32 noundef 1) %21 = call i32 @exec_add(i32 noundef 305430528, i32 noundef -2) %22 = call i32 @exec_add(i32 noundef 305430399, i32 noundef 0) %23 = call i32 @exec_add(i32 noundef 305430399, i32 noundef 1) %24 = call i32 @exec_add(i32 noundef 305430399, i32 noundef -1) %25 = call i32 @exec_add(i32 noundef 305430656, i32 noundef -1) %26 = call i32 @exec_add(i32 noundef 305430656, i32 noundef 1) %27 = call i32 @exec_add(i32 noundef 305430656, i32 noundef -2) store i32 0, ptr %1, align 4 %28 = load i32, ptr %1, align 4 %29 = icmp slt i32 %28, 57 br i1 %29, label %.lr.ph2, label %54 .lr.ph2: ; preds = %0 br label %30 30: ; preds = %.lr.ph2, %49 store i32 0, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %31, 57 br i1 %32, label %.lr.ph, label %48 .lr.ph: ; preds = %30 br label %33 33: ; preds = %.lr.ph, %43 %34 = load i32, ptr %1, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [57 x i32], ptr @test_add.val, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [57 x i32], ptr @test_add.val, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 @exec_add(i32 noundef %37, i32 noundef %41) br label %43 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %2, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %46, 57 br i1 %47, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %30 br label %49 49: ; preds = %48 %50 = load i32, ptr %1, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %1, align 4 %52 = load i32, ptr %1, align 4 %53 = icmp slt i32 %52, 57 br i1 %53, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %54 54: ; preds = %._crit_edge3, %0 ret void } declare i32 @exec_add(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/tmpnc_vjuae.c' source_filename = "/tmp/tmpnc_vjuae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"mayores.dat\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca [32 x i8], align 16 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 ret i32 0 } declare ptr @fopen(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/tmpnc_vjuae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"mayores.dat\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca [32 x i8], align 16 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 ret i32 0 } declare ptr @fopen(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/tmpnqwvx1_w.c' source_filename = "/tmp/tmpnqwvx1_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Enter 3 numbers between 0 and 9.999: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [90 x i8] c"\0ANumber sin cos tan atan\0A-------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"%.5f %8.3f %8.3f %8.3f %8.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = load float, ptr %2, align 4 %11 = call double @sin(float noundef %10) %12 = load float, ptr %2, align 4 %13 = call double @cos(float noundef %12) %14 = load float, ptr %2, align 4 %15 = call double @tan(float noundef %14) %16 = load float, ptr %2, align 4 %17 = call double @atan(float noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %9, double noundef %11, double noundef %13, double noundef %15, double noundef %17) %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %3, align 4 %22 = call double @sin(float noundef %21) %23 = load float, ptr %3, align 4 %24 = call double @cos(float noundef %23) %25 = load float, ptr %3, align 4 %26 = call double @tan(float noundef %25) %27 = load float, ptr %3, align 4 %28 = call double @atan(float noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, double noundef %22, double noundef %24, double noundef %26, double noundef %28) %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = load float, ptr %4, align 4 %33 = call double @sin(float noundef %32) %34 = load float, ptr %4, align 4 %35 = call double @cos(float noundef %34) %36 = load float, ptr %4, align 4 %37 = call double @tan(float noundef %36) %38 = load float, ptr %4, align 4 %39 = call double @atan(float noundef %38) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %31, double noundef %33, double noundef %35, double noundef %37, double noundef %39) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sin(float noundef) #1 declare double @cos(float noundef) #1 declare double @tan(float noundef) #1 declare double @atan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnqwvx1_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Enter 3 numbers between 0 and 9.999: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [90 x i8] c"\0ANumber sin cos tan atan\0A-------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"%.5f %8.3f %8.3f %8.3f %8.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = load float, ptr %2, align 4 %11 = call double @sin(float noundef %10) %12 = load float, ptr %2, align 4 %13 = call double @cos(float noundef %12) %14 = load float, ptr %2, align 4 %15 = call double @tan(float noundef %14) %16 = load float, ptr %2, align 4 %17 = call double @atan(float noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %9, double noundef %11, double noundef %13, double noundef %15, double noundef %17) %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %3, align 4 %22 = call double @sin(float noundef %21) %23 = load float, ptr %3, align 4 %24 = call double @cos(float noundef %23) %25 = load float, ptr %3, align 4 %26 = call double @tan(float noundef %25) %27 = load float, ptr %3, align 4 %28 = call double @atan(float noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, double noundef %22, double noundef %24, double noundef %26, double noundef %28) %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = load float, ptr %4, align 4 %33 = call double @sin(float noundef %32) %34 = load float, ptr %4, align 4 %35 = call double @cos(float noundef %34) %36 = load float, ptr %4, align 4 %37 = call double @tan(float noundef %36) %38 = load float, ptr %4, align 4 %39 = call double @atan(float noundef %38) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %31, double noundef %33, double noundef %35, double noundef %37, double noundef %39) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sin(float noundef) #1 declare double @cos(float noundef) #1 declare double @tan(float noundef) #1 declare double @atan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_040kgz3.c' source_filename = "/tmp/tmp_040kgz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Converted: %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 i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %14 14: ; preds = %24, %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str) store i32 %17, ptr %10, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load i32, ptr %10, align 4 switch i32 %20, label %23 [ i32 114, label %21 i32 63, label %22 ] 21: ; preds = %19 store i32 1, ptr %9, align 4 br label %24 22: ; preds = %19 br label %23 23: ; preds = %19, %22 br label %24 24: ; preds = %23, %21 br label %14, !llvm.loop !6 25: ; preds = %14 br label %26 26: ; preds = %54, %25 %27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8) %28 = icmp eq i32 %27, 3 br i1 %28, label %29, label %57 29: ; preds = %26 %30 = load i32, ptr %8, align 4 %31 = icmp sgt i32 %30, 20 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = load i32, ptr %8, align 4 br label %35 34: ; preds = %29 br label %35 35: ; preds = %34, %32 %36 = phi i32 [ %33, %32 ], [ 20, %34 ] store i32 %36, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = add nsw i32 %37, 1 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave() store ptr %40, ptr %12, align 8 %41 = alloca i8, i64 %39, align 16 store i64 %39, ptr %13, align 8 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %35 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 @itoa_rec(i32 noundef %45, ptr noundef %41, i32 noundef %46, i32 noundef %47) br label %54 49: ; preds = %35 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = call i32 @itoa(i32 noundef %50, ptr noundef %41, i32 noundef %51, i32 noundef %52) br label %54 54: ; preds = %49, %44 %55 = call i32 @printf(ptr noundef @.str.2, ptr noundef %41) %56 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %56) br label %26, !llvm.loop !8 57: ; preds = %26 ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @itoa_rec(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_040kgz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Converted: %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 i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %10, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %23 %19 = load i32, ptr %10, align 4 switch i32 %19, label %22 [ i32 114, label %20 i32 63, label %21 ] 20: ; preds = %18 store i32 1, ptr %9, align 4 br label %23 21: ; preds = %18 br label %22 22: ; preds = %21, %18 br label %23 23: ; preds = %22, %20 %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str) store i32 %26, ptr %10, align 4 %27 = icmp ne i32 %26, -1 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8) %30 = icmp eq i32 %29, 3 br i1 %30, label %.lr.ph2, label %61 .lr.ph2: ; preds = %28 br label %31 31: ; preds = %.lr.ph2, %56 %32 = load i32, ptr %8, align 4 %33 = icmp sgt i32 %32, 20 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load i32, ptr %8, align 4 br label %37 36: ; preds = %31 br label %37 37: ; preds = %36, %34 %38 = phi i32 [ %35, %34 ], [ 20, %36 ] store i32 %38, ptr %11, align 4 %39 = load i32, ptr %11, align 4 %40 = add nsw i32 %39, 1 %41 = zext i32 %40 to i64 %42 = call ptr @llvm.stacksave() store ptr %42, ptr %12, align 8 %43 = alloca i8, i64 %41, align 16 store i64 %41, ptr %13, align 8 %44 = load i32, ptr %9, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %51 46: ; preds = %37 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = call i32 @itoa_rec(i32 noundef %47, ptr noundef %43, i32 noundef %48, i32 noundef %49) br label %56 51: ; preds = %37 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %8, align 4 %55 = call i32 @itoa(i32 noundef %52, ptr noundef %43, i32 noundef %53, i32 noundef %54) br label %56 56: ; preds = %51, %46 %57 = call i32 @printf(ptr noundef @.str.2, ptr noundef %43) %58 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %58) %59 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %8) %60 = icmp eq i32 %59, 3 br i1 %60, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %61 61: ; preds = %._crit_edge3, %28 ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @itoa_rec(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptgqw_qaz.c' source_filename = "/tmp/tmptgqw_qaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libusb_free_config_descriptor(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgqw_qaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libusb_free_config_descriptor(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj3k9q5v3.c' source_filename = "/tmp/tmpj3k9q5v3.c" target datalayout = "e-m:e-p270: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/tmpj3k9q5v3.c" target datalayout = "e-m:e-p270: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/tmp3zjxfez6.c' source_filename = "/tmp/tmp3zjxfez6.c" target datalayout = "e-m:e-p270: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/tmp3zjxfez6.c" target datalayout = "e-m:e-p270: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/tmpc59cigug.c' source_filename = "/tmp/tmpc59cigug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\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 void @removeMonitor(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 i32 @removeCommand(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 %7, 2 %9 = call i64 @malloc(i64 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %1 %14 = call i32 @print_error(ptr noundef @.str) br label %25 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %3, align 8 %22 = call i32 @removeCommand(ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @free(ptr noundef %23) br label %25 25: ; preds = %15, %13 ret void } declare i32 @removeCommand(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @print_error(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc59cigug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\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 void @removeMonitor(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 i32 @removeCommand(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 %7, 2 %9 = call i64 @malloc(i64 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %1 %14 = call i32 @print_error(ptr noundef @.str) br label %25 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %3, align 8 %22 = call i32 @removeCommand(ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @free(ptr noundef %23) br label %25 25: ; preds = %15, %13 ret void } declare i32 @removeCommand(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @print_error(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqjyk57u.c' source_filename = "/tmp/tmpcqjyk57u.c" target datalayout = "e-m:e-p270: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.base58_check.base58 = private unnamed_addr constant [59 x i8] c"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\00", align 16 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @base58_check(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [59 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.base58_check.base58, i64 59, i1 false) %10 = getelementptr inbounds [59 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %47, %2 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %50 16: ; preds = %12 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %36, %16 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %39 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [59 x i8], ptr %6, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %27, %32 br i1 %33, label %34, label %35 34: ; preds = %21 br label %39 35: ; preds = %21 br label %36 36: ; preds = %35 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %17, !llvm.loop !6 39: ; preds = %34, %17 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr @EINVAL, align 4 %45 = sub nsw i32 0, %44 store i32 %45, ptr %3, align 4 br label %51 46: ; preds = %39 br label %47 47: ; preds = %46 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %12, !llvm.loop !8 50: ; preds = %12 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %43 %52 = load i32, ptr %3, align 4 ret i32 %52 } ; 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 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqjyk57u.c" target datalayout = "e-m:e-p270: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.base58_check.base58 = private unnamed_addr constant [59 x i8] c"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\00", align 16 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @base58_check(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [59 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.base58_check.base58, i64 59, i1 false) %10 = getelementptr inbounds [59 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph1, label %54 .lr.ph1: ; preds = %2 br label %15 15: ; preds = %.lr.ph1, %48 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %34 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [59 x i8], ptr %6, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %25, %30 br i1 %31, label %32, label %33 32: ; preds = %19 br label %40 33: ; preds = %19 br label %34 34: ; preds = %33 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %15 br label %40 40: ; preds = %.loopexit, %32 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr @EINVAL, align 4 %46 = sub nsw i32 0, %45 store i32 %46, ptr %3, align 4 br label %55 47: ; preds = %40 br label %48 48: ; preds = %47 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %15, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %55 55: ; preds = %54, %44 %56 = load i32, ptr %3, align 4 ret i32 %56 } ; 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 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6cd2pvzq.c' source_filename = "/tmp/tmp6cd2pvzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [425 x i8] c"This program finds all the unique words a file (whose path is passed as an argument), prints them in lexicographical order along with the total number of times each word appears (case-insensitive) and a count of different case-sensitive versions of the word. \0A\0AUse the following interface: \0A\0Awordstat <argument>\0A\0Awhere <argument> is either the name of the file that wordstat should process, or -h, which prints this menu. \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"flag not recognized %s\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"This file, %s, does not exist.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %49, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %52 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 45 br i1 %22, label %23, label %33 23: ; preds = %12 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 switch i32 %27, label %30 [ i32 104, label %28 ] 28: ; preds = %23 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %53 30: ; preds = %23 %31 = load ptr, ptr %7, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31) store i32 1, ptr %3, align 4 br label %53 33: ; preds = %12 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %47 36: ; preds = %33 %37 = load ptr, ptr %7, align 8 %38 = call i64 @file_exists(ptr noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = load ptr, ptr %7, align 8 %42 = call i32 @print_word_stats(ptr noundef %41) br label %46 43: ; preds = %36 %44 = load ptr, ptr %7, align 8 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44) store i32 1, ptr %3, align 4 br label %53 46: ; preds = %40 br label %47 47: ; preds = %46, %33 br label %48 48: ; preds = %47 br label %49 49: ; preds = %48 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 br label %8, !llvm.loop !6 52: ; preds = %8 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %43, %30, %28 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @file_exists(ptr noundef) #1 declare i32 @print_word_stats(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/tmp6cd2pvzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [425 x i8] c"This program finds all the unique words a file (whose path is passed as an argument), prints them in lexicographical order along with the total number of times each word appears (case-insensitive) and a count of different case-sensitive versions of the word. \0A\0AUse the following interface: \0A\0Awordstat <argument>\0A\0Awhere <argument> is either the name of the file that wordstat should process, or -h, which prints this menu. \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"flag not recognized %s\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"This file, %s, does not exist.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %54 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %48 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 45 br i1 %21, label %22, label %32 22: ; preds = %11 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 switch i32 %26, label %29 [ i32 104, label %27 ] 27: ; preds = %22 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %55 29: ; preds = %22 %30 = load ptr, ptr %7, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) store i32 1, ptr %3, align 4 br label %55 32: ; preds = %11 %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %46 35: ; preds = %32 %36 = load ptr, ptr %7, align 8 %37 = call i64 @file_exists(ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load ptr, ptr %7, align 8 %41 = call i32 @print_word_stats(ptr noundef %40) br label %45 42: ; preds = %35 %43 = load ptr, ptr %7, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %43) store i32 1, ptr %3, align 4 br label %55 45: ; preds = %39 br label %46 46: ; preds = %45, %32 br label %47 47: ; preds = %46 br label %48 48: ; preds = %47 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %55 55: ; preds = %54, %42, %29, %27 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @file_exists(ptr noundef) #1 declare i32 @print_word_stats(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/tmpfamozukn.c' source_filename = "/tmp/tmpfamozukn.c" target datalayout = "e-m:e-p270: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/tmpfamozukn.c" target datalayout = "e-m:e-p270: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/tmpwj2nvk05.c' source_filename = "/tmp/tmpwj2nvk05.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"In mod_inverse(): cannot compute\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mod_inverse(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %15 = load i32, ptr %3, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %17 17: ; preds = %20, %2 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %45 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = udiv i32 %21, %22 store i32 %23, ptr %11, align 4 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %12, align 4 %25 = load i32, ptr %7, align 4 store i32 %25, ptr %13, align 4 %26 = load i32, ptr %8, align 4 store i32 %26, ptr %14, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %5, align 4 %30 = mul i32 %28, %29 %31 = sub i32 %27, %30 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %7, align 4 %35 = mul i32 %33, %34 %36 = sub i32 %32, %35 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %8, align 4 %40 = mul i32 %38, %39 %41 = sub i32 %37, %40 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %12, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %13, align 4 store i32 %43, ptr %9, align 4 %44 = load i32, ptr %14, align 4 store i32 %44, ptr %10, align 4 br label %17, !llvm.loop !6 45: ; preds = %17 %46 = load i32, ptr %6, align 4 %47 = icmp ne i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr @stderr, align 4 %50 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str) br label %51 51: ; preds = %48, %45 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %4, align 4 %54 = add i32 %52, %53 %55 = load i32, ptr %4, align 4 %56 = urem i32 %54, %55 ret i32 %56 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwj2nvk05.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"In mod_inverse(): cannot compute\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mod_inverse(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %15 = load i32, ptr %3, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %.lr.ph, label %46 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %19 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = udiv i32 %20, %21 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %5, align 4 store i32 %23, ptr %12, align 4 %24 = load i32, ptr %7, align 4 store i32 %24, ptr %13, align 4 %25 = load i32, ptr %8, align 4 store i32 %25, ptr %14, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %5, align 4 %29 = mul i32 %27, %28 %30 = sub i32 %26, %29 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %11, align 4 %33 = load i32, ptr %7, align 4 %34 = mul i32 %32, %33 %35 = sub i32 %31, %34 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %8, align 4 %39 = mul i32 %37, %38 %40 = sub i32 %36, %39 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %12, align 4 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %13, align 4 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %14, align 4 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %46 46: ; preds = %._crit_edge, %2 %47 = load i32, ptr %6, align 4 %48 = icmp ne i32 %47, 1 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str) br label %52 52: ; preds = %49, %46 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %4, align 4 %55 = add i32 %53, %54 %56 = load i32, ptr %4, align 4 %57 = urem i32 %55, %56 ret i32 %57 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpragh2b6_.c' source_filename = "/tmp/tmpragh2b6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @certsizelimit(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %2 br label %35 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 4 %13 = load ptr, ptr %3, align 8 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %27, %10 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = and i32 %22, 192 %24 = icmp ne i32 %23, 128 br i1 %24, label %25, label %26 25: ; preds = %19 br label %32 26: ; preds = %19 br label %27 27: ; preds = %26 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %3, align 8 br label %16, !llvm.loop !6 32: ; preds = %25, %16 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strcpy(ptr noundef %33, ptr noundef @.str) br label %35 35: ; preds = %32, %9 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpragh2b6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @certsizelimit(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %2 br label %36 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 4 %13 = load ptr, ptr %3, align 8 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %3, align 8 store i32 0, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %10 br label %18 18: ; preds = %.lr.ph, %26 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = and i32 %21, 192 %23 = icmp ne i32 %22, 128 br i1 %23, label %24, label %25 24: ; preds = %18 br label %33 25: ; preds = %18 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %31, 3 br i1 %32, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %10 br label %33 33: ; preds = %.loopexit, %24 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str) br label %36 36: ; preds = %33, %9 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf5b2ftia.c' source_filename = "/tmp/tmpf5b2ftia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @genprm.i = internal global i64 0, align 8 @genprm.itmp = internal global i64 0, align 8 @genprm.iwhich = internal global i64 0, align 8 @genprm.D1 = internal global i64 0, align 8 @genprm.D2 = internal global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @genprm(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 store i64 1, ptr @genprm.i, align 8 store i64 1, ptr @genprm.D1, align 8 %5 = load i32, ptr %4, align 4 %6 = sext i32 %5 to i64 %7 = load i64, ptr @genprm.i, align 8 %8 = sub nsw i64 %6, %7 %9 = load i64, ptr @genprm.D1, align 8 %10 = add nsw i64 %8, %9 %11 = load i64, ptr @genprm.D1, align 8 %12 = sdiv i64 %10, %11 store i64 %12, ptr @genprm.D2, align 8 br label %13 13: ; preds = %39, %2 %14 = load i64, ptr @genprm.D2, align 8 %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %45 16: ; preds = %13 %17 = load i64, ptr @genprm.i, align 8 %18 = load i32, ptr %4, align 4 %19 = call i64 @ignuin(i64 noundef %17, i32 noundef %18) store i64 %19, ptr @genprm.iwhich, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr @genprm.iwhich, align 8 %22 = getelementptr inbounds i64, ptr %20, i64 %21 %23 = getelementptr inbounds i64, ptr %22, i64 -1 %24 = load i64, ptr %23, align 8 store i64 %24, ptr @genprm.itmp, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i64, ptr @genprm.i, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = getelementptr inbounds i64, ptr %27, i64 -1 %29 = load i64, ptr %28, align 8 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr @genprm.iwhich, align 8 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = getelementptr inbounds i64, ptr %32, i64 -1 store i64 %29, ptr %33, align 8 %34 = load i64, ptr @genprm.itmp, align 8 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr @genprm.i, align 8 %37 = getelementptr inbounds i64, ptr %35, i64 %36 %38 = getelementptr inbounds i64, ptr %37, i64 -1 store i64 %34, ptr %38, align 8 br label %39 39: ; preds = %16 %40 = load i64, ptr @genprm.D2, align 8 %41 = add nsw i64 %40, -1 store i64 %41, ptr @genprm.D2, align 8 %42 = load i64, ptr @genprm.D1, align 8 %43 = load i64, ptr @genprm.i, align 8 %44 = add nsw i64 %43, %42 store i64 %44, ptr @genprm.i, align 8 br label %13, !llvm.loop !6 45: ; preds = %13 ret void } declare i64 @ignuin(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5b2ftia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @genprm.i = internal global i64 0, align 8 @genprm.itmp = internal global i64 0, align 8 @genprm.iwhich = internal global i64 0, align 8 @genprm.D1 = internal global i64 0, align 8 @genprm.D2 = internal global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @genprm(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 store i64 1, ptr @genprm.i, align 8 store i64 1, ptr @genprm.D1, align 8 %5 = load i32, ptr %4, align 4 %6 = sext i32 %5 to i64 %7 = load i64, ptr @genprm.i, align 8 %8 = sub nsw i64 %6, %7 %9 = load i64, ptr @genprm.D1, align 8 %10 = add nsw i64 %8, %9 %11 = load i64, ptr @genprm.D1, align 8 %12 = sdiv i64 %10, %11 store i64 %12, ptr @genprm.D2, align 8 %13 = load i64, ptr @genprm.D2, align 8 %14 = icmp sgt i64 %13, 0 br i1 %14, label %.lr.ph, label %46 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %38 %16 = load i64, ptr @genprm.i, align 8 %17 = load i32, ptr %4, align 4 %18 = call i64 @ignuin(i64 noundef %16, i32 noundef %17) store i64 %18, ptr @genprm.iwhich, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr @genprm.iwhich, align 8 %21 = getelementptr inbounds i64, ptr %19, i64 %20 %22 = getelementptr inbounds i64, ptr %21, i64 -1 %23 = load i64, ptr %22, align 8 store i64 %23, ptr @genprm.itmp, align 8 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr @genprm.i, align 8 %26 = getelementptr inbounds i64, ptr %24, i64 %25 %27 = getelementptr inbounds i64, ptr %26, i64 -1 %28 = load i64, ptr %27, align 8 %29 = load ptr, ptr %3, align 8 %30 = load i64, ptr @genprm.iwhich, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = getelementptr inbounds i64, ptr %31, i64 -1 store i64 %28, ptr %32, align 8 %33 = load i64, ptr @genprm.itmp, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i64, ptr @genprm.i, align 8 %36 = getelementptr inbounds i64, ptr %34, i64 %35 %37 = getelementptr inbounds i64, ptr %36, i64 -1 store i64 %33, ptr %37, align 8 br label %38 38: ; preds = %15 %39 = load i64, ptr @genprm.D2, align 8 %40 = add nsw i64 %39, -1 store i64 %40, ptr @genprm.D2, align 8 %41 = load i64, ptr @genprm.D1, align 8 %42 = load i64, ptr @genprm.i, align 8 %43 = add nsw i64 %42, %41 store i64 %43, ptr @genprm.i, align 8 %44 = load i64, ptr @genprm.D2, align 8 %45 = icmp sgt i64 %44, 0 br i1 %45, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %46 46: ; preds = %._crit_edge, %2 ret void } declare i64 @ignuin(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}