llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp7rou4hv1.c' source_filename = "/tmp/tmp7rou4hv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"any\00", align 1 @IFF_PROMISC = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @enter_promiscuous_mode(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef @.str) %7 = call i32 @strncmp(ptr noundef @.str, ptr noundef %5, i32 noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i16 0, ptr %2, align 2 br label %22 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call signext i16 @device_get_flags(ptr noundef %11) store i16 %12, ptr %4, align 2 %13 = load ptr, ptr %3, align 8 %14 = load i16, ptr %4, align 2 %15 = sext i16 %14 to i32 %16 = load i16, ptr @IFF_PROMISC, align 2 %17 = sext i16 %16 to i32 %18 = or i32 %15, %17 %19 = trunc i32 %18 to i16 %20 = call i32 @device_set_flags(ptr noundef %13, i16 noundef signext %19) %21 = load i16, ptr %4, align 2 store i16 %21, ptr %2, align 2 br label %22 22: ; preds = %10, %9 %23 = load i16, ptr %2, align 2 ret i16 %23 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i16 @device_get_flags(ptr noundef) #1 declare i32 @device_set_flags(ptr noundef, i16 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/tmp7rou4hv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"any\00", align 1 @IFF_PROMISC = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @enter_promiscuous_mode(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef @.str) %7 = call i32 @strncmp(ptr noundef @.str, ptr noundef %5, i32 noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i16 0, ptr %2, align 2 br label %22 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call signext i16 @device_get_flags(ptr noundef %11) store i16 %12, ptr %4, align 2 %13 = load ptr, ptr %3, align 8 %14 = load i16, ptr %4, align 2 %15 = sext i16 %14 to i32 %16 = load i16, ptr @IFF_PROMISC, align 2 %17 = sext i16 %16 to i32 %18 = or i32 %15, %17 %19 = trunc i32 %18 to i16 %20 = call i32 @device_set_flags(ptr noundef %13, i16 noundef signext %19) %21 = load i16, ptr %4, align 2 store i16 %21, ptr %2, align 2 br label %22 22: ; preds = %10, %9 %23 = load i16, ptr %2, align 2 ret i16 %23 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i16 @device_get_flags(ptr noundef) #1 declare i32 @device_set_flags(ptr noundef, i16 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/tmpd1uxk_4b.c' source_filename = "/tmp/tmpd1uxk_4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standardize(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [40000 x i32], align 16 %6 = alloca [200 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %45, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %48 16: ; preds = %12 %17 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 0 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [200 x i32], ptr %19, i64 %21 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [200 x i32], ptr %22, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 @find_value(ptr noundef %17, i32 noundef %18, i32 noundef %26) store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %44 31: ; preds = %16 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [200 x i32], ptr %32, i64 %34 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [200 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 %42 store i32 %39, ptr %43, align 4 br label %44 44: ; preds = %31, %16 br label %45 45: ; preds = %44 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 br label %12, !llvm.loop !6 48: ; preds = %12 store i32 0, ptr %9, align 4 br label %49 49: ; preds = %126, %48 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %129 53: ; preds = %49 store i32 0, ptr %10, align 4 br label %54 54: ; preds = %122, %53 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %125 58: ; preds = %54 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %82 62: ; preds = %58 %63 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 0 %64 = load i32, ptr %8, align 4 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [200 x i32], ptr %65, i64 %67 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [200 x i32], ptr %68, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = call i32 @find_value(ptr noundef %63, i32 noundef %64, i32 noundef %72) store i32 %73, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [200 x i32], ptr %75, i64 %77 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [200 x i32], ptr %78, i64 0, i64 %80 store i32 %74, ptr %81, align 4 br label %121 82: ; preds = %58 %83 = getelementptr inbounds [40000 x i32], ptr %5, i64 0, i64 0 %84 = load i32, ptr %7, align 4 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [200 x i32], ptr %85, i64 %87 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [200 x i32], ptr %88, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 @find_value(ptr noundef %83, i32 noundef %84, i32 noundef %92) store i32 %93, ptr %11, align 4 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %97, label %110 97: ; preds = %82 %98 = load ptr, ptr %3, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [200 x i32], ptr %98, i64 %100 %102 = load i32, ptr %10, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [200 x i32], ptr %101, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = load i32, ptr %7, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %7, align 4 %108 = sext i32 %106 to i64 %109 = getelementptr inbounds [40000 x i32], ptr %5, i64 0, i64 %108 store i32 %105, ptr %109, align 4 br label %110 110: ; preds = %97, %82 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %8, align 4 %113 = add nsw i32 %111, %112 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %9, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [200 x i32], ptr %114, i64 %116 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [200 x i32], ptr %117, i64 0, i64 %119 store i32 %113, ptr %120, align 4 br label %121 121: ; preds = %110, %62 br label %122 122: ; preds = %121 %123 = load i32, ptr %10, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %10, align 4 br label %54, !llvm.loop !8 125: ; preds = %54 br label %126 126: ; preds = %125 %127 = load i32, ptr %9, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %9, align 4 br label %49, !llvm.loop !9 129: ; preds = %49 %130 = load i32, ptr %7, align 4 %131 = load i32, ptr %8, align 4 %132 = add nsw i32 %130, %131 ret i32 %132 } declare i32 @find_value(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1uxk_4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standardize(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [40000 x i32], align 16 %6 = alloca [200 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %50 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %44 %16 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 0 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [200 x i32], ptr %18, i64 %20 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [200 x i32], ptr %21, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 @find_value(ptr noundef %16, i32 noundef %17, i32 noundef %25) store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %43 30: ; preds = %15 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [200 x i32], ptr %31, i64 %33 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [200 x i32], ptr %34, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 %41 store i32 %38, ptr %42, align 4 br label %43 43: ; preds = %30, %15 br label %44 44: ; preds = %43 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %2 store i32 0, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %135 .lr.ph5: ; preds = %50 br label %54 54: ; preds = %.lr.ph5, %129 store i32 0, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph2, label %128 .lr.ph2: ; preds = %54 br label %58 58: ; preds = %.lr.ph2, %122 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %82 62: ; preds = %58 %63 = getelementptr inbounds [200 x i32], ptr %6, i64 0, i64 0 %64 = load i32, ptr %8, align 4 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [200 x i32], ptr %65, i64 %67 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [200 x i32], ptr %68, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = call i32 @find_value(ptr noundef %63, i32 noundef %64, i32 noundef %72) store i32 %73, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [200 x i32], ptr %75, i64 %77 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [200 x i32], ptr %78, i64 0, i64 %80 store i32 %74, ptr %81, align 4 br label %121 82: ; preds = %58 %83 = getelementptr inbounds [40000 x i32], ptr %5, i64 0, i64 0 %84 = load i32, ptr %7, align 4 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [200 x i32], ptr %85, i64 %87 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [200 x i32], ptr %88, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 @find_value(ptr noundef %83, i32 noundef %84, i32 noundef %92) store i32 %93, ptr %11, align 4 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %97, label %110 97: ; preds = %82 %98 = load ptr, ptr %3, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [200 x i32], ptr %98, i64 %100 %102 = load i32, ptr %10, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [200 x i32], ptr %101, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = load i32, ptr %7, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %7, align 4 %108 = sext i32 %106 to i64 %109 = getelementptr inbounds [40000 x i32], ptr %5, i64 0, i64 %108 store i32 %105, ptr %109, align 4 br label %110 110: ; preds = %97, %82 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %8, align 4 %113 = add nsw i32 %111, %112 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %9, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [200 x i32], ptr %114, i64 %116 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [200 x i32], ptr %117, i64 0, i64 %119 store i32 %113, ptr %120, align 4 br label %121 121: ; preds = %110, %62 br label %122 122: ; preds = %121 %123 = load i32, ptr %10, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %10, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr %4, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %122 br label %128 128: ; preds = %._crit_edge3, %54 br label %129 129: ; preds = %128 %130 = load i32, ptr %9, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %9, align 4 %132 = load i32, ptr %9, align 4 %133 = load i32, ptr %4, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %129 br label %135 135: ; preds = %._crit_edge6, %50 %136 = load i32, ptr %7, align 4 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %136, %137 ret i32 %138 } declare i32 @find_value(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmydfhue5.c' source_filename = "/tmp/tmpmydfhue5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_recv_timeout(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeval, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @SOL_SOCKET, align 4 %11 = load i32, ptr @SO_RCVTIMEO, align 4 %12 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef 16) ret i32 %12 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmydfhue5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_recv_timeout(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeval, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @SOL_SOCKET, align 4 %11 = load i32, ptr @SO_RCVTIMEO, align 4 %12 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef 16) ret i32 %12 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgbdkt1c9.c' source_filename = "/tmp/tmpgbdkt1c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b 6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 %5, %4 store i32 %6, ptr %3, align 4 %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %3, align 4 %9 = call i32 @printid(i32 noundef %8) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpgbdkt1c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b 6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 %5, %4 store i32 %6, ptr %3, align 4 %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %3, align 4 %9 = call i32 @printid(i32 noundef %8) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpxtktmkey.c' source_filename = "/tmp/tmpxtktmkey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IBeamCursor\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @IBeamCursor() #0 { %1 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %2 = icmp ne i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 br label %6 4: ; preds = %0 %5 = call i32 @CallBack1(i32 noundef 33, ptr noundef inttoptr (i64 3 to ptr)) br label %6 6: ; preds = %4, %3 ret void } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i32 @CallBack1(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/tmpxtktmkey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IBeamCursor\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @IBeamCursor() #0 { %1 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %2 = icmp ne i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 br label %6 4: ; preds = %0 %5 = call i32 @CallBack1(i32 noundef 33, ptr noundef inttoptr (i64 3 to ptr)) br label %6 6: ; preds = %4, %3 ret void } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i32 @CallBack1(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/tmpmvgz6dwm.c' source_filename = "/tmp/tmpmvgz6dwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"podaj ilosc wierszy\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"podaj ilosc kolumn\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"podaj kolejne elementy\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"podaj ilosc wierszy w drugiej tablicy\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"podaj ilosc kolumn w drugiej tablicy\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"niezgodna ilosc wierszy\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"podaj kolejne elementy drugiej tablicy\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"tak wyglada po mnozeniu:\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %21 = load i32, ptr %2, align 4 %22 = zext i32 %21 to i64 %23 = load i32, ptr %3, align 4 %24 = zext i32 %23 to i64 %25 = call ptr @llvm.stacksave() store ptr %25, ptr %10, align 8 %26 = mul nuw i64 %22, %24 %27 = alloca i32, i64 %26, align 16 store i64 %22, ptr %11, align 8 store i64 %24, ptr %12, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 br label %29 29: ; preds = %51, %0 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %54 33: ; preds = %29 store i32 0, ptr %7, align 4 br label %34 34: ; preds = %47, %33 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %50 38: ; preds = %34 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = mul nsw i64 %40, %24 %42 = getelementptr inbounds i32, ptr %27, i64 %41 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %45) br label %47 47: ; preds = %38 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 br label %34, !llvm.loop !6 50: ; preds = %34 br label %51 51: ; preds = %50 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 br label %29, !llvm.loop !8 54: ; preds = %29 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %56 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %58 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %59 = load i32, ptr %4, align 4 %60 = zext i32 %59 to i64 %61 = load i32, ptr %5, align 4 %62 = zext i32 %61 to i64 %63 = mul nuw i64 %60, %62 %64 = alloca i32, i64 %63, align 16 store i64 %60, ptr %13, align 8 store i64 %62, ptr %14, align 8 %65 = load i32, ptr %2, align 4 %66 = zext i32 %65 to i64 %67 = load i32, ptr %5, align 4 %68 = zext i32 %67 to i64 %69 = mul nuw i64 %66, %68 %70 = alloca i32, i64 %69, align 16 store i64 %66, ptr %15, align 8 store i64 %68, ptr %16, align 8 %71 = load i32, ptr %3, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp ne i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %54 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %187 76: ; preds = %54 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %6, align 4 br label %78 78: ; preds = %100, %76 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %103 82: ; preds = %78 store i32 0, ptr %7, align 4 br label %83 83: ; preds = %96, %82 %84 = load i32, ptr %7, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %99 87: ; preds = %83 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = mul nsw i64 %89, %62 %91 = getelementptr inbounds i32, ptr %64, i64 %90 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %94) br label %96 96: ; preds = %87 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %7, align 4 br label %83, !llvm.loop !9 99: ; preds = %83 br label %100 100: ; preds = %99 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 br label %78, !llvm.loop !10 103: ; preds = %78 store i32 0, ptr %6, align 4 br label %104 104: ; preds = %154, %103 %105 = load i32, ptr %6, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %157 108: ; preds = %104 store i32 0, ptr %7, align 4 br label %109 109: ; preds = %150, %108 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %5, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %113, label %153 113: ; preds = %109 store i32 0, ptr %8, align 4 br label %114 114: ; preds = %138, %113 %115 = load i32, ptr %8, align 4 %116 = load i32, ptr %4, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %141 118: ; preds = %114 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %6, align 4 %121 = sext i32 %120 to i64 %122 = mul nsw i64 %121, %24 %123 = getelementptr inbounds i32, ptr %27, i64 %122 %124 = load i32, ptr %8, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 %127 = load i32, ptr %126, align 4 %128 = load i32, ptr %8, align 4 %129 = sext i32 %128 to i64 %130 = mul nsw i64 %129, %62 %131 = getelementptr inbounds i32, ptr %64, i64 %130 %132 = load i32, ptr %7, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %131, i64 %133 %135 = load i32, ptr %134, align 4 %136 = mul nsw i32 %127, %135 %137 = add nsw i32 %119, %136 store i32 %137, ptr %9, align 4 br label %138 138: ; preds = %118 %139 = load i32, ptr %8, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %8, align 4 br label %114, !llvm.loop !11 141: ; preds = %114 %142 = load i32, ptr %9, align 4 %143 = load i32, ptr %6, align 4 %144 = sext i32 %143 to i64 %145 = mul nsw i64 %144, %68 %146 = getelementptr inbounds i32, ptr %70, i64 %145 %147 = load i32, ptr %7, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %146, i64 %148 store i32 %142, ptr %149, align 4 store i32 0, ptr %9, align 4 br label %150 150: ; preds = %141 %151 = load i32, ptr %7, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %7, align 4 br label %109, !llvm.loop !12 153: ; preds = %109 br label %154 154: ; preds = %153 %155 = load i32, ptr %6, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %6, align 4 br label %104, !llvm.loop !13 157: ; preds = %104 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %6, align 4 br label %159 159: ; preds = %183, %157 %160 = load i32, ptr %6, align 4 %161 = load i32, ptr %2, align 4 %162 = icmp slt i32 %160, %161 br i1 %162, label %163, label %186 163: ; preds = %159 store i32 0, ptr %7, align 4 br label %164 164: ; preds = %178, %163 %165 = load i32, ptr %7, align 4 %166 = load i32, ptr %5, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %168, label %181 168: ; preds = %164 %169 = load i32, ptr %6, align 4 %170 = sext i32 %169 to i64 %171 = mul nsw i64 %170, %68 %172 = getelementptr inbounds i32, ptr %70, i64 %171 %173 = load i32, ptr %7, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i32, ptr %172, i64 %174 %176 = load i32, ptr %175, align 4 %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %176) br label %178 178: ; preds = %168 %179 = load i32, ptr %7, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %7, align 4 br label %164, !llvm.loop !14 181: ; preds = %164 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %183 183: ; preds = %181 %184 = load i32, ptr %6, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %6, align 4 br label %159, !llvm.loop !15 186: ; preds = %159 br label %187 187: ; preds = %186, %74 store i32 0, ptr %1, align 4 %188 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %188) %189 = load i32, ptr %1, align 4 ret i32 %189 } 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 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !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/tmpmvgz6dwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"podaj ilosc wierszy\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"podaj ilosc kolumn\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"podaj kolejne elementy\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"podaj ilosc wierszy w drugiej tablicy\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"podaj ilosc kolumn w drugiej tablicy\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"niezgodna ilosc wierszy\0A\00", align 1 @.str.7 = private unnamed_addr constant [40 x i8] c"podaj kolejne elementy drugiej tablicy\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"tak wyglada po mnozeniu:\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %21 = load i32, ptr %2, align 4 %22 = zext i32 %21 to i64 %23 = load i32, ptr %3, align 4 %24 = zext i32 %23 to i64 %25 = call ptr @llvm.stacksave() store ptr %25, ptr %10, align 8 %26 = mul nuw i64 %22, %24 %27 = alloca i32, i64 %26, align 16 store i64 %22, ptr %11, align 8 store i64 %24, ptr %12, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph2, label %58 .lr.ph2: ; preds = %0 br label %32 32: ; preds = %.lr.ph2, %52 store i32 0, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %51 .lr.ph: ; preds = %32 br label %36 36: ; preds = %.lr.ph, %45 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = mul nsw i64 %38, %24 %40 = getelementptr inbounds i32, ptr %27, i64 %39 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %43) br label %45 45: ; preds = %36 %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 %3, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %32 br label %52 52: ; preds = %51 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %0 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %60 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %62 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %63 = load i32, ptr %4, align 4 %64 = zext i32 %63 to i64 %65 = load i32, ptr %5, align 4 %66 = zext i32 %65 to i64 %67 = mul nuw i64 %64, %66 %68 = alloca i32, i64 %67, align 16 store i64 %64, ptr %13, align 8 store i64 %66, ptr %14, align 8 %69 = load i32, ptr %2, align 4 %70 = zext i32 %69 to i64 %71 = load i32, ptr %5, align 4 %72 = zext i32 %71 to i64 %73 = mul nuw i64 %70, %72 %74 = alloca i32, i64 %73, align 16 store i64 %70, ptr %15, align 8 store i64 %72, ptr %16, align 8 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp ne i32 %75, %76 br i1 %77, label %78, label %80 78: ; preds = %58 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %205 80: ; preds = %58 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %6, align 4 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph8, label %111 .lr.ph8: ; preds = %80 br label %85 85: ; preds = %.lr.ph8, %105 store i32 0, ptr %7, align 4 %86 = load i32, ptr %7, align 4 %87 = load i32, ptr %5, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph5, label %104 .lr.ph5: ; preds = %85 br label %89 89: ; preds = %.lr.ph5, %98 %90 = load i32, ptr %6, align 4 %91 = sext i32 %90 to i64 %92 = mul nsw i64 %91, %66 %93 = getelementptr inbounds i32, ptr %68, i64 %92 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %96) br label %98 98: ; preds = %89 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = load i32, ptr %5, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %89, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %98 br label %104 104: ; preds = %._crit_edge6, %85 br label %105 105: ; preds = %104 %106 = load i32, ptr %6, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %6, align 4 %108 = load i32, ptr %6, align 4 %109 = load i32, ptr %4, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %85, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %105 br label %111 111: ; preds = %._crit_edge9, %80 store i32 0, ptr %6, align 4 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr %2, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph17, label %171 .lr.ph17: ; preds = %111 br label %115 115: ; preds = %.lr.ph17, %165 store i32 0, ptr %7, align 4 %116 = load i32, ptr %7, align 4 %117 = load i32, ptr %5, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %.lr.ph14, label %164 .lr.ph14: ; preds = %115 br label %119 119: ; preds = %.lr.ph14, %158 store i32 0, ptr %8, align 4 %120 = load i32, ptr %8, align 4 %121 = load i32, ptr %4, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %.lr.ph11, label %149 .lr.ph11: ; preds = %119 br label %123 123: ; preds = %.lr.ph11, %143 %124 = load i32, ptr %9, align 4 %125 = load i32, ptr %6, align 4 %126 = sext i32 %125 to i64 %127 = mul nsw i64 %126, %24 %128 = getelementptr inbounds i32, ptr %27, i64 %127 %129 = load i32, ptr %8, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 %133 = load i32, ptr %8, align 4 %134 = sext i32 %133 to i64 %135 = mul nsw i64 %134, %66 %136 = getelementptr inbounds i32, ptr %68, i64 %135 %137 = load i32, ptr %7, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i32, ptr %136, i64 %138 %140 = load i32, ptr %139, align 4 %141 = mul nsw i32 %132, %140 %142 = add nsw i32 %124, %141 store i32 %142, ptr %9, align 4 br label %143 143: ; preds = %123 %144 = load i32, ptr %8, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %8, align 4 %146 = load i32, ptr %8, align 4 %147 = load i32, ptr %4, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %123, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %143 br label %149 149: ; preds = %._crit_edge12, %119 %150 = load i32, ptr %9, align 4 %151 = load i32, ptr %6, align 4 %152 = sext i32 %151 to i64 %153 = mul nsw i64 %152, %72 %154 = getelementptr inbounds i32, ptr %74, i64 %153 %155 = load i32, ptr %7, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 store i32 %150, ptr %157, align 4 store i32 0, ptr %9, align 4 br label %158 158: ; preds = %149 %159 = load i32, ptr %7, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %7, align 4 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %5, align 4 %163 = icmp slt i32 %161, %162 br i1 %163, label %119, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %158 br label %164 164: ; preds = %._crit_edge15, %115 br label %165 165: ; preds = %164 %166 = load i32, ptr %6, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %6, align 4 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %2, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %115, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %165 br label %171 171: ; preds = %._crit_edge18, %111 %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %6, align 4 %173 = load i32, ptr %6, align 4 %174 = load i32, ptr %2, align 4 %175 = icmp slt i32 %173, %174 br i1 %175, label %.lr.ph23, label %204 .lr.ph23: ; preds = %171 br label %176 176: ; preds = %.lr.ph23, %198 store i32 0, ptr %7, align 4 %177 = load i32, ptr %7, align 4 %178 = load i32, ptr %5, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %.lr.ph20, label %196 .lr.ph20: ; preds = %176 br label %180 180: ; preds = %.lr.ph20, %190 %181 = load i32, ptr %6, align 4 %182 = sext i32 %181 to i64 %183 = mul nsw i64 %182, %72 %184 = getelementptr inbounds i32, ptr %74, i64 %183 %185 = load i32, ptr %7, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i32, ptr %184, i64 %186 %188 = load i32, ptr %187, align 4 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %188) br label %190 190: ; preds = %180 %191 = load i32, ptr %7, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %7, align 4 %193 = load i32, ptr %7, align 4 %194 = load i32, ptr %5, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %180, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %190 br label %196 196: ; preds = %._crit_edge21, %176 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %198 198: ; preds = %196 %199 = load i32, ptr %6, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %6, align 4 %201 = load i32, ptr %6, align 4 %202 = load i32, ptr %2, align 4 %203 = icmp slt i32 %201, %202 br i1 %203, label %176, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %198 br label %204 204: ; preds = %._crit_edge24, %171 br label %205 205: ; preds = %204, %78 store i32 0, ptr %1, align 4 %206 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %206) %207 = load i32, ptr %1, align 4 ret i32 %207 } 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 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpj8afn8u5.c' source_filename = "/tmp/tmpj8afn8u5.c" target datalayout = "e-m:e-p270: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/tmpj8afn8u5.c" target datalayout = "e-m:e-p270: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/tmp1cxq1gi0.c' source_filename = "/tmp/tmp1cxq1gi0.c" target datalayout = "e-m:e-p270: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.ip = type { %struct.TYPE_4__, %struct.TYPE_3__, i64 } %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { ptr } %struct.tcphdr = type { i8, i64, i64 } %struct.udphdr = type { i64 } @IPPROTO_TCP = dso_local global i64 0, align 8 @IPPROTO_UDP = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_iphdr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i8 noundef zeroext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i8, align 1 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %13, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %13, align 8 %19 = getelementptr inbounds %struct.ip, ptr %18, i32 0, i32 2 store i64 %17, ptr %19, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %13, align 8 %22 = getelementptr inbounds %struct.ip, ptr %21, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 0 store ptr %20, ptr %23, align 8 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds %struct.ip, ptr %25, i32 0, i32 0 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %26, i32 0, i32 0 store ptr %24, ptr %27, align 8 %28 = load i64, ptr %10, align 8 %29 = load i64, ptr @IPPROTO_TCP, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %45 31: ; preds = %6 %32 = load ptr, ptr %13, align 8 %33 = getelementptr inbounds %struct.ip, ptr %32, i64 1 store ptr %33, ptr %14, align 8 %34 = load i64, ptr %11, align 8 %35 = load ptr, ptr %14, align 8 %36 = getelementptr inbounds %struct.tcphdr, ptr %35, i32 0, i32 2 store i64 %34, ptr %36, align 8 %37 = load i8, ptr %12, align 1 %38 = zext i8 %37 to i32 %39 = and i32 %38, 2 %40 = trunc i32 %39 to i8 %41 = load ptr, ptr %14, align 8 %42 = getelementptr inbounds %struct.tcphdr, ptr %41, i32 0, i32 0 store i8 %40, ptr %42, align 8 %43 = load ptr, ptr %14, align 8 %44 = getelementptr inbounds %struct.tcphdr, ptr %43, i32 0, i32 1 store i64 0, ptr %44, align 8 br label %56 45: ; preds = %6 %46 = load i64, ptr %10, align 8 %47 = load i64, ptr @IPPROTO_UDP, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %55 49: ; preds = %45 %50 = load ptr, ptr %13, align 8 %51 = getelementptr inbounds %struct.ip, ptr %50, i64 1 store ptr %51, ptr %15, align 8 %52 = load i64, ptr %11, align 8 %53 = load ptr, ptr %15, align 8 %54 = getelementptr inbounds %struct.udphdr, ptr %53, i32 0, i32 0 store i64 %52, ptr %54, align 8 br label %55 55: ; preds = %49, %45 br label %56 56: ; preds = %55, %31 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1cxq1gi0.c" target datalayout = "e-m:e-p270: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.ip = type { %struct.TYPE_4__, %struct.TYPE_3__, i64 } %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { ptr } %struct.tcphdr = type { i8, i64, i64 } %struct.udphdr = type { i64 } @IPPROTO_TCP = dso_local global i64 0, align 8 @IPPROTO_UDP = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_iphdr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i8 noundef zeroext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i8, align 1 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %13, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %13, align 8 %19 = getelementptr inbounds %struct.ip, ptr %18, i32 0, i32 2 store i64 %17, ptr %19, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %13, align 8 %22 = getelementptr inbounds %struct.ip, ptr %21, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 0 store ptr %20, ptr %23, align 8 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds %struct.ip, ptr %25, i32 0, i32 0 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %26, i32 0, i32 0 store ptr %24, ptr %27, align 8 %28 = load i64, ptr %10, align 8 %29 = load i64, ptr @IPPROTO_TCP, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %45 31: ; preds = %6 %32 = load ptr, ptr %13, align 8 %33 = getelementptr inbounds %struct.ip, ptr %32, i64 1 store ptr %33, ptr %14, align 8 %34 = load i64, ptr %11, align 8 %35 = load ptr, ptr %14, align 8 %36 = getelementptr inbounds %struct.tcphdr, ptr %35, i32 0, i32 2 store i64 %34, ptr %36, align 8 %37 = load i8, ptr %12, align 1 %38 = zext i8 %37 to i32 %39 = and i32 %38, 2 %40 = trunc i32 %39 to i8 %41 = load ptr, ptr %14, align 8 %42 = getelementptr inbounds %struct.tcphdr, ptr %41, i32 0, i32 0 store i8 %40, ptr %42, align 8 %43 = load ptr, ptr %14, align 8 %44 = getelementptr inbounds %struct.tcphdr, ptr %43, i32 0, i32 1 store i64 0, ptr %44, align 8 br label %56 45: ; preds = %6 %46 = load i64, ptr %10, align 8 %47 = load i64, ptr @IPPROTO_UDP, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %55 49: ; preds = %45 %50 = load ptr, ptr %13, align 8 %51 = getelementptr inbounds %struct.ip, ptr %50, i64 1 store ptr %51, ptr %15, align 8 %52 = load i64, ptr %11, align 8 %53 = load ptr, ptr %15, align 8 %54 = getelementptr inbounds %struct.udphdr, ptr %53, i32 0, i32 0 store i64 %52, ptr %54, align 8 br label %55 55: ; preds = %49, %45 br label %56 56: ; preds = %55, %31 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1sunclso.c' source_filename = "/tmp/tmp1sunclso.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Time is: %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 i64, align 8 %8 = alloca [33 x i8], align 16 %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 br label %10 10: ; preds = %2, %38 %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %9, align 4 %12 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @ctime(ptr noundef %9) %14 = call i32 @strncpy(ptr noundef %12, i32 noundef %13, i32 noundef 33) %15 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %7, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp ugt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %10 %20 = load i64, ptr %7, align 8 %21 = sub i64 %20, 1 %22 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %21 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %19, %10 %24 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @printf(ptr noundef @.str, ptr noundef %24) %26 = call i32 (...) @lcd_reset_pos() store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %23 %30 = load i32, ptr %6, align 4 store i32 %30, ptr %3, align 4 br label %40 31: ; preds = %23 %32 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %33 = call i32 @lcd_put_str(ptr noundef %32) store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = load i32, ptr %6, align 4 store i32 %37, ptr %3, align 4 br label %40 38: ; preds = %31 %39 = call i32 @msleep(i32 noundef 1000) br label %10 40: ; preds = %36, %29 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @time(ptr noundef) #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ctime(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @lcd_reset_pos(...) #1 declare i32 @lcd_put_str(ptr noundef) #1 declare i32 @msleep(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/tmp1sunclso.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Time is: %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 i64, align 8 %8 = alloca [33 x i8], align 16 %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 br label %10 10: ; preds = %38, %2 %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %9, align 4 %12 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @ctime(ptr noundef %9) %14 = call i32 @strncpy(ptr noundef %12, i32 noundef %13, i32 noundef 33) %15 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %7, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp ugt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %10 %20 = load i64, ptr %7, align 8 %21 = sub i64 %20, 1 %22 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %21 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %19, %10 %24 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @printf(ptr noundef @.str, ptr noundef %24) %26 = call i32 (...) @lcd_reset_pos() store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %23 %30 = load i32, ptr %6, align 4 store i32 %30, ptr %3, align 4 br label %40 31: ; preds = %23 %32 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %33 = call i32 @lcd_put_str(ptr noundef %32) store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = load i32, ptr %6, align 4 store i32 %37, ptr %3, align 4 br label %40 38: ; preds = %31 %39 = call i32 @msleep(i32 noundef 1000) br label %10 40: ; preds = %36, %29 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @time(ptr noundef) #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ctime(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @lcd_reset_pos(...) #1 declare i32 @lcd_put_str(ptr noundef) #1 declare i32 @msleep(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/tmpemv3zh_b.c' source_filename = "/tmp/tmpemv3zh_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_system() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 2, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpemv3zh_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_system() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 2, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0gyp799v.c' source_filename = "/tmp/tmp0gyp799v.c" target datalayout = "e-m:e-p270: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/tmp0gyp799v.c" target datalayout = "e-m:e-p270: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/tmpulb_j4wv.c' source_filename = "/tmp/tmpulb_j4wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d\0A%d %d\0A%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Skickade iv\C3\A4g fl\C3\B6desgrafen\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeFlowGraph() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 23, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 0, ptr %5, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20, i32 noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load i32, ptr @stdout, align 4 %28 = call i32 @fflush(i32 noundef %27) %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 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/tmpulb_j4wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d\0A%d %d\0A%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Skickade iv\C3\A4g fl\C3\B6desgrafen\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeFlowGraph() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 23, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr @stdout, align 4 %30 = call i32 @fflush(i32 noundef %29) %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 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/tmpvvuprqbq.c' source_filename = "/tmp/tmpvvuprqbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In fun5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun5() #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/tmpvvuprqbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In fun5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun5() #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/tmpehxvqowv.c' source_filename = "/tmp/tmpehxvqowv.c" target datalayout = "e-m:e-p270: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.houses = private unnamed_addr constant [6 x i32] [i32 1, i32 100, i32 2, i32 100, i32 3, i32 100], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [6 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.houses, i64 24, i1 false) %7 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %8 = call i32 @rob(ptr noundef %7, i32 noundef 6) %9 = icmp eq i32 %8, 300 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 store i32 200, ptr %12, align 16 %13 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %14 = call i32 @rob(ptr noundef %13, i32 noundef 6) %15 = icmp eq i32 %14, 400 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 store i32 100, ptr %18, align 16 %19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4 store i32 200, ptr %19, align 16 %20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %21 = call i32 @rob(ptr noundef %20, i32 noundef 6) %22 = icmp eq i32 %21, 302 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4 store i32 300, ptr %25, align 16 %26 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %27 = call i32 @rob(ptr noundef %26, i32 noundef 6) %28 = icmp eq i32 %27, 402 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) 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 @assert(i32 noundef) #2 declare i32 @rob(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/tmpehxvqowv.c" target datalayout = "e-m:e-p270: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.houses = private unnamed_addr constant [6 x i32] [i32 1, i32 100, i32 2, i32 100, i32 3, i32 100], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [6 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.houses, i64 24, i1 false) %7 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %8 = call i32 @rob(ptr noundef %7, i32 noundef 6) %9 = icmp eq i32 %8, 300 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 store i32 200, ptr %12, align 16 %13 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %14 = call i32 @rob(ptr noundef %13, i32 noundef 6) %15 = icmp eq i32 %14, 400 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 store i32 100, ptr %18, align 16 %19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4 store i32 200, ptr %19, align 16 %20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %21 = call i32 @rob(ptr noundef %20, i32 noundef 6) %22 = icmp eq i32 %21, 302 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4 store i32 300, ptr %25, align 16 %26 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0 %27 = call i32 @rob(ptr noundef %26, i32 noundef 6) %28 = icmp eq i32 %27, 402 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) 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 @assert(i32 noundef) #2 declare i32 @rob(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/tmp6hdxidzs.c' source_filename = "/tmp/tmp6hdxidzs.c" target datalayout = "e-m:e-p270: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/tmp6hdxidzs.c" target datalayout = "e-m:e-p270: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/tmpbyeuuxwd.c' source_filename = "/tmp/tmpbyeuuxwd.c" target datalayout = "e-m:e-p270: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/tmpbyeuuxwd.c" target datalayout = "e-m:e-p270: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/tmpdas_nyro.c' source_filename = "/tmp/tmpdas_nyro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libkeccak_state_wipe(ptr noalias 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 @libkeccak_state_wipe_message(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @libkeccak_state_wipe_sponge(ptr noundef %5) ret void } declare i32 @libkeccak_state_wipe_message(ptr noundef) #1 declare i32 @libkeccak_state_wipe_sponge(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdas_nyro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libkeccak_state_wipe(ptr noalias 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 @libkeccak_state_wipe_message(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @libkeccak_state_wipe_sponge(ptr noundef %5) ret void } declare i32 @libkeccak_state_wipe_message(ptr noundef) #1 declare i32 @libkeccak_state_wipe_sponge(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qpfts4j.c' source_filename = "/tmp/tmp5qpfts4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heatCap(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = fmul double %7, %8 store double %9, ptr %4, align 8 %10 = load double, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = fmul double %10, %11 store double %12, ptr %5, align 8 %13 = load double, ptr %5, align 8 %14 = load double, ptr %2, align 8 %15 = fmul double %13, %14 store double %15, ptr %6, align 8 %16 = load double, ptr %2, align 8 %17 = call double @llvm.fmuladd.f64(double 2.743100e+00, double %16, double -3.612500e+00) %18 = load double, ptr %4, align 8 %19 = call double @llvm.fmuladd.f64(double 2.361600e-03, double %18, double %17) %20 = load double, ptr %5, align 8 %21 = call double @llvm.fmuladd.f64(double -1.234000e-05, double %20, double %19) %22 = load double, ptr %6, align 8 %23 = call double @llvm.fmuladd.f64(double 8.909300e-09, double %22, double %21) store double %23, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = call double @llvm.fabs.f64(double %24) ret double %25 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5qpfts4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heatCap(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = fmul double %7, %8 store double %9, ptr %4, align 8 %10 = load double, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = fmul double %10, %11 store double %12, ptr %5, align 8 %13 = load double, ptr %5, align 8 %14 = load double, ptr %2, align 8 %15 = fmul double %13, %14 store double %15, ptr %6, align 8 %16 = load double, ptr %2, align 8 %17 = call double @llvm.fmuladd.f64(double 2.743100e+00, double %16, double -3.612500e+00) %18 = load double, ptr %4, align 8 %19 = call double @llvm.fmuladd.f64(double 2.361600e-03, double %18, double %17) %20 = load double, ptr %5, align 8 %21 = call double @llvm.fmuladd.f64(double -1.234000e-05, double %20, double %19) %22 = load double, ptr %6, align 8 %23 = call double @llvm.fmuladd.f64(double 8.909300e-09, double %22, double %21) store double %23, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = call double @llvm.fabs.f64(double %24) ret double %25 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpei6v_95i.c' source_filename = "/tmp/tmpei6v_95i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Enter the range: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Floyd's triangle:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %9 9: ; preds = %28, %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %31 13: ; preds = %9 store i32 1, ptr %3, align 4 br label %14 14: ; preds = %21, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %28 28: ; preds = %26 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 br label %9, !llvm.loop !8 31: ; preds = %9 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpei6v_95i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Enter the range: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Floyd's triangle:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph2, label %35 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %29 store i32 1, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %19 %17 = load i32, ptr %5, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) br label %19 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %27 27: ; preds = %._crit_edge, %12 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %29 29: ; preds = %27 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %35 35: ; preds = %._crit_edge3, %0 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvciq8zle.c' source_filename = "/tmp/tmpvciq8zle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delayX(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 = call i32 @ino(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @delay(i32 noundef %7) ret void } declare i32 @ino(i32 noundef) #1 declare i32 @delay(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/tmpvciq8zle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delayX(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 = call i32 @ino(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @delay(i32 noundef %7) ret void } declare i32 @ino(i32 noundef) #1 declare i32 @delay(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/tmpr2mb864f.c' source_filename = "/tmp/tmpr2mb864f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"# ls: 1\0A# cd: 2\0A# select: 3\0A# exit: 4\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fileInstructions() #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/tmpr2mb864f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"# ls: 1\0A# cd: 2\0A# select: 3\0A# exit: 4\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fileInstructions() #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/tmpbtdbmjek.c' source_filename = "/tmp/tmpbtdbmjek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtdbmjek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2qq4m7er.c' source_filename = "/tmp/tmp2qq4m7er.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTSmartCardEnable(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 44 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i32, ptr %7, align 4 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = and i32 %9, -231 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = or i32 %11, 110 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 44 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i32 %13, ptr %17, align 4 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 48 %20 = sext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr %22 = load volatile i32, ptr %21, align 4 %23 = or i32 %22, 8 store volatile i32 %23, ptr %21, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qq4m7er.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTSmartCardEnable(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 44 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i32, ptr %7, align 4 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = and i32 %9, -231 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = or i32 %11, 110 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 44 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i32 %13, ptr %17, align 4 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 48 %20 = sext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr %22 = load volatile i32, ptr %21, align 4 %23 = or i32 %22, 8 store volatile i32 %23, ptr %21, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzok9zwfe.c' source_filename = "/tmp/tmpzok9zwfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PKCS7_content_new(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr null, ptr %6, align 8 %7 = call ptr (...) @PKCS7_new() store ptr %7, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 br label %23 10: ; preds = %2 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @PKCS7_set_type(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %10 br label %23 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 @PKCS7_set_content(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %16 br label %23 22: ; preds = %16 store i32 1, ptr %3, align 4 br label %30 23: ; preds = %21, %15, %9 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %6, align 8 %28 = call i32 @PKCS7_free(ptr noundef %27) br label %29 29: ; preds = %26, %23 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %29, %22 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare ptr @PKCS7_new(...) #1 declare i32 @PKCS7_set_type(ptr noundef, i32 noundef) #1 declare i32 @PKCS7_set_content(ptr noundef, ptr noundef) #1 declare i32 @PKCS7_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/tmpzok9zwfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PKCS7_content_new(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr null, ptr %6, align 8 %7 = call ptr (...) @PKCS7_new() store ptr %7, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 br label %23 10: ; preds = %2 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @PKCS7_set_type(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %10 br label %23 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 @PKCS7_set_content(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %16 br label %23 22: ; preds = %16 store i32 1, ptr %3, align 4 br label %30 23: ; preds = %21, %15, %9 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %6, align 8 %28 = call i32 @PKCS7_free(ptr noundef %27) br label %29 29: ; preds = %26, %23 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %29, %22 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare ptr @PKCS7_new(...) #1 declare i32 @PKCS7_set_type(ptr noundef, i32 noundef) #1 declare i32 @PKCS7_set_content(ptr noundef, ptr noundef) #1 declare i32 @PKCS7_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/tmpk6p4wnjo.c' source_filename = "/tmp/tmpk6p4wnjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for *\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0x2a() #0 { %1 = call i32 @isgraph(i32 noundef 42) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 215, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isgraph(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6p4wnjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for *\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0x2a() #0 { %1 = call i32 @isgraph(i32 noundef 42) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 215, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isgraph(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7evcdie5.c' source_filename = "/tmp/tmp7evcdie5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7evcdie5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg26_s3cj.c' source_filename = "/tmp/tmpg26_s3cj.c" target datalayout = "e-m:e-p270: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.numbers = private unnamed_addr constant [4 x i32] [i32 57005, i32 48879, i32 4919, i32 16962], align 16 ; 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 [4 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.numbers, i64 16, i1 false) store i32 1, ptr %6, align 4 br label %8 8: ; preds = %31, %2 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 12 br i1 %10, label %11, label %34 11: ; preds = %8 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 4 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @foo(i32 noundef %19) br label %30 21: ; preds = %11 %22 = load i32, ptr %6, align 4 %23 = icmp sge i32 %22, 7 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = load i32, ptr %6, align 4 %26 = icmp sle i32 %25, 9 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 (...) @bar() br label %29 29: ; preds = %27, %24, %21 br label %30 30: ; preds = %29, %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %8, !llvm.loop !6 34: ; preds = %8 %35 = call i32 (...) @abort() #4 unreachable } ; 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 @foo(i32 noundef) #2 declare i32 @bar(...) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg26_s3cj.c" target datalayout = "e-m:e-p270: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.numbers = private unnamed_addr constant [4 x i32] [i32 57005, i32 48879, i32 4919, i32 16962], align 16 ; 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 [4 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.numbers, i64 16, i1 false) store i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp sle i32 %8, 12 br i1 %9, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %30 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 4 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = sub nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @foo(i32 noundef %18) br label %29 20: ; preds = %10 %21 = load i32, ptr %6, align 4 %22 = icmp sge i32 %21, 7 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = icmp sle i32 %24, 9 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 (...) @bar() br label %28 28: ; preds = %26, %23, %20 br label %29 29: ; preds = %28, %13 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp sle i32 %33, 12 br i1 %34, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %2 %36 = call i32 (...) @abort() #4 unreachable } ; 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 @foo(i32 noundef) #2 declare i32 @bar(...) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6wnvca65.c' source_filename = "/tmp/tmp6wnvca65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test1() %7 = call i32 (...) @test2() %8 = call i32 (...) @test3() %9 = call i32 (...) @test4() ret i32 0 } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6wnvca65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test1() %7 = call i32 (...) @test2() %8 = call i32 (...) @test3() %9 = call i32 (...) @test4() ret i32 0 } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl29l_jgi.c' source_filename = "/tmp/tmpl29l_jgi.c" target datalayout = "e-m:e-p270: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/tmpl29l_jgi.c" target datalayout = "e-m:e-p270: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/tmpq9vni96_.c' source_filename = "/tmp/tmpq9vni96_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"!!!OOKK!!%d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"!!!KK0000000!!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handle2(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @sleep(i32 noundef 2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq9vni96_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"!!!OOKK!!%d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"!!!KK0000000!!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handle2(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @sleep(i32 noundef 2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblq9ab1s.c' source_filename = "/tmp/tmpblq9ab1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HDIO_DRIVE_CMD = dso_local global i32 0, align 4 @NAME_MAX = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @O_RDONLY = 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/tmpblq9ab1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HDIO_DRIVE_CMD = dso_local global i32 0, align 4 @NAME_MAX = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @O_RDONLY = 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/tmpllzvlfrn.c' source_filename = "/tmp/tmpllzvlfrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"w_malloc(%zu): errno %d, report to wookie developers\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @w_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = load i32, ptr @errno, align 4 %11 = call i32 @printf(ptr noundef @.str, i64 noundef %9, i32 noundef %10) %12 = call i32 @exit(i32 noundef -1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %2, align 8 %16 = call i32 @memset(ptr noundef %14, i8 noundef signext 0, i64 noundef %15) %17 = load ptr, ptr %3, align 8 ret ptr %17 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #5 = { 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/tmpllzvlfrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"w_malloc(%zu): errno %d, report to wookie developers\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @w_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = load i32, ptr @errno, align 4 %11 = call i32 @printf(ptr noundef @.str, i64 noundef %9, i32 noundef %10) %12 = call i32 @exit(i32 noundef -1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %2, align 8 %16 = call i32 @memset(ptr noundef %14, i8 noundef signext 0, i64 noundef %15) %17 = load ptr, ptr %3, align 8 ret ptr %17 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #5 = { 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/tmptknsfoph.c' source_filename = "/tmp/tmptknsfoph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_int64_3() #0 { ret i32 -1073741824 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptknsfoph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_int64_3() #0 { ret i32 -1073741824 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx8y7hnx5.c' source_filename = "/tmp/tmpx8y7hnx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvwaddchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 4) %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 br label %49 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %7) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @report_count(i32 noundef 1) %20 = call i32 @report_error(ptr noundef @.str.1) br label %49 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %5) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %21 %28 = call i32 @report_count(i32 noundef 1) %29 = call i32 @report_error(ptr noundef @.str.1) br label %49 30: ; preds = %21 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str.2, ptr noundef %6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = call i32 @report_count(i32 noundef 1) %38 = call i32 @report_error(ptr noundef @.str.1) br label %49 39: ; preds = %30 %40 = call i32 @report_count(i32 noundef 1) %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 3 %46 = load ptr, ptr %45, align 8 %47 = call i32 @mvwaddchstr(ptr noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef %46) %48 = call i32 @report_return(i32 noundef %47) br label %49 49: ; preds = %39, %36, %27, %18, %11 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvwaddchstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx8y7hnx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvwaddchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = call i32 @check_arg_count(i32 noundef %8, i32 noundef 4) %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 br label %49 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i64 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %7) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @report_count(i32 noundef 1) %20 = call i32 @report_error(ptr noundef @.str.1) br label %49 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @sscanf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %5) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %21 %28 = call i32 @report_count(i32 noundef 1) %29 = call i32 @report_error(ptr noundef @.str.1) br label %49 30: ; preds = %21 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str.2, ptr noundef %6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = call i32 @report_count(i32 noundef 1) %38 = call i32 @report_error(ptr noundef @.str.1) br label %49 39: ; preds = %30 %40 = call i32 @report_count(i32 noundef 1) %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 3 %46 = load ptr, ptr %45, align 8 %47 = call i32 @mvwaddchstr(ptr noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef %46) %48 = call i32 @report_return(i32 noundef %47) br label %49 49: ; preds = %39, %36, %27, %18, %11 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvwaddchstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_itscnxz.c' source_filename = "/tmp/tmp_itscnxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceillog2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sub i32 %5, 1 %7 = and i32 %4, %6 %8 = icmp eq i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = lshr i32 %11, 1 %13 = load i32, ptr %2, align 4 %14 = or i32 %13, %12 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = lshr i32 %15, 2 %17 = load i32, ptr %2, align 4 %18 = or i32 %17, %16 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = lshr i32 %19, 4 %21 = load i32, ptr %2, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = lshr i32 %23, 8 %25 = load i32, ptr %2, align 4 %26 = or i32 %25, %24 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = lshr i32 %27, 16 %29 = load i32, ptr %2, align 4 %30 = or i32 %29, %28 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = lshr i32 %31, 1 %33 = call i32 @countbits(i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = add i32 %33, %34 ret i32 %35 } declare i32 @countbits(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_itscnxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceillog2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sub i32 %5, 1 %7 = and i32 %4, %6 %8 = icmp eq i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = lshr i32 %11, 1 %13 = load i32, ptr %2, align 4 %14 = or i32 %13, %12 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = lshr i32 %15, 2 %17 = load i32, ptr %2, align 4 %18 = or i32 %17, %16 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = lshr i32 %19, 4 %21 = load i32, ptr %2, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = lshr i32 %23, 8 %25 = load i32, ptr %2, align 4 %26 = or i32 %25, %24 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = lshr i32 %27, 16 %29 = load i32, ptr %2, align 4 %30 = or i32 %29, %28 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = lshr i32 %31, 1 %33 = call i32 @countbits(i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = add i32 %33, %34 ret i32 %35 } declare i32 @countbits(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_j__xha6.c' source_filename = "/tmp/tmp_j__xha6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"ic_b2c_compile_types_body: kludge was null\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"ic_b2c_compile_types_body: tdecl was null\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"ic_b2c_compile_types_body: file was null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ic_b2c_compile_type_body(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %23 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %23 17: ; preds = %12 %18 = load ptr, ptr %7, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %17 %21 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %23 22: ; preds = %17 store i32 1, ptr %4, align 4 br label %23 23: ; preds = %22, %20, %15, %10 %24 = load i32, ptr %4, align 4 ret i32 %24 } 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/tmp_j__xha6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"ic_b2c_compile_types_body: kludge was null\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"ic_b2c_compile_types_body: tdecl was null\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"ic_b2c_compile_types_body: file was null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ic_b2c_compile_type_body(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %23 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @puts(ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %23 17: ; preds = %12 %18 = load ptr, ptr %7, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %17 %21 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %23 22: ; preds = %17 store i32 1, ptr %4, align 4 br label %23 23: ; preds = %22, %20, %15, %10 %24 = load i32, ptr %4, align 4 ret i32 %24 } 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/tmpw3vh3w5t.c' source_filename = "/tmp/tmpw3vh3w5t.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i64, i32, i32, ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Usage: %s host port msg...\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Could not connect to: (%s, %s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Ignoring long message in argument %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"partial/failed write\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Message sent (%d bytes): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Received from server (%ld bytes): %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca [500 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %25 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %2 %26 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 40) %27 = load i32, ptr @AF_UNSPEC, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4 store i32 %27, ptr %28, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %29, ptr %30, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 6 store i64 0, ptr %31, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 2 store i64 0, ptr %32, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @getaddrinfo(ptr noundef %35, ptr noundef %38, ptr noundef %6, ptr noundef %7) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %49 42: ; preds = %25 %43 = load i32, ptr @stderr, align 4 %44 = load i32, ptr %10, align 4 %45 = call ptr @gai_strerror(i32 noundef %44) %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1, ptr noundef %45) %47 = load i32, ptr @EXIT_FAILURE, align 4 %48 = call i32 @exit(i32 noundef %47) #3 unreachable 49: ; preds = %25 %50 = load ptr, ptr %7, align 8 store ptr %50, ptr %8, align 8 br label %51 51: ; preds = %82, %49 %52 = load ptr, ptr %8, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %86 54: ; preds = %51 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds %struct.addrinfo, ptr %55, i32 0, i32 4 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds %struct.addrinfo, ptr %58, i32 0, i32 3 %60 = load i32, ptr %59, align 8 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds %struct.addrinfo, ptr %61, i32 0, i32 2 %63 = load i64, ptr %62, align 8 %64 = call i32 @socket(i32 noundef %57, i32 noundef %60, i64 noundef %63) store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp eq i32 %65, -1 br i1 %66, label %67, label %68 67: ; preds = %54 br label %82 68: ; preds = %54 %69 = load i32, ptr %9, align 4 %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds %struct.addrinfo, ptr %70, i32 0, i32 1 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %8, align 8 %74 = getelementptr inbounds %struct.addrinfo, ptr %73, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = call i32 @connect(i32 noundef %69, i32 noundef %72, i32 noundef %75) %77 = icmp ne i32 %76, -1 br i1 %77, label %78, label %79 78: ; preds = %68 br label %86 79: ; preds = %68 %80 = load i32, ptr %9, align 4 %81 = call i32 @close(i32 noundef %80) br label %82 82: ; preds = %79, %67 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds %struct.addrinfo, ptr %83, i32 0, i32 5 %85 = load ptr, ptr %84, align 8 store ptr %85, ptr %8, align 8 br label %51, !llvm.loop !6 86: ; preds = %78, %51 %87 = load ptr, ptr %8, align 8 %88 = icmp eq ptr %87, null br i1 %88, label %89, label %100 89: ; preds = %86 %90 = load i32, ptr @stderr, align 4 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 1 %93 = load ptr, ptr %92, align 8 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 2 %96 = load ptr, ptr %95, align 8 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.2, ptr noundef %93, ptr noundef %96) %98 = load i32, ptr @EXIT_FAILURE, align 4 %99 = call i32 @exit(i32 noundef %98) #3 unreachable 100: ; preds = %86 %101 = load ptr, ptr %7, align 8 %102 = call i32 @freeaddrinfo(ptr noundef %101) store i32 3, ptr %11, align 4 br label %103 103: ; preds = %162, %100 %104 = load i32, ptr %11, align 4 %105 = load i32, ptr %4, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %165 107: ; preds = %103 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strlen(ptr noundef %112) %114 = add nsw i32 %113, 1 %115 = sext i32 %114 to i64 store i64 %115, ptr %12, align 8 %116 = load i64, ptr %12, align 8 %117 = add i64 %116, 1 %118 = icmp ugt i64 %117, 500 br i1 %118, label %119, label %123 119: ; preds = %107 %120 = load i32, ptr @stderr, align 4 %121 = load i32, ptr %11, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.3, i32 noundef %121) br label %162 123: ; preds = %107 %124 = load i32, ptr %9, align 4 %125 = load ptr, ptr %5, align 8 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds ptr, ptr %125, i64 %127 %129 = load ptr, ptr %128, align 8 %130 = load i64, ptr %12, align 8 %131 = call i64 @write(i32 noundef %124, ptr noundef %129, i64 noundef %130) %132 = load i64, ptr %12, align 8 %133 = icmp ne i64 %131, %132 br i1 %133, label %134, label %139 134: ; preds = %123 %135 = load i32, ptr @stderr, align 4 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef @.str.4) %137 = load i32, ptr @EXIT_FAILURE, align 4 %138 = call i32 @exit(i32 noundef %137) #3 unreachable 139: ; preds = %123 %140 = load i64, ptr %12, align 8 %141 = load ptr, ptr %5, align 8 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %141, i64 %143 %145 = load ptr, ptr %144, align 8 %146 = call i32 @printf(ptr noundef @.str.5, i64 noundef %140, ptr noundef %145) br label %147 147: ; preds = %139 %148 = load i32, ptr %9, align 4 %149 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %150 = call i32 @read(i32 noundef %148, ptr noundef %149, i32 noundef 500) store i32 %150, ptr %13, align 4 %151 = load i32, ptr %13, align 4 %152 = icmp eq i32 %151, -1 br i1 %152, label %153, label %157 153: ; preds = %147 %154 = call i32 @perror(ptr noundef @.str.6) %155 = load i32, ptr @EXIT_FAILURE, align 4 %156 = call i32 @exit(i32 noundef %155) #3 unreachable 157: ; preds = %147 %158 = load i32, ptr %13, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %161 = call i32 @printf(ptr noundef @.str.7, i64 noundef %159, ptr noundef %160) br label %162 162: ; preds = %157, %119 %163 = load i32, ptr %11, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %11, align 4 br label %103, !llvm.loop !8 165: ; preds = %103 %166 = load i32, ptr @EXIT_SUCCESS, align 4 %167 = call i32 @exit(i32 noundef %166) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw3vh3w5t.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i64, i32, i32, ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Usage: %s host port msg...\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Could not connect to: (%s, %s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Ignoring long message in argument %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"partial/failed write\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Message sent (%d bytes): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Received from server (%ld bytes): %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca [500 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %25 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %2 %26 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 40) %27 = load i32, ptr @AF_UNSPEC, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4 store i32 %27, ptr %28, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %29, ptr %30, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 6 store i64 0, ptr %31, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 2 store i64 0, ptr %32, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @getaddrinfo(ptr noundef %35, ptr noundef %38, ptr noundef %6, ptr noundef %7) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %49 42: ; preds = %25 %43 = load i32, ptr @stderr, align 4 %44 = load i32, ptr %10, align 4 %45 = call ptr @gai_strerror(i32 noundef %44) %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1, ptr noundef %45) %47 = load i32, ptr @EXIT_FAILURE, align 4 %48 = call i32 @exit(i32 noundef %47) #3 unreachable 49: ; preds = %25 %50 = load ptr, ptr %7, align 8 store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %49 br label %53 53: ; preds = %.lr.ph, %81 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds %struct.addrinfo, ptr %54, i32 0, i32 4 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds %struct.addrinfo, ptr %57, i32 0, i32 3 %59 = load i32, ptr %58, align 8 %60 = load ptr, ptr %8, align 8 %61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 2 %62 = load i64, ptr %61, align 8 %63 = call i32 @socket(i32 noundef %56, i32 noundef %59, i64 noundef %62) store i32 %63, ptr %9, align 4 %64 = load i32, ptr %9, align 4 %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %67 66: ; preds = %53 br label %81 67: ; preds = %53 %68 = load i32, ptr %9, align 4 %69 = load ptr, ptr %8, align 8 %70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 1 %71 = load i32, ptr %70, align 4 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 0 %74 = load i32, ptr %73, align 8 %75 = call i32 @connect(i32 noundef %68, i32 noundef %71, i32 noundef %74) %76 = icmp ne i32 %75, -1 br i1 %76, label %77, label %78 77: ; preds = %67 br label %87 78: ; preds = %67 %79 = load i32, ptr %9, align 4 %80 = call i32 @close(i32 noundef %79) br label %81 81: ; preds = %78, %66 %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds %struct.addrinfo, ptr %82, i32 0, i32 5 %84 = load ptr, ptr %83, align 8 store ptr %84, ptr %8, align 8 %85 = load ptr, ptr %8, align 8 %86 = icmp ne ptr %85, null br i1 %86, label %53, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %81 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %49 br label %87 87: ; preds = %.loopexit, %77 %88 = load ptr, ptr %8, align 8 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %101 90: ; preds = %87 %91 = load i32, ptr @stderr, align 4 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds ptr, ptr %92, i64 1 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds ptr, ptr %95, i64 2 %97 = load ptr, ptr %96, align 8 %98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.2, ptr noundef %94, ptr noundef %97) %99 = load i32, ptr @EXIT_FAILURE, align 4 %100 = call i32 @exit(i32 noundef %99) #3 unreachable 101: ; preds = %87 %102 = load ptr, ptr %7, align 8 %103 = call i32 @freeaddrinfo(ptr noundef %102) store i32 3, ptr %11, align 4 %104 = load i32, ptr %11, align 4 %105 = load i32, ptr %4, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph1, label %168 .lr.ph1: ; preds = %101 br label %107 107: ; preds = %.lr.ph1, %162 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strlen(ptr noundef %112) %114 = add nsw i32 %113, 1 %115 = sext i32 %114 to i64 store i64 %115, ptr %12, align 8 %116 = load i64, ptr %12, align 8 %117 = add i64 %116, 1 %118 = icmp ugt i64 %117, 500 br i1 %118, label %119, label %123 119: ; preds = %107 %120 = load i32, ptr @stderr, align 4 %121 = load i32, ptr %11, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.3, i32 noundef %121) br label %162 123: ; preds = %107 %124 = load i32, ptr %9, align 4 %125 = load ptr, ptr %5, align 8 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds ptr, ptr %125, i64 %127 %129 = load ptr, ptr %128, align 8 %130 = load i64, ptr %12, align 8 %131 = call i64 @write(i32 noundef %124, ptr noundef %129, i64 noundef %130) %132 = load i64, ptr %12, align 8 %133 = icmp ne i64 %131, %132 br i1 %133, label %134, label %139 134: ; preds = %123 %135 = load i32, ptr @stderr, align 4 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef @.str.4) %137 = load i32, ptr @EXIT_FAILURE, align 4 %138 = call i32 @exit(i32 noundef %137) #3 unreachable 139: ; preds = %123 %140 = load i64, ptr %12, align 8 %141 = load ptr, ptr %5, align 8 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %141, i64 %143 %145 = load ptr, ptr %144, align 8 %146 = call i32 @printf(ptr noundef @.str.5, i64 noundef %140, ptr noundef %145) br label %147 147: ; preds = %139 %148 = load i32, ptr %9, align 4 %149 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %150 = call i32 @read(i32 noundef %148, ptr noundef %149, i32 noundef 500) store i32 %150, ptr %13, align 4 %151 = load i32, ptr %13, align 4 %152 = icmp eq i32 %151, -1 br i1 %152, label %153, label %157 153: ; preds = %147 %154 = call i32 @perror(ptr noundef @.str.6) %155 = load i32, ptr @EXIT_FAILURE, align 4 %156 = call i32 @exit(i32 noundef %155) #3 unreachable 157: ; preds = %147 %158 = load i32, ptr %13, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [500 x i8], ptr %14, i64 0, i64 0 %161 = call i32 @printf(ptr noundef @.str.7, i64 noundef %159, ptr noundef %160) br label %162 162: ; preds = %157, %119 %163 = load i32, ptr %11, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %11, align 4 %165 = load i32, ptr %11, align 4 %166 = load i32, ptr %4, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %107, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %162 br label %168 168: ; preds = %._crit_edge, %101 %169 = load i32, ptr @EXIT_SUCCESS, align 4 %170 = call i32 @exit(i32 noundef %169) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpunavgc2i.c' source_filename = "/tmp/tmpunavgc2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sock_addr_len(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %12 [ i32 130, label %7 i32 129, label %8 i32 128, label %9 ] 7: ; preds = %2 store i64 4, ptr %3, align 8 br label %13 8: ; preds = %2 store i64 4, ptr %3, align 8 br label %13 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = call i64 @SUN_LEN(ptr noundef %10) store i64 %11, ptr %3, align 8 br label %13 12: ; preds = %2 store i64 0, ptr %3, align 8 br label %13 13: ; preds = %12, %9, %8, %7 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @SUN_LEN(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpunavgc2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sock_addr_len(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %12 [ i32 130, label %7 i32 129, label %8 i32 128, label %9 ] 7: ; preds = %2 store i64 4, ptr %3, align 8 br label %13 8: ; preds = %2 store i64 4, ptr %3, align 8 br label %13 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = call i64 @SUN_LEN(ptr noundef %10) store i64 %11, ptr %3, align 8 br label %13 12: ; preds = %2 store i64 0, ptr %3, align 8 br label %13 13: ; preds = %12, %9, %8, %7 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @SUN_LEN(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppoalrqcb.c' source_filename = "/tmp/tmppoalrqcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for %\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x25() #0 { %1 = call i64 @islower(i32 noundef 37) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 190, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmppoalrqcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for %\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x25() #0 { %1 = call i64 @islower(i32 noundef 37) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 190, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpt6zixxrw.c' source_filename = "/tmp/tmpt6zixxrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Cannot allocate memory in get_4d_mem_float\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_4d_mem_float(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = call i64 @calloc(i32 noundef %13, i32 noundef 8) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %4 %18 = call i32 @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %4 store i32 0, ptr %12, align 4 br label %21 21: ; preds = %92, %20 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %95 25: ; preds = %21 %26 = load i32, ptr %6, align 4 %27 = call i64 @calloc(i32 noundef %26, i32 noundef 8) %28 = inttoptr i64 %27 to ptr %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %12, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 store ptr %28, ptr %32, align 8 %33 = icmp ne ptr %28, null br i1 %33, label %37, label %34 34: ; preds = %25 %35 = call i32 @printf(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %25 store i32 0, ptr %11, align 4 br label %38 38: ; preds = %88, %37 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %91 42: ; preds = %38 %43 = load i32, ptr %7, align 4 %44 = call i64 @calloc(i32 noundef %43, i32 noundef 8) %45 = inttoptr i64 %44 to ptr %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %12, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %11, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 store ptr %45, ptr %53, align 8 %54 = icmp ne ptr %45, null br i1 %54, label %58, label %55 55: ; preds = %42 %56 = call i32 @printf(ptr noundef @.str) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %42 store i32 0, ptr %10, align 4 br label %59 59: ; preds = %84, %58 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %87 63: ; preds = %59 %64 = load i32, ptr %8, align 4 %65 = call i64 @calloc(i32 noundef %64, i32 noundef 4) %66 = inttoptr i64 %65 to ptr %67 = load ptr, ptr %9, align 8 %68 = load i32, ptr %12, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %11, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %71, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 store ptr %66, ptr %78, align 8 %79 = icmp ne ptr %66, null br i1 %79, label %83, label %80 80: ; preds = %63 %81 = call i32 @printf(ptr noundef @.str) %82 = call i32 @exit(i32 noundef 1) #3 unreachable 83: ; preds = %63 br label %84 84: ; preds = %83 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 br label %59, !llvm.loop !6 87: ; preds = %59 br label %88 88: ; preds = %87 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %11, align 4 br label %38, !llvm.loop !8 91: ; preds = %38 br label %92 92: ; preds = %91 %93 = load i32, ptr %12, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %12, align 4 br label %21, !llvm.loop !9 95: ; preds = %21 %96 = load ptr, ptr %9, align 8 ret ptr %96 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6zixxrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Cannot allocate memory in get_4d_mem_float\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_4d_mem_float(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = call i64 @calloc(i32 noundef %13, i32 noundef 8) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %4 %18 = call i32 @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %4 store i32 0, ptr %12, align 4 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph5, label %101 .lr.ph5: ; preds = %20 br label %24 24: ; preds = %.lr.ph5, %95 %25 = load i32, ptr %6, align 4 %26 = call i64 @calloc(i32 noundef %25, i32 noundef 8) %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %12, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 store ptr %27, ptr %31, align 8 %32 = icmp ne ptr %27, null br i1 %32, label %36, label %33 33: ; preds = %24 %34 = call i32 @printf(ptr noundef @.str) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %24 store i32 0, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %94 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %88 %41 = load i32, ptr %7, align 4 %42 = call i64 @calloc(i32 noundef %41, i32 noundef 8) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %12, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 store ptr %43, ptr %51, align 8 %52 = icmp ne ptr %43, null br i1 %52, label %56, label %53 53: ; preds = %40 %54 = call i32 @printf(ptr noundef @.str) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %40 store i32 0, ptr %10, align 4 %57 = load i32, ptr %10, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph, label %87 .lr.ph: ; preds = %56 br label %60 60: ; preds = %.lr.ph, %81 %61 = load i32, ptr %8, align 4 %62 = call i64 @calloc(i32 noundef %61, i32 noundef 4) %63 = inttoptr i64 %62 to ptr %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %12, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 store ptr %63, ptr %75, align 8 %76 = icmp ne ptr %63, null br i1 %76, label %80, label %77 77: ; preds = %60 %78 = call i32 @printf(ptr noundef @.str) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %60 br label %81 81: ; preds = %80 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %10, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %7, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %56 br label %88 88: ; preds = %87 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %11, align 4 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %6, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %88 br label %94 94: ; preds = %._crit_edge3, %36 br label %95 95: ; preds = %94 %96 = load i32, ptr %12, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %12, align 4 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %24, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %95 br label %101 101: ; preds = %._crit_edge6, %20 %102 = load ptr, ptr %9, align 8 ret ptr %102 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmppg2nc3cu.c' source_filename = "/tmp/tmppg2nc3cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_drv_radio802154_notify_energy_detected(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @nrf_drv_radio802154_swi_notify_energy_detected(i32 noundef %3) ret void } declare i32 @nrf_drv_radio802154_swi_notify_energy_detected(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/tmppg2nc3cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_drv_radio802154_notify_energy_detected(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @nrf_drv_radio802154_swi_notify_energy_detected(i32 noundef %3) ret void } declare i32 @nrf_drv_radio802154_swi_notify_energy_detected(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/tmpg0z7n4pj.c' source_filename = "/tmp/tmpg0z7n4pj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"exit program!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @opensem() %5 = call i32 (...) @createS_M() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call ptr @shmat(i32 noundef %6, ptr noundef null, i32 noundef 0) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @sender(ptr noundef %8) %10 = call i32 (...) @detachsem() %11 = call i32 (...) @deletesem() %12 = load ptr, ptr %3, align 8 %13 = call i32 @detachS_M(ptr noundef %12) %14 = load i32, ptr %2, align 4 %15 = call i32 @deleteS_M(i32 noundef %14) %16 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @opensem(...) #1 declare i32 @createS_M(...) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sender(ptr noundef) #1 declare i32 @detachsem(...) #1 declare i32 @deletesem(...) #1 declare i32 @detachS_M(ptr noundef) #1 declare i32 @deleteS_M(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0z7n4pj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"exit program!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @opensem() %5 = call i32 (...) @createS_M() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call ptr @shmat(i32 noundef %6, ptr noundef null, i32 noundef 0) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @sender(ptr noundef %8) %10 = call i32 (...) @detachsem() %11 = call i32 (...) @deletesem() %12 = load ptr, ptr %3, align 8 %13 = call i32 @detachS_M(ptr noundef %12) %14 = load i32, ptr %2, align 4 %15 = call i32 @deleteS_M(i32 noundef %14) %16 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @opensem(...) #1 declare i32 @createS_M(...) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sender(ptr noundef) #1 declare i32 @detachsem(...) #1 declare i32 @deletesem(...) #1 declare i32 @detachS_M(ptr noundef) #1 declare i32 @deleteS_M(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg3x22nc8.c' source_filename = "/tmp/tmpg3x22nc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @sqr_sum_line(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 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %24 8: ; preds = %1 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 @sqr_sum_line(i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = add nsw i32 %15, %18 store i32 %19, ptr %2, align 4 br label %24 20: ; preds = %8 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, 1 %23 = call i32 @sqr_sum_line(i32 noundef %22) store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %20, %12, %7 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg3x22nc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @sqr_sum_line(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 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %24 8: ; preds = %1 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 @sqr_sum_line(i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = add nsw i32 %15, %18 store i32 %19, ptr %2, align 4 br label %24 20: ; preds = %8 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, 1 %23 = call i32 @sqr_sum_line(i32 noundef %22) store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %20, %12, %7 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0wv12upr.c' source_filename = "/tmp/tmp0wv12upr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c".html\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".xml\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"application/xml\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c".pgn\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"image/pgn\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c".jpg\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"image/jpeg\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c".gif\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"image/gif\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c".ico\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"image/x-icon\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c".pdf\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"application/pdf\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_filetype(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str.1) br label %62 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strstr(ptr noundef %12, ptr noundef @.str.2) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.3) br label %61 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.4) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.5) br label %60 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i64 @strstr(ptr noundef %26, ptr noundef @.str.6) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = call i32 @strcpy(ptr noundef %30, ptr noundef @.str.7) br label %59 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = call i64 @strstr(ptr noundef %33, ptr noundef @.str.8) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.9) br label %58 39: ; preds = %32 %40 = load ptr, ptr %3, align 8 %41 = call i64 @strstr(ptr noundef %40, ptr noundef @.str.10) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load ptr, ptr %4, align 8 %45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.11) br label %57 46: ; preds = %39 %47 = load ptr, ptr %3, align 8 %48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.12) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %46 %51 = load ptr, ptr %4, align 8 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef @.str.13) br label %56 53: ; preds = %46 %54 = load ptr, ptr %4, align 8 %55 = call i32 @strcpy(ptr noundef %54, ptr noundef @.str.14) br label %56 56: ; preds = %53, %50 br label %57 57: ; preds = %56, %43 br label %58 58: ; preds = %57, %36 br label %59 59: ; preds = %58, %29 br label %60 60: ; preds = %59, %22 br label %61 61: ; preds = %60, %15 br label %62 62: ; preds = %61, %8 ret void } declare i64 @strstr(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0wv12upr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c".html\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".xml\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"application/xml\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c".pgn\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"image/pgn\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c".jpg\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"image/jpeg\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c".gif\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"image/gif\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c".ico\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"image/x-icon\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c".pdf\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"application/pdf\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_filetype(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str.1) br label %62 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strstr(ptr noundef %12, ptr noundef @.str.2) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.3) br label %61 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.4) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.5) br label %60 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = call i64 @strstr(ptr noundef %26, ptr noundef @.str.6) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = call i32 @strcpy(ptr noundef %30, ptr noundef @.str.7) br label %59 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = call i64 @strstr(ptr noundef %33, ptr noundef @.str.8) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str.9) br label %58 39: ; preds = %32 %40 = load ptr, ptr %3, align 8 %41 = call i64 @strstr(ptr noundef %40, ptr noundef @.str.10) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load ptr, ptr %4, align 8 %45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.11) br label %57 46: ; preds = %39 %47 = load ptr, ptr %3, align 8 %48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.12) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %46 %51 = load ptr, ptr %4, align 8 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef @.str.13) br label %56 53: ; preds = %46 %54 = load ptr, ptr %4, align 8 %55 = call i32 @strcpy(ptr noundef %54, ptr noundef @.str.14) br label %56 56: ; preds = %53, %50 br label %57 57: ; preds = %56, %43 br label %58 58: ; preds = %57, %36 br label %59 59: ; preds = %58, %29 br label %60 60: ; preds = %59, %22 br label %61 61: ; preds = %60, %15 br label %62 62: ; preds = %61, %8 ret void } declare i64 @strstr(ptr noundef, 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"}
; ModuleID = '/tmp/tmpwjtc8p_d.c' source_filename = "/tmp/tmpwjtc8p_d.c" target datalayout = "e-m:e-p270: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/tmpwjtc8p_d.c" target datalayout = "e-m:e-p270: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/tmptwcvs1zq.c' source_filename = "/tmp/tmptwcvs1zq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"socket(natpmp): %m\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"bind(natpmp): %m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @OpenAndConfNATPMPSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr @PF_INET, align 4 %7 = load i32, ptr @SOCK_DGRAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @LOG_ERR, align 4 %13 = call i32 @syslog(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %34 14: ; preds = %1 %15 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 5351) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load i32, ptr %4, align 4 %24 = call i64 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %14 %27 = load i32, ptr @LOG_ERR, align 4 %28 = call i32 @syslog(i32 noundef %27, ptr noundef @.str.1) %29 = load i32, ptr %4, align 4 %30 = call i32 @close(i32 noundef %29) store i32 -1, ptr %2, align 4 br label %34 31: ; preds = %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %32, %26, %11 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptwcvs1zq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"socket(natpmp): %m\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"bind(natpmp): %m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @OpenAndConfNATPMPSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr @PF_INET, align 4 %7 = load i32, ptr @SOCK_DGRAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @LOG_ERR, align 4 %13 = call i32 @syslog(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %34 14: ; preds = %1 %15 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 5351) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load i32, ptr %4, align 4 %24 = call i64 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %14 %27 = load i32, ptr @LOG_ERR, align 4 %28 = call i32 @syslog(i32 noundef %27, ptr noundef @.str.1) %29 = load i32, ptr %4, align 4 %30 = call i32 @close(i32 noundef %29) store i32 -1, ptr %2, align 4 br label %34 31: ; preds = %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %32, %26, %11 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp46vosjsu.c' source_filename = "/tmp/tmp46vosjsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rxnparam_erfccD(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 %6 = load double, ptr %2, align 8 %7 = call double @llvm.fabs.f64(double %6) store double %7, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %8, double 1.000000e+00) %10 = fdiv double 1.000000e+00, %9 store double %10, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr %4, align 8 %13 = fneg double %12 %14 = load double, ptr %4, align 8 %15 = call double @llvm.fmuladd.f64(double %13, double %14, double 0xBFF43F89C0889BC5) %16 = load double, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %3, align 8 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = call double @llvm.fmuladd.f64(double %24, double 0x3FC5DF28AF76A5A4, double 0xBFEA4F123185DEFD) %26 = call double @llvm.fmuladd.f64(double %23, double %25, double 0x3FF7D0F60453A1BE) %27 = call double @llvm.fmuladd.f64(double %22, double %26, double 0xBFF229CBA6063980) %28 = call double @llvm.fmuladd.f64(double %21, double %27, double 0x3FD1D8F976231CE6) %29 = call double @llvm.fmuladd.f64(double %20, double %28, double 0xBFC7D84982AAEAA5) %30 = call double @llvm.fmuladd.f64(double %19, double %29, double 0x3FB8C6D917DEC3F0) %31 = call double @llvm.fmuladd.f64(double %18, double %30, double 0x3FD7F11F677960EA) %32 = call double @llvm.fmuladd.f64(double %17, double %31, double 0x3FF00018D48D3588) %33 = call double @llvm.fmuladd.f64(double %16, double %32, double %15) %34 = call double @exp(double noundef %33) #3 %35 = fmul double %11, %34 store double %35, ptr %5, align 8 %36 = load double, ptr %2, align 8 %37 = fcmp oge double %36, 0.000000e+00 br i1 %37, label %38, label %40 38: ; preds = %1 %39 = load double, ptr %5, align 8 br label %43 40: ; preds = %1 %41 = load double, ptr %5, align 8 %42 = fsub double 2.000000e+00, %41 br label %43 43: ; preds = %40, %38 %44 = phi double [ %39, %38 ], [ %42, %40 ] ret double %44 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp46vosjsu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rxnparam_erfccD(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 %6 = load double, ptr %2, align 8 %7 = call double @llvm.fabs.f64(double %6) store double %7, ptr %4, align 8 %8 = load double, ptr %4, align 8 %9 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %8, double 1.000000e+00) %10 = fdiv double 1.000000e+00, %9 store double %10, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = load double, ptr %4, align 8 %13 = fneg double %12 %14 = load double, ptr %4, align 8 %15 = call double @llvm.fmuladd.f64(double %13, double %14, double 0xBFF43F89C0889BC5) %16 = load double, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %3, align 8 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = call double @llvm.fmuladd.f64(double %24, double 0x3FC5DF28AF76A5A4, double 0xBFEA4F123185DEFD) %26 = call double @llvm.fmuladd.f64(double %23, double %25, double 0x3FF7D0F60453A1BE) %27 = call double @llvm.fmuladd.f64(double %22, double %26, double 0xBFF229CBA6063980) %28 = call double @llvm.fmuladd.f64(double %21, double %27, double 0x3FD1D8F976231CE6) %29 = call double @llvm.fmuladd.f64(double %20, double %28, double 0xBFC7D84982AAEAA5) %30 = call double @llvm.fmuladd.f64(double %19, double %29, double 0x3FB8C6D917DEC3F0) %31 = call double @llvm.fmuladd.f64(double %18, double %30, double 0x3FD7F11F677960EA) %32 = call double @llvm.fmuladd.f64(double %17, double %31, double 0x3FF00018D48D3588) %33 = call double @llvm.fmuladd.f64(double %16, double %32, double %15) %34 = call double @exp(double noundef %33) #3 %35 = fmul double %11, %34 store double %35, ptr %5, align 8 %36 = load double, ptr %2, align 8 %37 = fcmp oge double %36, 0.000000e+00 br i1 %37, label %38, label %40 38: ; preds = %1 %39 = load double, ptr %5, align 8 br label %43 40: ; preds = %1 %41 = load double, ptr %5, align 8 %42 = fsub double 2.000000e+00, %41 br label %43 43: ; preds = %40, %38 %44 = phi double [ %39, %38 ], [ %42, %40 ] ret double %44 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(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"}
; ModuleID = '/tmp/tmp71k44s_8.c' source_filename = "/tmp/tmp71k44s_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [12 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5) ret i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71k44s_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [12 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5) ret i32 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"}
; ModuleID = '/tmp/tmp85kf61un.c' source_filename = "/tmp/tmp85kf61un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dvl_convert16(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = zext i8 %5 to i32 %7 = shl i32 %6, 8 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = or i32 %7, %9 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp85kf61un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dvl_convert16(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = zext i8 %5 to i32 %7 = shl i32 %6, 8 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = or i32 %7, %9 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpftm4sa23.c' source_filename = "/tmp/tmpftm4sa23.c" target datalayout = "e-m:e-p270: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/tmpftm4sa23.c" target datalayout = "e-m:e-p270: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/tmpgui4lyhn.c' source_filename = "/tmp/tmpgui4lyhn.c" target datalayout = "e-m:e-p270: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/tmpgui4lyhn.c" target datalayout = "e-m:e-p270: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/tmp5ewa7zxj.c' source_filename = "/tmp/tmp5ewa7zxj.c" target datalayout = "e-m:e-p270: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/tmp5ewa7zxj.c" target datalayout = "e-m:e-p270: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/tmp79wogdpj.c' source_filename = "/tmp/tmp79wogdpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %7 = alloca ptr, align 8 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = call ptr (...) @get_data() %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %8, align 1 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @get_data(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79wogdpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %7 = alloca ptr, align 8 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = call ptr (...) @get_data() %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %8, align 1 ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @get_data(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9uj4n9d5.c' source_filename = "/tmp/tmp9uj4n9d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strToUlong(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %7 = load ptr, ptr %5, align 8 store ptr %7, ptr %6, align 8 br label %8 8: ; preds = %19, %2 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = call i32 @isdigit(i8 noundef signext %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 0, ptr %3, align 4 br label %26 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %6, align 8 br label %8, !llvm.loop !6 22: ; preds = %8 %23 = load ptr, ptr %5, align 8 %24 = call i64 @strtoul(ptr noundef %23, ptr noundef null, i32 noundef 10) %25 = load ptr, ptr %4, align 8 store i64 %24, ptr %25, align 8 store i32 1, ptr %3, align 4 br label %26 26: ; preds = %22, %17 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i32 @isdigit(i8 noundef signext) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9uj4n9d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strToUlong(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %7 = load ptr, ptr %5, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %18 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = call i32 @isdigit(i8 noundef signext %13) %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %11 store i32 0, ptr %3, align 4 br label %28 17: ; preds = %11 br label %18 18: ; preds = %17 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = load ptr, ptr %5, align 8 %26 = call i64 @strtoul(ptr noundef %25, ptr noundef null, i32 noundef 10) %27 = load ptr, ptr %4, align 8 store i64 %26, ptr %27, align 8 store i32 1, ptr %3, align 4 br label %28 28: ; preds = %24, %16 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @isdigit(i8 noundef signext) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpob5q3lzy.c' source_filename = "/tmp/tmpob5q3lzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSelectionRequestEvent_selection(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpob5q3lzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSelectionRequestEvent_selection(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwbvyw0fl.c' source_filename = "/tmp/tmpwbvyw0fl.c" target datalayout = "e-m:e-p270: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/tmpwbvyw0fl.c" target datalayout = "e-m:e-p270: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/tmp0vbysdvs.c' source_filename = "/tmp/tmp0vbysdvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nibseq_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 = icmp ne ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @_nibseq_init(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) br label %10 10: ; preds = %5, %1 ret void } declare i32 @_nibseq_init(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/tmp0vbysdvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nibseq_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 = icmp ne ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @_nibseq_init(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) br label %10 10: ; preds = %5, %1 ret void } declare i32 @_nibseq_init(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/tmptseig9s9.c' source_filename = "/tmp/tmptseig9s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_end_of_song(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sv_end_of_song(i32 noundef %3) ret i32 %4 } declare i32 @sv_end_of_song(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/tmptseig9s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_end_of_song(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sv_end_of_song(i32 noundef %3) ret i32 %4 } declare i32 @sv_end_of_song(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/tmpsjoemwwt.c' source_filename = "/tmp/tmpsjoemwwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR89\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMR89_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsjoemwwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR89\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @U_WMR89_set() #0 { %1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str) ret ptr %1 } declare ptr @U_WMRCORENONE_set(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgnhy92ds.c' source_filename = "/tmp/tmpgnhy92ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"memory error %s (%d byte)\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"radix_sort\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = sub nsw i32 %21, %22 %24 = call ptr @intarray_malloc_const(i32 noundef %23, i32 noundef -1) store ptr %24, ptr %17, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %16, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %39, label %32 32: ; preds = %7 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 4, %34 %36 = trunc i64 %35 to i32 %37 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %7 store i32 0, ptr %19, align 4 br label %40 40: ; preds = %68, %39 %41 = load i32, ptr %19, align 4 %42 = load i32, ptr %10, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %71 44: ; preds = %40 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %19, align 4 %48 = mul nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %45, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %12, align 4 %53 = sub nsw i32 %51, %52 store i32 %53, ptr %18, align 4 %54 = load ptr, ptr %17, align 8 %55 = load i32, ptr %18, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %16, align 8 %60 = load i32, ptr %19, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 %58, ptr %62, align 4 %63 = load i32, ptr %19, align 4 %64 = load ptr, ptr %17, align 8 %65 = load i32, ptr %18, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 store i32 %63, ptr %67, align 4 br label %68 68: ; preds = %44 %69 = load i32, ptr %19, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %19, align 4 br label %40, !llvm.loop !6 71: ; preds = %40 %72 = load ptr, ptr %14, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %74, label %132 74: ; preds = %71 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %75 75: ; preds = %116, %74 %76 = load i32, ptr %18, align 4 %77 = load i32, ptr %13, align 4 %78 = load i32, ptr %12, align 4 %79 = sub nsw i32 %77, %78 %80 = icmp slt i32 %76, %79 br i1 %80, label %81, label %119 81: ; preds = %75 br label %82 82: ; preds = %89, %81 %83 = load ptr, ptr %17, align 8 %84 = load i32, ptr %18, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = icmp sge i32 %87, 0 br i1 %88, label %89, label %115 89: ; preds = %82 %90 = load ptr, ptr %17, align 8 %91 = load i32, ptr %18, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 store i32 %94, ptr %20, align 4 %95 = load ptr, ptr %16, align 8 %96 = load i32, ptr %20, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %17, align 8 %101 = load i32, ptr %18, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 store i32 %99, ptr %103, align 4 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %19, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = load ptr, ptr %16, align 8 %110 = load i32, ptr %20, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 store i32 %108, ptr %112, align 4 %113 = load i32, ptr %19, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %19, align 4 br label %82, !llvm.loop !8 115: ; preds = %82 br label %116 116: ; preds = %115 %117 = load i32, ptr %18, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %18, align 4 br label %75, !llvm.loop !9 119: ; preds = %75 %120 = load ptr, ptr %14, align 8 %121 = load ptr, ptr %16, align 8 %122 = load i32, ptr %10, align 4 %123 = sext i32 %122 to i64 %124 = mul i64 4, %123 %125 = trunc i64 %124 to i32 %126 = call i32 @memcpy(ptr noundef %120, ptr noundef %121, i32 noundef %125) %127 = load ptr, ptr %16, align 8 %128 = call i32 @free(ptr noundef %127) %129 = load ptr, ptr %17, align 8 %130 = call i32 @free(ptr noundef %129) %131 = load ptr, ptr %14, align 8 store ptr %131, ptr %8, align 8 br label %177 132: ; preds = %71 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %133 133: ; preds = %170, %132 %134 = load i32, ptr %18, align 4 %135 = load i32, ptr %13, align 4 %136 = load i32, ptr %12, align 4 %137 = sub nsw i32 %135, %136 %138 = icmp slt i32 %134, %137 br i1 %138, label %139, label %173 139: ; preds = %133 br label %140 140: ; preds = %147, %139 %141 = load ptr, ptr %17, align 8 %142 = load i32, ptr %18, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %141, i64 %143 %145 = load i32, ptr %144, align 4 %146 = icmp sge i32 %145, 0 br i1 %146, label %147, label %169 147: ; preds = %140 %148 = load ptr, ptr %17, align 8 %149 = load i32, ptr %18, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 store i32 %152, ptr %20, align 4 %153 = load ptr, ptr %16, align 8 %154 = load i32, ptr %20, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %153, i64 %155 %157 = load i32, ptr %156, align 4 %158 = load ptr, ptr %17, align 8 %159 = load i32, ptr %18, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 store i32 %157, ptr %161, align 4 %162 = load i32, ptr %19, align 4 %163 = load ptr, ptr %16, align 8 %164 = load i32, ptr %20, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %163, i64 %165 store i32 %162, ptr %166, align 4 %167 = load i32, ptr %19, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %19, align 4 br label %140, !llvm.loop !10 169: ; preds = %140 br label %170 170: ; preds = %169 %171 = load i32, ptr %18, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %18, align 4 br label %133, !llvm.loop !11 173: ; preds = %133 %174 = load ptr, ptr %17, align 8 %175 = call i32 @free(ptr noundef %174) %176 = load ptr, ptr %16, align 8 store ptr %176, ptr %8, align 8 br label %177 177: ; preds = %173, %119 %178 = load ptr, ptr %8, align 8 ret ptr %178 } declare ptr @intarray_malloc_const(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgnhy92ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"memory error %s (%d byte)\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"radix_sort\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = sub nsw i32 %21, %22 %24 = call ptr @intarray_malloc_const(i32 noundef %23, i32 noundef -1) store ptr %24, ptr %17, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %16, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %39, label %32 32: ; preds = %7 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 4, %34 %36 = trunc i64 %35 to i32 %37 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %7 store i32 0, ptr %19, align 4 %40 = load i32, ptr %19, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph, label %73 .lr.ph: ; preds = %39 br label %43 43: ; preds = %.lr.ph, %67 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %11, align 4 %46 = load i32, ptr %19, align 4 %47 = mul nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %44, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %12, align 4 %52 = sub nsw i32 %50, %51 store i32 %52, ptr %18, align 4 %53 = load ptr, ptr %17, align 8 %54 = load i32, ptr %18, 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 %16, align 8 %59 = load i32, ptr %19, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 store i32 %57, ptr %61, align 4 %62 = load i32, ptr %19, align 4 %63 = load ptr, ptr %17, align 8 %64 = load i32, ptr %18, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 store i32 %62, ptr %66, align 4 br label %67 67: ; preds = %43 %68 = load i32, ptr %19, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %19, align 4 %70 = load i32, ptr %19, align 4 %71 = load i32, ptr %10, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %39 %74 = load ptr, ptr %14, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %143 76: ; preds = %73 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %77 = load i32, ptr %18, align 4 %78 = load i32, ptr %13, align 4 %79 = load i32, ptr %12, align 4 %80 = sub nsw i32 %78, %79 %81 = icmp slt i32 %77, %80 br i1 %81, label %.lr.ph11, label %130 .lr.ph11: ; preds = %76 br label %82 82: ; preds = %.lr.ph11, %122 %83 = load ptr, ptr %17, align 8 %84 = load i32, ptr %18, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = icmp sge i32 %87, 0 br i1 %88, label %.lr.ph8, label %121 .lr.ph8: ; preds = %82 br label %89 89: ; preds = %.lr.ph8, %89 %90 = load ptr, ptr %17, align 8 %91 = load i32, ptr %18, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 store i32 %94, ptr %20, align 4 %95 = load ptr, ptr %16, align 8 %96 = load i32, ptr %20, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %17, align 8 %101 = load i32, ptr %18, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 store i32 %99, ptr %103, align 4 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %19, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = load ptr, ptr %16, align 8 %110 = load i32, ptr %20, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 store i32 %108, ptr %112, align 4 %113 = load i32, ptr %19, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %19, align 4 %115 = load ptr, ptr %17, align 8 %116 = load i32, ptr %18, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 %119 = load i32, ptr %118, align 4 %120 = icmp sge i32 %119, 0 br i1 %120, label %89, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %89 br label %121 121: ; preds = %._crit_edge9, %82 br label %122 122: ; preds = %121 %123 = load i32, ptr %18, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %18, align 4 %125 = load i32, ptr %18, align 4 %126 = load i32, ptr %13, align 4 %127 = load i32, ptr %12, align 4 %128 = sub nsw i32 %126, %127 %129 = icmp slt i32 %125, %128 br i1 %129, label %82, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %122 br label %130 130: ; preds = %._crit_edge12, %76 %131 = load ptr, ptr %14, align 8 %132 = load ptr, ptr %16, align 8 %133 = load i32, ptr %10, align 4 %134 = sext i32 %133 to i64 %135 = mul i64 4, %134 %136 = trunc i64 %135 to i32 %137 = call i32 @memcpy(ptr noundef %131, ptr noundef %132, i32 noundef %136) %138 = load ptr, ptr %16, align 8 %139 = call i32 @free(ptr noundef %138) %140 = load ptr, ptr %17, align 8 %141 = call i32 @free(ptr noundef %140) %142 = load ptr, ptr %14, align 8 store ptr %142, ptr %8, align 8 br label %197 143: ; preds = %73 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %144 = load i32, ptr %18, align 4 %145 = load i32, ptr %13, align 4 %146 = load i32, ptr %12, align 4 %147 = sub nsw i32 %145, %146 %148 = icmp slt i32 %144, %147 br i1 %148, label %.lr.ph5, label %193 .lr.ph5: ; preds = %143 br label %149 149: ; preds = %.lr.ph5, %185 %150 = load ptr, ptr %17, align 8 %151 = load i32, ptr %18, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 %155 = icmp sge i32 %154, 0 br i1 %155, label %.lr.ph2, label %184 .lr.ph2: ; preds = %149 br label %156 156: ; preds = %.lr.ph2, %156 %157 = load ptr, ptr %17, align 8 %158 = load i32, ptr %18, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %157, i64 %159 %161 = load i32, ptr %160, align 4 store i32 %161, ptr %20, align 4 %162 = load ptr, ptr %16, align 8 %163 = load i32, ptr %20, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i32, ptr %162, i64 %164 %166 = load i32, ptr %165, align 4 %167 = load ptr, ptr %17, align 8 %168 = load i32, ptr %18, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %167, i64 %169 store i32 %166, ptr %170, align 4 %171 = load i32, ptr %19, align 4 %172 = load ptr, ptr %16, align 8 %173 = load i32, ptr %20, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i32, ptr %172, i64 %174 store i32 %171, ptr %175, align 4 %176 = load i32, ptr %19, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %19, align 4 %178 = load ptr, ptr %17, align 8 %179 = load i32, ptr %18, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i32, ptr %178, i64 %180 %182 = load i32, ptr %181, align 4 %183 = icmp sge i32 %182, 0 br i1 %183, label %156, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %156 br label %184 184: ; preds = %._crit_edge3, %149 br label %185 185: ; preds = %184 %186 = load i32, ptr %18, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %18, align 4 %188 = load i32, ptr %18, align 4 %189 = load i32, ptr %13, align 4 %190 = load i32, ptr %12, align 4 %191 = sub nsw i32 %189, %190 %192 = icmp slt i32 %188, %191 br i1 %192, label %149, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %185 br label %193 193: ; preds = %._crit_edge6, %143 %194 = load ptr, ptr %17, align 8 %195 = call i32 @free(ptr noundef %194) %196 = load ptr, ptr %16, align 8 store ptr %196, ptr %8, align 8 br label %197 197: ; preds = %193, %130 %198 = load ptr, ptr %8, align 8 ret ptr %198 } declare ptr @intarray_malloc_const(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmprsrb4my3.c' source_filename = "/tmp/tmprsrb4my3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @option_write_real(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %7, align 8 %11 = load double, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @write_real(ptr noundef %9, double noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @write_real(ptr noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprsrb4my3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @option_write_real(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %7, align 8 %11 = load double, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @write_real(ptr noundef %9, double noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @write_real(ptr noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppf9w18z3.c' source_filename = "/tmp/tmppf9w18z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @float_aleatorio(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = call i64 (...) @rand() %4 = sitofp i64 %3 to float %5 = load i64, ptr @RAND_MAX, align 8 %6 = sitofp i64 %5 to float %7 = fdiv float %4, %6 %8 = load float, ptr %2, align 4 %9 = fmul float %7, %8 ret float %9 } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppf9w18z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @float_aleatorio(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = call i64 (...) @rand() %4 = sitofp i64 %3 to float %5 = load i64, ptr @RAND_MAX, align 8 %6 = sitofp i64 %5 to float %7 = fdiv float %4, %6 %8 = load float, ptr %2, align 4 %9 = fmul float %7, %8 ret float %9 } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppizlx30u.c' source_filename = "/tmp/tmppizlx30u.c" target datalayout = "e-m:e-p270: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/tmppizlx30u.c" target datalayout = "e-m:e-p270: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/tmpadnf58sa.c' source_filename = "/tmp/tmpadnf58sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 %7, align 4 store i32 32, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %11, align 8 %17 = load ptr, ptr %11, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 store i8 0, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 @printf(ptr noundef @.str, ptr noundef %24) store i32 1, ptr %3, align 4 br label %100 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %94, %26 %32 = load ptr, ptr %6, align 8 %33 = call signext i8 @getc(ptr noundef %32) store i8 %33, ptr %9, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr @EOF, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %34, %36 br i1 %37, label %41, label %38 38: ; preds = %31 %39 = load i32, ptr %7, align 4 %40 = icmp ugt i32 %39, 0 br label %41 41: ; preds = %38, %31 %42 = phi i1 [ true, %31 ], [ %40, %38 ] br i1 %42, label %43, label %95 43: ; preds = %41 %44 = load i8, ptr %9, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %53, label %47 47: ; preds = %43 %48 = load i8, ptr %9, align 1 %49 = sext i8 %48 to i32 %50 = load i8, ptr @EOF, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %49, %51 br i1 %52, label %53, label %58 53: ; preds = %47, %43 %54 = load ptr, ptr %11, align 8 %55 = call i32 @printf(ptr noundef @.str.2, ptr noundef %54) %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 store i8 0, ptr %57, align 1 store i32 0, ptr %7, align 4 br label %94 58: ; preds = %47 %59 = load i8, ptr %9, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 32 br i1 %61, label %62, label %70 62: ; preds = %58 %63 = load ptr, ptr %11, align 8 store ptr %63, ptr %12, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %7, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 0, ptr %67, align 1 %68 = load ptr, ptr %10, align 8 store ptr %68, ptr %11, align 8 %69 = load ptr, ptr %12, align 8 store ptr %69, ptr %10, align 8 store i32 0, ptr %7, align 4 br label %93 70: ; preds = %58 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %8, align 4 %73 = sub i32 %72, 1 %74 = icmp eq i32 %71, %73 br i1 %74, label %75, label %86 75: ; preds = %70 %76 = load i32, ptr %8, align 4 %77 = udiv i32 %76, 2 %78 = load i32, ptr %8, align 4 %79 = add i32 %78, %77 store i32 %79, ptr %8, align 4 %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %8, align 4 %82 = call ptr @realloc(ptr noundef %80, i32 noundef %81) store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %11, align 8 %84 = load i32, ptr %8, align 4 %85 = call ptr @realloc(ptr noundef %83, i32 noundef %84) store ptr %85, ptr %11, align 8 br label %86 86: ; preds = %75, %70 %87 = load i8, ptr %9, align 1 %88 = load ptr, ptr %10, align 8 %89 = load i32, ptr %7, align 4 %90 = add i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = zext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 store i8 %87, ptr %92, align 1 br label %93 93: ; preds = %86, %62 br label %94 94: ; preds = %93, %53 br label %31, !llvm.loop !6 95: ; preds = %41 %96 = load ptr, ptr %11, align 8 %97 = call i32 @free(ptr noundef %96) %98 = load ptr, ptr %10, align 8 %99 = call i32 @free(ptr noundef %98) store i32 0, ptr %3, align 4 br label %100 100: ; preds = %95, %21 %101 = load i32, ptr %3, align 4 ret i32 %101 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadnf58sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 %7, align 4 store i32 32, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %11, align 8 %17 = load ptr, ptr %11, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 store i8 0, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 @printf(ptr noundef @.str, ptr noundef %24) store i32 1, ptr %3, align 4 br label %100 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %94, %26 %32 = load ptr, ptr %6, align 8 %33 = call signext i8 @getc(ptr noundef %32) store i8 %33, ptr %9, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr @EOF, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %34, %36 br i1 %37, label %41, label %38 38: ; preds = %31 %39 = load i32, ptr %7, align 4 %40 = icmp ugt i32 %39, 0 br label %41 41: ; preds = %38, %31 %42 = phi i1 [ true, %31 ], [ %40, %38 ] br i1 %42, label %43, label %95 43: ; preds = %41 %44 = load i8, ptr %9, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %53, label %47 47: ; preds = %43 %48 = load i8, ptr %9, align 1 %49 = sext i8 %48 to i32 %50 = load i8, ptr @EOF, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %49, %51 br i1 %52, label %53, label %58 53: ; preds = %47, %43 %54 = load ptr, ptr %11, align 8 %55 = call i32 @printf(ptr noundef @.str.2, ptr noundef %54) %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 store i8 0, ptr %57, align 1 store i32 0, ptr %7, align 4 br label %94 58: ; preds = %47 %59 = load i8, ptr %9, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 32 br i1 %61, label %62, label %70 62: ; preds = %58 %63 = load ptr, ptr %11, align 8 store ptr %63, ptr %12, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %7, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 0, ptr %67, align 1 %68 = load ptr, ptr %10, align 8 store ptr %68, ptr %11, align 8 %69 = load ptr, ptr %12, align 8 store ptr %69, ptr %10, align 8 store i32 0, ptr %7, align 4 br label %93 70: ; preds = %58 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %8, align 4 %73 = sub i32 %72, 1 %74 = icmp eq i32 %71, %73 br i1 %74, label %75, label %86 75: ; preds = %70 %76 = load i32, ptr %8, align 4 %77 = udiv i32 %76, 2 %78 = load i32, ptr %8, align 4 %79 = add i32 %78, %77 store i32 %79, ptr %8, align 4 %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %8, align 4 %82 = call ptr @realloc(ptr noundef %80, i32 noundef %81) store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %11, align 8 %84 = load i32, ptr %8, align 4 %85 = call ptr @realloc(ptr noundef %83, i32 noundef %84) store ptr %85, ptr %11, align 8 br label %86 86: ; preds = %75, %70 %87 = load i8, ptr %9, align 1 %88 = load ptr, ptr %10, align 8 %89 = load i32, ptr %7, align 4 %90 = add i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = zext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 store i8 %87, ptr %92, align 1 br label %93 93: ; preds = %86, %62 br label %94 94: ; preds = %93, %53 br label %31, !llvm.loop !6 95: ; preds = %41 %96 = load ptr, ptr %11, align 8 %97 = call i32 @free(ptr noundef %96) %98 = load ptr, ptr %10, align 8 %99 = call i32 @free(ptr noundef %98) store i32 0, ptr %3, align 4 br label %100 100: ; preds = %95, %21 %101 = load i32, ptr %3, align 4 ret i32 %101 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjiao5n1r.c' source_filename = "/tmp/tmpjiao5n1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @up2power(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 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub i32 %8, 1 %10 = call i32 @up2power_aux(i32 noundef %9) %11 = shl i32 1, %10 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %7, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @up2power_aux(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/tmpjiao5n1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @up2power(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 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub i32 %8, 1 %10 = call i32 @up2power_aux(i32 noundef %9) %11 = shl i32 1, %10 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %7, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @up2power_aux(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/tmpod44e5xy.c' source_filename = "/tmp/tmpod44e5xy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 32022 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod44e5xy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 32022 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpefbc0r9n.c' source_filename = "/tmp/tmpefbc0r9n.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"getcwd:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwd(ptr noundef %0, i32 %1) #0 { %3 = alloca %struct.tm, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0 store i32 %1, ptr %6, align 4 store ptr %0, ptr %4, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %8 = call ptr @getcwd(ptr noundef %7, i32 noundef 1024) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 ret i32 0 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefbc0r9n.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"getcwd:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwd(ptr noundef %0, i32 %1) #0 { %3 = alloca %struct.tm, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0 store i32 %1, ptr %6, align 4 store ptr %0, ptr %4, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %8 = call ptr @getcwd(ptr noundef %7, i32 noundef 1024) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 ret i32 0 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa9raavjp.c' source_filename = "/tmp/tmpa9raavjp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsi_core_close() #0 { %1 = call i32 (...) @vsi_core_close_user() %2 = call i32 (...) @vsi_core_close_sys() ret void } declare i32 @vsi_core_close_user(...) #1 declare i32 @vsi_core_close_sys(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9raavjp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsi_core_close() #0 { %1 = call i32 (...) @vsi_core_close_user() %2 = call i32 (...) @vsi_core_close_sys() ret void } declare i32 @vsi_core_close_user(...) #1 declare i32 @vsi_core_close_sys(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp32nfep2c.c' source_filename = "/tmp/tmp32nfep2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BBX %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"BITMAP\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%llx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i64, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca [100 x i8], align 16 %29 = alloca [64 x [64 x i8]], align 16 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %30 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 0 %31 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef 4096) br label %32 32: ; preds = %39, %8 %33 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %34 = load ptr, ptr %9, align 8 %35 = call ptr @fgets(ptr noundef %33, i32 noundef 100, ptr noundef %34) %36 = icmp eq ptr %35, null br i1 %36, label %37, label %38 37: ; preds = %32 br label %43 38: ; preds = %32 br label %39 39: ; preds = %38 %40 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %41 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %40, ptr noundef @.str, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) %42 = icmp ne i32 %41, 4 br i1 %42, label %32, label %43, !llvm.loop !6 43: ; preds = %39, %37 %44 = load i32, ptr %16, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %56 46: ; preds = %43 %47 = load i32, ptr %21, align 4 %48 = load i32, ptr %23, align 4 %49 = add nsw i32 %47, %48 %50 = load i32, ptr %13, align 4 %51 = sdiv i32 %50, 2 %52 = icmp sle i32 %49, %51 br i1 %52, label %53, label %56 53: ; preds = %46 %54 = load i32, ptr %13, align 4 %55 = sdiv i32 %54, 2 store i32 %55, ptr %13, align 4 br label %56 56: ; preds = %53, %46, %43 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %66 60: ; preds = %56 %61 = load i32, ptr %13, align 4 %62 = sitofp i32 %61 to double %63 = load i32, ptr %11, align 4 %64 = sitofp i32 %63 to double %65 = fdiv double %62, %64 store double %65, ptr %26, align 8 br label %73 66: ; preds = %56 store double 1.000000e+00, ptr %26, align 8 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %13, align 4 %69 = sub nsw i32 %67, %68 %70 = sdiv i32 %69, 2 %71 = load i32, ptr %23, align 4 %72 = add nsw i32 %71, %70 store i32 %72, ptr %23, align 4 br label %73 73: ; preds = %66, %60 %74 = load i32, ptr %14, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sgt i32 %74, %75 br i1 %76, label %77, label %83 77: ; preds = %73 %78 = load i32, ptr %14, align 4 %79 = sitofp i32 %78 to double %80 = load i32, ptr %12, align 4 %81 = sitofp i32 %80 to double %82 = fdiv double %79, %81 store double %82, ptr %27, align 8 br label %90 83: ; preds = %73 store double 1.000000e+00, ptr %27, align 8 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %14, align 4 %86 = sub nsw i32 %84, %85 %87 = sdiv i32 %86, 2 %88 = load i32, ptr %24, align 4 %89 = sub nsw i32 %88, %87 store i32 %89, ptr %24, align 4 br label %90 90: ; preds = %83, %77 %91 = load i32, ptr %23, align 4 %92 = icmp slt i32 %91, 0 br i1 %92, label %93, label %94 93: ; preds = %90 store i32 0, ptr %23, align 4 br label %94 94: ; preds = %93, %90 br label %95 95: ; preds = %102, %94 %96 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %97 = load ptr, ptr %9, align 8 %98 = call ptr @fgets(ptr noundef %96, i32 noundef 100, ptr noundef %97) %99 = icmp eq ptr %98, null br i1 %99, label %100, label %101 100: ; preds = %95 br label %106 101: ; preds = %95 br label %102 102: ; preds = %101 %103 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %104 = call i64 @strncmp(ptr noundef %103, ptr noundef @.str.1, i32 noundef 6) %105 = icmp ne i64 %104, 0 br i1 %105, label %95, label %106, !llvm.loop !8 106: ; preds = %102, %100 store i32 0, ptr %17, align 4 br label %107 107: ; preds = %175, %106 %108 = load i32, ptr %17, align 4 %109 = load i32, ptr %22, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %111, label %178 111: ; preds = %107 %112 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %113 = load ptr, ptr %9, align 8 %114 = call ptr @fgets(ptr noundef %112, i32 noundef 100, ptr noundef %113) %115 = icmp eq ptr %114, null br i1 %115, label %116, label %117 116: ; preds = %111 br label %178 117: ; preds = %111 br label %118 118: ; preds = %122, %117 %119 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %120 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %119, ptr noundef @.str.2, ptr noundef %25) %121 = icmp ne i32 %120, 1 br i1 %121, label %122, label %123 122: ; preds = %118 br label %118, !llvm.loop !9 123: ; preds = %118 store i32 0, ptr %18, align 4 br label %124 124: ; preds = %171, %123 %125 = load i32, ptr %18, align 4 %126 = load i32, ptr %21, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %174 128: ; preds = %124 %129 = load i32, ptr %18, align 4 %130 = load i32, ptr %23, align 4 %131 = add nsw i32 %129, %130 store i32 %131, ptr %19, align 4 %132 = load i32, ptr %17, align 4 %133 = load i32, ptr %15, align 4 %134 = add nsw i32 %132, %133 %135 = load i32, ptr %22, align 4 %136 = sub nsw i32 %134, %135 %137 = load i32, ptr %24, align 4 %138 = sub nsw i32 %136, %137 store i32 %138, ptr %20, align 4 %139 = load i32, ptr %19, align 4 %140 = icmp sle i32 0, %139 br i1 %140, label %141, label %170 141: ; preds = %128 %142 = load i32, ptr %19, align 4 %143 = icmp sle i32 %142, 64 br i1 %143, label %144, label %170 144: ; preds = %141 %145 = load i32, ptr %20, align 4 %146 = icmp sle i32 0, %145 br i1 %146, label %147, label %170 147: ; preds = %144 %148 = load i32, ptr %20, align 4 %149 = icmp sle i32 %148, 64 br i1 %149, label %150, label %170 150: ; preds = %147 %151 = load i64, ptr %25, align 8 %152 = load i32, ptr %21, align 4 %153 = sub nsw i32 64, %152 %154 = srem i32 %153, 8 %155 = load i32, ptr %21, align 4 %156 = add nsw i32 %154, %155 %157 = load i32, ptr %18, align 4 %158 = sub nsw i32 %156, %157 %159 = sub nsw i32 %158, 1 %160 = zext i32 %159 to i64 %161 = lshr i64 %151, %160 %162 = and i64 %161, 1 %163 = trunc i64 %162 to i8 %164 = load i32, ptr %19, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 %165 %167 = load i32, ptr %20, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [64 x i8], ptr %166, i64 0, i64 %168 store i8 %163, ptr %169, align 1 br label %170 170: ; preds = %150, %147, %144, %141, %128 br label %171 171: ; preds = %170 %172 = load i32, ptr %18, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %18, align 4 br label %124, !llvm.loop !10 174: ; preds = %124 br label %175 175: ; preds = %174 %176 = load i32, ptr %17, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %17, align 4 br label %107, !llvm.loop !11 178: ; preds = %116, %107 %179 = load i32, ptr %22, align 4 %180 = icmp sgt i32 %179, 0 br i1 %180, label %181, label %298 181: ; preds = %178 store i32 0, ptr %17, align 4 br label %182 182: ; preds = %294, %181 %183 = load i32, ptr %17, align 4 %184 = load i32, ptr %12, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %186, label %297 186: ; preds = %182 %187 = load ptr, ptr %10, align 8 %188 = load i32, ptr %17, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %187, i64 %189 store i8 0, ptr %190, align 1 store i32 0, ptr %18, align 4 br label %191 191: ; preds = %290, %186 %192 = load i32, ptr %18, align 4 %193 = load i32, ptr %11, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %195, label %293 195: ; preds = %191 store i64 0, ptr %25, align 8 %196 = load i32, ptr %18, align 4 %197 = sitofp i32 %196 to double %198 = load double, ptr %26, align 8 %199 = fmul double %197, %198 %200 = fptosi double %199 to i32 store i32 %200, ptr %19, align 4 br label %201 201: ; preds = %250, %195 %202 = load i32, ptr %19, align 4 %203 = load i32, ptr %18, align 4 %204 = add nsw i32 %203, 1 %205 = sitofp i32 %204 to double %206 = load double, ptr %26, align 8 %207 = call double @llvm.fmuladd.f64(double %205, double %206, double 1.000000e-02) %208 = fptosi double %207 to i32 %209 = icmp slt i32 %202, %208 br i1 %209, label %210, label %213 210: ; preds = %201 %211 = load i32, ptr %19, align 4 %212 = icmp slt i32 %211, 64 br label %213 213: ; preds = %210, %201 %214 = phi i1 [ false, %201 ], [ %212, %210 ] br i1 %214, label %215, label %253 215: ; preds = %213 %216 = load i32, ptr %17, align 4 %217 = sitofp i32 %216 to double %218 = load double, ptr %27, align 8 %219 = fmul double %217, %218 %220 = fptosi double %219 to i32 store i32 %220, ptr %20, align 4 br label %221 221: ; preds = %246, %215 %222 = load i32, ptr %20, align 4 %223 = load i32, ptr %17, align 4 %224 = add nsw i32 %223, 1 %225 = sitofp i32 %224 to double %226 = load double, ptr %27, align 8 %227 = call double @llvm.fmuladd.f64(double %225, double %226, double 1.000000e-02) %228 = fptosi double %227 to i32 %229 = icmp slt i32 %222, %228 br i1 %229, label %230, label %233 230: ; preds = %221 %231 = load i32, ptr %20, align 4 %232 = icmp slt i32 %231, 64 br label %233 233: ; preds = %230, %221 %234 = phi i1 [ false, %221 ], [ %232, %230 ] br i1 %234, label %235, label %249 235: ; preds = %233 %236 = load i32, ptr %19, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 %237 %239 = load i32, ptr %20, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds [64 x i8], ptr %238, i64 0, i64 %240 %242 = load i8, ptr %241, align 1 %243 = zext i8 %242 to i64 %244 = load i64, ptr %25, align 8 %245 = add i64 %244, %243 store i64 %245, ptr %25, align 8 br label %246 246: ; preds = %235 %247 = load i32, ptr %20, align 4 %248 = add nsw i32 %247, 1 store i32 %248, ptr %20, align 4 br label %221, !llvm.loop !12 249: ; preds = %233 br label %250 250: ; preds = %249 %251 = load i32, ptr %19, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %19, align 4 br label %201, !llvm.loop !13 253: ; preds = %213 %254 = load i64, ptr %25, align 8 %255 = uitofp i64 %254 to double %256 = load i32, ptr %19, align 4 %257 = load i32, ptr %18, align 4 %258 = sitofp i32 %257 to double %259 = load double, ptr %26, align 8 %260 = fmul double %258, %259 %261 = fptosi double %260 to i32 %262 = sub nsw i32 %256, %261 %263 = sitofp i32 %262 to double %264 = fdiv double %255, %263 %265 = load i32, ptr %20, align 4 %266 = load i32, ptr %17, align 4 %267 = sitofp i32 %266 to double %268 = load double, ptr %27, align 8 %269 = fmul double %267, %268 %270 = fptosi double %269 to i32 %271 = sub nsw i32 %265, %270 %272 = sitofp i32 %271 to double %273 = fmul double %264, %272 %274 = fcmp ogt double %273, 0.000000e+00 br i1 %274, label %275, label %289 275: ; preds = %253 %276 = load i32, ptr %11, align 4 %277 = load i32, ptr %18, align 4 %278 = sub nsw i32 %276, %277 %279 = sub nsw i32 %278, 1 %280 = shl i32 1, %279 %281 = load ptr, ptr %10, align 8 %282 = load i32, ptr %17, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds i8, ptr %281, i64 %283 %285 = load i8, ptr %284, align 1 %286 = zext i8 %285 to i32 %287 = or i32 %286, %280 %288 = trunc i32 %287 to i8 store i8 %288, ptr %284, align 1 br label %289 289: ; preds = %275, %253 br label %290 290: ; preds = %289 %291 = load i32, ptr %18, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %18, align 4 br label %191, !llvm.loop !14 293: ; preds = %191 br label %294 294: ; preds = %293 %295 = load i32, ptr %17, align 4 %296 = add nsw i32 %295, 1 store i32 %296, ptr %17, align 4 br label %182, !llvm.loop !15 297: ; preds = %182 br label %298 298: ; preds = %297, %178 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !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/tmp32nfep2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BBX %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"BITMAP\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%llx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i64, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca [100 x i8], align 16 %29 = alloca [64 x [64 x i8]], align 16 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %30 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 0 %31 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef 4096) br label %32 32: ; preds = %39, %8 %33 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %34 = load ptr, ptr %9, align 8 %35 = call ptr @fgets(ptr noundef %33, i32 noundef 100, ptr noundef %34) %36 = icmp eq ptr %35, null br i1 %36, label %37, label %38 37: ; preds = %32 br label %43 38: ; preds = %32 br label %39 39: ; preds = %38 %40 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %41 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %40, ptr noundef @.str, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) %42 = icmp ne i32 %41, 4 br i1 %42, label %32, label %.loopexit2, !llvm.loop !6 .loopexit2: ; preds = %39 br label %43 43: ; preds = %.loopexit2, %37 %44 = load i32, ptr %16, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %56 46: ; preds = %43 %47 = load i32, ptr %21, align 4 %48 = load i32, ptr %23, align 4 %49 = add nsw i32 %47, %48 %50 = load i32, ptr %13, align 4 %51 = sdiv i32 %50, 2 %52 = icmp sle i32 %49, %51 br i1 %52, label %53, label %56 53: ; preds = %46 %54 = load i32, ptr %13, align 4 %55 = sdiv i32 %54, 2 store i32 %55, ptr %13, align 4 br label %56 56: ; preds = %53, %46, %43 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %66 60: ; preds = %56 %61 = load i32, ptr %13, align 4 %62 = sitofp i32 %61 to double %63 = load i32, ptr %11, align 4 %64 = sitofp i32 %63 to double %65 = fdiv double %62, %64 store double %65, ptr %26, align 8 br label %73 66: ; preds = %56 store double 1.000000e+00, ptr %26, align 8 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %13, align 4 %69 = sub nsw i32 %67, %68 %70 = sdiv i32 %69, 2 %71 = load i32, ptr %23, align 4 %72 = add nsw i32 %71, %70 store i32 %72, ptr %23, align 4 br label %73 73: ; preds = %66, %60 %74 = load i32, ptr %14, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sgt i32 %74, %75 br i1 %76, label %77, label %83 77: ; preds = %73 %78 = load i32, ptr %14, align 4 %79 = sitofp i32 %78 to double %80 = load i32, ptr %12, align 4 %81 = sitofp i32 %80 to double %82 = fdiv double %79, %81 store double %82, ptr %27, align 8 br label %90 83: ; preds = %73 store double 1.000000e+00, ptr %27, align 8 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %14, align 4 %86 = sub nsw i32 %84, %85 %87 = sdiv i32 %86, 2 %88 = load i32, ptr %24, align 4 %89 = sub nsw i32 %88, %87 store i32 %89, ptr %24, align 4 br label %90 90: ; preds = %83, %77 %91 = load i32, ptr %23, align 4 %92 = icmp slt i32 %91, 0 br i1 %92, label %93, label %94 93: ; preds = %90 store i32 0, ptr %23, align 4 br label %94 94: ; preds = %93, %90 br label %95 95: ; preds = %102, %94 %96 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %97 = load ptr, ptr %9, align 8 %98 = call ptr @fgets(ptr noundef %96, i32 noundef 100, ptr noundef %97) %99 = icmp eq ptr %98, null br i1 %99, label %100, label %101 100: ; preds = %95 br label %106 101: ; preds = %95 br label %102 102: ; preds = %101 %103 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %104 = call i64 @strncmp(ptr noundef %103, ptr noundef @.str.1, i32 noundef 6) %105 = icmp ne i64 %104, 0 br i1 %105, label %95, label %.loopexit1, !llvm.loop !8 .loopexit1: ; preds = %102 br label %106 106: ; preds = %.loopexit1, %100 store i32 0, ptr %17, align 4 %107 = load i32, ptr %17, align 4 %108 = load i32, ptr %22, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %.lr.ph4, label %.loopexit .lr.ph4: ; preds = %106 br label %110 110: ; preds = %.lr.ph4, %175 %111 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %112 = load ptr, ptr %9, align 8 %113 = call ptr @fgets(ptr noundef %111, i32 noundef 100, ptr noundef %112) %114 = icmp eq ptr %113, null br i1 %114, label %115, label %116 115: ; preds = %110 br label %181 116: ; preds = %110 br label %117 117: ; preds = %117, %116 %118 = getelementptr inbounds [100 x i8], ptr %28, i64 0, i64 0 %119 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %118, ptr noundef @.str.2, ptr noundef %25) %120 = icmp ne i32 %119, 1 br i1 %120, label %117, label %121, !llvm.loop !9 121: ; preds = %117 store i32 0, ptr %18, align 4 %122 = load i32, ptr %18, align 4 %123 = load i32, ptr %21, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %.lr.ph, label %174 .lr.ph: ; preds = %121 br label %125 125: ; preds = %.lr.ph, %168 %126 = load i32, ptr %18, align 4 %127 = load i32, ptr %23, align 4 %128 = add nsw i32 %126, %127 store i32 %128, ptr %19, align 4 %129 = load i32, ptr %17, align 4 %130 = load i32, ptr %15, align 4 %131 = add nsw i32 %129, %130 %132 = load i32, ptr %22, align 4 %133 = sub nsw i32 %131, %132 %134 = load i32, ptr %24, align 4 %135 = sub nsw i32 %133, %134 store i32 %135, ptr %20, align 4 %136 = load i32, ptr %19, align 4 %137 = icmp sle i32 0, %136 br i1 %137, label %138, label %167 138: ; preds = %125 %139 = load i32, ptr %19, align 4 %140 = icmp sle i32 %139, 64 br i1 %140, label %141, label %167 141: ; preds = %138 %142 = load i32, ptr %20, align 4 %143 = icmp sle i32 0, %142 br i1 %143, label %144, label %167 144: ; preds = %141 %145 = load i32, ptr %20, align 4 %146 = icmp sle i32 %145, 64 br i1 %146, label %147, label %167 147: ; preds = %144 %148 = load i64, ptr %25, align 8 %149 = load i32, ptr %21, align 4 %150 = sub nsw i32 64, %149 %151 = srem i32 %150, 8 %152 = load i32, ptr %21, align 4 %153 = add nsw i32 %151, %152 %154 = load i32, ptr %18, align 4 %155 = sub nsw i32 %153, %154 %156 = sub nsw i32 %155, 1 %157 = zext i32 %156 to i64 %158 = lshr i64 %148, %157 %159 = and i64 %158, 1 %160 = trunc i64 %159 to i8 %161 = load i32, ptr %19, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 %162 %164 = load i32, ptr %20, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [64 x i8], ptr %163, i64 0, i64 %165 store i8 %160, ptr %166, align 1 br label %167 167: ; preds = %147, %144, %141, %138, %125 br label %168 168: ; preds = %167 %169 = load i32, ptr %18, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %18, align 4 %171 = load i32, ptr %18, align 4 %172 = load i32, ptr %21, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %125, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %168 br label %174 174: ; preds = %._crit_edge, %121 br label %175 175: ; preds = %174 %176 = load i32, ptr %17, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %17, align 4 %178 = load i32, ptr %17, align 4 %179 = load i32, ptr %22, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %110, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %175 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %106 br label %181 181: ; preds = %.loopexit, %115 %182 = load i32, ptr %22, align 4 %183 = icmp sgt i32 %182, 0 br i1 %183, label %184, label %305 184: ; preds = %181 store i32 0, ptr %17, align 4 %185 = load i32, ptr %17, align 4 %186 = load i32, ptr %12, align 4 %187 = icmp slt i32 %185, %186 br i1 %187, label %.lr.ph9, label %304 .lr.ph9: ; preds = %184 br label %188 188: ; preds = %.lr.ph9, %298 %189 = load ptr, ptr %10, align 8 %190 = load i32, ptr %17, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i8, ptr %189, i64 %191 store i8 0, ptr %192, align 1 store i32 0, ptr %18, align 4 %193 = load i32, ptr %18, align 4 %194 = load i32, ptr %11, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %.lr.ph6, label %297 .lr.ph6: ; preds = %188 br label %196 196: ; preds = %.lr.ph6, %291 store i64 0, ptr %25, align 8 %197 = load i32, ptr %18, align 4 %198 = sitofp i32 %197 to double %199 = load double, ptr %26, align 8 %200 = fmul double %198, %199 %201 = fptosi double %200 to i32 store i32 %201, ptr %19, align 4 br label %202 202: ; preds = %251, %196 %203 = load i32, ptr %19, align 4 %204 = load i32, ptr %18, align 4 %205 = add nsw i32 %204, 1 %206 = sitofp i32 %205 to double %207 = load double, ptr %26, align 8 %208 = call double @llvm.fmuladd.f64(double %206, double %207, double 1.000000e-02) %209 = fptosi double %208 to i32 %210 = icmp slt i32 %203, %209 br i1 %210, label %211, label %214 211: ; preds = %202 %212 = load i32, ptr %19, align 4 %213 = icmp slt i32 %212, 64 br label %214 214: ; preds = %211, %202 %215 = phi i1 [ false, %202 ], [ %213, %211 ] br i1 %215, label %216, label %254 216: ; preds = %214 %217 = load i32, ptr %17, align 4 %218 = sitofp i32 %217 to double %219 = load double, ptr %27, align 8 %220 = fmul double %218, %219 %221 = fptosi double %220 to i32 store i32 %221, ptr %20, align 4 br label %222 222: ; preds = %247, %216 %223 = load i32, ptr %20, align 4 %224 = load i32, ptr %17, align 4 %225 = add nsw i32 %224, 1 %226 = sitofp i32 %225 to double %227 = load double, ptr %27, align 8 %228 = call double @llvm.fmuladd.f64(double %226, double %227, double 1.000000e-02) %229 = fptosi double %228 to i32 %230 = icmp slt i32 %223, %229 br i1 %230, label %231, label %234 231: ; preds = %222 %232 = load i32, ptr %20, align 4 %233 = icmp slt i32 %232, 64 br label %234 234: ; preds = %231, %222 %235 = phi i1 [ false, %222 ], [ %233, %231 ] br i1 %235, label %236, label %250 236: ; preds = %234 %237 = load i32, ptr %19, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds [64 x [64 x i8]], ptr %29, i64 0, i64 %238 %240 = load i32, ptr %20, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds [64 x i8], ptr %239, i64 0, i64 %241 %243 = load i8, ptr %242, align 1 %244 = zext i8 %243 to i64 %245 = load i64, ptr %25, align 8 %246 = add i64 %245, %244 store i64 %246, ptr %25, align 8 br label %247 247: ; preds = %236 %248 = load i32, ptr %20, align 4 %249 = add nsw i32 %248, 1 store i32 %249, ptr %20, align 4 br label %222, !llvm.loop !12 250: ; preds = %234 br label %251 251: ; preds = %250 %252 = load i32, ptr %19, align 4 %253 = add nsw i32 %252, 1 store i32 %253, ptr %19, align 4 br label %202, !llvm.loop !13 254: ; preds = %214 %255 = load i64, ptr %25, align 8 %256 = uitofp i64 %255 to double %257 = load i32, ptr %19, align 4 %258 = load i32, ptr %18, align 4 %259 = sitofp i32 %258 to double %260 = load double, ptr %26, align 8 %261 = fmul double %259, %260 %262 = fptosi double %261 to i32 %263 = sub nsw i32 %257, %262 %264 = sitofp i32 %263 to double %265 = fdiv double %256, %264 %266 = load i32, ptr %20, align 4 %267 = load i32, ptr %17, align 4 %268 = sitofp i32 %267 to double %269 = load double, ptr %27, align 8 %270 = fmul double %268, %269 %271 = fptosi double %270 to i32 %272 = sub nsw i32 %266, %271 %273 = sitofp i32 %272 to double %274 = fmul double %265, %273 %275 = fcmp ogt double %274, 0.000000e+00 br i1 %275, label %276, label %290 276: ; preds = %254 %277 = load i32, ptr %11, align 4 %278 = load i32, ptr %18, align 4 %279 = sub nsw i32 %277, %278 %280 = sub nsw i32 %279, 1 %281 = shl i32 1, %280 %282 = load ptr, ptr %10, align 8 %283 = load i32, ptr %17, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i8, ptr %282, i64 %284 %286 = load i8, ptr %285, align 1 %287 = zext i8 %286 to i32 %288 = or i32 %287, %281 %289 = trunc i32 %288 to i8 store i8 %289, ptr %285, align 1 br label %290 290: ; preds = %276, %254 br label %291 291: ; preds = %290 %292 = load i32, ptr %18, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %18, align 4 %294 = load i32, ptr %18, align 4 %295 = load i32, ptr %11, align 4 %296 = icmp slt i32 %294, %295 br i1 %296, label %196, label %._crit_edge7, !llvm.loop !14 ._crit_edge7: ; preds = %291 br label %297 297: ; preds = %._crit_edge7, %188 br label %298 298: ; preds = %297 %299 = load i32, ptr %17, align 4 %300 = add nsw i32 %299, 1 store i32 %300, ptr %17, align 4 %301 = load i32, ptr %17, align 4 %302 = load i32, ptr %12, align 4 %303 = icmp slt i32 %301, %302 br i1 %303, label %188, label %._crit_edge10, !llvm.loop !15 ._crit_edge10: ; preds = %298 br label %304 304: ; preds = %._crit_edge10, %184 br label %305 305: ; preds = %304, %181 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpyf6z2ktc.c' source_filename = "/tmp/tmpyf6z2ktc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @domathf() %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @domathf(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyf6z2ktc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @domathf() %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @domathf(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf5tahyc_.c' source_filename = "/tmp/tmpf5tahyc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Digite o elemento da linha %d e coluna %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"\0AO maior elemento da matriz \C3\A9: %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 [10 x [10 x i32]], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %30, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %33 9: ; preds = %6 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %26, %9 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %29 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 %18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x [10 x i32]], ptr %4, i64 0, i64 %20 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x i32], ptr %21, i64 0, i64 %23 %25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %13 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 br label %30 30: ; preds = %29 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 br label %6, !llvm.loop !8 33: ; preds = %6 %34 = getelementptr inbounds [10 x [10 x i32]], ptr %4, i64 0, i64 0 %35 = call i32 @fmaior(ptr noundef %34) store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %36) %38 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fmaior(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5tahyc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Digite o elemento da linha %d e coluna %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"\0AO maior elemento da matriz \C3\A9: %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 [10 x [10 x i32]], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph2, label %35 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %30 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %24 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [10 x [10 x i32]], ptr %4, i64 0, i64 %18 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [10 x i32], ptr %19, i64 0, i64 %21 %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %11 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 10 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %8 br label %30 30: ; preds = %29 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %33, 10 br i1 %34, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %0 %36 = getelementptr inbounds [10 x [10 x i32]], ptr %4, i64 0, i64 0 %37 = call i32 @fmaior(ptr noundef %36) store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %38) %40 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fmaior(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmcz6g1m6.c' source_filename = "/tmp/tmpmcz6g1m6.c" target datalayout = "e-m:e-p270: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/tmpmcz6g1m6.c" target datalayout = "e-m:e-p270: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/tmpu_m27jmq.c' source_filename = "/tmp/tmpu_m27jmq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [152 x i8] c"argument syntax error\0A./hw2 stream -p=pphrase -l=len\0A./hw2 encrypt -p=pphrase -out=name [pbmfile]\0A./hw2 merge pbmfile1 pbmfile2\0A./hw2 decrypt [pbmfile]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = call i32 @printerror(ptr noundef @.str) ret void } declare i32 @printerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu_m27jmq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [152 x i8] c"argument syntax error\0A./hw2 stream -p=pphrase -l=len\0A./hw2 encrypt -p=pphrase -out=name [pbmfile]\0A./hw2 merge pbmfile1 pbmfile2\0A./hw2 decrypt [pbmfile]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = call i32 @printerror(ptr noundef @.str) ret void } declare i32 @printerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8w0umxcp.c' source_filename = "/tmp/tmp8w0umxcp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"usage: %s -{a|b|c|d} < LARGEFILE_IN > LARGEFILE_OUT \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c" -a for add O_SYNC flag\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c" -b for removing O_SYNC flag\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c" -c for add fsync call\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c" -d for add fdatasync call (doesnot work in OSX)\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"abcdh\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"O_SYNC is on\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"O_SYNC is off\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"O_SYNC is off, writes are followed by fsync\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"O_SYNC is off, writes are followed by fdatasync\0A\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Options are a, b, c, d\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.12 = private unnamed_addr constant [24 x i8] c"Unknown option `\\x%x'.\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [32 x i8] c"Can't get file descriptor flags\00", align 1 @O_SYNC = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [32 x i8] c"Can't set file descriptor flags\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"read error\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 [512 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %24 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %130 24: ; preds = %2 br label %25 25: ; preds = %65, %24 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str.5) store i32 %28, ptr %7, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %30, label %66 30: ; preds = %25 %31 = load i32, ptr %7, align 4 switch i32 %31, label %63 [ i32 97, label %32 i32 98, label %34 i32 99, label %36 i32 100, label %38 i32 104, label %40 i32 63, label %50 ] 32: ; preds = %30 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %10, align 4 br label %65 34: ; preds = %30 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %10, align 4 br label %65 36: ; preds = %30 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %11, align 4 br label %65 38: ; preds = %30 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %12, align 4 br label %65 40: ; preds = %30 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 0 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %130 50: ; preds = %30 %51 = load i32, ptr @optopt, align 4 %52 = call i32 @isprint(i32 noundef %51) #4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %50 %55 = load i32, ptr @stderr, align 4 %56 = load i32, ptr @optopt, align 4 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.11, i32 noundef %56) br label %62 58: ; preds = %50 %59 = load i32, ptr @stderr, align 4 %60 = load i32, ptr @optopt, align 4 %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.12, i32 noundef %60) br label %62 62: ; preds = %58, %54 store i32 1, ptr %3, align 4 br label %130 63: ; preds = %30 %64 = call i32 (...) @abort() #5 unreachable 65: ; preds = %38, %36, %34, %32 br label %25, !llvm.loop !6 66: ; preds = %25 %67 = load i32, ptr @STDOUT_FILENO, align 4 %68 = load i32, ptr @F_GETFL, align 4 %69 = call i64 @fcntl(i32 noundef %67, i32 noundef %68, i32 noundef 0) %70 = trunc i64 %69 to i32 store i32 %70, ptr %9, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %66 %73 = call i32 @perror(ptr noundef @.str.13) %74 = call i32 @exit(i32 noundef 1) #5 unreachable 75: ; preds = %66 %76 = load i32, ptr %10, align 4 %77 = icmp eq i32 %76, 1 br i1 %77, label %78, label %82 78: ; preds = %75 %79 = load i32, ptr @O_SYNC, align 4 %80 = load i32, ptr %9, align 4 %81 = or i32 %80, %79 store i32 %81, ptr %9, align 4 br label %82 82: ; preds = %78, %75 %83 = load i32, ptr @STDOUT_FILENO, align 4 %84 = load i32, ptr @F_SETFL, align 4 %85 = load i32, ptr %9, align 4 %86 = call i64 @fcntl(i32 noundef %83, i32 noundef %84, i32 noundef %85) %87 = icmp slt i64 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %82 %89 = call i32 @perror(ptr noundef @.str.14) %90 = call i32 @exit(i32 noundef 1) #5 unreachable 91: ; preds = %82 br label %92 92: ; preds = %120, %91 %93 = load i32, ptr @STDIN_FILENO, align 4 %94 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %95 = call i32 @read(i32 noundef %93, ptr noundef %94, i32 noundef 512) store i32 %95, ptr %6, align 4 %96 = icmp sgt i32 %95, 0 br i1 %96, label %97, label %121 97: ; preds = %92 %98 = load i32, ptr @STDOUT_FILENO, align 4 %99 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %100 = load i32, ptr %6, align 4 %101 = call i32 @write(i32 noundef %98, ptr noundef %99, i32 noundef %100) %102 = load i32, ptr %6, align 4 %103 = icmp ne i32 %101, %102 br i1 %103, label %104, label %108 104: ; preds = %97 %105 = load i32, ptr @stderr, align 4 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %105, ptr noundef @.str.15) %107 = call i32 @exit(i32 noundef 1) #5 unreachable 108: ; preds = %97 %109 = load i32, ptr %11, align 4 %110 = icmp eq i32 %109, 1 br i1 %110, label %111, label %114 111: ; preds = %108 %112 = load i32, ptr @STDOUT_FILENO, align 4 %113 = call i32 @fsync(i32 noundef %112) br label %114 114: ; preds = %111, %108 %115 = load i32, ptr %12, align 4 %116 = icmp eq i32 %115, 1 br i1 %116, label %117, label %120 117: ; preds = %114 %118 = load i32, ptr @STDOUT_FILENO, align 4 %119 = call i32 @fdatasync(i32 noundef %118) br label %120 120: ; preds = %117, %114 br label %92, !llvm.loop !8 121: ; preds = %92 %122 = load i32, ptr %6, align 4 %123 = icmp slt i32 %122, 0 br i1 %123, label %124, label %128 124: ; preds = %121 %125 = load i32, ptr @stderr, align 4 %126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.16) %127 = call i32 @exit(i32 noundef 1) #5 unreachable 128: ; preds = %121 %129 = call i32 @exit(i32 noundef 0) #5 unreachable 130: ; preds = %62, %40, %15 %131 = load i32, ptr %3, align 4 ret i32 %131 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @fdatasync(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = { nounwind willreturn memory(read) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8w0umxcp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"usage: %s -{a|b|c|d} < LARGEFILE_IN > LARGEFILE_OUT \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c" -a for add O_SYNC flag\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c" -b for removing O_SYNC flag\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c" -c for add fsync call\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c" -d for add fdatasync call (doesnot work in OSX)\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"abcdh\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"O_SYNC is on\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"O_SYNC is off\0A\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"O_SYNC is off, writes are followed by fsync\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"O_SYNC is off, writes are followed by fdatasync\0A\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Options are a, b, c, d\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.12 = private unnamed_addr constant [24 x i8] c"Unknown option `\\x%x'.\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [32 x i8] c"Can't get file descriptor flags\00", align 1 @O_SYNC = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [32 x i8] c"Can't set file descriptor flags\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.15 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"read error\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 [512 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %24 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %135 24: ; preds = %2 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.5) store i32 %27, ptr %7, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %.lr.ph, label %69 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %64 %30 = load i32, ptr %7, align 4 switch i32 %30, label %62 [ i32 97, label %31 i32 98, label %33 i32 99, label %35 i32 100, label %37 i32 104, label %39 i32 63, label %49 ] 31: ; preds = %29 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %10, align 4 br label %64 33: ; preds = %29 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %10, align 4 br label %64 35: ; preds = %29 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %11, align 4 br label %64 37: ; preds = %29 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %12, align 4 br label %64 39: ; preds = %29 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 0 %42 = load ptr, ptr %41, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %42) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %135 49: ; preds = %29 %50 = load i32, ptr @optopt, align 4 %51 = call i32 @isprint(i32 noundef %50) #4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %49 %54 = load i32, ptr @stderr, align 4 %55 = load i32, ptr @optopt, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.11, i32 noundef %55) br label %61 57: ; preds = %49 %58 = load i32, ptr @stderr, align 4 %59 = load i32, ptr @optopt, align 4 %60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.12, i32 noundef %59) br label %61 61: ; preds = %57, %53 store i32 1, ptr %3, align 4 br label %135 62: ; preds = %29 %63 = call i32 (...) @abort() #5 unreachable 64: ; preds = %37, %35, %33, %31 %65 = load i32, ptr %4, align 4 %66 = load ptr, ptr %5, align 8 %67 = call i32 @getopt(i32 noundef %65, ptr noundef %66, ptr noundef @.str.5) store i32 %67, ptr %7, align 4 %68 = icmp ne i32 %67, -1 br i1 %68, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %69 69: ; preds = %._crit_edge, %24 %70 = load i32, ptr @STDOUT_FILENO, align 4 %71 = load i32, ptr @F_GETFL, align 4 %72 = call i64 @fcntl(i32 noundef %70, i32 noundef %71, i32 noundef 0) %73 = trunc i64 %72 to i32 store i32 %73, ptr %9, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %69 %76 = call i32 @perror(ptr noundef @.str.13) %77 = call i32 @exit(i32 noundef 1) #5 unreachable 78: ; preds = %69 %79 = load i32, ptr %10, align 4 %80 = icmp eq i32 %79, 1 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = load i32, ptr @O_SYNC, align 4 %83 = load i32, ptr %9, align 4 %84 = or i32 %83, %82 store i32 %84, ptr %9, align 4 br label %85 85: ; preds = %81, %78 %86 = load i32, ptr @STDOUT_FILENO, align 4 %87 = load i32, ptr @F_SETFL, align 4 %88 = load i32, ptr %9, align 4 %89 = call i64 @fcntl(i32 noundef %86, i32 noundef %87, i32 noundef %88) %90 = icmp slt i64 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %85 %92 = call i32 @perror(ptr noundef @.str.14) %93 = call i32 @exit(i32 noundef 1) #5 unreachable 94: ; preds = %85 %95 = load i32, ptr @STDIN_FILENO, align 4 %96 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %97 = call i32 @read(i32 noundef %95, ptr noundef %96, i32 noundef 512) store i32 %97, ptr %6, align 4 %98 = icmp sgt i32 %97, 0 br i1 %98, label %.lr.ph2, label %126 .lr.ph2: ; preds = %94 br label %99 99: ; preds = %.lr.ph2, %122 %100 = load i32, ptr @STDOUT_FILENO, align 4 %101 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %102 = load i32, ptr %6, align 4 %103 = call i32 @write(i32 noundef %100, ptr noundef %101, i32 noundef %102) %104 = load i32, ptr %6, align 4 %105 = icmp ne i32 %103, %104 br i1 %105, label %106, label %110 106: ; preds = %99 %107 = load i32, ptr @stderr, align 4 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.15) %109 = call i32 @exit(i32 noundef 1) #5 unreachable 110: ; preds = %99 %111 = load i32, ptr %11, align 4 %112 = icmp eq i32 %111, 1 br i1 %112, label %113, label %116 113: ; preds = %110 %114 = load i32, ptr @STDOUT_FILENO, align 4 %115 = call i32 @fsync(i32 noundef %114) br label %116 116: ; preds = %113, %110 %117 = load i32, ptr %12, align 4 %118 = icmp eq i32 %117, 1 br i1 %118, label %119, label %122 119: ; preds = %116 %120 = load i32, ptr @STDOUT_FILENO, align 4 %121 = call i32 @fdatasync(i32 noundef %120) br label %122 122: ; preds = %119, %116 %123 = load i32, ptr @STDIN_FILENO, align 4 %124 = call i32 @read(i32 noundef %123, ptr noundef %96, i32 noundef 512) store i32 %124, ptr %6, align 4 %125 = icmp sgt i32 %124, 0 br i1 %125, label %99, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %122 br label %126 126: ; preds = %._crit_edge3, %94 %127 = load i32, ptr %6, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %133 129: ; preds = %126 %130 = load i32, ptr @stderr, align 4 %131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.16) %132 = call i32 @exit(i32 noundef 1) #5 unreachable 133: ; preds = %126 %134 = call i32 @exit(i32 noundef 0) #5 unreachable 135: ; preds = %61, %39, %15 %136 = load i32, ptr %3, align 4 ret i32 %136 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @fdatasync(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = { nounwind willreturn memory(read) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu0oqd04l.c' source_filename = "/tmp/tmpu0oqd04l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jpc_firstone(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 %5 = load i32, ptr %2, align 4 %6 = icmp sge i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) store i32 -1, ptr %3, align 4 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %4, align 4 br label %10 10: ; preds = %13, %1 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @assert(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/tmpu0oqd04l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jpc_firstone(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 %5 = load i32, ptr %2, align 4 %6 = icmp sge i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) store i32 -1, ptr %3, align 4 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %4, align 4 %14 = ashr i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @assert(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/tmpxz632sxz.c' source_filename = "/tmp/tmpxz632sxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d:%d:%d%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PM\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"AM\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"%02d:%02d:%02d\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 [2 x i8], align 1 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 12 br i1 %12, label %20, label %13 13: ; preds = %10, %0 %14 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, 12 br i1 %19, label %20, label %23 20: ; preds = %17, %10 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 12 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %20, %17, %13 %24 = load i32, ptr %2, align 4 %25 = srem i32 %24, 24 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26, i32 noundef %27, i32 noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxz632sxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d:%d:%d%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PM\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"AM\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"%02d:%02d:%02d\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 [2 x i8], align 1 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 12 br i1 %12, label %20, label %13 13: ; preds = %10, %0 %14 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, 12 br i1 %19, label %20, label %23 20: ; preds = %17, %10 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 12 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %20, %17, %13 %24 = load i32, ptr %2, align 4 %25 = srem i32 %24, 24 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26, i32 noundef %27, i32 noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt4rczbui.c' source_filename = "/tmp/tmpt4rczbui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kopp-kopp\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kalapalo() #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/tmpt4rczbui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kopp-kopp\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kalapalo() #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/tmp2m9lkbr3.c' source_filename = "/tmp/tmp2m9lkbr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fput(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 @HsFreeFile(ptr noundef %3) ret void } declare i32 @HsFreeFile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2m9lkbr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fput(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 @HsFreeFile(ptr noundef %3) ret void } declare i32 @HsFreeFile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawuy1oo_.c' source_filename = "/tmp/tmpawuy1oo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"button_clicked\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cycle_complete\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Door: CLOSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Door: OPENING\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Door: STOPPED_WHILE_OPENING\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Door: STOPPED_WHILE_CLOSING\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"Door: CLOSING\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Door: OPEN\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 [100 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %4, align 4 %6 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %6, align 16 br label %7 7: ; preds = %118, %0 %8 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %8) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %121 12: ; preds = %7 %13 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 store i32 0, ptr %2, align 4 br label %17 17: ; preds = %16, %12 %18 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.2) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %17 %23 = load i32, ptr %2, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %92 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %25 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %34 store i32 1, ptr %35, align 4 br label %36 36: ; preds = %31, %25 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %47 42: ; preds = %36 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %45 store i32 2, ptr %46, align 4 br label %47 47: ; preds = %42, %36 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp eq i32 %51, 2 br i1 %52, label %53, label %58 53: ; preds = %47 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %56 store i32 4, ptr %57, align 4 br label %58 58: ; preds = %53, %47 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp eq i32 %62, 3 br i1 %63, label %64, label %69 64: ; preds = %58 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %67 store i32 1, ptr %68, align 4 br label %69 69: ; preds = %64, %58 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp eq i32 %73, 4 br i1 %74, label %75, label %80 75: ; preds = %69 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %78 store i32 3, ptr %79, align 4 br label %80 80: ; preds = %75, %69 %81 = load i32, ptr %4, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp eq i32 %84, 5 br i1 %85, label %86, label %91 86: ; preds = %80 %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %89 store i32 4, ptr %90, align 4 br label %91 91: ; preds = %86, %80 br label %92 92: ; preds = %91, %22 %93 = load i32, ptr %2, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %118 95: ; preds = %92 %96 = load i32, ptr %4, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = icmp eq i32 %99, 1 br i1 %100, label %101, label %106 101: ; preds = %95 %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %104 store i32 5, ptr %105, align 4 br label %106 106: ; preds = %101, %95 %107 = load i32, ptr %4, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %108 %110 = load i32, ptr %109, align 4 %111 = icmp eq i32 %110, 4 br i1 %111, label %112, label %117 112: ; preds = %106 %113 = load i32, ptr %4, align 4 %114 = add nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %115 store i32 0, ptr %116, align 4 br label %117 117: ; preds = %112, %106 br label %118 118: ; preds = %117, %92 %119 = load i32, ptr %4, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %4, align 4 br label %7, !llvm.loop !6 121: ; preds = %7 store i32 0, ptr %2, align 4 br label %122 122: ; preds = %175, %121 %123 = load i32, ptr %2, align 4 %124 = load i32, ptr %4, align 4 %125 = icmp sle i32 %123, %124 br i1 %125, label %126, label %178 126: ; preds = %122 %127 = load i32, ptr %2, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %128 %130 = load i32, ptr %129, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %134 132: ; preds = %126 %133 = call i32 @printf(ptr noundef @.str.3) br label %134 134: ; preds = %132, %126 %135 = load i32, ptr %2, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %136 %138 = load i32, ptr %137, align 4 %139 = icmp eq i32 %138, 1 br i1 %139, label %140, label %142 140: ; preds = %134 %141 = call i32 @printf(ptr noundef @.str.4) br label %142 142: ; preds = %140, %134 %143 = load i32, ptr %2, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %144 %146 = load i32, ptr %145, align 4 %147 = icmp eq i32 %146, 2 br i1 %147, label %148, label %150 148: ; preds = %142 %149 = call i32 @printf(ptr noundef @.str.5) br label %150 150: ; preds = %148, %142 %151 = load i32, ptr %2, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %152 %154 = load i32, ptr %153, align 4 %155 = icmp eq i32 %154, 3 br i1 %155, label %156, label %158 156: ; preds = %150 %157 = call i32 @printf(ptr noundef @.str.6) br label %158 158: ; preds = %156, %150 %159 = load i32, ptr %2, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %160 %162 = load i32, ptr %161, align 4 %163 = icmp eq i32 %162, 4 br i1 %163, label %164, label %166 164: ; preds = %158 %165 = call i32 @printf(ptr noundef @.str.7) br label %166 166: ; preds = %164, %158 %167 = load i32, ptr %2, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp eq i32 %170, 5 br i1 %171, label %172, label %174 172: ; preds = %166 %173 = call i32 @printf(ptr noundef @.str.8) br label %174 174: ; preds = %172, %166 br label %175 175: ; preds = %174 %176 = load i32, ptr %2, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %2, align 4 br label %122, !llvm.loop !8 178: ; preds = %122 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawuy1oo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"button_clicked\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cycle_complete\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Door: CLOSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Door: OPENING\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Door: STOPPED_WHILE_OPENING\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Door: STOPPED_WHILE_CLOSING\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"Door: CLOSING\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Door: OPEN\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 [100 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %4, align 4 %6 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %6, align 16 %7 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %.lr.ph, label %123 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %117 %12 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 0, ptr %2, align 4 br label %16 16: ; preds = %15, %11 %17 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0 %18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.2) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %20, %16 %22 = load i32, ptr %2, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %91 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %24 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %33 store i32 1, ptr %34, align 4 br label %35 35: ; preds = %30, %24 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %46 41: ; preds = %35 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %44 store i32 2, ptr %45, align 4 br label %46 46: ; preds = %41, %35 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp eq i32 %50, 2 br i1 %51, label %52, label %57 52: ; preds = %46 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %55 store i32 4, ptr %56, align 4 br label %57 57: ; preds = %52, %46 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = icmp eq i32 %61, 3 br i1 %62, label %63, label %68 63: ; preds = %57 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %66 store i32 1, ptr %67, align 4 br label %68 68: ; preds = %63, %57 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp eq i32 %72, 4 br i1 %73, label %74, label %79 74: ; preds = %68 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %77 store i32 3, ptr %78, align 4 br label %79 79: ; preds = %74, %68 %80 = load i32, ptr %4, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp eq i32 %83, 5 br i1 %84, label %85, label %90 85: ; preds = %79 %86 = load i32, ptr %4, align 4 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %88 store i32 4, ptr %89, align 4 br label %90 90: ; preds = %85, %79 br label %91 91: ; preds = %90, %21 %92 = load i32, ptr %2, align 4 %93 = icmp eq i32 %92, 1 br i1 %93, label %94, label %117 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %96 %98 = load i32, ptr %97, align 4 %99 = icmp eq i32 %98, 1 br i1 %99, label %100, label %105 100: ; preds = %94 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %103 store i32 5, ptr %104, align 4 br label %105 105: ; preds = %100, %94 %106 = load i32, ptr %4, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = icmp eq i32 %109, 4 br i1 %110, label %111, label %116 111: ; preds = %105 %112 = load i32, ptr %4, align 4 %113 = add nsw i32 %112, 1 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %114 store i32 0, ptr %115, align 4 br label %116 116: ; preds = %111, %105 br label %117 117: ; preds = %116, %91 %118 = load i32, ptr %4, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %4, align 4 %120 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %121 = load i64, ptr @EOF, align 8 %122 = icmp ne i64 %120, %121 br i1 %122, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %117 br label %123 123: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %124 = load i32, ptr %2, align 4 %125 = load i32, ptr %4, align 4 %126 = icmp sle i32 %124, %125 br i1 %126, label %.lr.ph2, label %182 .lr.ph2: ; preds = %123 br label %127 127: ; preds = %.lr.ph2, %176 %128 = load i32, ptr %2, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %135 133: ; preds = %127 %134 = call i32 @printf(ptr noundef @.str.3) br label %135 135: ; preds = %133, %127 %136 = load i32, ptr %2, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = icmp eq i32 %139, 1 br i1 %140, label %141, label %143 141: ; preds = %135 %142 = call i32 @printf(ptr noundef @.str.4) br label %143 143: ; preds = %141, %135 %144 = load i32, ptr %2, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp eq i32 %147, 2 br i1 %148, label %149, label %151 149: ; preds = %143 %150 = call i32 @printf(ptr noundef @.str.5) br label %151 151: ; preds = %149, %143 %152 = load i32, ptr %2, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %153 %155 = load i32, ptr %154, align 4 %156 = icmp eq i32 %155, 3 br i1 %156, label %157, label %159 157: ; preds = %151 %158 = call i32 @printf(ptr noundef @.str.6) br label %159 159: ; preds = %157, %151 %160 = load i32, ptr %2, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 %164 = icmp eq i32 %163, 4 br i1 %164, label %165, label %167 165: ; preds = %159 %166 = call i32 @printf(ptr noundef @.str.7) br label %167 167: ; preds = %165, %159 %168 = load i32, ptr %2, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %169 %171 = load i32, ptr %170, align 4 %172 = icmp eq i32 %171, 5 br i1 %172, label %173, label %175 173: ; preds = %167 %174 = call i32 @printf(ptr noundef @.str.8) br label %175 175: ; preds = %173, %167 br label %176 176: ; preds = %175 %177 = load i32, ptr %2, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %2, align 4 %179 = load i32, ptr %2, align 4 %180 = load i32, ptr %4, align 4 %181 = icmp sle i32 %179, %180 br i1 %181, label %127, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %176 br label %182 182: ; preds = %._crit_edge3, %123 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3vqi99nb.c' source_filename = "/tmp/tmp3vqi99nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"s13\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"h1 z2r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"l2kh\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"k1 r12dd\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"1 r1b\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"kh1 r1b\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"n4l\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"p1 d1m\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"sh1n 0kh\00", align 1 @__const.ps_parsenum.scales = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [8 x i8] c"sh6n 0y\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"8k\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"d12\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"t4n\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"ch2r\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"p2n 0ch\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"chh8\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"s2t\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"2tth\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"n13\00", align 1 @__const.ps_parsenum.units = private unnamed_addr constant [10 x ptr] [ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19], align 16 @.str.20 = private unnamed_addr constant [4 x i8] c"d1s\00", align 1 @.str.21 = private unnamed_addr constant [10 x i8] c"gyHy2 r1h\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"b2 r1h\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"t8 r2\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"ch13 d1h\00", align 1 @.str.25 = private unnamed_addr constant [11 x i8] c"p1n drHr1h\00", align 1 @.str.26 = private unnamed_addr constant [8 x i8] c"s12 l1h\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"s1 trHr1\00", align 1 @.str.28 = private unnamed_addr constant [14 x i8] c"1tth tth2 r1h\00", align 1 @.str.29 = private unnamed_addr constant [7 x i8] c"6n n4s\00", align 1 @__const.ps_parsenum.teens = private unnamed_addr constant [10 x ptr] [ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29], align 16 @.str.30 = private unnamed_addr constant [4 x i8] c"b4s\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"3k k4s\00", align 1 @.str.32 = private unnamed_addr constant [6 x i8] c"b2 4s\00", align 1 @.str.33 = private unnamed_addr constant [7 x i8] c"t8 y3s\00", align 1 @.str.34 = private unnamed_addr constant [9 x i8] c"ch13 b4s\00", align 1 @.str.35 = private unnamed_addr constant [10 x i8] c"p1ch ch4s\00", align 1 @.str.36 = private unnamed_addr constant [10 x i8] c"chh1b b4s\00", align 1 @.str.37 = private unnamed_addr constant [10 x i8] c"s1t t2 4s\00", align 1 @.str.38 = private unnamed_addr constant [13 x i8] c"1tth tth2 4s\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"6n t4s\00", align 1 @__const.ps_parsenum.twenties = private unnamed_addr constant [10 x ptr] [ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.36, ptr @.str.37, ptr @.str.38, ptr @.str.39], align 16 @.str.40 = private unnamed_addr constant [4 x i8] c"t4s\00", align 1 @.str.41 = private unnamed_addr constant [7 x i8] c"3k t3s\00", align 1 @.str.42 = private unnamed_addr constant [8 x i8] c"b1t t3s\00", align 1 @.str.43 = private unnamed_addr constant [7 x i8] c"t9 t3s\00", align 1 @.str.44 = private unnamed_addr constant [9 x i8] c"ch13 t3s\00", align 1 @.str.45 = private unnamed_addr constant [7 x i8] c"p9 t3s\00", align 1 @.str.46 = private unnamed_addr constant [10 x i8] c"chh1t t3s\00", align 1 @.str.47 = private unnamed_addr constant [7 x i8] c"s9 t3s\00", align 1 @.str.48 = private unnamed_addr constant [8 x i8] c"1dd t3s\00", align 1 @.str.49 = private unnamed_addr constant [10 x i8] c"6n t2 l3s\00", align 1 @__const.ps_parsenum.thirties = private unnamed_addr constant [10 x ptr] [ptr @.str.40, ptr @.str.41, ptr @.str.42, ptr @.str.43, ptr @.str.44, ptr @.str.45, ptr @.str.46, ptr @.str.47, ptr @.str.48, ptr @.str.49], align 16 @.str.50 = private unnamed_addr constant [8 x i8] c"ch2 l3s\00", align 1 @.str.51 = private unnamed_addr constant [10 x i8] c"3k t2 l3s\00", align 1 @.str.52 = private unnamed_addr constant [10 x i8] c"b1 y2 l3s\00", align 1 @.str.53 = private unnamed_addr constant [10 x i8] c"t9 t2 l3s\00", align 1 @.str.54 = private unnamed_addr constant [12 x i8] c"ch14 v2 l3s\00", align 1 @.str.55 = private unnamed_addr constant [10 x i8] c"p9 t2 l3s\00", align 1 @.str.56 = private unnamed_addr constant [12 x i8] c"chh3 y2 l3s\00", align 1 @.str.57 = private unnamed_addr constant [10 x i8] c"s9 t2 l3s\00", align 1 @.str.58 = private unnamed_addr constant [17 x i8] c"1dd G1000 t2 l3s\00", align 1 @.str.59 = private unnamed_addr constant [8 x i8] c"6n ch2s\00", align 1 @__const.ps_parsenum.forties = private unnamed_addr constant [10 x ptr] [ptr @.str.50, ptr @.str.51, ptr @.str.52, ptr @.str.53, ptr @.str.54, ptr @.str.55, ptr @.str.56, ptr @.str.57, ptr @.str.58, ptr @.str.59], align 16 @.str.60 = private unnamed_addr constant [13 x i8] c"p1 G500 ch2s\00", align 1 @.str.61 = private unnamed_addr constant [13 x i8] c"3k kyHy2 v1n\00", align 1 @.str.62 = private unnamed_addr constant [7 x i8] c"b2 v1n\00", align 1 @.str.63 = private unnamed_addr constant [13 x i8] c"t3r G500 p1n\00", align 1 @.str.64 = private unnamed_addr constant [9 x i8] c"ch14 v1n\00", align 1 @.str.65 = private unnamed_addr constant [14 x i8] c"p1ch G500 p1n\00", align 1 @.str.66 = private unnamed_addr constant [10 x i8] c"chh1p p1n\00", align 1 @.str.67 = private unnamed_addr constant [11 x i8] c"s1t t2 v1n\00", align 1 @.str.68 = private unnamed_addr constant [13 x i8] c"1tt tth2 v1n\00", align 1 @.str.69 = private unnamed_addr constant [9 x i8] c"6n s1tth\00", align 1 @__const.ps_parsenum.fifties = private unnamed_addr constant [10 x ptr] [ptr @.str.60, ptr @.str.61, ptr @.str.62, ptr @.str.63, ptr @.str.64, ptr @.str.65, ptr @.str.66, ptr @.str.67, ptr @.str.68, ptr @.str.69], align 16 @.str.70 = private unnamed_addr constant [6 x i8] c"s2tth\00", align 1 @.str.71 = private unnamed_addr constant [9 x i8] c"3k s1tth\00", align 1 @.str.72 = private unnamed_addr constant [9 x i8] c"b2 s1tth\00", align 1 @.str.73 = private unnamed_addr constant [10 x i8] c"t3r s1tth\00", align 1 @.str.74 = private unnamed_addr constant [11 x i8] c"ch14 s1tth\00", align 1 @.str.75 = private unnamed_addr constant [9 x i8] c"p9 s1tth\00", align 1 @.str.76 = private unnamed_addr constant [11 x i8] c"chh2 s1tth\00", align 1 @.str.77 = private unnamed_addr constant [11 x i8] c"s1dd s1tth\00", align 1 @.str.78 = private unnamed_addr constant [10 x i8] c"1dd s1tth\00", align 1 @.str.79 = private unnamed_addr constant [11 x i8] c"6n h1t t1r\00", align 1 @__const.ps_parsenum.sixties = private unnamed_addr constant [10 x ptr] [ptr @.str.70, ptr @.str.71, ptr @.str.72, ptr @.str.73, ptr @.str.74, ptr @.str.75, ptr @.str.76, ptr @.str.77, ptr @.str.78, ptr @.str.79], align 16 @.str.80 = private unnamed_addr constant [8 x i8] c"s1t t1r\00", align 1 @.str.81 = private unnamed_addr constant [11 x i8] c"3k h1t t1r\00", align 1 @.str.82 = private unnamed_addr constant [11 x i8] c"b1 h1t t1r\00", align 1 @.str.83 = private unnamed_addr constant [11 x i8] c"t3 h1t t1r\00", align 1 @.str.84 = private unnamed_addr constant [13 x i8] c"ch14 h1t t1r\00", align 1 @.str.85 = private unnamed_addr constant [16 x i8] c"p1ch chh1t t1r \00", align 1 @.str.86 = private unnamed_addr constant [13 x i8] c"chh3 h1t t1r\00", align 1 @.str.87 = private unnamed_addr constant [11 x i8] c"s1 t1t t1r\00", align 1 @.str.88 = private unnamed_addr constant [12 x i8] c"1 tth1t t1r\00", align 1 @.str.89 = private unnamed_addr constant [9 x i8] c"6n y2 s4\00", align 1 @__const.ps_parsenum.seventies = private unnamed_addr constant [10 x ptr] [ptr @.str.80, ptr @.str.81, ptr @.str.82, ptr @.str.83, ptr @.str.84, ptr @.str.85, ptr @.str.86, ptr @.str.87, ptr @.str.88, ptr @.str.89], align 16 @.str.90 = private unnamed_addr constant [6 x i8] c"1s s4\00", align 1 @.str.91 = private unnamed_addr constant [12 x i8] c"3k kyHy2 s4\00", align 1 @.str.92 = private unnamed_addr constant [9 x i8] c"b1 y2 s4\00", align 1 @.str.93 = private unnamed_addr constant [9 x i8] c"t3 r2 s4\00", align 1 @.str.94 = private unnamed_addr constant [11 x i8] c"ch14 r2 s4\00", align 1 @.str.95 = private unnamed_addr constant [12 x i8] c"p1ch ch2 s4\00", align 1 @.str.96 = private unnamed_addr constant [11 x i8] c"chh3 y2 s4\00", align 1 @.str.97 = private unnamed_addr constant [10 x i8] c"s1t t2 s4\00", align 1 @.str.98 = private unnamed_addr constant [12 x i8] c"1tt tth2 s4\00", align 1 @.str.99 = private unnamed_addr constant [9 x i8] c"n1 v2 s4\00", align 1 @__const.ps_parsenum.eighties = private unnamed_addr constant [10 x ptr] [ptr @.str.90, ptr @.str.91, ptr @.str.92, ptr @.str.93, ptr @.str.94, ptr @.str.95, ptr @.str.96, ptr @.str.97, ptr @.str.98, ptr @.str.99], align 16 @.str.100 = private unnamed_addr constant [7 x i8] c"n1b b8\00", align 1 @.str.101 = private unnamed_addr constant [13 x i8] c"3k kyHy2n b8\00", align 1 @.str.102 = private unnamed_addr constant [7 x i8] c"b2n b8\00", align 1 @.str.103 = private unnamed_addr constant [10 x i8] c"t3 r2n b8\00", align 1 @.str.104 = private unnamed_addr constant [12 x i8] c"ch14 r2n b8\00", align 1 @.str.105 = private unnamed_addr constant [12 x i8] c"p1n ch2n b8\00", align 1 @.str.106 = private unnamed_addr constant [12 x i8] c"chh3 y2n b8\00", align 1 @.str.107 = private unnamed_addr constant [11 x i8] c"s1t t2n b8\00", align 1 @.str.108 = private unnamed_addr constant [18 x i8] c"1tt G500 tth2n b8\00", align 1 @.str.109 = private unnamed_addr constant [12 x i8] c"n3 nHy2n b8\00", align 1 @__const.ps_parsenum.nineties = private unnamed_addr constant [10 x ptr] [ptr @.str.100, ptr @.str.101, ptr @.str.102, ptr @.str.103, ptr @.str.104, ptr @.str.105, ptr @.str.106, ptr @.str.107, ptr @.str.108, ptr @.str.109], align 16 @.str.110 = private unnamed_addr constant [8 x i8] c" G3000 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ps_parsenum(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [10 x ptr], align 16 %8 = alloca [10 x ptr], align 16 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 %12 = alloca [10 x ptr], align 16 %13 = alloca [10 x ptr], align 16 %14 = alloca [10 x ptr], align 16 %15 = alloca [10 x ptr], align 16 %16 = alloca [10 x ptr], align 16 %17 = alloca [10 x ptr], align 16 %18 = alloca [10 x ptr], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.ps_parsenum.scales, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.ps_parsenum.units, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.ps_parsenum.teens, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.ps_parsenum.twenties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.ps_parsenum.thirties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.ps_parsenum.forties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.ps_parsenum.fifties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.ps_parsenum.sixties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.ps_parsenum.seventies, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.ps_parsenum.eighties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.ps_parsenum.nineties, i64 80, i1 false) %21 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 0 %22 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 0 store ptr %22, ptr %21, align 8 %23 = getelementptr inbounds ptr, ptr %21, i64 1 %24 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 0 store ptr %24, ptr %23, align 8 %25 = getelementptr inbounds ptr, ptr %23, i64 1 %26 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 0 store ptr %26, ptr %25, align 8 %27 = getelementptr inbounds ptr, ptr %25, i64 1 %28 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 0 store ptr %28, ptr %27, align 8 %29 = getelementptr inbounds ptr, ptr %27, i64 1 %30 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 store ptr %30, ptr %29, align 8 %31 = getelementptr inbounds ptr, ptr %29, i64 1 %32 = getelementptr inbounds [10 x ptr], ptr %13, i64 0, i64 0 store ptr %32, ptr %31, align 8 %33 = getelementptr inbounds ptr, ptr %31, i64 1 %34 = getelementptr inbounds [10 x ptr], ptr %14, i64 0, i64 0 store ptr %34, ptr %33, align 8 %35 = getelementptr inbounds ptr, ptr %33, i64 1 %36 = getelementptr inbounds [10 x ptr], ptr %15, i64 0, i64 0 store ptr %36, ptr %35, align 8 %37 = getelementptr inbounds ptr, ptr %35, i64 1 %38 = getelementptr inbounds [10 x ptr], ptr %16, i64 0, i64 0 store ptr %38, ptr %37, align 8 %39 = getelementptr inbounds ptr, ptr %37, i64 1 %40 = getelementptr inbounds [10 x ptr], ptr %17, i64 0, i64 0 store ptr %40, ptr %39, align 8 store i32 0, ptr %19, align 4 store i32 0, ptr %20, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %43, label %56 43: ; preds = %3 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %19, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 @strcat(ptr noundef %44, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = call i32 @strcat(ptr noundef %54, ptr noundef @.str.110) br label %268 56: ; preds = %3 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 2 br i1 %58, label %59, label %81 59: ; preds = %56 %60 = load ptr, ptr %6, align 8 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %19, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %19, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %68, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = call i32 @strcat(ptr noundef %60, ptr noundef %77) %79 = load ptr, ptr %6, align 8 %80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.110) br label %267 81: ; preds = %56 %82 = load i32, ptr %5, align 4 %83 = icmp eq i32 %82, 3 br i1 %83, label %84, label %126 84: ; preds = %81 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %4, align 8 %87 = load i32, ptr %19, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i32 @strcat(ptr noundef %85, ptr noundef %93) %95 = load ptr, ptr %6, align 8 %96 = call i32 @strcat(ptr noundef %95, ptr noundef @.str.110) %97 = load i32, ptr %19, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %19, align 4 %99 = load ptr, ptr %6, align 8 %100 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 1 %101 = load ptr, ptr %100, align 8 %102 = call i32 @strcat(ptr noundef %99, ptr noundef %101) %103 = load ptr, ptr %6, align 8 %104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.110) %105 = load ptr, ptr %6, align 8 %106 = load ptr, ptr %4, align 8 %107 = load i32, ptr %19, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = load ptr, ptr %4, align 8 %115 = load i32, ptr %19, align 4 %116 = add nsw i32 %115, 1 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = load i32, ptr %118, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds ptr, ptr %113, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = call i32 @strcat(ptr noundef %105, ptr noundef %122) %124 = load ptr, ptr %6, align 8 %125 = call i32 @strcat(ptr noundef %124, ptr noundef @.str.110) br label %266 126: ; preds = %81 %127 = load i32, ptr %5, align 4 %128 = icmp sgt i32 %127, 3 br i1 %128, label %129, label %265 129: ; preds = %126 store i32 0, ptr %20, align 4 %130 = load i32, ptr %5, align 4 %131 = srem i32 %130, 2 %132 = icmp ne i32 %131, 0 %133 = zext i1 %132 to i64 %134 = select i1 %132, i32 0, i32 1 store i32 %134, ptr %19, align 4 %135 = load i32, ptr %19, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %164 137: ; preds = %129 %138 = load ptr, ptr %6, align 8 %139 = load ptr, ptr %4, align 8 %140 = getelementptr inbounds i32, ptr %139, i64 0 %141 = load i32, ptr %140, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i32 @strcat(ptr noundef %138, ptr noundef %144) %146 = load ptr, ptr %6, align 8 %147 = call i32 @strcat(ptr noundef %146, ptr noundef @.str.110) %148 = load i32, ptr %20, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %20, align 4 %150 = load ptr, ptr %6, align 8 %151 = load i32, ptr %5, align 4 %152 = load i32, ptr %19, align 4 %153 = sub nsw i32 %151, %152 %154 = sdiv i32 %153, 2 %155 = add nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = call i32 @strcat(ptr noundef %150, ptr noundef %158) %160 = load ptr, ptr %6, align 8 %161 = call i32 @strcat(ptr noundef %160, ptr noundef @.str.110) %162 = load i32, ptr %20, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %20, align 4 br label %164 164: ; preds = %137, %129 br label %165 165: ; preds = %207, %164 %166 = load i32, ptr %19, align 4 %167 = load i32, ptr %5, align 4 %168 = sub nsw i32 %167, 3 %169 = icmp slt i32 %166, %168 br i1 %169, label %170, label %210 170: ; preds = %165 %171 = load ptr, ptr %6, align 8 %172 = load ptr, ptr %4, align 8 %173 = load i32, ptr %19, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i32, ptr %172, i64 %174 %176 = load i32, ptr %175, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %177 %179 = load ptr, ptr %178, align 8 %180 = load ptr, ptr %4, align 8 %181 = load i32, ptr %19, align 4 %182 = add nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i32, ptr %180, i64 %183 %185 = load i32, ptr %184, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds ptr, ptr %179, i64 %186 %188 = load ptr, ptr %187, align 8 %189 = call i32 @strcat(ptr noundef %171, ptr noundef %188) %190 = load ptr, ptr %6, align 8 %191 = call i32 @strcat(ptr noundef %190, ptr noundef @.str.110) %192 = load i32, ptr %20, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %20, align 4 %194 = load ptr, ptr %6, align 8 %195 = load i32, ptr %5, align 4 %196 = load i32, ptr %19, align 4 %197 = sub nsw i32 %195, %196 %198 = sdiv i32 %197, 2 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 %199 %201 = load ptr, ptr %200, align 8 %202 = call i32 @strcat(ptr noundef %194, ptr noundef %201) %203 = load ptr, ptr %6, align 8 %204 = call i32 @strcat(ptr noundef %203, ptr noundef @.str.110) %205 = load i32, ptr %20, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %20, align 4 br label %207 207: ; preds = %170 %208 = load i32, ptr %19, align 4 %209 = add nsw i32 %208, 2 store i32 %209, ptr %19, align 4 br label %165, !llvm.loop !6 210: ; preds = %165 %211 = load ptr, ptr %4, align 8 %212 = load i32, ptr %5, align 4 %213 = sub nsw i32 %212, 3 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds i32, ptr %211, i64 %214 %216 = load i32, ptr %215, align 4 %217 = icmp ne i32 %216, 0 br i1 %217, label %218, label %242 218: ; preds = %210 %219 = load ptr, ptr %6, align 8 %220 = load ptr, ptr %4, align 8 %221 = load i32, ptr %5, align 4 %222 = sub nsw i32 %221, 3 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds i32, ptr %220, i64 %223 %225 = load i32, ptr %224, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %226 %228 = load ptr, ptr %227, align 8 %229 = call i32 @strcat(ptr noundef %219, ptr noundef %228) %230 = load ptr, ptr %6, align 8 %231 = call i32 @strcat(ptr noundef %230, ptr noundef @.str.110) %232 = load i32, ptr %20, align 4 %233 = add nsw i32 %232, 1 store i32 %233, ptr %20, align 4 %234 = load ptr, ptr %6, align 8 %235 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 1 %236 = load ptr, ptr %235, align 8 %237 = call i32 @strcat(ptr noundef %234, ptr noundef %236) %238 = load ptr, ptr %6, align 8 %239 = call i32 @strcat(ptr noundef %238, ptr noundef @.str.110) %240 = load i32, ptr %20, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %20, align 4 br label %242 242: ; preds = %218, %210 %243 = load ptr, ptr %6, align 8 %244 = load ptr, ptr %4, align 8 %245 = load i32, ptr %5, align 4 %246 = sub nsw i32 %245, 2 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds i32, ptr %244, i64 %247 %249 = load i32, ptr %248, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %250 %252 = load ptr, ptr %251, align 8 %253 = load ptr, ptr %4, align 8 %254 = load i32, ptr %5, align 4 %255 = sub nsw i32 %254, 1 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds i32, ptr %253, i64 %256 %258 = load i32, ptr %257, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds ptr, ptr %252, i64 %259 %261 = load ptr, ptr %260, align 8 %262 = call i32 @strcat(ptr noundef %243, ptr noundef %261) %263 = load ptr, ptr %6, align 8 %264 = call i32 @strcat(ptr noundef %263, ptr noundef @.str.110) br label %265 265: ; preds = %242, %126 br label %266 266: ; preds = %265, %84 br label %267 267: ; preds = %266, %59 br label %268 268: ; preds = %267, %43 ret void } ; 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 @strcat(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: 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3vqi99nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"s13\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"h1 z2r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"l2kh\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"k1 r12dd\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"1 r1b\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"kh1 r1b\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"n4l\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"p1 d1m\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"sh1n 0kh\00", align 1 @__const.ps_parsenum.scales = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [8 x i8] c"sh6n 0y\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"8k\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"d12\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"t4n\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"ch2r\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"p2n 0ch\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"chh8\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"s2t\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"2tth\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"n13\00", align 1 @__const.ps_parsenum.units = private unnamed_addr constant [10 x ptr] [ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19], align 16 @.str.20 = private unnamed_addr constant [4 x i8] c"d1s\00", align 1 @.str.21 = private unnamed_addr constant [10 x i8] c"gyHy2 r1h\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"b2 r1h\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"t8 r2\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"ch13 d1h\00", align 1 @.str.25 = private unnamed_addr constant [11 x i8] c"p1n drHr1h\00", align 1 @.str.26 = private unnamed_addr constant [8 x i8] c"s12 l1h\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"s1 trHr1\00", align 1 @.str.28 = private unnamed_addr constant [14 x i8] c"1tth tth2 r1h\00", align 1 @.str.29 = private unnamed_addr constant [7 x i8] c"6n n4s\00", align 1 @__const.ps_parsenum.teens = private unnamed_addr constant [10 x ptr] [ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29], align 16 @.str.30 = private unnamed_addr constant [4 x i8] c"b4s\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"3k k4s\00", align 1 @.str.32 = private unnamed_addr constant [6 x i8] c"b2 4s\00", align 1 @.str.33 = private unnamed_addr constant [7 x i8] c"t8 y3s\00", align 1 @.str.34 = private unnamed_addr constant [9 x i8] c"ch13 b4s\00", align 1 @.str.35 = private unnamed_addr constant [10 x i8] c"p1ch ch4s\00", align 1 @.str.36 = private unnamed_addr constant [10 x i8] c"chh1b b4s\00", align 1 @.str.37 = private unnamed_addr constant [10 x i8] c"s1t t2 4s\00", align 1 @.str.38 = private unnamed_addr constant [13 x i8] c"1tth tth2 4s\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"6n t4s\00", align 1 @__const.ps_parsenum.twenties = private unnamed_addr constant [10 x ptr] [ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.36, ptr @.str.37, ptr @.str.38, ptr @.str.39], align 16 @.str.40 = private unnamed_addr constant [4 x i8] c"t4s\00", align 1 @.str.41 = private unnamed_addr constant [7 x i8] c"3k t3s\00", align 1 @.str.42 = private unnamed_addr constant [8 x i8] c"b1t t3s\00", align 1 @.str.43 = private unnamed_addr constant [7 x i8] c"t9 t3s\00", align 1 @.str.44 = private unnamed_addr constant [9 x i8] c"ch13 t3s\00", align 1 @.str.45 = private unnamed_addr constant [7 x i8] c"p9 t3s\00", align 1 @.str.46 = private unnamed_addr constant [10 x i8] c"chh1t t3s\00", align 1 @.str.47 = private unnamed_addr constant [7 x i8] c"s9 t3s\00", align 1 @.str.48 = private unnamed_addr constant [8 x i8] c"1dd t3s\00", align 1 @.str.49 = private unnamed_addr constant [10 x i8] c"6n t2 l3s\00", align 1 @__const.ps_parsenum.thirties = private unnamed_addr constant [10 x ptr] [ptr @.str.40, ptr @.str.41, ptr @.str.42, ptr @.str.43, ptr @.str.44, ptr @.str.45, ptr @.str.46, ptr @.str.47, ptr @.str.48, ptr @.str.49], align 16 @.str.50 = private unnamed_addr constant [8 x i8] c"ch2 l3s\00", align 1 @.str.51 = private unnamed_addr constant [10 x i8] c"3k t2 l3s\00", align 1 @.str.52 = private unnamed_addr constant [10 x i8] c"b1 y2 l3s\00", align 1 @.str.53 = private unnamed_addr constant [10 x i8] c"t9 t2 l3s\00", align 1 @.str.54 = private unnamed_addr constant [12 x i8] c"ch14 v2 l3s\00", align 1 @.str.55 = private unnamed_addr constant [10 x i8] c"p9 t2 l3s\00", align 1 @.str.56 = private unnamed_addr constant [12 x i8] c"chh3 y2 l3s\00", align 1 @.str.57 = private unnamed_addr constant [10 x i8] c"s9 t2 l3s\00", align 1 @.str.58 = private unnamed_addr constant [17 x i8] c"1dd G1000 t2 l3s\00", align 1 @.str.59 = private unnamed_addr constant [8 x i8] c"6n ch2s\00", align 1 @__const.ps_parsenum.forties = private unnamed_addr constant [10 x ptr] [ptr @.str.50, ptr @.str.51, ptr @.str.52, ptr @.str.53, ptr @.str.54, ptr @.str.55, ptr @.str.56, ptr @.str.57, ptr @.str.58, ptr @.str.59], align 16 @.str.60 = private unnamed_addr constant [13 x i8] c"p1 G500 ch2s\00", align 1 @.str.61 = private unnamed_addr constant [13 x i8] c"3k kyHy2 v1n\00", align 1 @.str.62 = private unnamed_addr constant [7 x i8] c"b2 v1n\00", align 1 @.str.63 = private unnamed_addr constant [13 x i8] c"t3r G500 p1n\00", align 1 @.str.64 = private unnamed_addr constant [9 x i8] c"ch14 v1n\00", align 1 @.str.65 = private unnamed_addr constant [14 x i8] c"p1ch G500 p1n\00", align 1 @.str.66 = private unnamed_addr constant [10 x i8] c"chh1p p1n\00", align 1 @.str.67 = private unnamed_addr constant [11 x i8] c"s1t t2 v1n\00", align 1 @.str.68 = private unnamed_addr constant [13 x i8] c"1tt tth2 v1n\00", align 1 @.str.69 = private unnamed_addr constant [9 x i8] c"6n s1tth\00", align 1 @__const.ps_parsenum.fifties = private unnamed_addr constant [10 x ptr] [ptr @.str.60, ptr @.str.61, ptr @.str.62, ptr @.str.63, ptr @.str.64, ptr @.str.65, ptr @.str.66, ptr @.str.67, ptr @.str.68, ptr @.str.69], align 16 @.str.70 = private unnamed_addr constant [6 x i8] c"s2tth\00", align 1 @.str.71 = private unnamed_addr constant [9 x i8] c"3k s1tth\00", align 1 @.str.72 = private unnamed_addr constant [9 x i8] c"b2 s1tth\00", align 1 @.str.73 = private unnamed_addr constant [10 x i8] c"t3r s1tth\00", align 1 @.str.74 = private unnamed_addr constant [11 x i8] c"ch14 s1tth\00", align 1 @.str.75 = private unnamed_addr constant [9 x i8] c"p9 s1tth\00", align 1 @.str.76 = private unnamed_addr constant [11 x i8] c"chh2 s1tth\00", align 1 @.str.77 = private unnamed_addr constant [11 x i8] c"s1dd s1tth\00", align 1 @.str.78 = private unnamed_addr constant [10 x i8] c"1dd s1tth\00", align 1 @.str.79 = private unnamed_addr constant [11 x i8] c"6n h1t t1r\00", align 1 @__const.ps_parsenum.sixties = private unnamed_addr constant [10 x ptr] [ptr @.str.70, ptr @.str.71, ptr @.str.72, ptr @.str.73, ptr @.str.74, ptr @.str.75, ptr @.str.76, ptr @.str.77, ptr @.str.78, ptr @.str.79], align 16 @.str.80 = private unnamed_addr constant [8 x i8] c"s1t t1r\00", align 1 @.str.81 = private unnamed_addr constant [11 x i8] c"3k h1t t1r\00", align 1 @.str.82 = private unnamed_addr constant [11 x i8] c"b1 h1t t1r\00", align 1 @.str.83 = private unnamed_addr constant [11 x i8] c"t3 h1t t1r\00", align 1 @.str.84 = private unnamed_addr constant [13 x i8] c"ch14 h1t t1r\00", align 1 @.str.85 = private unnamed_addr constant [16 x i8] c"p1ch chh1t t1r \00", align 1 @.str.86 = private unnamed_addr constant [13 x i8] c"chh3 h1t t1r\00", align 1 @.str.87 = private unnamed_addr constant [11 x i8] c"s1 t1t t1r\00", align 1 @.str.88 = private unnamed_addr constant [12 x i8] c"1 tth1t t1r\00", align 1 @.str.89 = private unnamed_addr constant [9 x i8] c"6n y2 s4\00", align 1 @__const.ps_parsenum.seventies = private unnamed_addr constant [10 x ptr] [ptr @.str.80, ptr @.str.81, ptr @.str.82, ptr @.str.83, ptr @.str.84, ptr @.str.85, ptr @.str.86, ptr @.str.87, ptr @.str.88, ptr @.str.89], align 16 @.str.90 = private unnamed_addr constant [6 x i8] c"1s s4\00", align 1 @.str.91 = private unnamed_addr constant [12 x i8] c"3k kyHy2 s4\00", align 1 @.str.92 = private unnamed_addr constant [9 x i8] c"b1 y2 s4\00", align 1 @.str.93 = private unnamed_addr constant [9 x i8] c"t3 r2 s4\00", align 1 @.str.94 = private unnamed_addr constant [11 x i8] c"ch14 r2 s4\00", align 1 @.str.95 = private unnamed_addr constant [12 x i8] c"p1ch ch2 s4\00", align 1 @.str.96 = private unnamed_addr constant [11 x i8] c"chh3 y2 s4\00", align 1 @.str.97 = private unnamed_addr constant [10 x i8] c"s1t t2 s4\00", align 1 @.str.98 = private unnamed_addr constant [12 x i8] c"1tt tth2 s4\00", align 1 @.str.99 = private unnamed_addr constant [9 x i8] c"n1 v2 s4\00", align 1 @__const.ps_parsenum.eighties = private unnamed_addr constant [10 x ptr] [ptr @.str.90, ptr @.str.91, ptr @.str.92, ptr @.str.93, ptr @.str.94, ptr @.str.95, ptr @.str.96, ptr @.str.97, ptr @.str.98, ptr @.str.99], align 16 @.str.100 = private unnamed_addr constant [7 x i8] c"n1b b8\00", align 1 @.str.101 = private unnamed_addr constant [13 x i8] c"3k kyHy2n b8\00", align 1 @.str.102 = private unnamed_addr constant [7 x i8] c"b2n b8\00", align 1 @.str.103 = private unnamed_addr constant [10 x i8] c"t3 r2n b8\00", align 1 @.str.104 = private unnamed_addr constant [12 x i8] c"ch14 r2n b8\00", align 1 @.str.105 = private unnamed_addr constant [12 x i8] c"p1n ch2n b8\00", align 1 @.str.106 = private unnamed_addr constant [12 x i8] c"chh3 y2n b8\00", align 1 @.str.107 = private unnamed_addr constant [11 x i8] c"s1t t2n b8\00", align 1 @.str.108 = private unnamed_addr constant [18 x i8] c"1tt G500 tth2n b8\00", align 1 @.str.109 = private unnamed_addr constant [12 x i8] c"n3 nHy2n b8\00", align 1 @__const.ps_parsenum.nineties = private unnamed_addr constant [10 x ptr] [ptr @.str.100, ptr @.str.101, ptr @.str.102, ptr @.str.103, ptr @.str.104, ptr @.str.105, ptr @.str.106, ptr @.str.107, ptr @.str.108, ptr @.str.109], align 16 @.str.110 = private unnamed_addr constant [8 x i8] c" G3000 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ps_parsenum(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [10 x ptr], align 16 %8 = alloca [10 x ptr], align 16 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 %12 = alloca [10 x ptr], align 16 %13 = alloca [10 x ptr], align 16 %14 = alloca [10 x ptr], align 16 %15 = alloca [10 x ptr], align 16 %16 = alloca [10 x ptr], align 16 %17 = alloca [10 x ptr], align 16 %18 = alloca [10 x ptr], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.ps_parsenum.scales, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.ps_parsenum.units, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.ps_parsenum.teens, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.ps_parsenum.twenties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.ps_parsenum.thirties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.ps_parsenum.forties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.ps_parsenum.fifties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.ps_parsenum.sixties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.ps_parsenum.seventies, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.ps_parsenum.eighties, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.ps_parsenum.nineties, i64 80, i1 false) %21 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 0 %22 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 0 store ptr %22, ptr %21, align 8 %23 = getelementptr inbounds ptr, ptr %21, i64 1 %24 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 0 store ptr %24, ptr %23, align 8 %25 = getelementptr inbounds ptr, ptr %23, i64 1 %26 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 0 store ptr %26, ptr %25, align 8 %27 = getelementptr inbounds ptr, ptr %25, i64 1 %28 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 0 store ptr %28, ptr %27, align 8 %29 = getelementptr inbounds ptr, ptr %27, i64 1 %30 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 store ptr %30, ptr %29, align 8 %31 = getelementptr inbounds ptr, ptr %29, i64 1 %32 = getelementptr inbounds [10 x ptr], ptr %13, i64 0, i64 0 store ptr %32, ptr %31, align 8 %33 = getelementptr inbounds ptr, ptr %31, i64 1 %34 = getelementptr inbounds [10 x ptr], ptr %14, i64 0, i64 0 store ptr %34, ptr %33, align 8 %35 = getelementptr inbounds ptr, ptr %33, i64 1 %36 = getelementptr inbounds [10 x ptr], ptr %15, i64 0, i64 0 store ptr %36, ptr %35, align 8 %37 = getelementptr inbounds ptr, ptr %35, i64 1 %38 = getelementptr inbounds [10 x ptr], ptr %16, i64 0, i64 0 store ptr %38, ptr %37, align 8 %39 = getelementptr inbounds ptr, ptr %37, i64 1 %40 = getelementptr inbounds [10 x ptr], ptr %17, i64 0, i64 0 store ptr %40, ptr %39, align 8 store i32 0, ptr %19, align 4 store i32 0, ptr %20, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %43, label %56 43: ; preds = %3 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %19, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 @strcat(ptr noundef %44, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = call i32 @strcat(ptr noundef %54, ptr noundef @.str.110) br label %271 56: ; preds = %3 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 2 br i1 %58, label %59, label %81 59: ; preds = %56 %60 = load ptr, ptr %6, align 8 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %19, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %19, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %68, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = call i32 @strcat(ptr noundef %60, ptr noundef %77) %79 = load ptr, ptr %6, align 8 %80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.110) br label %270 81: ; preds = %56 %82 = load i32, ptr %5, align 4 %83 = icmp eq i32 %82, 3 br i1 %83, label %84, label %126 84: ; preds = %81 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %4, align 8 %87 = load i32, ptr %19, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i32 @strcat(ptr noundef %85, ptr noundef %93) %95 = load ptr, ptr %6, align 8 %96 = call i32 @strcat(ptr noundef %95, ptr noundef @.str.110) %97 = load i32, ptr %19, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %19, align 4 %99 = load ptr, ptr %6, align 8 %100 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 1 %101 = load ptr, ptr %100, align 8 %102 = call i32 @strcat(ptr noundef %99, ptr noundef %101) %103 = load ptr, ptr %6, align 8 %104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.110) %105 = load ptr, ptr %6, align 8 %106 = load ptr, ptr %4, align 8 %107 = load i32, ptr %19, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = load ptr, ptr %4, align 8 %115 = load i32, ptr %19, align 4 %116 = add nsw i32 %115, 1 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = load i32, ptr %118, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds ptr, ptr %113, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = call i32 @strcat(ptr noundef %105, ptr noundef %122) %124 = load ptr, ptr %6, align 8 %125 = call i32 @strcat(ptr noundef %124, ptr noundef @.str.110) br label %269 126: ; preds = %81 %127 = load i32, ptr %5, align 4 %128 = icmp sgt i32 %127, 3 br i1 %128, label %129, label %268 129: ; preds = %126 store i32 0, ptr %20, align 4 %130 = load i32, ptr %5, align 4 %131 = srem i32 %130, 2 %132 = icmp ne i32 %131, 0 %133 = zext i1 %132 to i64 %134 = select i1 %132, i32 0, i32 1 store i32 %134, ptr %19, align 4 %135 = load i32, ptr %19, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %164 137: ; preds = %129 %138 = load ptr, ptr %6, align 8 %139 = load ptr, ptr %4, align 8 %140 = getelementptr inbounds i32, ptr %139, i64 0 %141 = load i32, ptr %140, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i32 @strcat(ptr noundef %138, ptr noundef %144) %146 = load ptr, ptr %6, align 8 %147 = call i32 @strcat(ptr noundef %146, ptr noundef @.str.110) %148 = load i32, ptr %20, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %20, align 4 %150 = load ptr, ptr %6, align 8 %151 = load i32, ptr %5, align 4 %152 = load i32, ptr %19, align 4 %153 = sub nsw i32 %151, %152 %154 = sdiv i32 %153, 2 %155 = add nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = call i32 @strcat(ptr noundef %150, ptr noundef %158) %160 = load ptr, ptr %6, align 8 %161 = call i32 @strcat(ptr noundef %160, ptr noundef @.str.110) %162 = load i32, ptr %20, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %20, align 4 br label %164 164: ; preds = %137, %129 %165 = load i32, ptr %19, align 4 %166 = load i32, ptr %5, align 4 %167 = sub nsw i32 %166, 3 %168 = icmp slt i32 %165, %167 br i1 %168, label %.lr.ph, label %213 .lr.ph: ; preds = %164 br label %169 169: ; preds = %.lr.ph, %206 %170 = load ptr, ptr %6, align 8 %171 = load ptr, ptr %4, align 8 %172 = load i32, ptr %19, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %171, i64 %173 %175 = load i32, ptr %174, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %176 %178 = load ptr, ptr %177, align 8 %179 = load ptr, ptr %4, align 8 %180 = load i32, ptr %19, align 4 %181 = add nsw i32 %180, 1 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %179, i64 %182 %184 = load i32, ptr %183, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds ptr, ptr %178, i64 %185 %187 = load ptr, ptr %186, align 8 %188 = call i32 @strcat(ptr noundef %170, ptr noundef %187) %189 = load ptr, ptr %6, align 8 %190 = call i32 @strcat(ptr noundef %189, ptr noundef @.str.110) %191 = load i32, ptr %20, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %20, align 4 %193 = load ptr, ptr %6, align 8 %194 = load i32, ptr %5, align 4 %195 = load i32, ptr %19, align 4 %196 = sub nsw i32 %194, %195 %197 = sdiv i32 %196, 2 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 %198 %200 = load ptr, ptr %199, align 8 %201 = call i32 @strcat(ptr noundef %193, ptr noundef %200) %202 = load ptr, ptr %6, align 8 %203 = call i32 @strcat(ptr noundef %202, ptr noundef @.str.110) %204 = load i32, ptr %20, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %20, align 4 br label %206 206: ; preds = %169 %207 = load i32, ptr %19, align 4 %208 = add nsw i32 %207, 2 store i32 %208, ptr %19, align 4 %209 = load i32, ptr %19, align 4 %210 = load i32, ptr %5, align 4 %211 = sub nsw i32 %210, 3 %212 = icmp slt i32 %209, %211 br i1 %212, label %169, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %206 br label %213 213: ; preds = %._crit_edge, %164 %214 = load ptr, ptr %4, align 8 %215 = load i32, ptr %5, align 4 %216 = sub nsw i32 %215, 3 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i32, ptr %214, i64 %217 %219 = load i32, ptr %218, align 4 %220 = icmp ne i32 %219, 0 br i1 %220, label %221, label %245 221: ; preds = %213 %222 = load ptr, ptr %6, align 8 %223 = load ptr, ptr %4, align 8 %224 = load i32, ptr %5, align 4 %225 = sub nsw i32 %224, 3 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds i32, ptr %223, i64 %226 %228 = load i32, ptr %227, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds [10 x ptr], ptr %8, i64 0, i64 %229 %231 = load ptr, ptr %230, align 8 %232 = call i32 @strcat(ptr noundef %222, ptr noundef %231) %233 = load ptr, ptr %6, align 8 %234 = call i32 @strcat(ptr noundef %233, ptr noundef @.str.110) %235 = load i32, ptr %20, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %20, align 4 %237 = load ptr, ptr %6, align 8 %238 = getelementptr inbounds [10 x ptr], ptr %7, i64 0, i64 1 %239 = load ptr, ptr %238, align 8 %240 = call i32 @strcat(ptr noundef %237, ptr noundef %239) %241 = load ptr, ptr %6, align 8 %242 = call i32 @strcat(ptr noundef %241, ptr noundef @.str.110) %243 = load i32, ptr %20, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %20, align 4 br label %245 245: ; preds = %221, %213 %246 = load ptr, ptr %6, align 8 %247 = load ptr, ptr %4, align 8 %248 = load i32, ptr %5, align 4 %249 = sub nsw i32 %248, 2 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds i32, ptr %247, i64 %250 %252 = load i32, ptr %251, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds [10 x ptr], ptr %18, i64 0, i64 %253 %255 = load ptr, ptr %254, align 8 %256 = load ptr, ptr %4, align 8 %257 = load i32, ptr %5, align 4 %258 = sub nsw i32 %257, 1 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds i32, ptr %256, i64 %259 %261 = load i32, ptr %260, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds ptr, ptr %255, i64 %262 %264 = load ptr, ptr %263, align 8 %265 = call i32 @strcat(ptr noundef %246, ptr noundef %264) %266 = load ptr, ptr %6, align 8 %267 = call i32 @strcat(ptr noundef %266, ptr noundef @.str.110) br label %268 268: ; preds = %245, %126 br label %269 269: ; preds = %268, %84 br label %270 270: ; preds = %269, %59 br label %271 271: ; preds = %270, %43 ret void } ; 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 @strcat(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: 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"}
; ModuleID = '/tmp/tmp_natv6kg.c' source_filename = "/tmp/tmp_natv6kg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_natv6kg.c" target datalayout = "e-m:e-p270: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/tmpojubn474.c' source_filename = "/tmp/tmpojubn474.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_standard_Laurent_system(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %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 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [2 x i32], align 4 %18 = alloca [1024 x i32], align 16 %19 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %20 = load i32, ptr %9, align 4 %21 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 0 store i32 %20, ptr %21, align 16 %22 = load i32, ptr %12, align 4 %23 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 1 store i32 %22, ptr %23, align 4 %24 = load i32, ptr %13, align 4 %25 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 2 store i32 %24, ptr %25, align 8 %26 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 0 %27 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 0 %28 = load ptr, ptr %19, align 8 %29 = load i32, ptr %14, align 4 %30 = call i32 @_ada_use_c2phc4c(i32 noundef 75, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29) store i32 %30, ptr %15, align 4 %31 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 0 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %8, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %64 36: ; preds = %7 %37 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 1 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %10, align 8 store i32 %38, ptr %39, align 4 store i32 0, ptr %16, align 4 br label %40 40: ; preds = %55, %36 %41 = load i32, ptr %16, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %41, %43 br i1 %44, label %45, label %58 45: ; preds = %40 %46 = load i32, ptr %16, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr %16, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %50, ptr %54, align 1 br label %55 55: ; preds = %45 %56 = load i32, ptr %16, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %16, align 4 br label %40, !llvm.loop !6 58: ; preds = %40 %59 = load ptr, ptr %11, align 8 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %60, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %59, i64 %62 store i8 0, ptr %63, align 1 br label %64 64: ; preds = %58, %7 %65 = load i32, ptr %15, align 4 ret i32 %65 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpojubn474.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_standard_Laurent_system(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %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 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [2 x i32], align 4 %18 = alloca [1024 x i32], align 16 %19 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %20 = load i32, ptr %9, align 4 %21 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 0 store i32 %20, ptr %21, align 16 %22 = load i32, ptr %12, align 4 %23 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 1 store i32 %22, ptr %23, align 4 %24 = load i32, ptr %13, align 4 %25 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 2 store i32 %24, ptr %25, align 8 %26 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 0 %27 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 0 %28 = load ptr, ptr %19, align 8 %29 = load i32, ptr %14, align 4 %30 = call i32 @_ada_use_c2phc4c(i32 noundef 75, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29) store i32 %30, ptr %15, align 4 %31 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 0 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %8, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %67 36: ; preds = %7 %37 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 1 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %10, align 8 store i32 %38, ptr %39, align 4 store i32 0, ptr %16, align 4 %40 = load i32, ptr %16, align 4 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %41, align 4 %43 = icmp slt i32 %40, %42 br i1 %43, label %.lr.ph, label %61 .lr.ph: ; preds = %36 br label %44 44: ; preds = %.lr.ph, %54 %45 = load i32, ptr %16, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1024 x i32], ptr %18, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %11, align 8 %51 = load i32, ptr %16, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 %49, ptr %53, align 1 br label %54 54: ; preds = %44 %55 = load i32, ptr %16, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %16, align 4 %57 = load i32, ptr %16, align 4 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %58, align 4 %60 = icmp slt i32 %57, %59 br i1 %60, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %61 61: ; preds = %._crit_edge, %36 %62 = load ptr, ptr %11, align 8 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %63, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 store i8 0, ptr %66, align 1 br label %67 67: ; preds = %61, %7 %68 = load i32, ptr %15, align 4 ret i32 %68 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplhpsse1s.c' source_filename = "/tmp/tmplhpsse1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpmNormalize(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca float, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load float, ptr %7, align 4 %15 = load float, ptr %7, align 4 %16 = load float, ptr %8, align 4 %17 = load float, ptr %8, align 4 %18 = fmul float %16, %17 %19 = call float @llvm.fmuladd.f32(float %14, float %15, float %18) %20 = load float, ptr %9, align 4 %21 = load float, ptr %9, align 4 %22 = call float @llvm.fmuladd.f32(float %20, float %21, float %19) %23 = call float @sqrt(float noundef %22) store float %23, ptr %13, align 4 %24 = load float, ptr %7, align 4 %25 = load float, ptr %13, align 4 %26 = fdiv float %24, %25 %27 = load ptr, ptr %10, align 8 store float %26, ptr %27, align 4 %28 = load float, ptr %8, align 4 %29 = load float, ptr %13, align 4 %30 = fdiv float %28, %29 %31 = load ptr, ptr %11, align 8 store float %30, ptr %31, align 4 %32 = load float, ptr %9, align 4 %33 = load float, ptr %13, align 4 %34 = fdiv float %32, %33 %35 = load ptr, ptr %12, align 8 store float %34, ptr %35, align 4 ret void } declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplhpsse1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpmNormalize(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca float, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load float, ptr %7, align 4 %15 = load float, ptr %7, align 4 %16 = load float, ptr %8, align 4 %17 = load float, ptr %8, align 4 %18 = fmul float %16, %17 %19 = call float @llvm.fmuladd.f32(float %14, float %15, float %18) %20 = load float, ptr %9, align 4 %21 = load float, ptr %9, align 4 %22 = call float @llvm.fmuladd.f32(float %20, float %21, float %19) %23 = call float @sqrt(float noundef %22) store float %23, ptr %13, align 4 %24 = load float, ptr %7, align 4 %25 = load float, ptr %13, align 4 %26 = fdiv float %24, %25 %27 = load ptr, ptr %10, align 8 store float %26, ptr %27, align 4 %28 = load float, ptr %8, align 4 %29 = load float, ptr %13, align 4 %30 = fdiv float %28, %29 %31 = load ptr, ptr %11, align 8 store float %30, ptr %31, align 4 %32 = load float, ptr %9, align 4 %33 = load float, ptr %13, align 4 %34 = fdiv float %32, %33 %35 = load ptr, ptr %12, align 8 store float %34, ptr %35, align 4 ret void } declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"}
; ModuleID = '/tmp/tmpozr7y1z6.c' source_filename = "/tmp/tmpozr7y1z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"returned from call_function & do_nothing.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i64 @malloc(i32 noundef 64) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 (...) @call_function() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = load ptr, ptr %6, align 8 %16 = call i32 @free(ptr noundef %15) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @call_function(...) #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/tmpozr7y1z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"returned from call_function & do_nothing.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i64 @malloc(i32 noundef 64) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 (...) @call_function() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = load ptr, ptr %6, align 8 %16 = call i32 @free(ptr noundef %15) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @call_function(...) #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/tmpadxphdwp.c' source_filename = "/tmp/tmpadxphdwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"items scanned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stampa_csv(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca [16 x ptr], align 16 %7 = alloca [16 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i8 44, ptr %5, align 1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %59, %2 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 16 br i1 %14, label %15, label %62 15: ; preds = %12 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %18 store ptr %16, ptr %19, align 8 %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr %4, align 4 %22 = call ptr @memchr(ptr noundef %20, i8 noundef signext 44, i32 noundef %21) store ptr %22, ptr %9, align 8 %23 = load ptr, ptr %9, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %30 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %28 store i32 %26, ptr %29, align 4 br label %62 30: ; preds = %15 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = ptrtoint ptr %33 to i64 %39 = ptrtoint ptr %37 to i64 %40 = sub i64 %38, %39 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = sub nsw i64 %42, %40 %44 = trunc i64 %43 to i32 store i32 %44, ptr %4, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = ptrtoint ptr %45 to i64 %51 = ptrtoint ptr %49 to i64 %52 = sub i64 %50, %51 %53 = sub nsw i64 %52, 1 %54 = trunc i64 %53 to i32 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %56 store i32 %54, ptr %57, align 4 br label %58 58: ; preds = %30 br label %59 59: ; preds = %58 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %12, !llvm.loop !6 62: ; preds = %25, %12 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 %65 = load i32, ptr %8, align 4 %66 = call i32 @printf(ptr noundef @.str, i32 noundef %65) store i32 0, ptr %8, align 4 br label %67 67: ; preds = %81, %62 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %84 71: ; preds = %67 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %8, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = call i32 @stampa(ptr noundef %75, i32 noundef %79) br label %81 81: ; preds = %71 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 br label %67, !llvm.loop !8 84: ; preds = %67 ret void } declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stampa(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadxphdwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"items scanned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stampa_csv(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca [16 x ptr], align 16 %7 = alloca [16 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i8 44, ptr %5, align 1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 16 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %58 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %17 store ptr %15, ptr %18, align 8 %19 = load ptr, ptr %9, align 8 %20 = load i32, ptr %4, align 4 %21 = call ptr @memchr(ptr noundef %19, i8 noundef signext 44, i32 noundef %20) store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %9, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %14 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %27 store i32 %25, ptr %28, align 4 br label %63 29: ; preds = %14 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = ptrtoint ptr %32 to i64 %38 = ptrtoint ptr %36 to i64 %39 = sub i64 %37, %38 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = sub nsw i64 %41, %39 %43 = trunc i64 %42 to i32 store i32 %43, ptr %4, align 4 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = ptrtoint ptr %44 to i64 %50 = ptrtoint ptr %48 to i64 %51 = sub i64 %49, %50 %52 = sub nsw i64 %51, 1 %53 = trunc i64 %52 to i32 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %55 store i32 %53, ptr %56, align 4 br label %57 57: ; preds = %29 br label %58 58: ; preds = %57 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %61, 16 br i1 %62, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %58 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %63 63: ; preds = %.loopexit, %24 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %8, align 4 %67 = call i32 @printf(ptr noundef @.str, i32 noundef %66) store i32 0, ptr %8, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph1, label %87 .lr.ph1: ; preds = %63 br label %71 71: ; preds = %.lr.ph1, %81 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %8, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = call i32 @stampa(ptr noundef %75, i32 noundef %79) br label %81 81: ; preds = %71 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %71, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %63 ret void } declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stampa(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc2ym2hcw.c' source_filename = "/tmp/tmpc2ym2hcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outl(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = call i64 @_LE_to_BE_long(i64 noundef %5) %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = add i64 2147483648, %8 %10 = inttoptr i64 %9 to ptr store i64 %6, ptr %10, align 8 %11 = load i64, ptr %3, align 8 ret i64 %11 } declare i64 @_LE_to_BE_long(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2ym2hcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outl(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = call i64 @_LE_to_BE_long(i64 noundef %5) %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = add i64 2147483648, %8 %10 = inttoptr i64 %9 to ptr store i64 %6, ptr %10, align 8 %11 = load i64, ptr %3, align 8 ret i64 %11 } declare i64 @_LE_to_BE_long(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgzck4k8u.c' source_filename = "/tmp/tmpgzck4k8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_impure_with_local_ok(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = zext i32 %5 to i64 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %3, align 8 %8 = alloca i32, i64 %6, align 16 store i64 %6, ptr %4, align 8 %9 = call i32 @alias_mod_bad(ptr noundef %8, i32 noundef 0, i32 noundef 9) %10 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %10) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @alias_mod_bad(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgzck4k8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_impure_with_local_ok(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = zext i32 %5 to i64 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %3, align 8 %8 = alloca i32, i64 %6, align 16 store i64 %6, ptr %4, align 8 %9 = call i32 @alias_mod_bad(ptr noundef %8, i32 noundef 0, i32 noundef 9) %10 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %10) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @alias_mod_bad(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmvfmz2d6.c' source_filename = "/tmp/tmpmvfmz2d6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%d is a perfect number\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%d is not a perfect number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %46 12: ; preds = %2 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 store i32 %18, ptr %6, align 4 br label %19 19: ; preds = %32, %12 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %19 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = srem i32 %24, %25 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %23 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %29, %30 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %28, %23 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %19, !llvm.loop !6 35: ; preds = %19 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load i32, ptr %7, align 4 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) br label %45 42: ; preds = %35 %43 = load i32, ptr %7, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) br label %45 45: ; preds = %42, %39 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %11 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmvfmz2d6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%d is a perfect number\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%d is not a perfect number\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %48 12: ; preds = %2 store i32 1, ptr %7, align 4 store i32 0, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %37 .lr.ph: ; preds = %12 br label %22 22: ; preds = %.lr.ph, %31 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = srem i32 %23, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %22 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %28, %29 store i32 %30, ptr %8, align 4 br label %31 31: ; preds = %27, %22 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %12 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i32, ptr %7, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) br label %47 44: ; preds = %37 %45 = load i32, ptr %7, align 4 %46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45) br label %47 47: ; preds = %44, %41 store i32 0, ptr %3, align 4 br label %48 48: ; preds = %47, %11 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpudm6rv1i.c' source_filename = "/tmp/tmpudm6rv1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_getdouble_id_def(ptr noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ini_getdouble_id(ptr noundef %6, ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = load double, ptr %5, align 8 store double %11, ptr %3, align 8 br label %14 12: ; preds = %2 %13 = load double, ptr %6, align 8 store double %13, ptr %3, align 8 br label %14 14: ; preds = %12, %10 %15 = load double, ptr %3, align 8 ret double %15 } declare i32 @ini_getdouble_id(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/tmpudm6rv1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_getdouble_id_def(ptr noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ini_getdouble_id(ptr noundef %6, ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = load double, ptr %5, align 8 store double %11, ptr %3, align 8 br label %14 12: ; preds = %2 %13 = load double, ptr %6, align 8 store double %13, ptr %3, align 8 br label %14 14: ; preds = %12, %10 %15 = load double, ptr %3, align 8 ret double %15 } declare i32 @ini_getdouble_id(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/tmpqwf6b4cx.c' source_filename = "/tmp/tmpqwf6b4cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CXL_START_WORK_NUM_IRQS = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqwf6b4cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CXL_START_WORK_NUM_IRQS = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprl8bh26o.c' source_filename = "/tmp/tmprl8bh26o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udelay(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timeval, align 8 %4 = alloca %struct.timeval, align 8 store i64 %0, ptr %2, align 8 %5 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) %6 = load i64, ptr %2, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = add i64 %8, %6 store i64 %9, ptr %7, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = udiv i64 %11, 1000000 %13 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %14 = load i64, ptr %13, align 8 %15 = add i64 %14, %12 store i64 %15, ptr %13, align 8 %16 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %17 = load i64, ptr %16, align 8 %18 = urem i64 %17, 1000000 store i64 %18, ptr %16, align 8 br label %19 19: ; preds = %41, %1 %20 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) br label %21 21: ; preds = %19 %22 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %25 = load i64, ptr %24, align 8 %26 = icmp slt i64 %23, %25 br i1 %26, label %41, label %27 27: ; preds = %21 %28 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %31 = load i64, ptr %30, align 8 %32 = icmp eq i64 %29, %31 br i1 %32, label %33, label %39 33: ; preds = %27 %34 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %37 = load i64, ptr %36, align 8 %38 = icmp ult i64 %35, %37 br label %39 39: ; preds = %33, %27 %40 = phi i1 [ false, %27 ], [ %38, %33 ] br label %41 41: ; preds = %39, %21 %42 = phi i1 [ true, %21 ], [ %40, %39 ] br i1 %42, label %19, label %43, !llvm.loop !6 43: ; preds = %41 ret void } declare i32 @gettimeofday(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/tmprl8bh26o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udelay(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timeval, align 8 %4 = alloca %struct.timeval, align 8 store i64 %0, ptr %2, align 8 %5 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) %6 = load i64, ptr %2, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = add i64 %8, %6 store i64 %9, ptr %7, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = udiv i64 %11, 1000000 %13 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %14 = load i64, ptr %13, align 8 %15 = add i64 %14, %12 store i64 %15, ptr %13, align 8 %16 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %17 = load i64, ptr %16, align 8 %18 = urem i64 %17, 1000000 store i64 %18, ptr %16, align 8 br label %19 19: ; preds = %41, %1 %20 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) br label %21 21: ; preds = %19 %22 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %25 = load i64, ptr %24, align 8 %26 = icmp slt i64 %23, %25 br i1 %26, label %41, label %27 27: ; preds = %21 %28 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 %31 = load i64, ptr %30, align 8 %32 = icmp eq i64 %29, %31 br i1 %32, label %33, label %39 33: ; preds = %27 %34 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %37 = load i64, ptr %36, align 8 %38 = icmp ult i64 %35, %37 br label %39 39: ; preds = %33, %27 %40 = phi i1 [ false, %27 ], [ %38, %33 ] br label %41 41: ; preds = %39, %21 %42 = phi i1 [ true, %21 ], [ %40, %39 ] br i1 %42, label %19, label %43, !llvm.loop !6 43: ; preds = %41 ret void } declare i32 @gettimeofday(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/tmpog3e984p.c' source_filename = "/tmp/tmpog3e984p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage:\09nako <command> [arguments]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmpog3e984p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage:\09nako <command> [arguments]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmp7lm8mf8e.c' source_filename = "/tmp/tmp7lm8mf8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @general(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i32 @nearestMul(i32 noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %3, align 4 br label %32 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @sqrCase(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %3, align 4 br label %32 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @sqrCase(i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @general(i32 noundef %25, i32 noundef %28) %30 = mul nsw i32 %24, %29 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %21 br label %32 32: ; preds = %11, %17, %31 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @nearestMul(i32 noundef) #1 declare i32 @sqrCase(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/tmp7lm8mf8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @general(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i32 @nearestMul(i32 noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %3, align 4 br label %32 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @sqrCase(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %3, align 4 br label %32 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @sqrCase(i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @general(i32 noundef %25, i32 noundef %28) %30 = mul nsw i32 %24, %29 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %21 br label %32 32: ; preds = %31, %17, %11 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @nearestMul(i32 noundef) #1 declare i32 @sqrCase(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/tmpd8kjx202.c' source_filename = "/tmp/tmpd8kjx202.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ECC_ECDSA_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @ecc_ecdsa_verify(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @ecc_ecdsa_verify(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd8kjx202.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ECC_ECDSA_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @ecc_ecdsa_verify(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @ecc_ecdsa_verify(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7uzm65a.c' source_filename = "/tmp/tmpo7uzm65a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local float @softboundmpx_tanf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @tanf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @tanf(float noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7uzm65a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local float @softboundmpx_tanf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @tanf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @tanf(float noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_ye_roi.c' source_filename = "/tmp/tmp5_ye_roi.c" target datalayout = "e-m:e-p270: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/tmp5_ye_roi.c" target datalayout = "e-m:e-p270: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/tmpstk_nd29.c' source_filename = "/tmp/tmpstk_nd29.c" target datalayout = "e-m:e-p270: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/tmpstk_nd29.c" target datalayout = "e-m:e-p270: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/tmp4w_lgpz4.c' source_filename = "/tmp/tmp4w_lgpz4.c" target datalayout = "e-m:e-p270: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/tmp4w_lgpz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_yf06_z.c' source_filename = "/tmp/tmpz_yf06_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_yf06_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbj13683v.c' source_filename = "/tmp/tmpbj13683v.c" target datalayout = "e-m:e-p270: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/tmpbj13683v.c" target datalayout = "e-m:e-p270: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"}