llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpsjik_r9g.c' source_filename = "/tmp/tmpsjik_r9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Cannot convert %s to utf8; E2BIG (%d vs %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid utf-16 in file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_utf16toutf8(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %10, align 8 %17 = load i32, ptr %9, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %20, label %19 19: ; preds = %4 store i32 0, ptr %5, align 4 br label %156 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %9, align 4 %23 = call i32 @util_utf16toutf8_len(ptr noundef %21, i32 noundef %22) store i32 %23, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %15, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %35 30: ; preds = %26, %20 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %7, align 4 %34 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 1, i32 noundef -2147483648, ptr noundef @.str, ptr noundef %31, i32 noundef %32, i32 noundef %33) store i32 0, ptr %5, align 4 br label %156 35: ; preds = %26 %36 = load ptr, ptr %6, align 8 store ptr %36, ptr %11, align 8 br label %37 37: ; preds = %152, %35 %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 2 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = icmp ule ptr %39, %43 br i1 %44, label %45, label %153 45: ; preds = %37 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 1 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = shl i32 %49, 8 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = or i32 %50, %54 store i32 %55, ptr %12, align 4 %56 = load ptr, ptr %10, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 2 store ptr %57, ptr %10, align 8 %58 = load i32, ptr %12, align 4 %59 = and i32 %58, 64512 %60 = icmp eq i32 %59, 55296 br i1 %60, label %61, label %98 61: ; preds = %45 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 2 %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = icmp ugt ptr %63, %67 br i1 %68, label %69, label %71 69: ; preds = %61 %70 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 5, i32 noundef 8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %156 71: ; preds = %61 %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = shl i32 %75, 8 %77 = load ptr, ptr %10, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 2 %79 = load i8, ptr %78, align 1 %80 = zext i8 %79 to i32 %81 = or i32 %76, %80 store i32 %81, ptr %13, align 4 %82 = load i32, ptr %13, align 4 %83 = and i32 %82, 64512 %84 = icmp ne i32 %83, 56320 br i1 %84, label %85, label %87 85: ; preds = %71 %86 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 5, i32 noundef 8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %156 87: ; preds = %71 %88 = load i32, ptr %12, align 4 %89 = and i32 %88, 1023 store i32 %89, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = shl i32 %90, 10 store i32 %91, ptr %12, align 4 %92 = load i32, ptr %12, align 4 %93 = load i32, ptr %13, align 4 %94 = and i32 %93, 1023 %95 = or i32 %92, %94 store i32 %95, ptr %12, align 4 %96 = load i32, ptr %12, align 4 %97 = add i32 %96, 65536 store i32 %97, ptr %12, align 4 br label %98 98: ; preds = %87, %45 %99 = load i32, ptr %12, align 4 %100 = icmp ult i32 %99, 128 br i1 %100, label %101, label %106 101: ; preds = %98 %102 = load i32, ptr %12, align 4 %103 = trunc i32 %102 to i8 %104 = load ptr, ptr %11, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %11, align 8 store i8 %103, ptr %104, align 1 store i32 0, ptr %14, align 4 br label %135 106: ; preds = %98 %107 = load i32, ptr %12, align 4 %108 = icmp ult i32 %107, 2048 br i1 %108, label %109, label %116 109: ; preds = %106 %110 = load i32, ptr %12, align 4 %111 = lshr i32 %110, 6 %112 = or i32 192, %111 %113 = trunc i32 %112 to i8 %114 = load ptr, ptr %11, align 8 %115 = getelementptr inbounds i8, ptr %114, i32 1 store ptr %115, ptr %11, align 8 store i8 %113, ptr %114, align 1 store i32 1, ptr %14, align 4 br label %134 116: ; preds = %106 %117 = load i32, ptr %12, align 4 %118 = icmp ult i32 %117, 65536 br i1 %118, label %119, label %126 119: ; preds = %116 %120 = load i32, ptr %12, align 4 %121 = lshr i32 %120, 12 %122 = or i32 224, %121 %123 = trunc i32 %122 to i8 %124 = load ptr, ptr %11, align 8 %125 = getelementptr inbounds i8, ptr %124, i32 1 store ptr %125, ptr %11, align 8 store i8 %123, ptr %124, align 1 store i32 2, ptr %14, align 4 br label %133 126: ; preds = %116 %127 = load i32, ptr %12, align 4 %128 = lshr i32 %127, 18 %129 = or i32 240, %128 %130 = trunc i32 %129 to i8 %131 = load ptr, ptr %11, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %11, align 8 store i8 %130, ptr %131, align 1 store i32 3, ptr %14, align 4 br label %133 133: ; preds = %126, %119 br label %134 134: ; preds = %133, %109 br label %135 135: ; preds = %134, %101 br label %136 136: ; preds = %139, %135 %137 = load i32, ptr %14, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %152 139: ; preds = %136 %140 = load i32, ptr %12, align 4 %141 = load i32, ptr %14, align 4 %142 = sub nsw i32 %141, 1 %143 = mul nsw i32 6, %142 %144 = lshr i32 %140, %143 %145 = and i32 %144, 63 %146 = or i32 128, %145 %147 = trunc i32 %146 to i8 %148 = load ptr, ptr %11, align 8 %149 = getelementptr inbounds i8, ptr %148, i32 1 store ptr %149, ptr %11, align 8 store i8 %147, ptr %148, align 1 %150 = load i32, ptr %14, align 4 %151 = add nsw i32 %150, -1 store i32 %151, ptr %14, align 4 br label %136, !llvm.loop !6 152: ; preds = %136 br label %37, !llvm.loop !8 153: ; preds = %37 %154 = load ptr, ptr %11, align 8 store i8 0, ptr %154, align 1 %155 = load i32, ptr %15, align 4 store i32 %155, ptr %5, align 4 br label %156 156: ; preds = %153, %85, %69, %30, %19 %157 = load i32, ptr %5, align 4 ret i32 %157 } declare i32 @util_utf16toutf8_len(ptr noundef, i32 noundef) #1 declare i32 @err_log(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsjik_r9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Cannot convert %s to utf8; E2BIG (%d vs %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid utf-16 in file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_utf16toutf8(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %10, align 8 %17 = load i32, ptr %9, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %20, label %19 19: ; preds = %4 store i32 0, ptr %5, align 4 br label %163 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %9, align 4 %23 = call i32 @util_utf16toutf8_len(ptr noundef %21, i32 noundef %22) store i32 %23, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %15, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %35 30: ; preds = %26, %20 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %7, align 4 %34 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 1, i32 noundef -2147483648, ptr noundef @.str, ptr noundef %31, i32 noundef %32, i32 noundef %33) store i32 0, ptr %5, align 4 br label %163 35: ; preds = %26 %36 = load ptr, ptr %6, align 8 store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 2 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = icmp ule ptr %38, %42 br i1 %43, label %.lr.ph2, label %160 .lr.ph2: ; preds = %35 br label %44 44: ; preds = %.lr.ph2, %152 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = shl i32 %48, 8 %50 = load ptr, ptr %10, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 0 %52 = load i8, ptr %51, align 1 %53 = zext i8 %52 to i32 %54 = or i32 %49, %53 store i32 %54, ptr %12, align 4 %55 = load ptr, ptr %10, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 2 store ptr %56, ptr %10, align 8 %57 = load i32, ptr %12, align 4 %58 = and i32 %57, 64512 %59 = icmp eq i32 %58, 55296 br i1 %59, label %60, label %97 60: ; preds = %44 %61 = load ptr, ptr %10, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 2 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = icmp ugt ptr %62, %66 br i1 %67, label %68, label %70 68: ; preds = %60 %69 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 5, i32 noundef 8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %163 70: ; preds = %60 %71 = load ptr, ptr %10, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 3 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = shl i32 %74, 8 %76 = load ptr, ptr %10, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 2 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = or i32 %75, %79 store i32 %80, ptr %13, align 4 %81 = load i32, ptr %13, align 4 %82 = and i32 %81, 64512 %83 = icmp ne i32 %82, 56320 br i1 %83, label %84, label %86 84: ; preds = %70 %85 = call i32 (i32, i32, ptr, ...) @err_log(i32 noundef 5, i32 noundef 8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %163 86: ; preds = %70 %87 = load i32, ptr %12, align 4 %88 = and i32 %87, 1023 store i32 %88, ptr %12, align 4 %89 = load i32, ptr %12, align 4 %90 = shl i32 %89, 10 store i32 %90, ptr %12, align 4 %91 = load i32, ptr %12, align 4 %92 = load i32, ptr %13, align 4 %93 = and i32 %92, 1023 %94 = or i32 %91, %93 store i32 %94, ptr %12, align 4 %95 = load i32, ptr %12, align 4 %96 = add i32 %95, 65536 store i32 %96, ptr %12, align 4 br label %97 97: ; preds = %86, %44 %98 = load i32, ptr %12, align 4 %99 = icmp ult i32 %98, 128 br i1 %99, label %100, label %105 100: ; preds = %97 %101 = load i32, ptr %12, align 4 %102 = trunc i32 %101 to i8 %103 = load ptr, ptr %11, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %11, align 8 store i8 %102, ptr %103, align 1 store i32 0, ptr %14, align 4 br label %134 105: ; preds = %97 %106 = load i32, ptr %12, align 4 %107 = icmp ult i32 %106, 2048 br i1 %107, label %108, label %115 108: ; preds = %105 %109 = load i32, ptr %12, align 4 %110 = lshr i32 %109, 6 %111 = or i32 192, %110 %112 = trunc i32 %111 to i8 %113 = load ptr, ptr %11, align 8 %114 = getelementptr inbounds i8, ptr %113, i32 1 store ptr %114, ptr %11, align 8 store i8 %112, ptr %113, align 1 store i32 1, ptr %14, align 4 br label %133 115: ; preds = %105 %116 = load i32, ptr %12, align 4 %117 = icmp ult i32 %116, 65536 br i1 %117, label %118, label %125 118: ; preds = %115 %119 = load i32, ptr %12, align 4 %120 = lshr i32 %119, 12 %121 = or i32 224, %120 %122 = trunc i32 %121 to i8 %123 = load ptr, ptr %11, align 8 %124 = getelementptr inbounds i8, ptr %123, i32 1 store ptr %124, ptr %11, align 8 store i8 %122, ptr %123, align 1 store i32 2, ptr %14, align 4 br label %132 125: ; preds = %115 %126 = load i32, ptr %12, align 4 %127 = lshr i32 %126, 18 %128 = or i32 240, %127 %129 = trunc i32 %128 to i8 %130 = load ptr, ptr %11, align 8 %131 = getelementptr inbounds i8, ptr %130, i32 1 store ptr %131, ptr %11, align 8 store i8 %129, ptr %130, align 1 store i32 3, ptr %14, align 4 br label %132 132: ; preds = %125, %118 br label %133 133: ; preds = %132, %108 br label %134 134: ; preds = %133, %100 %135 = load i32, ptr %14, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %.lr.ph, label %152 .lr.ph: ; preds = %134 br label %137 137: ; preds = %.lr.ph, %137 %138 = load i32, ptr %12, align 4 %139 = load i32, ptr %14, align 4 %140 = sub nsw i32 %139, 1 %141 = mul nsw i32 6, %140 %142 = lshr i32 %138, %141 %143 = and i32 %142, 63 %144 = or i32 128, %143 %145 = trunc i32 %144 to i8 %146 = load ptr, ptr %11, align 8 %147 = getelementptr inbounds i8, ptr %146, i32 1 store ptr %147, ptr %11, align 8 store i8 %145, ptr %146, align 1 %148 = load i32, ptr %14, align 4 %149 = add nsw i32 %148, -1 store i32 %149, ptr %14, align 4 %150 = load i32, ptr %14, align 4 %151 = icmp ne i32 %150, 0 br i1 %151, label %137, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %137 br label %152 152: ; preds = %._crit_edge, %134 %153 = load ptr, ptr %10, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 2 %155 = load ptr, ptr %8, align 8 %156 = load i32, ptr %9, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %155, i64 %157 %159 = icmp ule ptr %154, %158 br i1 %159, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %152 br label %160 160: ; preds = %._crit_edge3, %35 %161 = load ptr, ptr %11, align 8 store i8 0, ptr %161, align 1 %162 = load i32, ptr %15, align 4 store i32 %162, ptr %5, align 4 br label %163 163: ; preds = %160, %84, %68, %30, %19 %164 = load i32, ptr %5, align 4 ret i32 %164 } declare i32 @util_utf16toutf8_len(ptr noundef, i32 noundef) #1 declare i32 @err_log(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd0cky8xy.c' source_filename = "/tmp/tmpd0cky8xy.c" target datalayout = "e-m:e-p270: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/tmpd0cky8xy.c" target datalayout = "e-m:e-p270: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/tmpjfxlm37p.c' source_filename = "/tmp/tmpjfxlm37p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sdialog_call_modal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @stdout, align 4 %14 = call i64 @fflush(i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store ptr null, ptr %3, align 8 br label %118 17: ; preds = %2 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %19 = call i64 @pipe(ptr noundef %18) %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 store ptr null, ptr %3, align 8 br label %118 22: ; preds = %17 %23 = call i64 (...) @fork() store i64 %23, ptr %6, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %22 store ptr null, ptr %3, align 8 br label %118 26: ; preds = %22 %27 = load i64, ptr %6, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %48 29: ; preds = %26 %30 = call i32 @umask(i32 noundef 0) %31 = call i32 @chdir(ptr noundef @.str) %32 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @close(i32 noundef %33) %35 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i64 @dup2(i32 noundef %36, i32 noundef %37) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %29 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %5, align 8 %46 = call i32 @execlp(ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef null) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %26 %49 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %50 = load i32, ptr %49, align 4 %51 = call i32 @close(i32 noundef %50) store i32 0, ptr %11, align 4 store i64 0, ptr %7, align 8 br label %52 52: ; preds = %78, %48 %53 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %54 = load i32, ptr %53, align 4 %55 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i64, ptr %7, align 8 %59 = sub i64 1023, %58 %60 = trunc i64 %59 to i32 %61 = call i32 @read(i32 noundef %54, ptr noundef %57, i32 noundef %60) store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = icmp eq i32 %62, -1 br i1 %63, label %64, label %69 64: ; preds = %52 %65 = load i64, ptr @errno, align 8 %66 = load i64, ptr @EINTR, align 8 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %69 68: ; preds = %64 br label %78 69: ; preds = %64, %52 %70 = load i32, ptr %11, align 4 %71 = icmp sle i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 br label %82 73: ; preds = %69 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = load i64, ptr %7, align 8 %77 = add i64 %76, %75 store i64 %77, ptr %7, align 8 br label %78 78: ; preds = %73, %68 %79 = load i64, ptr %7, align 8 %80 = sub i64 1023, %79 %81 = icmp ugt i64 %80, 0 br i1 %81, label %52, label %82, !llvm.loop !6 82: ; preds = %78, %72 %83 = load i64, ptr %7, align 8 %84 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 %83 store i8 0, ptr %84, align 1 %85 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = call i32 @close(i32 noundef %86) br label %88 88: ; preds = %97, %82 %89 = load i64, ptr %6, align 8 %90 = call i64 @waitpid(i64 noundef %89, ptr noundef %10, i32 noundef 0) %91 = icmp slt i64 %90, 0 br i1 %91, label %92, label %98 92: ; preds = %88 %93 = load i64, ptr @errno, align 8 %94 = load i64, ptr @EINTR, align 8 %95 = icmp ne i64 %93, %94 br i1 %95, label %96, label %97 96: ; preds = %92 br label %98 97: ; preds = %92 br label %88, !llvm.loop !8 98: ; preds = %96, %88 %99 = load i32, ptr %10, align 4 %100 = call i32 @WIFEXITED(i32 noundef %99) %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %106 102: ; preds = %98 %103 = load i32, ptr %10, align 4 %104 = call i32 @WEXITSTATUS(i32 noundef %103) %105 = icmp sgt i32 %104, 1 br i1 %105, label %106, label %109 106: ; preds = %102, %98 %107 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %108 = call i32 @memset(ptr noundef %107, i32 noundef 0, i32 noundef 1024) store ptr null, ptr %3, align 8 br label %118 109: ; preds = %102 %110 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %111 = call i64 @strcspn(ptr noundef %110, ptr noundef @.str.1) %112 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 %111 store i8 0, ptr %112, align 1 %113 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %114 = call ptr @strdup(ptr noundef %113) store ptr %114, ptr %8, align 8 %115 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %116 = call i32 @memset(ptr noundef %115, i32 noundef 0, i32 noundef 1024) %117 = load ptr, ptr %8, align 8 store ptr %117, ptr %3, align 8 br label %118 118: ; preds = %109, %106, %25, %21, %16 %119 = load ptr, ptr %3, align 8 ret ptr %119 } declare i64 @fflush(i32 noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @umask(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjfxlm37p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sdialog_call_modal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @stdout, align 4 %14 = call i64 @fflush(i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store ptr null, ptr %3, align 8 br label %120 17: ; preds = %2 %18 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %19 = call i64 @pipe(ptr noundef %18) %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 store ptr null, ptr %3, align 8 br label %120 22: ; preds = %17 %23 = call i64 (...) @fork() store i64 %23, ptr %6, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %22 store ptr null, ptr %3, align 8 br label %120 26: ; preds = %22 %27 = load i64, ptr %6, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %48 29: ; preds = %26 %30 = call i32 @umask(i32 noundef 0) %31 = call i32 @chdir(ptr noundef @.str) %32 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @close(i32 noundef %33) %35 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i64 @dup2(i32 noundef %36, i32 noundef %37) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %29 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %5, align 8 %46 = call i32 @execlp(ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef null) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %26 %49 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %50 = load i32, ptr %49, align 4 %51 = call i32 @close(i32 noundef %50) store i32 0, ptr %11, align 4 store i64 0, ptr %7, align 8 br label %52 52: ; preds = %78, %48 %53 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %54 = load i32, ptr %53, align 4 %55 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i64, ptr %7, align 8 %59 = sub i64 1023, %58 %60 = trunc i64 %59 to i32 %61 = call i32 @read(i32 noundef %54, ptr noundef %57, i32 noundef %60) store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = icmp eq i32 %62, -1 br i1 %63, label %64, label %69 64: ; preds = %52 %65 = load i64, ptr @errno, align 8 %66 = load i64, ptr @EINTR, align 8 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %69 68: ; preds = %64 br label %78 69: ; preds = %64, %52 %70 = load i32, ptr %11, align 4 %71 = icmp sle i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 br label %82 73: ; preds = %69 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = load i64, ptr %7, align 8 %77 = add i64 %76, %75 store i64 %77, ptr %7, align 8 br label %78 78: ; preds = %73, %68 %79 = load i64, ptr %7, align 8 %80 = sub i64 1023, %79 %81 = icmp ugt i64 %80, 0 br i1 %81, label %52, label %.loopexit1, !llvm.loop !6 .loopexit1: ; preds = %78 br label %82 82: ; preds = %.loopexit1, %72 %83 = load i64, ptr %7, align 8 %84 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 %83 store i8 0, ptr %84, align 1 %85 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = call i32 @close(i32 noundef %86) %88 = load i64, ptr %6, align 8 %89 = call i64 @waitpid(i64 noundef %88, ptr noundef %10, i32 noundef 0) %90 = icmp slt i64 %89, 0 br i1 %90, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %82 br label %95 91: ; preds = %95 %92 = load i64, ptr %6, align 8 %93 = call i64 @waitpid(i64 noundef %92, ptr noundef %10, i32 noundef 0) %94 = icmp slt i64 %93, 0 br i1 %94, label %95, label %..loopexit_crit_edge, !llvm.loop !8 95: ; preds = %.lr.ph, %91 %96 = load i64, ptr @errno, align 8 %97 = load i64, ptr @EINTR, align 8 %98 = icmp ne i64 %96, %97 br i1 %98, label %99, label %91 99: ; preds = %95 br label %100 ..loopexit_crit_edge: ; preds = %91 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %82 br label %100 100: ; preds = %.loopexit, %99 %101 = load i32, ptr %10, align 4 %102 = call i32 @WIFEXITED(i32 noundef %101) %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %100 %105 = load i32, ptr %10, align 4 %106 = call i32 @WEXITSTATUS(i32 noundef %105) %107 = icmp sgt i32 %106, 1 br i1 %107, label %108, label %111 108: ; preds = %104, %100 %109 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %110 = call i32 @memset(ptr noundef %109, i32 noundef 0, i32 noundef 1024) store ptr null, ptr %3, align 8 br label %120 111: ; preds = %104 %112 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %113 = call i64 @strcspn(ptr noundef %112, ptr noundef @.str.1) %114 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 %113 store i8 0, ptr %114, align 1 %115 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %116 = call ptr @strdup(ptr noundef %115) store ptr %116, ptr %8, align 8 %117 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0 %118 = call i32 @memset(ptr noundef %117, i32 noundef 0, i32 noundef 1024) %119 = load ptr, ptr %8, align 8 store ptr %119, ptr %3, align 8 br label %120 120: ; preds = %111, %108, %25, %21, %16 %121 = load ptr, ptr %3, align 8 ret ptr %121 } declare i64 @fflush(i32 noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @umask(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp8z73r45_.c' source_filename = "/tmp/tmp8z73r45_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @deref_deref() %2 = call i32 (...) @deref_idx_0() %3 = call i32 (...) @deref_idx_1() %4 = call i32 (...) @deref_idx_2() %5 = call i32 (...) @deref_idx_3() %6 = call i32 (...) @deref_idx_4() %7 = call i32 (...) @deref_idx_4_x() %8 = call i32 (...) @deref_idx_3_x() %9 = call i32 (...) @deref_idx_2_x() %10 = call i32 (...) @deref_idx_1_x() %11 = call i32 (...) @deref_idx_0_x() ret i32 0 } declare i32 @deref_deref(...) #1 declare i32 @deref_idx_0(...) #1 declare i32 @deref_idx_1(...) #1 declare i32 @deref_idx_2(...) #1 declare i32 @deref_idx_3(...) #1 declare i32 @deref_idx_4(...) #1 declare i32 @deref_idx_4_x(...) #1 declare i32 @deref_idx_3_x(...) #1 declare i32 @deref_idx_2_x(...) #1 declare i32 @deref_idx_1_x(...) #1 declare i32 @deref_idx_0_x(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8z73r45_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @deref_deref() %2 = call i32 (...) @deref_idx_0() %3 = call i32 (...) @deref_idx_1() %4 = call i32 (...) @deref_idx_2() %5 = call i32 (...) @deref_idx_3() %6 = call i32 (...) @deref_idx_4() %7 = call i32 (...) @deref_idx_4_x() %8 = call i32 (...) @deref_idx_3_x() %9 = call i32 (...) @deref_idx_2_x() %10 = call i32 (...) @deref_idx_1_x() %11 = call i32 (...) @deref_idx_0_x() ret i32 0 } declare i32 @deref_deref(...) #1 declare i32 @deref_idx_0(...) #1 declare i32 @deref_idx_1(...) #1 declare i32 @deref_idx_2(...) #1 declare i32 @deref_idx_3(...) #1 declare i32 @deref_idx_4(...) #1 declare i32 @deref_idx_4_x(...) #1 declare i32 @deref_idx_3_x(...) #1 declare i32 @deref_idx_2_x(...) #1 declare i32 @deref_idx_1_x(...) #1 declare i32 @deref_idx_0_x(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppxqnoptq.c' source_filename = "/tmp/tmppxqnoptq.c" target datalayout = "e-m:e-p270: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/tmppxqnoptq.c" target datalayout = "e-m:e-p270: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/tmpdo0bgbcj.c' source_filename = "/tmp/tmpdo0bgbcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidInt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 45 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 43 br i1 %12, label %13, label %16 13: ; preds = %8, %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %13, %8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %16 store i32 -1, ptr %2, align 4 br label %37 21: ; preds = %16 br label %22 22: ; preds = %35, %21 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = call i32 @isdigit(i8 noundef signext %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %26 store i32 -1, ptr %2, align 4 br label %37 32: ; preds = %26 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %3, align 8 br label %35 35: ; preds = %32 br label %22, !llvm.loop !6 36: ; preds = %22 store i32 1, ptr %2, align 4 br label %37 37: ; preds = %36, %31, %20 %38 = load i32, ptr %2, align 4 ret i32 %38 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdo0bgbcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidInt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 45 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 43 br i1 %12, label %13, label %16 13: ; preds = %8, %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %13, %8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %16 store i32 -1, ptr %2, align 4 br label %39 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %.lr.ph, label %38 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %34 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = call i32 @isdigit(i8 noundef signext %27) %29 = icmp ne i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %25 store i32 -1, ptr %2, align 4 br label %39 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %31 %35 = load ptr, ptr %3, align 8 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %38 38: ; preds = %._crit_edge, %21 store i32 1, ptr %2, align 4 br label %39 39: ; preds = %38, %30, %20 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppdznwvb6.c' source_filename = "/tmp/tmppdznwvb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"0123456789012345\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"0123456789012345aa\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%li\09%li\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %5, align 8 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i64 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @_SSE2_strdiff(ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17) %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %18) %20 = load ptr, ptr %2, align 8 %21 = load i64, ptr %4, align 8 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %5, align 8 %24 = call i32 @_STTNI_strdiff(ptr noundef %20, i64 noundef %21, ptr noundef %22, i64 noundef %23) %25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load ptr, ptr %2, align 8 %27 = load i64, ptr %4, align 8 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %5, align 8 %30 = call i32 @man_strdiff(ptr noundef %26, i64 noundef %27, ptr noundef %28, i64 noundef %29) %31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %30) ret i32 0 } declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @_SSE2_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @_STTNI_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @man_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppdznwvb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"0123456789012345\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"0123456789012345aa\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%li\09%li\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %5, align 8 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i64 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @_SSE2_strdiff(ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17) %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %18) %20 = load ptr, ptr %2, align 8 %21 = load i64, ptr %4, align 8 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %5, align 8 %24 = call i32 @_STTNI_strdiff(ptr noundef %20, i64 noundef %21, ptr noundef %22, i64 noundef %23) %25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load ptr, ptr %2, align 8 %27 = load i64, ptr %4, align 8 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %5, align 8 %30 = call i32 @man_strdiff(ptr noundef %26, i64 noundef %27, ptr noundef %28, i64 noundef %29) %31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %30) ret i32 0 } declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @_SSE2_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @_STTNI_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @man_strdiff(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp49trtjb0.c' source_filename = "/tmp/tmp49trtjb0.c" target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [30 x i8] c"Ahmed Al Okran\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [15 x i8] c"my name is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Ahmed Al Okran\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"my age is %d years old\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"my age is %d years old\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"BOB\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"my name is %s and i am %d years old\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 [30 x i8], align 16 store i32 0, ptr %1, align 4 store i32 20, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.name, i64 30, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 20) %6 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %8) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.4) store i32 34, ptr %2, align 4 %12 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %12, i32 noundef %13) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strcpy(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49trtjb0.c" target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [30 x i8] c"Ahmed Al Okran\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [15 x i8] c"my name is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Ahmed Al Okran\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"my age is %d years old\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"my age is %d years old\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"BOB\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"my name is %s and i am %d years old\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 [30 x i8], align 16 store i32 0, ptr %1, align 4 store i32 20, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.name, i64 30, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 20) %6 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %8) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.4) store i32 34, ptr %2, align 4 %12 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %12, i32 noundef %13) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strcpy(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"}
; ModuleID = '/tmp/tmpmtguyy_z.c' source_filename = "/tmp/tmpmtguyy_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" @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @detect_background_proce(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @tokens_get_length(ptr noundef %5) %7 = sub nsw i64 %6, 1 %8 = call i32 @tokens_get_token(ptr noundef %4, i64 noundef %7) %9 = call i64 @strcmp(i32 noundef %8, ptr noundef @.str) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @tokens_get_token(ptr noundef, i64 noundef) #1 declare i64 @tokens_get_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmtguyy_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" @.str = private unnamed_addr constant [2 x i8] c"&\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @detect_background_proce(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @tokens_get_length(ptr noundef %5) %7 = sub nsw i64 %6, 1 %8 = call i32 @tokens_get_token(ptr noundef %4, i64 noundef %7) %9 = call i64 @strcmp(i32 noundef %8, ptr noundef @.str) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @tokens_get_token(ptr noundef, i64 noundef) #1 declare i64 @tokens_get_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnbov3yb8.c' source_filename = "/tmp/tmpnbov3yb8.c" target datalayout = "e-m:e-p270: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/tmpnbov3yb8.c" target datalayout = "e-m:e-p270: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/tmpuuye_y53.c' source_filename = "/tmp/tmpuuye_y53.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr } @INADDR_NONE = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"unable to resolve: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resolve(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 %4, align 8 %8 = call i64 @inet_addr(ptr noundef %7) %9 = call i64 @ntohl(i64 noundef %8) %10 = load ptr, ptr %5, align 8 store i64 %9, ptr %10, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %11, align 8 %13 = load i64, ptr @INADDR_NONE, align 8 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %34 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = call ptr @gethostbyname(ptr noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %22) store i32 1, ptr %3, align 4 br label %35 24: ; preds = %15 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds %struct.hostent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i64, ptr %27, i64 0 %29 = load i64, ptr %28, align 8 %30 = inttoptr i64 %29 to ptr %31 = load i64, ptr %30, align 8 %32 = call i64 @ntohl(i64 noundef %31) %33 = load ptr, ptr %5, align 8 store i64 %32, ptr %33, align 8 br label %34 34: ; preds = %24, %2 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %34, %20 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @ntohl(i64 noundef) #1 declare i64 @inet_addr(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuuye_y53.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr } @INADDR_NONE = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"unable to resolve: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @resolve(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 %4, align 8 %8 = call i64 @inet_addr(ptr noundef %7) %9 = call i64 @ntohl(i64 noundef %8) %10 = load ptr, ptr %5, align 8 store i64 %9, ptr %10, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %11, align 8 %13 = load i64, ptr @INADDR_NONE, align 8 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %34 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = call ptr @gethostbyname(ptr noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %22) store i32 1, ptr %3, align 4 br label %35 24: ; preds = %15 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds %struct.hostent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i64, ptr %27, i64 0 %29 = load i64, ptr %28, align 8 %30 = inttoptr i64 %29 to ptr %31 = load i64, ptr %30, align 8 %32 = call i64 @ntohl(i64 noundef %31) %33 = load ptr, ptr %5, align 8 store i64 %32, ptr %33, align 8 br label %34 34: ; preds = %24, %2 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %34, %20 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @ntohl(i64 noundef) #1 declare i64 @inet_addr(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsk1mehp6.c' source_filename = "/tmp/tmpsk1mehp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"flag\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Failed to open flag.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printflag() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr @SEEK_END, align 4 %13 = call i32 @lseek(i32 noundef %11, i32 noundef 0, i32 noundef %12) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr @SEEK_SET, align 4 %16 = call i32 @lseek(i32 noundef %14, i32 noundef 0, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %17, 128 br i1 %18, label %19, label %20 19: ; preds = %10 store i32 128, ptr %2, align 4 br label %20 20: ; preds = %19, %10 %21 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 128) %23 = load i32, ptr %1, align 4 %24 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %25 = load i32, ptr %2, align 4 %26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25) %27 = load i32, ptr %1, align 4 %28 = call i32 @close(i32 noundef %27) %29 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29) br label %31 31: ; preds = %20, %8 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(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/tmpsk1mehp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"flag\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Failed to open flag.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printflag() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr @SEEK_END, align 4 %13 = call i32 @lseek(i32 noundef %11, i32 noundef 0, i32 noundef %12) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr @SEEK_SET, align 4 %16 = call i32 @lseek(i32 noundef %14, i32 noundef 0, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %17, 128 br i1 %18, label %19, label %20 19: ; preds = %10 store i32 128, ptr %2, align 4 br label %20 20: ; preds = %19, %10 %21 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 128) %23 = load i32, ptr %1, align 4 %24 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %25 = load i32, ptr %2, align 4 %26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25) %27 = load i32, ptr %1, align 4 %28 = call i32 @close(i32 noundef %27) %29 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29) br label %31 31: ; preds = %20, %8 ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(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/tmpk4e4wgpm.c' source_filename = "/tmp/tmpk4e4wgpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Brain access for learning and responses\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Usage: %s <name> [text]\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c" Text will be read from stdin if not specified\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"<Unable to connect to database (%d)>\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"<Unable to begin database transaction (%d)>\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"<Unable to process text (%d)>\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [48 x i8] c"<Unable to rollback database transaction (%d)>\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"<Unable to commit database transaction (%d)>\0A\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c"<Unable to disconnect from database (%d)>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 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 %11, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %24 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %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 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %132 24: ; preds = %14, %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %7, align 8 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 3 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 br label %35 34: ; preds = %24 br label %35 35: ; preds = %34, %30 %36 = phi ptr [ %33, %30 ], [ null, %34 ] store ptr %36, ptr %8, align 8 %37 = call i32 (...) @db_connect() store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @stderr, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, i32 noundef %42) store i32 1, ptr %3, align 4 br label %132 44: ; preds = %35 %45 = call i32 (...) @db_begin() store i32 %45, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %44 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr %10, align 4 %51 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str.4, i32 noundef %50) store i32 1, ptr %3, align 4 br label %132 52: ; preds = %44 br label %53 53: ; preds = %97, %52 %54 = load i32, ptr %4, align 4 %55 = icmp eq i32 %54, 2 br i1 %55, label %59, label %56 56: ; preds = %53 %57 = load ptr, ptr %8, align 8 %58 = icmp ne ptr %57, null br label %59 59: ; preds = %56, %53 %60 = phi i1 [ true, %53 ], [ %58, %56 ] br i1 %60, label %61, label %98 61: ; preds = %59 %62 = load ptr, ptr %8, align 8 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %74 64: ; preds = %61 %65 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %66 = load i32, ptr @stdin, align 4 %67 = call ptr @fgets(ptr noundef %65, i32 noundef 1024, i32 noundef %66) %68 = icmp eq ptr %67, null br i1 %68, label %69, label %70 69: ; preds = %64 br label %98 70: ; preds = %64 %71 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %72 = call ptr @strtok(ptr noundef %71, ptr noundef @.str.5) store ptr %72, ptr %8, align 8 br label %73 73: ; preds = %70 br label %74 74: ; preds = %73, %61 %75 = load ptr, ptr %8, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %82 77: ; preds = %74 %78 = load ptr, ptr %8, align 8 %79 = call i64 @strlen(ptr noundef %78) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %77 store ptr null, ptr %8, align 8 br label %82 82: ; preds = %81, %77, %74 store ptr null, ptr %9, align 8 %83 = load ptr, ptr %7, align 8 %84 = load ptr, ptr %8, align 8 %85 = call i32 @hal_text(ptr noundef %83, ptr noundef %84, ptr noundef %9) store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %92 88: ; preds = %82 %89 = load i32, ptr @stderr, align 4 %90 = load i32, ptr %10, align 4 %91 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.6, i32 noundef %90) store i32 1, ptr %11, align 4 br label %98 92: ; preds = %82 %93 = load ptr, ptr %9, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %93) %95 = load ptr, ptr %9, align 8 %96 = call i32 @free(ptr noundef %95) store ptr null, ptr %9, align 8 br label %97 97: ; preds = %92 store ptr null, ptr %8, align 8 br label %53, !llvm.loop !6 98: ; preds = %88, %69, %59 %99 = load i32, ptr %11, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %110 101: ; preds = %98 %102 = call i32 (...) @db_rollback() store i32 %102, ptr %10, align 4 %103 = load i32, ptr %10, align 4 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %101 %106 = load i32, ptr @stderr, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @fprintf(i32 noundef %106, ptr noundef @.str.8, i32 noundef %107) store i32 1, ptr %3, align 4 br label %132 109: ; preds = %101 br label %119 110: ; preds = %98 %111 = call i32 (...) @db_commit() store i32 %111, ptr %10, align 4 %112 = load i32, ptr %10, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %118 114: ; preds = %110 %115 = load i32, ptr @stderr, align 4 %116 = load i32, ptr %10, align 4 %117 = call i32 @fprintf(i32 noundef %115, ptr noundef @.str.9, i32 noundef %116) store i32 1, ptr %3, align 4 br label %132 118: ; preds = %110 br label %119 119: ; preds = %118, %109 %120 = call i32 (...) @db_disconnect() store i32 %120, ptr %10, align 4 %121 = load i32, ptr %10, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %127 123: ; preds = %119 %124 = load i32, ptr @stderr, align 4 %125 = load i32, ptr %10, align 4 %126 = call i32 @fprintf(i32 noundef %124, ptr noundef @.str.10, i32 noundef %125) store i32 1, ptr %3, align 4 br label %132 127: ; preds = %119 %128 = load i32, ptr %11, align 4 %129 = icmp ne i32 %128, 0 %130 = zext i1 %129 to i64 %131 = select i1 %129, i32 1, i32 0 store i32 %131, ptr %3, align 4 br label %132 132: ; preds = %127, %123, %114, %105, %48, %40, %17 %133 = load i32, ptr %3, align 4 ret i32 %133 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @db_connect(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @db_begin(...) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @hal_text(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @db_rollback(...) #1 declare i32 @db_commit(...) #1 declare i32 @db_disconnect(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpk4e4wgpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Brain access for learning and responses\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Usage: %s <name> [text]\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c" Text will be read from stdin if not specified\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"<Unable to connect to database (%d)>\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"<Unable to begin database transaction (%d)>\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"<Unable to process text (%d)>\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [48 x i8] c"<Unable to rollback database transaction (%d)>\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"<Unable to commit database transaction (%d)>\0A\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c"<Unable to disconnect from database (%d)>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 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 %11, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %24 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %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 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %132 24: ; preds = %14, %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %7, align 8 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 3 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 br label %35 34: ; preds = %24 br label %35 35: ; preds = %34, %30 %36 = phi ptr [ %33, %30 ], [ null, %34 ] store ptr %36, ptr %8, align 8 %37 = call i32 (...) @db_connect() store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @stderr, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, i32 noundef %42) store i32 1, ptr %3, align 4 br label %132 44: ; preds = %35 %45 = call i32 (...) @db_begin() store i32 %45, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %44 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr %10, align 4 %51 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str.4, i32 noundef %50) store i32 1, ptr %3, align 4 br label %132 52: ; preds = %44 br label %53 53: ; preds = %97, %52 %54 = load i32, ptr %4, align 4 %55 = icmp eq i32 %54, 2 br i1 %55, label %59, label %56 56: ; preds = %53 %57 = load ptr, ptr %8, align 8 %58 = icmp ne ptr %57, null br label %59 59: ; preds = %56, %53 %60 = phi i1 [ true, %53 ], [ %58, %56 ] br i1 %60, label %61, label %.loopexit 61: ; preds = %59 %62 = load ptr, ptr %8, align 8 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %74 64: ; preds = %61 %65 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %66 = load i32, ptr @stdin, align 4 %67 = call ptr @fgets(ptr noundef %65, i32 noundef 1024, i32 noundef %66) %68 = icmp eq ptr %67, null br i1 %68, label %69, label %70 69: ; preds = %64 br label %98 70: ; preds = %64 %71 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %72 = call ptr @strtok(ptr noundef %71, ptr noundef @.str.5) store ptr %72, ptr %8, align 8 br label %73 73: ; preds = %70 br label %74 74: ; preds = %73, %61 %75 = load ptr, ptr %8, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %82 77: ; preds = %74 %78 = load ptr, ptr %8, align 8 %79 = call i64 @strlen(ptr noundef %78) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %77 store ptr null, ptr %8, align 8 br label %82 82: ; preds = %81, %77, %74 store ptr null, ptr %9, align 8 %83 = load ptr, ptr %7, align 8 %84 = load ptr, ptr %8, align 8 %85 = call i32 @hal_text(ptr noundef %83, ptr noundef %84, ptr noundef %9) store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %92 88: ; preds = %82 %89 = load i32, ptr @stderr, align 4 %90 = load i32, ptr %10, align 4 %91 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.6, i32 noundef %90) store i32 1, ptr %11, align 4 br label %98 92: ; preds = %82 %93 = load ptr, ptr %9, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %93) %95 = load ptr, ptr %9, align 8 %96 = call i32 @free(ptr noundef %95) store ptr null, ptr %9, align 8 br label %97 97: ; preds = %92 store ptr null, ptr %8, align 8 br label %53, !llvm.loop !6 .loopexit: ; preds = %59 br label %98 98: ; preds = %.loopexit, %88, %69 %99 = load i32, ptr %11, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %110 101: ; preds = %98 %102 = call i32 (...) @db_rollback() store i32 %102, ptr %10, align 4 %103 = load i32, ptr %10, align 4 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %101 %106 = load i32, ptr @stderr, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @fprintf(i32 noundef %106, ptr noundef @.str.8, i32 noundef %107) store i32 1, ptr %3, align 4 br label %132 109: ; preds = %101 br label %119 110: ; preds = %98 %111 = call i32 (...) @db_commit() store i32 %111, ptr %10, align 4 %112 = load i32, ptr %10, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %118 114: ; preds = %110 %115 = load i32, ptr @stderr, align 4 %116 = load i32, ptr %10, align 4 %117 = call i32 @fprintf(i32 noundef %115, ptr noundef @.str.9, i32 noundef %116) store i32 1, ptr %3, align 4 br label %132 118: ; preds = %110 br label %119 119: ; preds = %118, %109 %120 = call i32 (...) @db_disconnect() store i32 %120, ptr %10, align 4 %121 = load i32, ptr %10, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %127 123: ; preds = %119 %124 = load i32, ptr @stderr, align 4 %125 = load i32, ptr %10, align 4 %126 = call i32 @fprintf(i32 noundef %124, ptr noundef @.str.10, i32 noundef %125) store i32 1, ptr %3, align 4 br label %132 127: ; preds = %119 %128 = load i32, ptr %11, align 4 %129 = icmp ne i32 %128, 0 %130 = zext i1 %129 to i64 %131 = select i1 %129, i32 1, i32 0 store i32 %131, ptr %3, align 4 br label %132 132: ; preds = %127, %123, %114, %105, %48, %40, %17 %133 = load i32, ptr %3, align 4 ret i32 %133 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @db_connect(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @db_begin(...) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @hal_text(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @db_rollback(...) #1 declare i32 @db_commit(...) #1 declare i32 @db_disconnect(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyyyz33md.c' source_filename = "/tmp/tmpyyyz33md.c" target datalayout = "e-m:e-p270: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 { i64, i64 } @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @regexp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca %struct.TYPE_3__, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store ptr null, ptr %12, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr @REG_EXTENDED, align 4 %17 = call i32 @regcomp(ptr noundef %13, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i64 @regexec(ptr noundef %13, ptr noundef %18, i32 noundef 1, ptr noundef %14, i32 noundef 0) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %66 21: ; preds = %4 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = trunc i64 %23 to i32 %25 = load ptr, ptr %7, align 8 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = trunc i64 %27 to i32 %29 = load ptr, ptr %8, align 8 store i32 %28, ptr %29, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %32, align 4 %34 = sub nsw i32 %31, %33 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %12, align 8 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %10, align 4 br label %41 41: ; preds = %58, %21 %42 = load i32, ptr %10, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %43, align 4 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %61 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %12, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %11, align 4 br label %58 58: ; preds = %46 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %41, !llvm.loop !6 61: ; preds = %41 %62 = load ptr, ptr %12, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 0, ptr %65, align 1 br label %66 66: ; preds = %61, %4 %67 = call i32 @regfree(ptr noundef %13) %68 = load ptr, ptr %12, align 8 ret ptr %68 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyyyz33md.c" target datalayout = "e-m:e-p270: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 { i64, i64 } @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @regexp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca %struct.TYPE_3__, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store ptr null, ptr %12, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr @REG_EXTENDED, align 4 %17 = call i32 @regcomp(ptr noundef %13, ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i64 @regexec(ptr noundef %13, ptr noundef %18, i32 noundef 1, ptr noundef %14, i32 noundef 0) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %69 21: ; preds = %4 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 1 %23 = load i64, ptr %22, align 8 %24 = trunc i64 %23 to i32 %25 = load ptr, ptr %7, align 8 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = trunc i64 %27 to i32 %29 = load ptr, ptr %8, align 8 store i32 %28, ptr %29, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %32, align 4 %34 = sub nsw i32 %31, %33 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %12, align 8 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %41, %43 br i1 %44, label %.lr.ph, label %64 .lr.ph: ; preds = %21 br label %45 45: ; preds = %.lr.ph, %57 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %50, ptr %54, align 1 %55 = load i32, ptr %11, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %11, align 4 br label %57 57: ; preds = %45 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = icmp slt i32 %60, %62 br i1 %63, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %21 %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 br label %69 69: ; preds = %64, %4 %70 = call i32 @regfree(ptr noundef %13) %71 = load ptr, ptr %12, align 8 ret ptr %71 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdiqy0dil.c' source_filename = "/tmp/tmpdiqy0dil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Else() #0 { %1 = call i32 (...) @Ahead() %2 = call i32 (...) @swap_forward() %3 = call i32 (...) @Then() ret void } declare i32 @Ahead(...) #1 declare i32 @swap_forward(...) #1 declare i32 @Then(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdiqy0dil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Else() #0 { %1 = call i32 (...) @Ahead() %2 = call i32 (...) @swap_forward() %3 = call i32 (...) @Then() ret void } declare i32 @Ahead(...) #1 declare i32 @swap_forward(...) #1 declare i32 @Then(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq8ur4c5p.c' source_filename = "/tmp/tmpq8ur4c5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test() ret i32 0 } declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8ur4c5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test() ret i32 0 } declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcgahipld.c' source_filename = "/tmp/tmpcgahipld.c" target datalayout = "e-m:e-p270: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, i32, i32, i64, i64, i64, ptr, ptr, ptr } @.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getStartTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.tm, align 8 %11 = alloca ptr, align 8 %12 = alloca [32 x i8], align 16 %13 = alloca [32 x i8], align 16 store ptr %0, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 255 %19 = shl i32 %18, 8 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 255 %25 = or i32 %19, %24 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = sitofp i32 %26 to double %28 = fsub double %27, 1.507820e+04 %29 = fdiv double %28, 3.652500e+02 %30 = fptosi double %29 to i32 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %3, align 4 %32 = sitofp i32 %31 to double %33 = fsub double %32, 1.495610e+04 %34 = load i32, ptr %4, align 4 %35 = sitofp i32 %34 to double %36 = fmul double %35, 3.652500e+02 %37 = fptosi double %36 to i32 %38 = sitofp i32 %37 to double %39 = fsub double %33, %38 %40 = fdiv double %39, 3.060010e+01 %41 = fptosi double %40 to i32 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %3, align 4 %43 = sub nsw i32 %42, 14956 %44 = load i32, ptr %4, align 4 %45 = sitofp i32 %44 to double %46 = fmul double %45, 3.652500e+02 %47 = fptosi double %46 to i32 %48 = sub nsw i32 %43, %47 %49 = load i32, ptr %5, align 4 %50 = sitofp i32 %49 to double %51 = fmul double %50, 3.060010e+01 %52 = fptosi double %51 to i32 %53 = sub nsw i32 %48, %52 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp eq i32 %54, 14 br i1 %55, label %59, label %56 56: ; preds = %1 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 15 br i1 %58, label %59, label %65 59: ; preds = %56, %1 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = sub nsw i32 %62, 1 %64 = sub nsw i32 %63, 12 store i32 %64, ptr %5, align 4 br label %68 65: ; preds = %56 %66 = load i32, ptr %5, align 4 %67 = sub nsw i32 %66, 1 store i32 %67, ptr %5, align 4 br label %68 68: ; preds = %65, %59 %69 = load i32, ptr %4, align 4 %70 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 0 store i32 %69, ptr %70, align 8 %71 = load i32, ptr %5, align 4 %72 = sub nsw i32 %71, 1 %73 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 1 store i32 %72, ptr %73, align 4 %74 = load i32, ptr %6, align 4 %75 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 2 store i32 %74, ptr %75, align 8 %76 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %77 = call i32 @memset(ptr noundef %76, i8 noundef signext 0, i32 noundef 10) %78 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %79 = load ptr, ptr %2, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 2 %81 = load i8, ptr %80, align 1 %82 = call i32 @sprintf(ptr noundef %78, ptr noundef @.str, i8 noundef zeroext %81) %83 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %84 = call ptr @atoi(ptr noundef %83) %85 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 8 store ptr %84, ptr %85, align 8 %86 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %87 = call i32 @memset(ptr noundef %86, i8 noundef signext 0, i32 noundef 10) %88 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %89 = load ptr, ptr %2, align 8 %90 = getelementptr inbounds i8, ptr %89, i64 3 %91 = load i8, ptr %90, align 1 %92 = call i32 @sprintf(ptr noundef %88, ptr noundef @.str, i8 noundef zeroext %91) %93 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %94 = call ptr @atoi(ptr noundef %93) %95 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 7 store ptr %94, ptr %95, align 8 %96 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %97 = call i32 @memset(ptr noundef %96, i8 noundef signext 0, i32 noundef 10) %98 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %99 = load ptr, ptr %2, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 4 %101 = load i8, ptr %100, align 1 %102 = call i32 @sprintf(ptr noundef %98, ptr noundef @.str, i8 noundef zeroext %101) %103 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %104 = call ptr @atoi(ptr noundef %103) %105 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 6 store ptr %104, ptr %105, align 8 %106 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 5 store i64 0, ptr %106, align 8 %107 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 4 store i64 0, ptr %107, align 8 %108 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 3 store i64 0, ptr %108, align 8 %109 = call i32 @mktime(ptr noundef %10) store i32 %109, ptr %8, align 4 %110 = load i32, ptr %8, align 4 ret i32 %110 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare ptr @atoi(ptr noundef) #1 declare i32 @mktime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcgahipld.c" target datalayout = "e-m:e-p270: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, i32, i32, i64, i64, i64, ptr, ptr, ptr } @.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getStartTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.tm, align 8 %11 = alloca ptr, align 8 %12 = alloca [32 x i8], align 16 %13 = alloca [32 x i8], align 16 store ptr %0, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 255 %19 = shl i32 %18, 8 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 255 %25 = or i32 %19, %24 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = sitofp i32 %26 to double %28 = fsub double %27, 1.507820e+04 %29 = fdiv double %28, 3.652500e+02 %30 = fptosi double %29 to i32 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %3, align 4 %32 = sitofp i32 %31 to double %33 = fsub double %32, 1.495610e+04 %34 = load i32, ptr %4, align 4 %35 = sitofp i32 %34 to double %36 = fmul double %35, 3.652500e+02 %37 = fptosi double %36 to i32 %38 = sitofp i32 %37 to double %39 = fsub double %33, %38 %40 = fdiv double %39, 3.060010e+01 %41 = fptosi double %40 to i32 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %3, align 4 %43 = sub nsw i32 %42, 14956 %44 = load i32, ptr %4, align 4 %45 = sitofp i32 %44 to double %46 = fmul double %45, 3.652500e+02 %47 = fptosi double %46 to i32 %48 = sub nsw i32 %43, %47 %49 = load i32, ptr %5, align 4 %50 = sitofp i32 %49 to double %51 = fmul double %50, 3.060010e+01 %52 = fptosi double %51 to i32 %53 = sub nsw i32 %48, %52 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp eq i32 %54, 14 br i1 %55, label %59, label %56 56: ; preds = %1 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 15 br i1 %58, label %59, label %65 59: ; preds = %56, %1 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = sub nsw i32 %62, 1 %64 = sub nsw i32 %63, 12 store i32 %64, ptr %5, align 4 br label %68 65: ; preds = %56 %66 = load i32, ptr %5, align 4 %67 = sub nsw i32 %66, 1 store i32 %67, ptr %5, align 4 br label %68 68: ; preds = %65, %59 %69 = load i32, ptr %4, align 4 %70 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 0 store i32 %69, ptr %70, align 8 %71 = load i32, ptr %5, align 4 %72 = sub nsw i32 %71, 1 %73 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 1 store i32 %72, ptr %73, align 4 %74 = load i32, ptr %6, align 4 %75 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 2 store i32 %74, ptr %75, align 8 %76 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %77 = call i32 @memset(ptr noundef %76, i8 noundef signext 0, i32 noundef 10) %78 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %79 = load ptr, ptr %2, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 2 %81 = load i8, ptr %80, align 1 %82 = call i32 @sprintf(ptr noundef %78, ptr noundef @.str, i8 noundef zeroext %81) %83 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %84 = call ptr @atoi(ptr noundef %83) %85 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 8 store ptr %84, ptr %85, align 8 %86 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %87 = call i32 @memset(ptr noundef %86, i8 noundef signext 0, i32 noundef 10) %88 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %89 = load ptr, ptr %2, align 8 %90 = getelementptr inbounds i8, ptr %89, i64 3 %91 = load i8, ptr %90, align 1 %92 = call i32 @sprintf(ptr noundef %88, ptr noundef @.str, i8 noundef zeroext %91) %93 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %94 = call ptr @atoi(ptr noundef %93) %95 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 7 store ptr %94, ptr %95, align 8 %96 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %97 = call i32 @memset(ptr noundef %96, i8 noundef signext 0, i32 noundef 10) %98 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %99 = load ptr, ptr %2, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 4 %101 = load i8, ptr %100, align 1 %102 = call i32 @sprintf(ptr noundef %98, ptr noundef @.str, i8 noundef zeroext %101) %103 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %104 = call ptr @atoi(ptr noundef %103) %105 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 6 store ptr %104, ptr %105, align 8 %106 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 5 store i64 0, ptr %106, align 8 %107 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 4 store i64 0, ptr %107, align 8 %108 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 3 store i64 0, ptr %108, align 8 %109 = call i32 @mktime(ptr noundef %10) store i32 %109, ptr %8, align 4 %110 = load i32, ptr %8, align 4 ret i32 %110 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare ptr @atoi(ptr noundef) #1 declare i32 @mktime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplvv6zf53.c' source_filename = "/tmp/tmplvv6zf53.c" target datalayout = "e-m:e-p270: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/tmplvv6zf53.c" target datalayout = "e-m:e-p270: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/tmpwzoktl4v.c' source_filename = "/tmp/tmpwzoktl4v.c" target datalayout = "e-m:e-p270: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/tmpwzoktl4v.c" target datalayout = "e-m:e-p270: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/tmpqj88nwhv.c' source_filename = "/tmp/tmpqj88nwhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_loop() #0 { %1 = alloca [2 x ptr], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %26, %0 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 %8 = call i32 @get_next_line(i32 noundef 0, ptr noundef %7) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %31 10: ; preds = %3 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @ft_place_entry(ptr noundef %1) br label %26 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %15 br label %31 25: ; preds = %15 br label %26 26: ; preds = %25, %13 %27 = load i32, ptr %2, align 4 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i64 %30 = select i1 %28, i32 0, i32 1 store i32 %30, ptr %2, align 4 br label %3, !llvm.loop !6 31: ; preds = %24, %3 ret void } declare i32 @get_next_line(i32 noundef, ptr noundef) #1 declare i32 @ft_place_entry(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqj88nwhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_loop() #0 { %1 = alloca [2 x ptr], align 16 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 %4 %6 = load ptr, ptr %5, align 8 %7 = call i32 @get_next_line(i32 noundef 0, ptr noundef %6) %8 = icmp eq i32 %7, 1 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %25 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @ft_place_entry(ptr noundef %1) br label %25 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 br label %36 24: ; preds = %14 br label %25 25: ; preds = %24, %12 %26 = load i32, ptr %2, align 4 %27 = icmp ne i32 %26, 0 %28 = zext i1 %27 to i64 %29 = select i1 %27, i32 0, i32 1 store i32 %29, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @get_next_line(i32 noundef 0, ptr noundef %33) %35 = icmp eq i32 %34, 1 br i1 %35, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %36 36: ; preds = %.loopexit, %23 ret void } declare i32 @get_next_line(i32 noundef, ptr noundef) #1 declare i32 @ft_place_entry(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9vkxmw0u.c' source_filename = "/tmp/tmp9vkxmw0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @malloc_double_array(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = call i32 (...) @check_srand_called() %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 8, %11 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %33, %3 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %36 20: ; preds = %16 %21 = load double, ptr %5, align 8 %22 = call i64 (...) @random() %23 = sitofp i64 %22 to double %24 = fdiv double %23, 0x41DFFFFFFFC00000 %25 = load double, ptr %6, align 8 %26 = load double, ptr %5, align 8 %27 = fsub double %25, %26 %28 = call double @llvm.fmuladd.f64(double %24, double %27, double %21) %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 store double %28, ptr %32, align 8 br label %33 33: ; preds = %20 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %16, !llvm.loop !6 36: ; preds = %16 %37 = load ptr, ptr %7, align 8 ret ptr %37 } declare i32 @check_srand_called(...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @random(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vkxmw0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @malloc_double_array(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = call i32 (...) @check_srand_called() %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 8, %11 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %32 %20 = load double, ptr %5, align 8 %21 = call i64 (...) @random() %22 = sitofp i64 %21 to double %23 = fdiv double %22, 0x41DFFFFFFFC00000 %24 = load double, ptr %6, align 8 %25 = load double, ptr %5, align 8 %26 = fsub double %24, %25 %27 = call double @llvm.fmuladd.f64(double %23, double %26, double %20) %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 store double %27, ptr %31, align 8 br label %32 32: ; preds = %19 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 %39 = load ptr, ptr %7, align 8 ret ptr %39 } declare i32 @check_srand_called(...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @random(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk4blj45m.c' source_filename = "/tmp/tmpk4blj45m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipod_exit() #0 { %1 = call i32 (...) @ipod_exit_sound() %2 = call i32 (...) @ipod_exit_input() ret void } declare i32 @ipod_exit_sound(...) #1 declare i32 @ipod_exit_input(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4blj45m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipod_exit() #0 { %1 = call i32 (...) @ipod_exit_sound() %2 = call i32 (...) @ipod_exit_input() ret void } declare i32 @ipod_exit_sound(...) #1 declare i32 @ipod_exit_input(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkgu8_biu.c' source_filename = "/tmp/tmpkgu8_biu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atangente(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @getNumber(ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = call double @atan(double noundef %4) #3 ret double %5 } declare i32 @getNumber(ptr noundef) #1 ; Function Attrs: nounwind declare double @atan(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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-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/tmpkgu8_biu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atangente(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @getNumber(ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = call double @atan(double noundef %4) #3 ret double %5 } declare i32 @getNumber(ptr noundef) #1 ; Function Attrs: nounwind declare double @atan(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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-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/tmpdx8zcbrx.c' source_filename = "/tmp/tmpdx8zcbrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"reception of TCP data failed: %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"socket %d is closed\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Received %d bytes of data from socket %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %8 = call i32 @recv(i32 noundef %6, ptr noundef %7, i32 noundef 256, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %25 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18) store i32 -1, ptr %2, align 4 br label %25 20: ; preds = %14 br label %21 21: ; preds = %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %23) store i32 0, ptr %2, align 4 br label %25 25: ; preds = %21, %17, %11 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdx8zcbrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"reception of TCP data failed: %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"socket %d is closed\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Received %d bytes of data from socket %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %8 = call i32 @recv(i32 noundef %6, ptr noundef %7, i32 noundef 256, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %25 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18) store i32 -1, ptr %2, align 4 br label %25 20: ; preds = %14 br label %21 21: ; preds = %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %23) store i32 0, ptr %2, align 4 br label %25 25: ; preds = %21, %17, %11 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp74ydozfz.c' source_filename = "/tmp/tmp74ydozfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redecl_test(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 @redecl(ptr noundef %3, ptr noundef null) %5 = load ptr, ptr %2, align 8 %6 = call i32 @redecl(ptr noundef null, ptr noundef %5) ret void } declare i32 @redecl(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/tmp74ydozfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redecl_test(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 @redecl(ptr noundef %3, ptr noundef null) %5 = load ptr, ptr %2, align 8 %6 = call i32 @redecl(ptr noundef null, ptr noundef %5) ret void } declare i32 @redecl(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/tmpw4bj08tn.c' source_filename = "/tmp/tmpw4bj08tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"entier : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"*p1 : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"**p2 : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca 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 5, ptr %6, align 4 store ptr %6, ptr %7, align 8 store ptr %7, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4bj08tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"entier : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"*p1 : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"**p2 : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca 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 5, ptr %6, align 4 store ptr %6, ptr %7, align 8 store ptr %7, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpudcfarcb.c' source_filename = "/tmp/tmpudcfarcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_F4 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"CN\00", align 1 @MBSTRING_ASC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"NVIDIA GameStream Client\00", align 1 @NID_basic_constraints = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"critical,CA:TRUE\00", align 1 @NID_key_usage = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [29 x i8] c"critical,keyCertSign,cRLSign\00", align 1 @NID_subject_key_identifier = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"hash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mkcert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %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 ptr, align 8 %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 i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr null, ptr %15, align 8 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %16, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %5 %20 = call ptr (...) @EVP_PKEY_new() store ptr %20, ptr %13, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %19 br label %28 25: ; preds = %5 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %13, align 8 br label %28 28: ; preds = %25, %24 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %29, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %37 32: ; preds = %28 %33 = call ptr (...) @X509_new() store ptr %33, ptr %12, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %36 35: ; preds = %32 br label %97 36: ; preds = %32 br label %40 37: ; preds = %28 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %12, align 8 br label %40 40: ; preds = %37, %36 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr @RSA_F4, align 4 %43 = call ptr @RSA_generate_key(i32 noundef %41, i32 noundef %42, ptr noundef null, ptr noundef null) store ptr %43, ptr %14, align 8 %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %14, align 8 %46 = call i32 @EVP_PKEY_assign_RSA(ptr noundef %44, ptr noundef %45) %47 = icmp ne i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %40 %49 = call i32 (...) @abort() #3 unreachable 50: ; preds = %40 %51 = load ptr, ptr %12, align 8 %52 = call i32 @X509_set_version(ptr noundef %51, i32 noundef 2) %53 = load ptr, ptr %12, align 8 %54 = call i32 @X509_get_serialNumber(ptr noundef %53) %55 = load i32, ptr %10, align 4 %56 = call i32 @ASN1_INTEGER_set(i32 noundef %54, i32 noundef %55) %57 = load ptr, ptr %12, align 8 %58 = call i32 @X509_get_notBefore(ptr noundef %57) %59 = call i32 @X509_gmtime_adj(i32 noundef %58, i64 noundef 0) %60 = load ptr, ptr %12, align 8 %61 = call i32 @X509_get_notAfter(ptr noundef %60) %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = mul nsw i64 31536000, %63 %65 = call i32 @X509_gmtime_adj(i32 noundef %61, i64 noundef %64) %66 = load ptr, ptr %12, align 8 %67 = load ptr, ptr %13, align 8 %68 = call i32 @X509_set_pubkey(ptr noundef %66, ptr noundef %67) %69 = load ptr, ptr %12, align 8 %70 = call ptr @X509_get_subject_name(ptr noundef %69) store ptr %70, ptr %15, align 8 %71 = load ptr, ptr %15, align 8 %72 = load i32, ptr @MBSTRING_ASC, align 4 %73 = call i32 @X509_NAME_add_entry_by_txt(ptr noundef %71, ptr noundef @.str, i32 noundef %72, ptr noundef @.str.1, i32 noundef -1, i32 noundef -1, i32 noundef 0) %74 = load ptr, ptr %12, align 8 %75 = load ptr, ptr %15, align 8 %76 = call i32 @X509_set_issuer_name(ptr noundef %74, ptr noundef %75) %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr @NID_basic_constraints, align 4 %79 = call i32 @add_ext(ptr noundef %77, i32 noundef %78, ptr noundef @.str.2) %80 = load ptr, ptr %12, align 8 %81 = load i32, ptr @NID_key_usage, align 4 %82 = call i32 @add_ext(ptr noundef %80, i32 noundef %81, ptr noundef @.str.3) %83 = load ptr, ptr %12, align 8 %84 = load i32, ptr @NID_subject_key_identifier, align 4 %85 = call i32 @add_ext(ptr noundef %83, i32 noundef %84, ptr noundef @.str.4) %86 = load ptr, ptr %12, align 8 %87 = load ptr, ptr %13, align 8 %88 = call i32 (...) @EVP_sha1() %89 = call i32 @X509_sign(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = icmp ne i32 %89, 0 br i1 %90, label %92, label %91 91: ; preds = %50 br label %97 92: ; preds = %50 %93 = load ptr, ptr %12, align 8 %94 = load ptr, ptr %7, align 8 store ptr %93, ptr %94, align 8 %95 = load ptr, ptr %13, align 8 %96 = load ptr, ptr %8, align 8 store ptr %95, ptr %96, align 8 store i32 1, ptr %6, align 4 br label %98 97: ; preds = %91, %35 store i32 0, ptr %6, align 4 br label %98 98: ; preds = %97, %92 %99 = load i32, ptr %6, align 4 ret i32 %99 } declare ptr @EVP_PKEY_new(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @X509_new(...) #1 declare ptr @RSA_generate_key(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_PKEY_assign_RSA(ptr noundef, ptr noundef) #1 declare i32 @X509_set_version(ptr noundef, i32 noundef) #1 declare i32 @ASN1_INTEGER_set(i32 noundef, i32 noundef) #1 declare i32 @X509_get_serialNumber(ptr noundef) #1 declare i32 @X509_gmtime_adj(i32 noundef, i64 noundef) #1 declare i32 @X509_get_notBefore(ptr noundef) #1 declare i32 @X509_get_notAfter(ptr noundef) #1 declare i32 @X509_set_pubkey(ptr noundef, ptr noundef) #1 declare ptr @X509_get_subject_name(ptr noundef) #1 declare i32 @X509_NAME_add_entry_by_txt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @X509_set_issuer_name(ptr noundef, ptr noundef) #1 declare i32 @add_ext(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @X509_sign(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @EVP_sha1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpudcfarcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_F4 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"CN\00", align 1 @MBSTRING_ASC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"NVIDIA GameStream Client\00", align 1 @NID_basic_constraints = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"critical,CA:TRUE\00", align 1 @NID_key_usage = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [29 x i8] c"critical,keyCertSign,cRLSign\00", align 1 @NID_subject_key_identifier = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"hash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mkcert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %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 ptr, align 8 %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 i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr null, ptr %15, align 8 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %16, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %5 %20 = call ptr (...) @EVP_PKEY_new() store ptr %20, ptr %13, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %19 br label %28 25: ; preds = %5 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %13, align 8 br label %28 28: ; preds = %25, %24 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %29, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %37 32: ; preds = %28 %33 = call ptr (...) @X509_new() store ptr %33, ptr %12, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %36 35: ; preds = %32 br label %97 36: ; preds = %32 br label %40 37: ; preds = %28 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %12, align 8 br label %40 40: ; preds = %37, %36 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr @RSA_F4, align 4 %43 = call ptr @RSA_generate_key(i32 noundef %41, i32 noundef %42, ptr noundef null, ptr noundef null) store ptr %43, ptr %14, align 8 %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %14, align 8 %46 = call i32 @EVP_PKEY_assign_RSA(ptr noundef %44, ptr noundef %45) %47 = icmp ne i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %40 %49 = call i32 (...) @abort() #3 unreachable 50: ; preds = %40 %51 = load ptr, ptr %12, align 8 %52 = call i32 @X509_set_version(ptr noundef %51, i32 noundef 2) %53 = load ptr, ptr %12, align 8 %54 = call i32 @X509_get_serialNumber(ptr noundef %53) %55 = load i32, ptr %10, align 4 %56 = call i32 @ASN1_INTEGER_set(i32 noundef %54, i32 noundef %55) %57 = load ptr, ptr %12, align 8 %58 = call i32 @X509_get_notBefore(ptr noundef %57) %59 = call i32 @X509_gmtime_adj(i32 noundef %58, i64 noundef 0) %60 = load ptr, ptr %12, align 8 %61 = call i32 @X509_get_notAfter(ptr noundef %60) %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = mul nsw i64 31536000, %63 %65 = call i32 @X509_gmtime_adj(i32 noundef %61, i64 noundef %64) %66 = load ptr, ptr %12, align 8 %67 = load ptr, ptr %13, align 8 %68 = call i32 @X509_set_pubkey(ptr noundef %66, ptr noundef %67) %69 = load ptr, ptr %12, align 8 %70 = call ptr @X509_get_subject_name(ptr noundef %69) store ptr %70, ptr %15, align 8 %71 = load ptr, ptr %15, align 8 %72 = load i32, ptr @MBSTRING_ASC, align 4 %73 = call i32 @X509_NAME_add_entry_by_txt(ptr noundef %71, ptr noundef @.str, i32 noundef %72, ptr noundef @.str.1, i32 noundef -1, i32 noundef -1, i32 noundef 0) %74 = load ptr, ptr %12, align 8 %75 = load ptr, ptr %15, align 8 %76 = call i32 @X509_set_issuer_name(ptr noundef %74, ptr noundef %75) %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr @NID_basic_constraints, align 4 %79 = call i32 @add_ext(ptr noundef %77, i32 noundef %78, ptr noundef @.str.2) %80 = load ptr, ptr %12, align 8 %81 = load i32, ptr @NID_key_usage, align 4 %82 = call i32 @add_ext(ptr noundef %80, i32 noundef %81, ptr noundef @.str.3) %83 = load ptr, ptr %12, align 8 %84 = load i32, ptr @NID_subject_key_identifier, align 4 %85 = call i32 @add_ext(ptr noundef %83, i32 noundef %84, ptr noundef @.str.4) %86 = load ptr, ptr %12, align 8 %87 = load ptr, ptr %13, align 8 %88 = call i32 (...) @EVP_sha1() %89 = call i32 @X509_sign(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = icmp ne i32 %89, 0 br i1 %90, label %92, label %91 91: ; preds = %50 br label %97 92: ; preds = %50 %93 = load ptr, ptr %12, align 8 %94 = load ptr, ptr %7, align 8 store ptr %93, ptr %94, align 8 %95 = load ptr, ptr %13, align 8 %96 = load ptr, ptr %8, align 8 store ptr %95, ptr %96, align 8 store i32 1, ptr %6, align 4 br label %98 97: ; preds = %91, %35 store i32 0, ptr %6, align 4 br label %98 98: ; preds = %97, %92 %99 = load i32, ptr %6, align 4 ret i32 %99 } declare ptr @EVP_PKEY_new(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @X509_new(...) #1 declare ptr @RSA_generate_key(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_PKEY_assign_RSA(ptr noundef, ptr noundef) #1 declare i32 @X509_set_version(ptr noundef, i32 noundef) #1 declare i32 @ASN1_INTEGER_set(i32 noundef, i32 noundef) #1 declare i32 @X509_get_serialNumber(ptr noundef) #1 declare i32 @X509_gmtime_adj(i32 noundef, i64 noundef) #1 declare i32 @X509_get_notBefore(ptr noundef) #1 declare i32 @X509_get_notAfter(ptr noundef) #1 declare i32 @X509_set_pubkey(ptr noundef, ptr noundef) #1 declare ptr @X509_get_subject_name(ptr noundef) #1 declare i32 @X509_NAME_add_entry_by_txt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @X509_set_issuer_name(ptr noundef, ptr noundef) #1 declare i32 @add_ext(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @X509_sign(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @EVP_sha1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp70gomq5j.c' source_filename = "/tmp/tmp70gomq5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compress_none(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp70gomq5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compress_none(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaggbs6h_.c' source_filename = "/tmp/tmpaggbs6h_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ai_playertrade.trades = internal global [4 x [6 x i32]] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ai_playertrade(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [6 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [5 x i32], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 br label %13 13: ; preds = %23, %3 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 6 br i1 %15, label %16, label %26 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %18 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [6 x i32], ptr %19, i64 0, i64 %21 store i32 0, ptr %22, align 4 br label %23 23: ; preds = %16 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 store i32 1, ptr %7, align 4 br label %27 27: ; preds = %76, %26 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %28, 4 br i1 %29, label %30, label %79 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %31, %32 %34 = srem i32 %33, 4 %35 = call i32 @data_vps(i32 noundef %34) %36 = icmp slt i32 %35, 7 br i1 %36, label %37, label %67 37: ; preds = %30 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %39, %40 %42 = srem i32 %41, 4 %43 = load i32, ptr %4, align 4 %44 = getelementptr inbounds [6 x i32], ptr %9, i64 0, i64 0 %45 = call i32 @accepttrade(ptr noundef %38, i32 noundef %42, i32 noundef %43, ptr noundef %44) store i32 0, ptr %8, align 4 br label %46 46: ; preds = %63, %37 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %47, 6 br i1 %48, label %49, label %66 49: ; preds = %46 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [6 x i32], ptr %9, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %54, %55 %57 = srem i32 %56, 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %58 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [6 x i32], ptr %59, i64 0, i64 %61 store i32 %53, ptr %62, align 4 br label %63 63: ; preds = %49 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 br label %46, !llvm.loop !8 66: ; preds = %46 br label %75 67: ; preds = %30 %68 = load i32, ptr %4, align 4 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %68, %69 %71 = srem i32 %70, 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %72 %74 = getelementptr inbounds [6 x i32], ptr %73, i64 0, i64 5 store i32 0, ptr %74, align 4 br label %75 75: ; preds = %67, %66 br label %76 76: ; preds = %75 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 br label %27, !llvm.loop !9 79: ; preds = %27 %80 = load i32, ptr %6, align 4 store i32 %80, ptr %10, align 4 %81 = load i32, ptr %4, align 4 store i32 %81, ptr %11, align 4 store i32 1, ptr %7, align 4 br label %82 82: ; preds = %137, %79 %83 = load i32, ptr %7, align 4 %84 = icmp slt i32 %83, 4 br i1 %84, label %85, label %140 85: ; preds = %82 %86 = load i32, ptr %4, align 4 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %86, %87 %89 = srem i32 %88, 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %90 %92 = getelementptr inbounds [6 x i32], ptr %91, i64 0, i64 5 %93 = load i32, ptr %92, align 4 %94 = icmp sgt i32 %93, 0 br i1 %94, label %95, label %136 95: ; preds = %85 %96 = load i32, ptr %4, align 4 %97 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %98 = call i32 @gethand(i32 noundef %96, ptr noundef %97) store i32 0, ptr %8, align 4 br label %99 99: ; preds = %118, %95 %100 = load i32, ptr %8, align 4 %101 = icmp slt i32 %100, 5 br i1 %101, label %102, label %121 102: ; preds = %99 %103 = load i32, ptr %4, align 4 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %103, %104 %106 = srem i32 %105, 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %107 %109 = load i32, ptr %8, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [6 x i32], ptr %108, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %8, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = sub nsw i32 %116, %112 store i32 %117, ptr %115, align 4 br label %118 118: ; preds = %102 %119 = load i32, ptr %8, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %8, align 4 br label %99, !llvm.loop !10 121: ; preds = %99 %122 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %123 = load i32, ptr %4, align 4 %124 = call i32 @rate_hand(ptr noundef %122, i32 noundef %123) %125 = load i32, ptr %10, align 4 %126 = icmp sgt i32 %124, %125 br i1 %126, label %127, label %135 127: ; preds = %121 %128 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %129 = load i32, ptr %4, align 4 %130 = call i32 @rate_hand(ptr noundef %128, i32 noundef %129) store i32 %130, ptr %10, align 4 %131 = load i32, ptr %4, align 4 %132 = load i32, ptr %7, align 4 %133 = add nsw i32 %131, %132 %134 = srem i32 %133, 4 store i32 %134, ptr %11, align 4 br label %135 135: ; preds = %127, %121 br label %136 136: ; preds = %135, %85 br label %137 137: ; preds = %136 %138 = load i32, ptr %7, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %7, align 4 br label %82, !llvm.loop !11 140: ; preds = %82 %141 = load i32, ptr %11, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %142 %144 = getelementptr inbounds [6 x i32], ptr %143, i64 0, i64 0 %145 = load i32, ptr %4, align 4 %146 = load i32, ptr %11, align 4 %147 = call i32 @doTrade(ptr noundef %144, i32 noundef %145, i32 noundef %146) %148 = load i32, ptr %11, align 4 %149 = load i32, ptr %4, align 4 %150 = icmp ne i32 %148, %149 %151 = zext i1 %150 to i32 ret i32 %151 } declare i32 @data_vps(i32 noundef) #1 declare i32 @accepttrade(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @gethand(i32 noundef, ptr noundef) #1 declare i32 @rate_hand(ptr noundef, i32 noundef) #1 declare i32 @doTrade(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaggbs6h_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ai_playertrade.trades = internal global [4 x [6 x i32]] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ai_playertrade(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [6 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [5 x i32], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 6 br i1 %14, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %22 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %17 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [6 x i32], ptr %18, i64 0, i64 %20 store i32 0, ptr %21, align 4 br label %22 22: ; preds = %15 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 6 br i1 %26, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %3 store i32 1, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %28, 4 br i1 %29, label %.lr.ph5, label %82 .lr.ph5: ; preds = %27 br label %30 30: ; preds = %.lr.ph5, %77 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %31, %32 %34 = srem i32 %33, 4 %35 = call i32 @data_vps(i32 noundef %34) %36 = icmp slt i32 %35, 7 br i1 %36, label %37, label %68 37: ; preds = %30 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %39, %40 %42 = srem i32 %41, 4 %43 = load i32, ptr %4, align 4 %44 = getelementptr inbounds [6 x i32], ptr %9, i64 0, i64 0 %45 = call i32 @accepttrade(ptr noundef %38, i32 noundef %42, i32 noundef %43, ptr noundef %44) store i32 0, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %46, 6 br i1 %47, label %.lr.ph2, label %67 .lr.ph2: ; preds = %37 br label %48 48: ; preds = %.lr.ph2, %62 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [6 x i32], ptr %9, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %53, %54 %56 = srem i32 %55, 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %57 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [6 x i32], ptr %58, i64 0, i64 %60 store i32 %52, ptr %61, align 4 br label %62 62: ; preds = %48 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = icmp slt i32 %65, 6 br i1 %66, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %67 67: ; preds = %._crit_edge3, %37 br label %76 68: ; preds = %30 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %69, %70 %72 = srem i32 %71, 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %73 %75 = getelementptr inbounds [6 x i32], ptr %74, i64 0, i64 5 store i32 0, ptr %75, align 4 br label %76 76: ; preds = %68, %67 br label %77 77: ; preds = %76 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp slt i32 %80, 4 br i1 %81, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %77 br label %82 82: ; preds = %._crit_edge6, %27 %83 = load i32, ptr %6, align 4 store i32 %83, ptr %10, align 4 %84 = load i32, ptr %4, align 4 store i32 %84, ptr %11, align 4 store i32 1, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = icmp slt i32 %85, 4 br i1 %86, label %.lr.ph11, label %145 .lr.ph11: ; preds = %82 br label %87 87: ; preds = %.lr.ph11, %140 %88 = load i32, ptr %4, align 4 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %88, %89 %91 = srem i32 %90, 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %92 %94 = getelementptr inbounds [6 x i32], ptr %93, i64 0, i64 5 %95 = load i32, ptr %94, align 4 %96 = icmp sgt i32 %95, 0 br i1 %96, label %97, label %139 97: ; preds = %87 %98 = load i32, ptr %4, align 4 %99 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %100 = call i32 @gethand(i32 noundef %98, ptr noundef %99) store i32 0, ptr %8, align 4 %101 = load i32, ptr %8, align 4 %102 = icmp slt i32 %101, 5 br i1 %102, label %.lr.ph8, label %124 .lr.ph8: ; preds = %97 br label %103 103: ; preds = %.lr.ph8, %119 %104 = load i32, ptr %4, align 4 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %104, %105 %107 = srem i32 %106, 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %108 %110 = load i32, ptr %8, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [6 x i32], ptr %109, i64 0, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load i32, ptr %8, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = sub nsw i32 %117, %113 store i32 %118, ptr %116, align 4 br label %119 119: ; preds = %103 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %8, align 4 %122 = load i32, ptr %8, align 4 %123 = icmp slt i32 %122, 5 br i1 %123, label %103, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %119 br label %124 124: ; preds = %._crit_edge9, %97 %125 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %126 = load i32, ptr %4, align 4 %127 = call i32 @rate_hand(ptr noundef %125, i32 noundef %126) %128 = load i32, ptr %10, align 4 %129 = icmp sgt i32 %127, %128 br i1 %129, label %130, label %138 130: ; preds = %124 %131 = getelementptr inbounds [5 x i32], ptr %12, i64 0, i64 0 %132 = load i32, ptr %4, align 4 %133 = call i32 @rate_hand(ptr noundef %131, i32 noundef %132) store i32 %133, ptr %10, align 4 %134 = load i32, ptr %4, align 4 %135 = load i32, ptr %7, align 4 %136 = add nsw i32 %134, %135 %137 = srem i32 %136, 4 store i32 %137, ptr %11, align 4 br label %138 138: ; preds = %130, %124 br label %139 139: ; preds = %138, %87 br label %140 140: ; preds = %139 %141 = load i32, ptr %7, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %7, align 4 %143 = load i32, ptr %7, align 4 %144 = icmp slt i32 %143, 4 br i1 %144, label %87, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %140 br label %145 145: ; preds = %._crit_edge12, %82 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [4 x [6 x i32]], ptr @ai_playertrade.trades, i64 0, i64 %147 %149 = getelementptr inbounds [6 x i32], ptr %148, i64 0, i64 0 %150 = load i32, ptr %4, align 4 %151 = load i32, ptr %11, align 4 %152 = call i32 @doTrade(ptr noundef %149, i32 noundef %150, i32 noundef %151) %153 = load i32, ptr %11, align 4 %154 = load i32, ptr %4, align 4 %155 = icmp ne i32 %153, %154 %156 = zext i1 %155 to i32 ret i32 %156 } declare i32 @data_vps(i32 noundef) #1 declare i32 @accepttrade(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @gethand(i32 noundef, ptr noundef) #1 declare i32 @rate_hand(ptr noundef, i32 noundef) #1 declare i32 @doTrade(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpa9kgg6fg.c' source_filename = "/tmp/tmpa9kgg6fg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\1B[?25h\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shell_reset() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9kgg6fg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\1B[?25h\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shell_reset() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdx3a6v98.c' source_filename = "/tmp/tmpdx3a6v98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @point_display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 @glPointSize(float noundef 5.000000e+00) %4 = load i32, ptr @GL_POINTS, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = call i32 @glVertex2f(float noundef 0.000000e+00, float noundef 0.000000e+00) %7 = call i32 @glVertex2f(float noundef 5.000000e-01, float noundef 5.000000e-01) %8 = call i32 (...) @glEnd() %9 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glPointSize(float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex2f(float noundef, float noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glFlush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdx3a6v98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @point_display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 @glPointSize(float noundef 5.000000e+00) %4 = load i32, ptr @GL_POINTS, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = call i32 @glVertex2f(float noundef 0.000000e+00, float noundef 0.000000e+00) %7 = call i32 @glVertex2f(float noundef 5.000000e-01, float noundef 5.000000e-01) %8 = call i32 (...) @glEnd() %9 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glPointSize(float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex2f(float noundef, float noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glFlush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8hh_tt2p.c' source_filename = "/tmp/tmp8hh_tt2p.c" target datalayout = "e-m:e-p270: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/tmp8hh_tt2p.c" target datalayout = "e-m:e-p270: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/tmpljjrf9h_.c' source_filename = "/tmp/tmpljjrf9h_.c" target datalayout = "e-m:e-p270: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/tmpljjrf9h_.c" target datalayout = "e-m:e-p270: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/tmp746sgpoc.c' source_filename = "/tmp/tmp746sgpoc.c" target datalayout = "e-m:e-p270: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/tmp746sgpoc.c" target datalayout = "e-m:e-p270: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/tmp8dzl_6s9.c' source_filename = "/tmp/tmp8dzl_6s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Parameter lambda is smaller than 0.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @expinv(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @error(ptr noundef @.str) br label %9 9: ; preds = %7, %2 %10 = load double, ptr %3, align 8 %11 = fsub double 1.000000e+00, %10 %12 = fptosi double %11 to i32 %13 = call double @log(i32 noundef %12) %14 = fneg double %13 %15 = load double, ptr %4, align 8 %16 = fdiv double %14, %15 ret double %16 } declare i32 @error(ptr noundef) #1 declare double @log(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/tmp8dzl_6s9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Parameter lambda is smaller than 0.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @expinv(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @error(ptr noundef @.str) br label %9 9: ; preds = %7, %2 %10 = load double, ptr %3, align 8 %11 = fsub double 1.000000e+00, %10 %12 = fptosi double %11 to i32 %13 = call double @log(i32 noundef %12) %14 = fneg double %13 %15 = load double, ptr %4, align 8 %16 = fdiv double %14, %15 ret double %16 } declare i32 @error(ptr noundef) #1 declare double @log(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/tmppme1v4l9.c' source_filename = "/tmp/tmppme1v4l9.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"0%d/\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d/\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"0%d:\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d:\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"0%d\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bgpdump_time2str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = add nsw i32 %8, 1 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %16) br label %25 18: ; preds = %2 %19 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, i32 noundef %23) br label %25 25: ; preds = %18, %11 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds %struct.tm, ptr %29, i32 0, i32 1 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %33, label %39 33: ; preds = %25 %34 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str, i32 noundef %37) br label %45 39: ; preds = %25 %40 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds %struct.tm, ptr %41, i32 0, i32 1 %43 = load i32, ptr %42, align 4 %44 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str.1, i32 noundef %43) br label %45 45: ; preds = %39, %33 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds %struct.tm, ptr %49, i32 0, i32 2 %51 = load i32, ptr %50, align 4 %52 = srem i32 %51, 100 %53 = icmp slt i32 %52, 10 br i1 %53, label %54, label %61 54: ; preds = %45 %55 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds %struct.tm, ptr %56, i32 0, i32 2 %58 = load i32, ptr %57, align 4 %59 = srem i32 %58, 100 %60 = call i32 @sprintf(ptr noundef %55, ptr noundef @.str.2, i32 noundef %59) br label %68 61: ; preds = %45 %62 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds %struct.tm, ptr %63, i32 0, i32 2 %65 = load i32, ptr %64, align 4 %66 = srem i32 %65, 100 %67 = call i32 @sprintf(ptr noundef %62, ptr noundef @.str.3, i32 noundef %66) br label %68 68: ; preds = %61, %54 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %71 = call i32 @strcat(ptr noundef %69, ptr noundef %70) %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds %struct.tm, ptr %72, i32 0, i32 3 %74 = load i32, ptr %73, align 4 %75 = icmp slt i32 %74, 10 br i1 %75, label %76, label %82 76: ; preds = %68 %77 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %78 = load ptr, ptr %3, align 8 %79 = getelementptr inbounds %struct.tm, ptr %78, i32 0, i32 3 %80 = load i32, ptr %79, align 4 %81 = call i32 @sprintf(ptr noundef %77, ptr noundef @.str.4, i32 noundef %80) br label %88 82: ; preds = %68 %83 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %84 = load ptr, ptr %3, align 8 %85 = getelementptr inbounds %struct.tm, ptr %84, i32 0, i32 3 %86 = load i32, ptr %85, align 4 %87 = call i32 @sprintf(ptr noundef %83, ptr noundef @.str.5, i32 noundef %86) br label %88 88: ; preds = %82, %76 %89 = load ptr, ptr %4, align 8 %90 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %91 = call i32 @strcat(ptr noundef %89, ptr noundef %90) %92 = load ptr, ptr %3, align 8 %93 = getelementptr inbounds %struct.tm, ptr %92, i32 0, i32 4 %94 = load i32, ptr %93, align 4 %95 = icmp slt i32 %94, 10 br i1 %95, label %96, label %102 96: ; preds = %88 %97 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %98 = load ptr, ptr %3, align 8 %99 = getelementptr inbounds %struct.tm, ptr %98, i32 0, i32 4 %100 = load i32, ptr %99, align 4 %101 = call i32 @sprintf(ptr noundef %97, ptr noundef @.str.4, i32 noundef %100) br label %108 102: ; preds = %88 %103 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %104 = load ptr, ptr %3, align 8 %105 = getelementptr inbounds %struct.tm, ptr %104, i32 0, i32 4 %106 = load i32, ptr %105, align 4 %107 = call i32 @sprintf(ptr noundef %103, ptr noundef @.str.5, i32 noundef %106) br label %108 108: ; preds = %102, %96 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %111 = call i32 @strcat(ptr noundef %109, ptr noundef %110) %112 = load ptr, ptr %3, align 8 %113 = getelementptr inbounds %struct.tm, ptr %112, i32 0, i32 5 %114 = load i32, ptr %113, align 4 %115 = icmp slt i32 %114, 10 br i1 %115, label %116, label %122 116: ; preds = %108 %117 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %118 = load ptr, ptr %3, align 8 %119 = getelementptr inbounds %struct.tm, ptr %118, i32 0, i32 5 %120 = load i32, ptr %119, align 4 %121 = call i32 @sprintf(ptr noundef %117, ptr noundef @.str.6, i32 noundef %120) br label %128 122: ; preds = %108 %123 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %124 = load ptr, ptr %3, align 8 %125 = getelementptr inbounds %struct.tm, ptr %124, i32 0, i32 5 %126 = load i32, ptr %125, align 4 %127 = call i32 @sprintf(ptr noundef %123, ptr noundef @.str.7, i32 noundef %126) br label %128 128: ; preds = %122, %116 %129 = load ptr, ptr %4, align 8 %130 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %131 = call i32 @strcat(ptr noundef %129, ptr noundef %130) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppme1v4l9.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"0%d/\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d/\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"0%d:\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d:\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"0%d\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bgpdump_time2str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = add nsw i32 %8, 1 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %16) br label %25 18: ; preds = %2 %19 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, i32 noundef %23) br label %25 25: ; preds = %18, %11 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds %struct.tm, ptr %29, i32 0, i32 1 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %33, label %39 33: ; preds = %25 %34 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.tm, ptr %35, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str, i32 noundef %37) br label %45 39: ; preds = %25 %40 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds %struct.tm, ptr %41, i32 0, i32 1 %43 = load i32, ptr %42, align 4 %44 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str.1, i32 noundef %43) br label %45 45: ; preds = %39, %33 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds %struct.tm, ptr %49, i32 0, i32 2 %51 = load i32, ptr %50, align 4 %52 = srem i32 %51, 100 %53 = icmp slt i32 %52, 10 br i1 %53, label %54, label %61 54: ; preds = %45 %55 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds %struct.tm, ptr %56, i32 0, i32 2 %58 = load i32, ptr %57, align 4 %59 = srem i32 %58, 100 %60 = call i32 @sprintf(ptr noundef %55, ptr noundef @.str.2, i32 noundef %59) br label %68 61: ; preds = %45 %62 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds %struct.tm, ptr %63, i32 0, i32 2 %65 = load i32, ptr %64, align 4 %66 = srem i32 %65, 100 %67 = call i32 @sprintf(ptr noundef %62, ptr noundef @.str.3, i32 noundef %66) br label %68 68: ; preds = %61, %54 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %71 = call i32 @strcat(ptr noundef %69, ptr noundef %70) %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds %struct.tm, ptr %72, i32 0, i32 3 %74 = load i32, ptr %73, align 4 %75 = icmp slt i32 %74, 10 br i1 %75, label %76, label %82 76: ; preds = %68 %77 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %78 = load ptr, ptr %3, align 8 %79 = getelementptr inbounds %struct.tm, ptr %78, i32 0, i32 3 %80 = load i32, ptr %79, align 4 %81 = call i32 @sprintf(ptr noundef %77, ptr noundef @.str.4, i32 noundef %80) br label %88 82: ; preds = %68 %83 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %84 = load ptr, ptr %3, align 8 %85 = getelementptr inbounds %struct.tm, ptr %84, i32 0, i32 3 %86 = load i32, ptr %85, align 4 %87 = call i32 @sprintf(ptr noundef %83, ptr noundef @.str.5, i32 noundef %86) br label %88 88: ; preds = %82, %76 %89 = load ptr, ptr %4, align 8 %90 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %91 = call i32 @strcat(ptr noundef %89, ptr noundef %90) %92 = load ptr, ptr %3, align 8 %93 = getelementptr inbounds %struct.tm, ptr %92, i32 0, i32 4 %94 = load i32, ptr %93, align 4 %95 = icmp slt i32 %94, 10 br i1 %95, label %96, label %102 96: ; preds = %88 %97 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %98 = load ptr, ptr %3, align 8 %99 = getelementptr inbounds %struct.tm, ptr %98, i32 0, i32 4 %100 = load i32, ptr %99, align 4 %101 = call i32 @sprintf(ptr noundef %97, ptr noundef @.str.4, i32 noundef %100) br label %108 102: ; preds = %88 %103 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %104 = load ptr, ptr %3, align 8 %105 = getelementptr inbounds %struct.tm, ptr %104, i32 0, i32 4 %106 = load i32, ptr %105, align 4 %107 = call i32 @sprintf(ptr noundef %103, ptr noundef @.str.5, i32 noundef %106) br label %108 108: ; preds = %102, %96 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %111 = call i32 @strcat(ptr noundef %109, ptr noundef %110) %112 = load ptr, ptr %3, align 8 %113 = getelementptr inbounds %struct.tm, ptr %112, i32 0, i32 5 %114 = load i32, ptr %113, align 4 %115 = icmp slt i32 %114, 10 br i1 %115, label %116, label %122 116: ; preds = %108 %117 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %118 = load ptr, ptr %3, align 8 %119 = getelementptr inbounds %struct.tm, ptr %118, i32 0, i32 5 %120 = load i32, ptr %119, align 4 %121 = call i32 @sprintf(ptr noundef %117, ptr noundef @.str.6, i32 noundef %120) br label %128 122: ; preds = %108 %123 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %124 = load ptr, ptr %3, align 8 %125 = getelementptr inbounds %struct.tm, ptr %124, i32 0, i32 5 %126 = load i32, ptr %125, align 4 %127 = call i32 @sprintf(ptr noundef %123, ptr noundef @.str.7, i32 noundef %126) br label %128 128: ; preds = %122, %116 %129 = load ptr, ptr %4, align 8 %130 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %131 = call i32 @strcat(ptr noundef %129, ptr noundef %130) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpslmcfwvp.c' source_filename = "/tmp/tmpslmcfwvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @px_get_short_be(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr null, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store i16 0, ptr %2, align 2 br label %26 10: ; preds = %1 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %5, align 8 %13 = load i8, ptr %11, align 1 %14 = zext i8 %13 to i32 %15 = shl i32 %14, 8 %16 = trunc i32 %15 to i16 store i16 %16, ptr %4, align 2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load i8, ptr %17, align 1 %20 = zext i8 %19 to i32 %21 = load i16, ptr %4, align 2 %22 = sext i16 %21 to i32 %23 = add nsw i32 %22, %20 %24 = trunc i32 %23 to i16 store i16 %24, ptr %4, align 2 %25 = load i16, ptr %4, align 2 store i16 %25, ptr %2, align 2 br label %26 26: ; preds = %10, %9 %27 = load i16, ptr %2, align 2 ret i16 %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpslmcfwvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @px_get_short_be(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr null, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store i16 0, ptr %2, align 2 br label %26 10: ; preds = %1 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %5, align 8 %13 = load i8, ptr %11, align 1 %14 = zext i8 %13 to i32 %15 = shl i32 %14, 8 %16 = trunc i32 %15 to i16 store i16 %16, ptr %4, align 2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load i8, ptr %17, align 1 %20 = zext i8 %19 to i32 %21 = load i16, ptr %4, align 2 %22 = sext i16 %21 to i32 %23 = add nsw i32 %22, %20 %24 = trunc i32 %23 to i16 store i16 %24, ptr %4, align 2 %25 = load i16, ptr %4, align 2 store i16 %25, ptr %2, align 2 br label %26 26: ; preds = %10, %9 %27 = load i16, ptr %2, align 2 ret i16 %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplt5htfje.c' source_filename = "/tmp/tmplt5htfje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A8\C3\A2\C2\AD\C3\93\C2\BC\C3\86\C2\A6r(\C2\BD\C3\90\C2\A5\C3\8E\C2\AA\C3\85\C2\A5\C3\95\C2\B9j\C2\B6})\C2\A1G\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"\0A\C2\B3\C3\8C\C2\A4j\C2\A4\C2\BD\C2\A6]\C2\BC\C3\86\C2\AC\C2\B0\C2\A1G%d \0A\C2\B3\C3\8C\C2\A4p\C2\A4\C2\BD\C2\AD\C2\BF\C2\BC\C3\86\C2\AC\C2\B0\C2\A1G%d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @gcd(i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @lcm(i32 noundef %9, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @lcm(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/tmplt5htfje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A8\C3\A2\C2\AD\C3\93\C2\BC\C3\86\C2\A6r(\C2\BD\C3\90\C2\A5\C3\8E\C2\AA\C3\85\C2\A5\C3\95\C2\B9j\C2\B6})\C2\A1G\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"\0A\C2\B3\C3\8C\C2\A4j\C2\A4\C2\BD\C2\A6]\C2\BC\C3\86\C2\AC\C2\B0\C2\A1G%d \0A\C2\B3\C3\8C\C2\A4p\C2\A4\C2\BD\C2\AD\C2\BF\C2\BC\C3\86\C2\AC\C2\B0\C2\A1G%d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @gcd(i32 noundef %6, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @lcm(i32 noundef %9, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @lcm(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/tmp6nicmctk.c' source_filename = "/tmp/tmp6nicmctk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"select * from mytable ; \00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"select foo, bar ,baz from mytable ; \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @tok(ptr noundef %4) %6 = load ptr, ptr %3, align 8 %7 = call i32 @tok(ptr noundef %6) ret i32 0 } declare i32 @tok(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nicmctk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"select * from mytable ; \00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"select foo, bar ,baz from mytable ; \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @tok(ptr noundef %4) %6 = load ptr, ptr %3, align 8 %7 = call i32 @tok(ptr noundef %6) ret i32 0 } declare i32 @tok(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbgyf6p17.c' source_filename = "/tmp/tmpbgyf6p17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__isfinitel(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i32 @__isfinite(x86_fp80 noundef %3) ret i32 %4 } declare i32 @__isfinite(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgyf6p17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__isfinitel(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i32 @__isfinite(x86_fp80 noundef %3) ret i32 %4 } declare i32 @__isfinite(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4jgyajuw.c' source_filename = "/tmp/tmp4jgyajuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptraceKill(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 @ptrace(i32 noundef 8, i32 noundef %3, i32 noundef 0, i32 noundef 0) ret i32 %4 } declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4jgyajuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptraceKill(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 @ptrace(i32 noundef 8, i32 noundef %3, i32 noundef 0, i32 noundef 0) ret i32 %4 } declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpej08qlsj.c' source_filename = "/tmp/tmpej08qlsj.c" target datalayout = "e-m:e-p270: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/tmpej08qlsj.c" target datalayout = "e-m:e-p270: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/tmp4ha_atyr.c' source_filename = "/tmp/tmp4ha_atyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input num : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Factorial : %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 @factorial(i32 noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(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/tmp4ha_atyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input num : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Factorial : %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 @factorial(i32 noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(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/tmp6yhypmwb.c' source_filename = "/tmp/tmp6yhypmwb.c" target datalayout = "e-m:e-p270: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/tmp6yhypmwb.c" target datalayout = "e-m:e-p270: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/tmpb4v8y0td.c' source_filename = "/tmp/tmpb4v8y0td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xorriso_option_list_formats(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @Xorriso_list_formats(ptr noundef %6, i32 noundef 0) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 ret i32 %8 } declare i32 @Xorriso_list_formats(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/tmpb4v8y0td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xorriso_option_list_formats(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @Xorriso_list_formats(ptr noundef %6, i32 noundef 0) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 ret i32 %8 } declare i32 @Xorriso_list_formats(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/tmpidmumuac.c' source_filename = "/tmp/tmpidmumuac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @variant_qualaty(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca x86_fp80, align 16 %6 = alloca x86_fp80, align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store x86_fp80 0xK3FFEFEB851EB851EB800, ptr %5, align 16 store x86_fp80 0xK3FF7A3D70A3D70A3D800, ptr %6, align 16 store i64 1, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 %13 = icmp sgt i32 %9, %12 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %15, %16 br label %20 18: ; preds = %2 %19 = load i32, ptr %4, align 4 br label %20 20: ; preds = %18, %14 %21 = phi i32 [ %17, %14 ], [ %19, %18 ] store i32 %21, ptr %4, align 4 store i32 1, ptr %8, align 4 br label %22 22: ; preds = %62, %20 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %26, label %67 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %8, align 4 %29 = srem i32 %27, %28 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %8, align 4 %34 = sdiv i32 %32, %33 %35 = sext i32 %34 to i64 %36 = load i64, ptr %7, align 8 %37 = mul nsw i64 %36, %35 store i64 %37, ptr %7, align 8 br label %61 38: ; preds = %26 %39 = load i64, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = srem i64 %39, %41 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %52 44: ; preds = %38 %45 = load i64, ptr %7, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = sdiv i64 %45, %47 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = mul nsw i64 %48, %50 store i64 %51, ptr %7, align 8 br label %60 52: ; preds = %38 %53 = load i64, ptr %7, align 8 %54 = load i32, ptr %3, align 4 %55 = sext i32 %54 to i64 %56 = mul nsw i64 %53, %55 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = sdiv i64 %56, %58 store i64 %59, ptr %7, align 8 br label %60 60: ; preds = %52, %44 br label %61 61: ; preds = %60, %31 br label %62 62: ; preds = %61 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %3, align 4 br label %22, !llvm.loop !6 67: ; preds = %22 %68 = load i64, ptr %7, align 8 %69 = load x86_fp80, ptr %6, align 16 %70 = load i32, ptr %4, align 4 %71 = call i64 @pow(x86_fp80 noundef %69, i32 noundef %70) %72 = load x86_fp80, ptr %5, align 16 %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %4, align 4 %75 = sub nsw i32 %73, %74 %76 = call i64 @pow(x86_fp80 noundef %72, i32 noundef %75) %77 = mul nsw i64 %71, %76 %78 = mul nsw i64 %68, %77 %79 = call i32 @log10(i64 noundef %78) %80 = mul nsw i32 -10, %79 %81 = sitofp i32 %80 to x86_fp80 ret x86_fp80 %81 } declare i32 @log10(i64 noundef) #1 declare i64 @pow(x86_fp80 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/tmpidmumuac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @variant_qualaty(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca x86_fp80, align 16 %6 = alloca x86_fp80, align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store x86_fp80 0xK3FFEFEB851EB851EB800, ptr %5, align 16 store x86_fp80 0xK3FF7A3D70A3D70A3D800, ptr %6, align 16 store i64 1, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 %13 = icmp sgt i32 %9, %12 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %15, %16 br label %20 18: ; preds = %2 %19 = load i32, ptr %4, align 4 br label %20 20: ; preds = %18, %14 %21 = phi i32 [ %17, %14 ], [ %19, %18 ] store i32 %21, ptr %4, align 4 store i32 1, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %.lr.ph, label %69 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %61 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %8, align 4 %28 = srem i32 %26, %27 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %25 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %8, align 4 %33 = sdiv i32 %31, %32 %34 = sext i32 %33 to i64 %35 = load i64, ptr %7, align 8 %36 = mul nsw i64 %35, %34 store i64 %36, ptr %7, align 8 br label %60 37: ; preds = %25 %38 = load i64, ptr %7, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = srem i64 %38, %40 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %37 %44 = load i64, ptr %7, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = sdiv i64 %44, %46 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = mul nsw i64 %47, %49 store i64 %50, ptr %7, align 8 br label %59 51: ; preds = %37 %52 = load i64, ptr %7, align 8 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = mul nsw i64 %52, %54 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = sdiv i64 %55, %57 store i64 %58, ptr %7, align 8 br label %59 59: ; preds = %51, %43 br label %60 60: ; preds = %59, %30 br label %61 61: ; preds = %60 %62 = load i32, ptr %8, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %3, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %3, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp sle i32 %66, %67 br i1 %68, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %69 69: ; preds = %._crit_edge, %20 %70 = load i64, ptr %7, align 8 %71 = load x86_fp80, ptr %6, align 16 %72 = load i32, ptr %4, align 4 %73 = call i64 @pow(x86_fp80 noundef %71, i32 noundef %72) %74 = load x86_fp80, ptr %5, align 16 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %4, align 4 %77 = sub nsw i32 %75, %76 %78 = call i64 @pow(x86_fp80 noundef %74, i32 noundef %77) %79 = mul nsw i64 %73, %78 %80 = mul nsw i64 %70, %79 %81 = call i32 @log10(i64 noundef %80) %82 = mul nsw i32 -10, %81 %83 = sitofp i32 %82 to x86_fp80 ret x86_fp80 %83 } declare i32 @log10(i64 noundef) #1 declare i64 @pow(x86_fp80 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/tmp8yv7q10r.c' source_filename = "/tmp/tmp8yv7q10r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @text2lines(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 64, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @xmalloc(i32 noundef %11) %13 = load ptr, ptr %4, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds ptr, ptr %17, i64 %20 store ptr %15, ptr %21, align 8 br label %22 22: ; preds = %93, %2 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %94 26: ; preds = %22 %27 = load ptr, ptr %7, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br i1 %30, label %36, label %31 31: ; preds = %26 %32 = load ptr, ptr %7, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 13 br i1 %35, label %36, label %90 36: ; preds = %31, %26 %37 = load ptr, ptr %7, align 8 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %7, align 8 br label %40 40: ; preds = %59, %36 %41 = load ptr, ptr %7, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %57 45: ; preds = %40 %46 = load ptr, ptr %7, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 10 br i1 %49, label %55, label %50 50: ; preds = %45 %51 = load ptr, ptr %7, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 13 br label %55 55: ; preds = %50, %45 %56 = phi i1 [ true, %45 ], [ %54, %50 ] br label %57 57: ; preds = %55, %40 %58 = phi i1 [ false, %40 ], [ %56, %55 ] br i1 %58, label %59, label %62 59: ; preds = %57 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %7, align 8 br label %40, !llvm.loop !6 62: ; preds = %57 %63 = load ptr, ptr %7, align 8 %64 = load i8, ptr %63, align 1 %65 = icmp ne i8 %64, 0 br i1 %65, label %66, label %89 66: ; preds = %62 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %81 70: ; preds = %66 %71 = load i32, ptr %6, align 4 %72 = mul nsw i32 %71, 2 store i32 %72, ptr %6, align 4 %73 = load ptr, ptr %4, align 8 %74 = load ptr, ptr %73, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = mul i64 %76, 8 %78 = trunc i64 %77 to i32 %79 = call ptr @xrealloc(ptr noundef %74, i32 noundef %78) %80 = load ptr, ptr %4, align 8 store ptr %79, ptr %80, align 8 br label %81 81: ; preds = %70, %66 %82 = load ptr, ptr %7, align 8 %83 = load ptr, ptr %4, align 8 %84 = load ptr, ptr %83, align 8 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %5, align 4 %87 = sext i32 %85 to i64 %88 = getelementptr inbounds ptr, ptr %84, i64 %87 store ptr %82, ptr %88, align 8 br label %89 89: ; preds = %81, %62 br label %93 90: ; preds = %31 %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %91, i32 1 store ptr %92, ptr %7, align 8 br label %93 93: ; preds = %90, %89 br label %22, !llvm.loop !8 94: ; preds = %22 %95 = load i32, ptr %5, align 4 ret i32 %95 } declare ptr @xmalloc(i32 noundef) #1 declare ptr @xrealloc(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/tmp8yv7q10r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @text2lines(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 64, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @xmalloc(i32 noundef %11) %13 = load ptr, ptr %4, align 8 store ptr %12, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds ptr, ptr %17, i64 %20 store ptr %15, ptr %21, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %.lr.ph, label %96 .lr.ph: ; preds = %2 br label %25 25: ; preds = %.lr.ph, %92 %26 = load ptr, ptr %7, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 10 br i1 %29, label %35, label %30 30: ; preds = %25 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 13 br i1 %34, label %35, label %89 35: ; preds = %30, %25 %36 = load ptr, ptr %7, align 8 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %7, align 8 br label %39 39: ; preds = %58, %35 %40 = load ptr, ptr %7, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %56 44: ; preds = %39 %45 = load ptr, ptr %7, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 10 br i1 %48, label %54, label %49 49: ; preds = %44 %50 = load ptr, ptr %7, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 13 br label %54 54: ; preds = %49, %44 %55 = phi i1 [ true, %44 ], [ %53, %49 ] br label %56 56: ; preds = %54, %39 %57 = phi i1 [ false, %39 ], [ %55, %54 ] br i1 %57, label %58, label %61 58: ; preds = %56 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %7, align 8 br label %39, !llvm.loop !6 61: ; preds = %56 %62 = load ptr, ptr %7, align 8 %63 = load i8, ptr %62, align 1 %64 = icmp ne i8 %63, 0 br i1 %64, label %65, label %88 65: ; preds = %61 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %80 69: ; preds = %65 %70 = load i32, ptr %6, align 4 %71 = mul nsw i32 %70, 2 store i32 %71, ptr %6, align 4 %72 = load ptr, ptr %4, align 8 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = mul i64 %75, 8 %77 = trunc i64 %76 to i32 %78 = call ptr @xrealloc(ptr noundef %73, i32 noundef %77) %79 = load ptr, ptr %4, align 8 store ptr %78, ptr %79, align 8 br label %80 80: ; preds = %69, %65 %81 = load ptr, ptr %7, align 8 %82 = load ptr, ptr %4, align 8 %83 = load ptr, ptr %82, align 8 %84 = load i32, ptr %5, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %5, align 4 %86 = sext i32 %84 to i64 %87 = getelementptr inbounds ptr, ptr %83, i64 %86 store ptr %81, ptr %87, align 8 br label %88 88: ; preds = %80, %61 br label %92 89: ; preds = %30 %90 = load ptr, ptr %7, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %7, align 8 br label %92 92: ; preds = %89, %88 %93 = load ptr, ptr %7, align 8 %94 = load i8, ptr %93, align 1 %95 = icmp ne i8 %94, 0 br i1 %95, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %92 br label %96 96: ; preds = %._crit_edge, %2 %97 = load i32, ptr %5, align 4 ret i32 %97 } declare ptr @xmalloc(i32 noundef) #1 declare ptr @xrealloc(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/tmpfr1eijxa.c' source_filename = "/tmp/tmpfr1eijxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_print_reverse_alphabet() #0 { %1 = alloca i8, align 1 store i8 122, ptr %1, align 1 br label %2 2: ; preds = %6, %0 %3 = load i8, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 97 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i8, ptr %1, align 1 %8 = call i32 @ft_putchar(i8 noundef signext %7) %9 = load i8, ptr %1, align 1 %10 = add i8 %9, -1 store i8 %10, ptr %1, align 1 br label %2, !llvm.loop !6 11: ; preds = %2 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfr1eijxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_print_reverse_alphabet() #0 { %1 = alloca i8, align 1 store i8 122, ptr %1, align 1 %2 = load i8, ptr %1, align 1 %3 = sext i8 %2 to i32 %4 = icmp sge i32 %3, 97 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load i8, ptr %1, align 1 %7 = call i32 @ft_putchar(i8 noundef signext %6) %8 = load i8, ptr %1, align 1 %9 = add i8 %8, -1 store i8 %9, ptr %1, align 1 %10 = load i8, ptr %1, align 1 %11 = sext i8 %10 to i32 %12 = icmp sge i32 %11, 97 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %13 13: ; preds = %._crit_edge, %0 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk6kngcun.c' source_filename = "/tmp/tmpk6kngcun.c" target datalayout = "e-m:e-p270: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/tmpk6kngcun.c" target datalayout = "e-m:e-p270: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/tmptcgcu2jk.c' source_filename = "/tmp/tmptcgcu2jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT64_MAX = 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/tmptcgcu2jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT64_MAX = 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/tmpoe7bu1my.c' source_filename = "/tmp/tmpoe7bu1my.c" target datalayout = "e-m:e-p270: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/tmpoe7bu1my.c" target datalayout = "e-m:e-p270: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/tmpzuyhvxn0.c' source_filename = "/tmp/tmpzuyhvxn0.c" target datalayout = "e-m:e-p270: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/tmpzuyhvxn0.c" target datalayout = "e-m:e-p270: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/tmpjiffjaco.c' source_filename = "/tmp/tmpjiffjaco.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix23TransformDistance(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @matrix23TransformCoordi(ptr noundef %17, ptr noundef %7, ptr noundef %8) %19 = load ptr, ptr %4, align 8 %20 = call i32 @matrix23TransformCoordi(ptr noundef %19, ptr noundef %9, ptr noundef %10) %21 = load ptr, ptr %4, align 8 %22 = call i32 @matrix23TransformCoordi(ptr noundef %21, ptr noundef %11, ptr noundef %12) %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %23, %24 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %25, %28 %30 = load ptr, ptr %5, align 8 store i32 %29, ptr %30, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %8, align 4 %33 = sub nsw i32 %31, %32 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %34, %35 %37 = add nsw i32 %33, %36 %38 = load ptr, ptr %6, align 8 store i32 %37, ptr %38, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %3 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %43, align 4 %45 = sub nsw i32 0, %44 %46 = load ptr, ptr %5, align 8 store i32 %45, ptr %46, align 4 br label %47 47: ; preds = %42, %3 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %48, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %52, align 4 %54 = sub nsw i32 0, %53 %55 = load ptr, ptr %6, align 8 store i32 %54, ptr %55, align 4 br label %56 56: ; preds = %51, %47 ret void } declare i32 @matrix23TransformCoordi(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/tmpjiffjaco.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix23TransformDistance(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %12, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @matrix23TransformCoordi(ptr noundef %17, ptr noundef %7, ptr noundef %8) %19 = load ptr, ptr %4, align 8 %20 = call i32 @matrix23TransformCoordi(ptr noundef %19, ptr noundef %9, ptr noundef %10) %21 = load ptr, ptr %4, align 8 %22 = call i32 @matrix23TransformCoordi(ptr noundef %21, ptr noundef %11, ptr noundef %12) %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %23, %24 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %25, %28 %30 = load ptr, ptr %5, align 8 store i32 %29, ptr %30, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %8, align 4 %33 = sub nsw i32 %31, %32 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %34, %35 %37 = add nsw i32 %33, %36 %38 = load ptr, ptr %6, align 8 store i32 %37, ptr %38, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %3 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %43, align 4 %45 = sub nsw i32 0, %44 %46 = load ptr, ptr %5, align 8 store i32 %45, ptr %46, align 4 br label %47 47: ; preds = %42, %3 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %48, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %52, align 4 %54 = sub nsw i32 0, %53 %55 = load ptr, ptr %6, align 8 store i32 %54, ptr %55, align 4 br label %56 56: ; preds = %51, %47 ret void } declare i32 @matrix23TransformCoordi(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/tmpibjh34mp.c' source_filename = "/tmp/tmpibjh34mp.c" target datalayout = "e-m:e-p270: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.winsize = type { i64, i64 } @STDIN_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update_terminal_size(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.winsize, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = load i32, ptr @TIOCGWINSZ, align 4 %9 = call i64 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %19 12: ; preds = %2 %13 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %14 = load i64, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 store i64 %14, ptr %15, align 8 %16 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %17 = load i64, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 store i64 %17, ptr %18, align 8 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %12, %11 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpibjh34mp.c" target datalayout = "e-m:e-p270: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.winsize = type { i64, i64 } @STDIN_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update_terminal_size(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.winsize, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = load i32, ptr @TIOCGWINSZ, align 4 %9 = call i64 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %19 12: ; preds = %2 %13 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %14 = load i64, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 store i64 %14, ptr %15, align 8 %16 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %17 = load i64, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 store i64 %17, ptr %18, align 8 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %12, %11 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpesnqw0rx.c' source_filename = "/tmp/tmpesnqw0rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jerasure_make_decoding_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %16, align 4 br label %19 19: ; preds = %39, %7 %20 = load i32, ptr %17, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %42 23: ; preds = %19 %24 = load ptr, ptr %13, align 8 %25 = load i32, ptr %16, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = load i32, ptr %16, align 4 %32 = load ptr, ptr %15, align 8 %33 = load i32, ptr %17, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load i32, ptr %17, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %17, align 4 br label %38 38: ; preds = %30, %23 br label %39 39: ; preds = %38 %40 = load i32, ptr %16, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %16, align 4 br label %19, !llvm.loop !6 42: ; preds = %19 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %10, align 4 %45 = mul nsw i32 %43, %44 %46 = sext i32 %45 to i64 %47 = mul i64 4, %46 %48 = trunc i64 %47 to i32 %49 = call i64 @malloc(i32 noundef %48) %50 = inttoptr i64 %49 to ptr store ptr %50, ptr %18, align 8 %51 = load ptr, ptr %18, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %54 53: ; preds = %42 store i32 -1, ptr %8, align 4 br label %143 54: ; preds = %42 store i32 0, ptr %16, align 4 br label %55 55: ; preds = %131, %54 %56 = load i32, ptr %16, align 4 %57 = load i32, ptr %10, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %134 59: ; preds = %55 %60 = load ptr, ptr %15, align 8 %61 = load i32, ptr %16, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr %10, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %97 67: ; preds = %59 store i32 0, ptr %17, align 4 br label %68 68: ; preds = %81, %67 %69 = load i32, ptr %17, align 4 %70 = load i32, ptr %10, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %84 72: ; preds = %68 %73 = load ptr, ptr %18, align 8 %74 = load i32, ptr %16, align 4 %75 = load i32, ptr %10, align 4 %76 = mul nsw i32 %74, %75 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 %76, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %73, i64 %79 store i32 0, ptr %80, align 4 br label %81 81: ; preds = %72 %82 = load i32, ptr %17, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %17, align 4 br label %68, !llvm.loop !8 84: ; preds = %68 %85 = load ptr, ptr %18, align 8 %86 = load i32, ptr %16, align 4 %87 = load i32, ptr %10, align 4 %88 = mul nsw i32 %86, %87 %89 = load ptr, ptr %15, align 8 %90 = load i32, ptr %16, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %88, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %85, i64 %95 store i32 1, ptr %96, align 4 br label %130 97: ; preds = %59 store i32 0, ptr %17, align 4 br label %98 98: ; preds = %126, %97 %99 = load i32, ptr %17, align 4 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %129 102: ; preds = %98 %103 = load ptr, ptr %12, align 8 %104 = load ptr, ptr %15, align 8 %105 = load i32, ptr %16, 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 i32, ptr %10, align 4 %110 = sub nsw i32 %108, %109 %111 = load i32, ptr %10, align 4 %112 = mul nsw i32 %110, %111 %113 = load i32, ptr %17, align 4 %114 = add nsw i32 %112, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %103, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load ptr, ptr %18, align 8 %119 = load i32, ptr %16, align 4 %120 = load i32, ptr %10, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %17, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %118, i64 %124 store i32 %117, ptr %125, align 4 br label %126 126: ; preds = %102 %127 = load i32, ptr %17, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %17, align 4 br label %98, !llvm.loop !9 129: ; preds = %98 br label %130 130: ; preds = %129, %84 br label %131 131: ; preds = %130 %132 = load i32, ptr %16, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %16, align 4 br label %55, !llvm.loop !10 134: ; preds = %55 %135 = load ptr, ptr %9, align 8 %136 = load ptr, ptr %18, align 8 %137 = load ptr, ptr %14, align 8 %138 = load i32, ptr %10, align 4 %139 = call i32 @jerasure_invert_matrix(ptr noundef %135, ptr noundef %136, ptr noundef %137, i32 noundef %138) store i32 %139, ptr %16, align 4 %140 = load ptr, ptr %18, align 8 %141 = call i32 @free(ptr noundef %140) %142 = load i32, ptr %16, align 4 store i32 %142, ptr %8, align 4 br label %143 143: ; preds = %134, %53 %144 = load i32, ptr %8, align 4 ret i32 %144 } declare i64 @malloc(i32 noundef) #1 declare i32 @jerasure_invert_matrix(ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpesnqw0rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jerasure_make_decoding_matrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %16, align 4 %19 = load i32, ptr %17, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %44 .lr.ph: ; preds = %7 br label %22 22: ; preds = %.lr.ph, %38 %23 = load ptr, ptr %13, align 8 %24 = load i32, ptr %16, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %37 29: ; preds = %22 %30 = load i32, ptr %16, align 4 %31 = load ptr, ptr %15, align 8 %32 = load i32, ptr %17, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 %30, ptr %34, align 4 %35 = load i32, ptr %17, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %17, align 4 br label %37 37: ; preds = %29, %22 br label %38 38: ; preds = %37 %39 = load i32, ptr %16, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %16, align 4 %41 = load i32, ptr %17, align 4 %42 = load i32, ptr %10, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %7 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = mul nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = mul i64 4, %48 %50 = trunc i64 %49 to i32 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %18, align 8 %53 = load ptr, ptr %18, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %56 55: ; preds = %44 store i32 -1, ptr %8, align 4 br label %151 56: ; preds = %44 store i32 0, ptr %16, align 4 %57 = load i32, ptr %16, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph8, label %142 .lr.ph8: ; preds = %56 br label %60 60: ; preds = %.lr.ph8, %136 %61 = load ptr, ptr %15, align 8 %62 = load i32, ptr %16, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %10, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %100 68: ; preds = %60 store i32 0, ptr %17, align 4 %69 = load i32, ptr %17, align 4 %70 = load i32, ptr %10, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph5, label %87 .lr.ph5: ; preds = %68 br label %72 72: ; preds = %.lr.ph5, %81 %73 = load ptr, ptr %18, align 8 %74 = load i32, ptr %16, align 4 %75 = load i32, ptr %10, align 4 %76 = mul nsw i32 %74, %75 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 %76, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %73, i64 %79 store i32 0, ptr %80, align 4 br label %81 81: ; preds = %72 %82 = load i32, ptr %17, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %17, align 4 %84 = load i32, ptr %17, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %72, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %81 br label %87 87: ; preds = %._crit_edge6, %68 %88 = load ptr, ptr %18, align 8 %89 = load i32, ptr %16, align 4 %90 = load i32, ptr %10, align 4 %91 = mul nsw i32 %89, %90 %92 = load ptr, ptr %15, align 8 %93 = load i32, ptr %16, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 %96 = load i32, ptr %95, align 4 %97 = add nsw i32 %91, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %88, i64 %98 store i32 1, ptr %99, align 4 br label %135 100: ; preds = %60 store i32 0, ptr %17, align 4 %101 = load i32, ptr %17, align 4 %102 = load i32, ptr %10, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %.lr.ph2, label %134 .lr.ph2: ; preds = %100 br label %104 104: ; preds = %.lr.ph2, %128 %105 = load ptr, ptr %12, align 8 %106 = load ptr, ptr %15, align 8 %107 = load i32, ptr %16, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = load i32, ptr %10, align 4 %112 = sub nsw i32 %110, %111 %113 = load i32, ptr %10, align 4 %114 = mul nsw i32 %112, %113 %115 = load i32, ptr %17, align 4 %116 = add nsw i32 %114, %115 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %105, i64 %117 %119 = load i32, ptr %118, align 4 %120 = load ptr, ptr %18, align 8 %121 = load i32, ptr %16, align 4 %122 = load i32, ptr %10, align 4 %123 = mul nsw i32 %121, %122 %124 = load i32, ptr %17, align 4 %125 = add nsw i32 %123, %124 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i32, ptr %120, i64 %126 store i32 %119, ptr %127, align 4 br label %128 128: ; preds = %104 %129 = load i32, ptr %17, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %17, align 4 %131 = load i32, ptr %17, align 4 %132 = load i32, ptr %10, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %104, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %128 br label %134 134: ; preds = %._crit_edge3, %100 br label %135 135: ; preds = %134, %87 br label %136 136: ; preds = %135 %137 = load i32, ptr %16, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %16, align 4 %139 = load i32, ptr %16, align 4 %140 = load i32, ptr %10, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %60, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %136 br label %142 142: ; preds = %._crit_edge9, %56 %143 = load ptr, ptr %9, align 8 %144 = load ptr, ptr %18, align 8 %145 = load ptr, ptr %14, align 8 %146 = load i32, ptr %10, align 4 %147 = call i32 @jerasure_invert_matrix(ptr noundef %143, ptr noundef %144, ptr noundef %145, i32 noundef %146) store i32 %147, ptr %16, align 4 %148 = load ptr, ptr %18, align 8 %149 = call i32 @free(ptr noundef %148) %150 = load i32, ptr %16, align 4 store i32 %150, ptr %8, align 4 br label %151 151: ; preds = %142, %55 %152 = load i32, ptr %8, align 4 ret i32 %152 } declare i64 @malloc(i32 noundef) #1 declare i32 @jerasure_invert_matrix(ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpkws8ebev.c' source_filename = "/tmp/tmpkws8ebev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @testNumber(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %29, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %6, %9 br i1 %10, label %11, label %32 11: ; preds = %5 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp slt i32 %17, 48 br i1 %18, label %27, label %19 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 57 br i1 %26, label %27, label %28 27: ; preds = %19, %11 store i8 0, ptr %2, align 1 br label %33 28: ; preds = %19 br label %29 29: ; preds = %28 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %5, !llvm.loop !6 32: ; preds = %5 store i8 1, ptr %2, align 1 br label %33 33: ; preds = %32, %27 %34 = load i8, ptr %2, align 1 ret i8 %34 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkws8ebev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @testNumber(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %5, %8 br i1 %9, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %28 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %16, 48 br i1 %17, label %26, label %18 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sgt i32 %24, 57 br i1 %25, label %26, label %27 26: ; preds = %18, %10 store i8 0, ptr %2, align 1 br label %37 27: ; preds = %18 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %31, %34 br i1 %35, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %1 store i8 1, ptr %2, align 1 br label %37 37: ; preds = %36, %26 %38 = load i8, ptr %2, align 1 ret i8 %38 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp78zfqqmc.c' source_filename = "/tmp/tmp78zfqqmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zc_hashtable_str_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6) %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78zfqqmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zc_hashtable_str_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6) %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9xh02xjm.c' source_filename = "/tmp/tmp9xh02xjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @barebox_memalign(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @memalign(i64 noundef %5, i64 noundef %6) #3 call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 %5) ] ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @memalign(i64 noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) declare void @llvm.assume(i1 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(1) "frame-pointer"="all" "no-trapping-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 memory(inaccessiblemem: readwrite) } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9xh02xjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @barebox_memalign(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @memalign(i64 noundef %5, i64 noundef %6) #3 call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 %5) ] ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @memalign(i64 noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) declare void @llvm.assume(i1 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(1) "frame-pointer"="all" "no-trapping-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 memory(inaccessiblemem: readwrite) } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa4ol6lb3.c' source_filename = "/tmp/tmpa4ol6lb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @constructBITtree(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %9 9: ; preds = %18, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 store i32 0, ptr %8, align 4 br label %22 22: ; preds = %36, %21 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %39 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %8, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @update(ptr noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %34) br label %36 36: ; preds = %26 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %22, !llvm.loop !8 39: ; preds = %22 ret void } declare i32 @update(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa4ol6lb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @constructBITtree(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %17 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 store i32 0, ptr %16, align 4 br label %17 17: ; preds = %12 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %3 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %43 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %37 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @update(ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %35) br label %37 37: ; preds = %27 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %23 ret void } declare i32 @update(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp66x8wvf5.c' source_filename = "/tmp/tmp66x8wvf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [16 x i8] c"**** ** ** ****\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" * * * * *\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"*** ***** ***\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"*** **** ****\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"* ** **** * *\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"**** *** ****\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"**** **** ****\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"*** * * * *\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"**** ***** ****\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"**** **** ****\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"BEER!!\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"BOOM!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [33 x i8], align 16 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca [9 x i8], align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 br label %18 18: ; preds = %47, %0 %19 = load i64, ptr %5, align 8 %20 = icmp ult i64 %19, 33 br i1 %20, label %21, label %50 21: ; preds = %18 %22 = load i64, ptr %5, align 8 %23 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %22 %24 = call i64 @scanf(ptr noundef @.str, ptr noundef %23) %25 = load i64, ptr %5, align 8 %26 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 10 br i1 %29, label %30, label %34 30: ; preds = %21 %31 = load i64, ptr %5, align 8 %32 = add i64 %31, 1 %33 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %32 store i8 0, ptr %33, align 1 br label %50 34: ; preds = %21 %35 = load i32, ptr %4, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %45, label %37 37: ; preds = %34 %38 = load i64, ptr %3, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %3, align 8 %40 = load i64, ptr %3, align 8 %41 = urem i64 %40, 3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %37 store i32 1, ptr %4, align 4 br label %44 44: ; preds = %43, %37 br label %46 45: ; preds = %34 store i32 0, ptr %4, align 4 br label %46 46: ; preds = %45, %44 br label %47 47: ; preds = %46 %48 = load i64, ptr %5, align 8 %49 = add i64 %48, 1 store i64 %49, ptr %5, align 8 br label %18, !llvm.loop !6 50: ; preds = %30, %18 %51 = load i64, ptr %3, align 8 %52 = udiv i64 %51, 3 store i64 %52, ptr %3, align 8 store i32 0, ptr %6, align 4 %53 = load i64, ptr %3, align 8 %54 = call ptr @llvm.stacksave() store ptr %54, ptr %7, align 8 %55 = alloca [16 x i8], i64 %53, align 16 store i64 %53, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %56 56: ; preds = %102, %50 %57 = load i32, ptr %9, align 4 %58 = icmp slt i32 %57, 5 br i1 %58, label %59, label %105 59: ; preds = %56 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %60 60: ; preds = %100, %59 br label %61 61: ; preds = %60 %62 = load i32, ptr %9, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %70 64: ; preds = %61 %65 = call i64 @scanf(ptr noundef @.str, ptr noundef %12) %66 = load i64, ptr @EOF, align 8 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %69 68: ; preds = %64 br label %101 69: ; preds = %64 br label %76 70: ; preds = %61 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %73 %75 = load i8, ptr %74, align 1 store i8 %75, ptr %12, align 1 br label %76 76: ; preds = %70, %69 %77 = load i8, ptr %12, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 10 br i1 %79, label %80, label %81 80: ; preds = %76 br label %101 81: ; preds = %76 %82 = load i32, ptr %11, align 4 %83 = icmp eq i32 %82, 3 br i1 %83, label %84, label %87 84: ; preds = %81 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %100 87: ; preds = %81 %88 = load i8, ptr %12, align 1 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [16 x i8], ptr %55, i64 %90 %92 = load i32, ptr %9, align 4 %93 = mul nsw i32 %92, 3 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [16 x i8], ptr %91, i64 0, i64 %96 store i8 %88, ptr %97, align 1 %98 = load i32, ptr %11, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %11, align 4 br label %100 100: ; preds = %87, %84 br label %60 101: ; preds = %80, %68 br label %102 102: ; preds = %101 %103 = load i32, ptr %9, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %9, align 4 br label %56, !llvm.loop !8 105: ; preds = %56 store i32 0, ptr %13, align 4 br label %106 106: ; preds = %116, %105 %107 = load i32, ptr %13, align 4 %108 = sext i32 %107 to i64 %109 = load i64, ptr %3, align 8 %110 = icmp ult i64 %108, %109 br i1 %110, label %111, label %119 111: ; preds = %106 %112 = load i32, ptr %13, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [16 x i8], ptr %55, i64 %113 %115 = getelementptr inbounds [16 x i8], ptr %114, i64 0, i64 15 store i8 0, ptr %115, align 1 br label %116 116: ; preds = %111 %117 = load i32, ptr %13, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %13, align 4 br label %106, !llvm.loop !9 119: ; preds = %106 store i32 0, ptr %15, align 4 store i32 1, ptr %16, align 4 store i32 0, ptr %17, align 4 br label %120 120: ; preds = %237, %119 %121 = load i32, ptr %17, align 4 %122 = sext i32 %121 to i64 %123 = load i64, ptr %3, align 8 %124 = icmp ult i64 %122, %123 br i1 %124, label %125, label %240 125: ; preds = %120 %126 = load i32, ptr %17, align 4 store i32 %126, ptr %15, align 4 %127 = load i32, ptr %17, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [16 x i8], ptr %55, i64 %128 %130 = getelementptr inbounds [16 x i8], ptr %129, i64 0, i64 0 %131 = call i32 @strncmp(ptr noundef %130, ptr noundef @.str.1, i32 noundef 15) %132 = icmp ne i32 %131, 0 br i1 %132, label %137, label %133 133: ; preds = %125 %134 = load i32, ptr %17, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %135 store i8 48, ptr %136, align 1 br label %237 137: ; preds = %125 %138 = load i32, ptr %17, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [16 x i8], ptr %55, i64 %139 %141 = getelementptr inbounds [16 x i8], ptr %140, i64 0, i64 0 %142 = call i32 @strncmp(ptr noundef %141, ptr noundef @.str.2, i32 noundef 15) %143 = icmp ne i32 %142, 0 br i1 %143, label %148, label %144 144: ; preds = %137 %145 = load i32, ptr %17, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %146 store i8 49, ptr %147, align 1 br label %237 148: ; preds = %137 %149 = load i32, ptr %17, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [16 x i8], ptr %55, i64 %150 %152 = getelementptr inbounds [16 x i8], ptr %151, i64 0, i64 0 %153 = call i32 @strncmp(ptr noundef %152, ptr noundef @.str.3, i32 noundef 15) %154 = icmp ne i32 %153, 0 br i1 %154, label %159, label %155 155: ; preds = %148 %156 = load i32, ptr %17, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %157 store i8 50, ptr %158, align 1 br label %237 159: ; preds = %148 %160 = load i32, ptr %17, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [16 x i8], ptr %55, i64 %161 %163 = getelementptr inbounds [16 x i8], ptr %162, i64 0, i64 0 %164 = call i32 @strncmp(ptr noundef %163, ptr noundef @.str.4, i32 noundef 15) %165 = icmp ne i32 %164, 0 br i1 %165, label %170, label %166 166: ; preds = %159 %167 = load i32, ptr %17, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %168 store i8 51, ptr %169, align 1 br label %237 170: ; preds = %159 %171 = load i32, ptr %17, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [16 x i8], ptr %55, i64 %172 %174 = getelementptr inbounds [16 x i8], ptr %173, i64 0, i64 0 %175 = call i32 @strncmp(ptr noundef %174, ptr noundef @.str.5, i32 noundef 15) %176 = icmp ne i32 %175, 0 br i1 %176, label %181, label %177 177: ; preds = %170 %178 = load i32, ptr %17, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %179 store i8 52, ptr %180, align 1 br label %237 181: ; preds = %170 %182 = load i32, ptr %17, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [16 x i8], ptr %55, i64 %183 %185 = getelementptr inbounds [16 x i8], ptr %184, i64 0, i64 0 %186 = call i32 @strncmp(ptr noundef %185, ptr noundef @.str.6, i32 noundef 15) %187 = icmp ne i32 %186, 0 br i1 %187, label %192, label %188 188: ; preds = %181 %189 = load i32, ptr %17, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %190 store i8 53, ptr %191, align 1 br label %237 192: ; preds = %181 %193 = load i32, ptr %17, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [16 x i8], ptr %55, i64 %194 %196 = getelementptr inbounds [16 x i8], ptr %195, i64 0, i64 0 %197 = call i32 @strncmp(ptr noundef %196, ptr noundef @.str.7, i32 noundef 15) %198 = icmp ne i32 %197, 0 br i1 %198, label %203, label %199 199: ; preds = %192 %200 = load i32, ptr %17, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %201 store i8 54, ptr %202, align 1 br label %237 203: ; preds = %192 %204 = load i32, ptr %17, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [16 x i8], ptr %55, i64 %205 %207 = getelementptr inbounds [16 x i8], ptr %206, i64 0, i64 0 %208 = call i32 @strncmp(ptr noundef %207, ptr noundef @.str.8, i32 noundef 15) %209 = icmp ne i32 %208, 0 br i1 %209, label %214, label %210 210: ; preds = %203 %211 = load i32, ptr %17, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %212 store i8 55, ptr %213, align 1 br label %237 214: ; preds = %203 %215 = load i32, ptr %17, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [16 x i8], ptr %55, i64 %216 %218 = getelementptr inbounds [16 x i8], ptr %217, i64 0, i64 0 %219 = call i32 @strncmp(ptr noundef %218, ptr noundef @.str.9, i32 noundef 15) %220 = icmp ne i32 %219, 0 br i1 %220, label %225, label %221 221: ; preds = %214 %222 = load i32, ptr %17, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %223 store i8 56, ptr %224, align 1 br label %237 225: ; preds = %214 %226 = load i32, ptr %17, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [16 x i8], ptr %55, i64 %227 %229 = getelementptr inbounds [16 x i8], ptr %228, i64 0, i64 0 %230 = call i32 @strncmp(ptr noundef %229, ptr noundef @.str.10, i32 noundef 15) %231 = icmp ne i32 %230, 0 br i1 %231, label %236, label %232 232: ; preds = %225 %233 = load i32, ptr %17, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %234 store i8 57, ptr %235, align 1 br label %237 236: ; preds = %225 store i32 0, ptr %16, align 4 br label %240 237: ; preds = %232, %221, %210, %199, %188, %177, %166, %155, %144, %133 %238 = load i32, ptr %17, align 4 %239 = add nsw i32 %238, 1 store i32 %239, ptr %17, align 4 br label %120, !llvm.loop !10 240: ; preds = %236, %120 %241 = load i32, ptr %16, align 4 %242 = icmp ne i32 %241, 0 br i1 %242, label %243, label %255 243: ; preds = %240 %244 = load i32, ptr %15, align 4 %245 = add nsw i32 %244, 1 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %246 store i8 0, ptr %247, align 1 %248 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %249 = call i32 @atoi(ptr noundef %248) %250 = srem i32 %249, 6 %251 = icmp eq i32 %250, 0 %252 = zext i1 %251 to i64 %253 = select i1 %251, ptr @.str.11, ptr @.str.12 %254 = call i32 @printf(ptr noundef %253) br label %257 255: ; preds = %240 %256 = call i32 @printf(ptr noundef @.str.12) br label %257 257: ; preds = %255, %243 store i32 0, ptr %1, align 4 %258 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %258) %259 = load i32, ptr %1, align 4 ret i32 %259 } declare i64 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp66x8wvf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [16 x i8] c"**** ** ** ****\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" * * * * *\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"*** ***** ***\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"*** **** ****\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"* ** **** * *\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"**** *** ****\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"**** **** ****\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"*** * * * *\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"**** ***** ****\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"**** **** ****\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"BEER!!\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"BOOM!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [33 x i8], align 16 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca [9 x i8], align 1 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = icmp ult i64 %18, 33 br i1 %19, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %46 %21 = load i64, ptr %5, align 8 %22 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %21 %23 = call i64 @scanf(ptr noundef @.str, ptr noundef %22) %24 = load i64, ptr %5, align 8 %25 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %33 29: ; preds = %20 %30 = load i64, ptr %5, align 8 %31 = add i64 %30, 1 %32 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %31 store i8 0, ptr %32, align 1 br label %51 33: ; preds = %20 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %44, label %36 36: ; preds = %33 %37 = load i64, ptr %3, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %3, align 8 %39 = load i64, ptr %3, align 8 %40 = urem i64 %39, 3 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %36 store i32 1, ptr %4, align 4 br label %43 43: ; preds = %42, %36 br label %45 44: ; preds = %33 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %43 br label %46 46: ; preds = %45 %47 = load i64, ptr %5, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %5, align 8 %49 = load i64, ptr %5, align 8 %50 = icmp ult i64 %49, 33 br i1 %50, label %20, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %46 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %0 br label %51 51: ; preds = %.loopexit1, %29 %52 = load i64, ptr %3, align 8 %53 = udiv i64 %52, 3 store i64 %53, ptr %3, align 8 store i32 0, ptr %6, align 4 %54 = load i64, ptr %3, align 8 %55 = call ptr @llvm.stacksave() store ptr %55, ptr %7, align 8 %56 = alloca [16 x i8], i64 %54, align 16 store i64 %54, ptr %8, align 8 store i32 0, ptr %9, align 4 %57 = load i32, ptr %9, align 4 %58 = icmp slt i32 %57, 5 br i1 %58, label %.lr.ph2, label %107 .lr.ph2: ; preds = %51 br label %59 59: ; preds = %.lr.ph2, %102 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %60 60: ; preds = %100, %59 br label %61 61: ; preds = %60 %62 = load i32, ptr %9, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %70 64: ; preds = %61 %65 = call i64 @scanf(ptr noundef @.str, ptr noundef %12) %66 = load i64, ptr @EOF, align 8 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %69 68: ; preds = %64 br label %101 69: ; preds = %64 br label %76 70: ; preds = %61 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds [33 x i8], ptr %2, i64 0, i64 %73 %75 = load i8, ptr %74, align 1 store i8 %75, ptr %12, align 1 br label %76 76: ; preds = %70, %69 %77 = load i8, ptr %12, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 10 br i1 %79, label %80, label %81 80: ; preds = %76 br label %101 81: ; preds = %76 %82 = load i32, ptr %11, align 4 %83 = icmp eq i32 %82, 3 br i1 %83, label %84, label %87 84: ; preds = %81 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %100 87: ; preds = %81 %88 = load i8, ptr %12, align 1 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [16 x i8], ptr %56, i64 %90 %92 = load i32, ptr %9, align 4 %93 = mul nsw i32 %92, 3 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [16 x i8], ptr %91, i64 0, i64 %96 store i8 %88, ptr %97, align 1 %98 = load i32, ptr %11, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %11, align 4 br label %100 100: ; preds = %87, %84 br label %60 101: ; preds = %80, %68 br label %102 102: ; preds = %101 %103 = load i32, ptr %9, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %9, align 4 %105 = load i32, ptr %9, align 4 %106 = icmp slt i32 %105, 5 br i1 %106, label %59, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %107 107: ; preds = %._crit_edge, %51 store i32 0, ptr %13, align 4 %108 = load i32, ptr %13, align 4 %109 = sext i32 %108 to i64 %110 = load i64, ptr %3, align 8 %111 = icmp ult i64 %109, %110 br i1 %111, label %.lr.ph4, label %124 .lr.ph4: ; preds = %107 br label %112 112: ; preds = %.lr.ph4, %117 %113 = load i32, ptr %13, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [16 x i8], ptr %56, i64 %114 %116 = getelementptr inbounds [16 x i8], ptr %115, i64 0, i64 15 store i8 0, ptr %116, align 1 br label %117 117: ; preds = %112 %118 = load i32, ptr %13, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %13, align 4 %120 = load i32, ptr %13, align 4 %121 = sext i32 %120 to i64 %122 = load i64, ptr %3, align 8 %123 = icmp ult i64 %121, %122 br i1 %123, label %112, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %117 br label %124 124: ; preds = %._crit_edge5, %107 store i32 0, ptr %15, align 4 store i32 1, ptr %16, align 4 store i32 0, ptr %17, align 4 %125 = load i32, ptr %17, align 4 %126 = sext i32 %125 to i64 %127 = load i64, ptr %3, align 8 %128 = icmp ult i64 %126, %127 br i1 %128, label %.lr.ph7, label %.loopexit .lr.ph7: ; preds = %124 br label %129 129: ; preds = %.lr.ph7, %241 %130 = load i32, ptr %17, align 4 store i32 %130, ptr %15, align 4 %131 = load i32, ptr %17, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [16 x i8], ptr %56, i64 %132 %134 = getelementptr inbounds [16 x i8], ptr %133, i64 0, i64 0 %135 = call i32 @strncmp(ptr noundef %134, ptr noundef @.str.1, i32 noundef 15) %136 = icmp ne i32 %135, 0 br i1 %136, label %141, label %137 137: ; preds = %129 %138 = load i32, ptr %17, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %139 store i8 48, ptr %140, align 1 br label %241 141: ; preds = %129 %142 = load i32, ptr %17, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [16 x i8], ptr %56, i64 %143 %145 = getelementptr inbounds [16 x i8], ptr %144, i64 0, i64 0 %146 = call i32 @strncmp(ptr noundef %145, ptr noundef @.str.2, i32 noundef 15) %147 = icmp ne i32 %146, 0 br i1 %147, label %152, label %148 148: ; preds = %141 %149 = load i32, ptr %17, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %150 store i8 49, ptr %151, align 1 br label %241 152: ; preds = %141 %153 = load i32, ptr %17, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [16 x i8], ptr %56, i64 %154 %156 = getelementptr inbounds [16 x i8], ptr %155, i64 0, i64 0 %157 = call i32 @strncmp(ptr noundef %156, ptr noundef @.str.3, i32 noundef 15) %158 = icmp ne i32 %157, 0 br i1 %158, label %163, label %159 159: ; preds = %152 %160 = load i32, ptr %17, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %161 store i8 50, ptr %162, align 1 br label %241 163: ; preds = %152 %164 = load i32, ptr %17, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [16 x i8], ptr %56, i64 %165 %167 = getelementptr inbounds [16 x i8], ptr %166, i64 0, i64 0 %168 = call i32 @strncmp(ptr noundef %167, ptr noundef @.str.4, i32 noundef 15) %169 = icmp ne i32 %168, 0 br i1 %169, label %174, label %170 170: ; preds = %163 %171 = load i32, ptr %17, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %172 store i8 51, ptr %173, align 1 br label %241 174: ; preds = %163 %175 = load i32, ptr %17, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [16 x i8], ptr %56, i64 %176 %178 = getelementptr inbounds [16 x i8], ptr %177, i64 0, i64 0 %179 = call i32 @strncmp(ptr noundef %178, ptr noundef @.str.5, i32 noundef 15) %180 = icmp ne i32 %179, 0 br i1 %180, label %185, label %181 181: ; preds = %174 %182 = load i32, ptr %17, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %183 store i8 52, ptr %184, align 1 br label %241 185: ; preds = %174 %186 = load i32, ptr %17, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [16 x i8], ptr %56, i64 %187 %189 = getelementptr inbounds [16 x i8], ptr %188, i64 0, i64 0 %190 = call i32 @strncmp(ptr noundef %189, ptr noundef @.str.6, i32 noundef 15) %191 = icmp ne i32 %190, 0 br i1 %191, label %196, label %192 192: ; preds = %185 %193 = load i32, ptr %17, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %194 store i8 53, ptr %195, align 1 br label %241 196: ; preds = %185 %197 = load i32, ptr %17, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [16 x i8], ptr %56, i64 %198 %200 = getelementptr inbounds [16 x i8], ptr %199, i64 0, i64 0 %201 = call i32 @strncmp(ptr noundef %200, ptr noundef @.str.7, i32 noundef 15) %202 = icmp ne i32 %201, 0 br i1 %202, label %207, label %203 203: ; preds = %196 %204 = load i32, ptr %17, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %205 store i8 54, ptr %206, align 1 br label %241 207: ; preds = %196 %208 = load i32, ptr %17, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds [16 x i8], ptr %56, i64 %209 %211 = getelementptr inbounds [16 x i8], ptr %210, i64 0, i64 0 %212 = call i32 @strncmp(ptr noundef %211, ptr noundef @.str.8, i32 noundef 15) %213 = icmp ne i32 %212, 0 br i1 %213, label %218, label %214 214: ; preds = %207 %215 = load i32, ptr %17, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %216 store i8 55, ptr %217, align 1 br label %241 218: ; preds = %207 %219 = load i32, ptr %17, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [16 x i8], ptr %56, i64 %220 %222 = getelementptr inbounds [16 x i8], ptr %221, i64 0, i64 0 %223 = call i32 @strncmp(ptr noundef %222, ptr noundef @.str.9, i32 noundef 15) %224 = icmp ne i32 %223, 0 br i1 %224, label %229, label %225 225: ; preds = %218 %226 = load i32, ptr %17, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %227 store i8 56, ptr %228, align 1 br label %241 229: ; preds = %218 %230 = load i32, ptr %17, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds [16 x i8], ptr %56, i64 %231 %233 = getelementptr inbounds [16 x i8], ptr %232, i64 0, i64 0 %234 = call i32 @strncmp(ptr noundef %233, ptr noundef @.str.10, i32 noundef 15) %235 = icmp ne i32 %234, 0 br i1 %235, label %240, label %236 236: ; preds = %229 %237 = load i32, ptr %17, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %238 store i8 57, ptr %239, align 1 br label %241 240: ; preds = %229 store i32 0, ptr %16, align 4 br label %248 241: ; preds = %236, %225, %214, %203, %192, %181, %170, %159, %148, %137 %242 = load i32, ptr %17, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %17, align 4 %244 = load i32, ptr %17, align 4 %245 = sext i32 %244 to i64 %246 = load i64, ptr %3, align 8 %247 = icmp ult i64 %245, %246 br i1 %247, label %129, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %241 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %124 br label %248 248: ; preds = %.loopexit, %240 %249 = load i32, ptr %16, align 4 %250 = icmp ne i32 %249, 0 br i1 %250, label %251, label %263 251: ; preds = %248 %252 = load i32, ptr %15, align 4 %253 = add nsw i32 %252, 1 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 %254 store i8 0, ptr %255, align 1 %256 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %257 = call i32 @atoi(ptr noundef %256) %258 = srem i32 %257, 6 %259 = icmp eq i32 %258, 0 %260 = zext i1 %259 to i64 %261 = select i1 %259, ptr @.str.11, ptr @.str.12 %262 = call i32 @printf(ptr noundef %261) br label %265 263: ; preds = %248 %264 = call i32 @printf(ptr noundef @.str.12) br label %265 265: ; preds = %263, %251 store i32 0, ptr %1, align 4 %266 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %266) %267 = load i32, ptr %1, align 4 ret i32 %267 } declare i64 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpoe31hhrd.c' source_filename = "/tmp/tmpoe31hhrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"f1 %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoe31hhrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"f1 %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8vpvxbfw.c' source_filename = "/tmp/tmp8vpvxbfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8_normal_ab(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call double @r8_normal_01(ptr noundef %10) %12 = call double @llvm.fmuladd.f64(double %9, double %11, double %8) store double %12, ptr %7, align 8 %13 = load double, ptr %7, align 8 ret double %13 } declare double @r8_normal_01(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vpvxbfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8_normal_ab(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call double @r8_normal_01(ptr noundef %10) %12 = call double @llvm.fmuladd.f64(double %9, double %11, double %8) store double %12, ptr %7, align 8 %13 = load double, ptr %7, align 8 ret double %13 } declare double @r8_normal_01(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe_1caew3.c' source_filename = "/tmp/tmpe_1caew3.c" target datalayout = "e-m:e-p270: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/tmpe_1caew3.c" target datalayout = "e-m:e-p270: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/tmpw9f40mt2.c' source_filename = "/tmp/tmpw9f40mt2.c" target datalayout = "e-m:e-p270: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/tmpw9f40mt2.c" target datalayout = "e-m:e-p270: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/tmpric_tnui.c' source_filename = "/tmp/tmpric_tnui.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [41 x i8] c"Copy no more than N bytes of SRC to DEST\00", align 16 @__const.main.str2 = private unnamed_addr constant [61 x i8] c"Return the position in DEST one byte past where C was copied\00", align 16 @.str = 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 [41 x i8], align 16 %7 = alloca [61 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str, i64 41, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.str2, i64 61, i1 false) %8 = getelementptr inbounds [61 x i8], ptr %7, i64 0, i64 0 %9 = getelementptr inbounds [41 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @memccpy(ptr noundef %8, ptr noundef %9, i8 noundef signext 78, i32 noundef 30) %11 = getelementptr inbounds [41 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [61 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) 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 @memccpy(ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) #2 declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpric_tnui.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [41 x i8] c"Copy no more than N bytes of SRC to DEST\00", align 16 @__const.main.str2 = private unnamed_addr constant [61 x i8] c"Return the position in DEST one byte past where C was copied\00", align 16 @.str = 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 [41 x i8], align 16 %7 = alloca [61 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str, i64 41, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.str2, i64 61, i1 false) %8 = getelementptr inbounds [61 x i8], ptr %7, i64 0, i64 0 %9 = getelementptr inbounds [41 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @memccpy(ptr noundef %8, ptr noundef %9, i8 noundef signext 78, i32 noundef 30) %11 = getelementptr inbounds [41 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [61 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) 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 @memccpy(ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) #2 declare i32 @printf(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"}
; ModuleID = '/tmp/tmpua4r1mt3.c' source_filename = "/tmp/tmpua4r1mt3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"twobody_XM_far : malloc error for f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @twobody_XM_far(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load i32, ptr %6, align 4 %18 = srem i32 %17, 2 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %5 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20, %5 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %23 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %23 %38 = load i32, ptr %6, align 4 %39 = load double, ptr %7, align 8 %40 = load ptr, ptr %11, align 8 %41 = call i32 @twobody_XM(i32 noundef %38, double noundef %39, ptr noundef %40) %42 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %42, align 8 %43 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %43, align 8 %44 = load double, ptr %8, align 8 %45 = load double, ptr %7, align 8 %46 = fadd double 1.000000e+00, %45 %47 = fmul double %44, %46 store double %47, ptr %12, align 8 store double 1.000000e+00, ptr %13, align 8 %48 = load double, ptr %12, align 8 store double %48, ptr %14, align 8 %49 = load double, ptr %12, align 8 %50 = load double, ptr %12, align 8 %51 = fmul double %49, %50 store double %51, ptr %15, align 8 store i32 0, ptr %16, align 4 br label %52 52: ; preds = %87, %37 %53 = load i32, ptr %16, align 4 %54 = load i32, ptr %6, align 4 %55 = sdiv i32 %54, 2 %56 = icmp slt i32 %53, %55 br i1 %56, label %57, label %90 57: ; preds = %52 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %16, align 4 %60 = mul nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %58, i64 %61 %63 = load double, ptr %62, align 8 %64 = load double, ptr %13, align 8 %65 = fdiv double %63, %64 %66 = load ptr, ptr %9, align 8 %67 = load double, ptr %66, align 8 %68 = fadd double %67, %65 store double %68, ptr %66, align 8 %69 = load ptr, ptr %11, align 8 %70 = load i32, ptr %16, align 4 %71 = mul nsw i32 %70, 2 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %69, i64 %73 %75 = load double, ptr %74, align 8 %76 = load double, ptr %14, align 8 %77 = fdiv double %75, %76 %78 = load ptr, ptr %10, align 8 %79 = load double, ptr %78, align 8 %80 = fadd double %79, %77 store double %80, ptr %78, align 8 %81 = load double, ptr %15, align 8 %82 = load double, ptr %13, align 8 %83 = fmul double %82, %81 store double %83, ptr %13, align 8 %84 = load double, ptr %15, align 8 %85 = load double, ptr %14, align 8 %86 = fmul double %85, %84 store double %86, ptr %14, align 8 br label %87 87: ; preds = %57 %88 = load i32, ptr %16, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %16, align 4 br label %52, !llvm.loop !6 90: ; preds = %52 %91 = load double, ptr %7, align 8 %92 = fadd double 1.000000e+00, %91 %93 = fdiv double 8.000000e+00, %92 %94 = load double, ptr %7, align 8 %95 = fadd double 1.000000e+00, %94 %96 = fdiv double %93, %95 %97 = load double, ptr %7, align 8 %98 = fadd double 1.000000e+00, %97 %99 = fdiv double %96, %98 %100 = load ptr, ptr %10, align 8 %101 = load double, ptr %100, align 8 %102 = fmul double %101, %99 store double %102, ptr %100, align 8 %103 = load ptr, ptr %11, align 8 %104 = call i32 @free(ptr noundef %103) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @twobody_XM(i32 noundef, double noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpua4r1mt3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"twobody_XM_far : malloc error for f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @twobody_XM_far(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load i32, ptr %6, align 4 %18 = srem i32 %17, 2 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %5 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20, %5 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %23 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %23 %38 = load i32, ptr %6, align 4 %39 = load double, ptr %7, align 8 %40 = load ptr, ptr %11, align 8 %41 = call i32 @twobody_XM(i32 noundef %38, double noundef %39, ptr noundef %40) %42 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %42, align 8 %43 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %43, align 8 %44 = load double, ptr %8, align 8 %45 = load double, ptr %7, align 8 %46 = fadd double 1.000000e+00, %45 %47 = fmul double %44, %46 store double %47, ptr %12, align 8 store double 1.000000e+00, ptr %13, align 8 %48 = load double, ptr %12, align 8 store double %48, ptr %14, align 8 %49 = load double, ptr %12, align 8 %50 = load double, ptr %12, align 8 %51 = fmul double %49, %50 store double %51, ptr %15, align 8 store i32 0, ptr %16, align 4 %52 = load i32, ptr %16, align 4 %53 = load i32, ptr %6, align 4 %54 = sdiv i32 %53, 2 %55 = icmp slt i32 %52, %54 br i1 %55, label %.lr.ph, label %93 .lr.ph: ; preds = %37 br label %56 56: ; preds = %.lr.ph, %86 %57 = load ptr, ptr %11, align 8 %58 = load i32, ptr %16, align 4 %59 = mul nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %57, i64 %60 %62 = load double, ptr %61, align 8 %63 = load double, ptr %13, align 8 %64 = fdiv double %62, %63 %65 = load ptr, ptr %9, align 8 %66 = load double, ptr %65, align 8 %67 = fadd double %66, %64 store double %67, ptr %65, align 8 %68 = load ptr, ptr %11, align 8 %69 = load i32, ptr %16, align 4 %70 = mul nsw i32 %69, 2 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %68, i64 %72 %74 = load double, ptr %73, align 8 %75 = load double, ptr %14, align 8 %76 = fdiv double %74, %75 %77 = load ptr, ptr %10, align 8 %78 = load double, ptr %77, align 8 %79 = fadd double %78, %76 store double %79, ptr %77, align 8 %80 = load double, ptr %15, align 8 %81 = load double, ptr %13, align 8 %82 = fmul double %81, %80 store double %82, ptr %13, align 8 %83 = load double, ptr %15, align 8 %84 = load double, ptr %14, align 8 %85 = fmul double %84, %83 store double %85, ptr %14, align 8 br label %86 86: ; preds = %56 %87 = load i32, ptr %16, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %16, align 4 %89 = load i32, ptr %16, align 4 %90 = load i32, ptr %6, align 4 %91 = sdiv i32 %90, 2 %92 = icmp slt i32 %89, %91 br i1 %92, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %86 br label %93 93: ; preds = %._crit_edge, %37 %94 = load double, ptr %7, align 8 %95 = fadd double 1.000000e+00, %94 %96 = fdiv double 8.000000e+00, %95 %97 = load double, ptr %7, align 8 %98 = fadd double 1.000000e+00, %97 %99 = fdiv double %96, %98 %100 = load double, ptr %7, align 8 %101 = fadd double 1.000000e+00, %100 %102 = fdiv double %99, %101 %103 = load ptr, ptr %10, align 8 %104 = load double, ptr %103, align 8 %105 = fmul double %104, %102 store double %105, ptr %103, align 8 %106 = load ptr, ptr %11, align 8 %107 = call i32 @free(ptr noundef %106) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @twobody_XM(i32 noundef, double noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdy0u__1d.c' source_filename = "/tmp/tmpdy0u__1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %43, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %46 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 store i32 %11, ptr %15, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %10 %24 = call i32 (...) @abort() #2 unreachable 25: ; preds = %10 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %29, align 4 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 %39 = icmp ne i32 %36, %38 br i1 %39, label %40, label %42 40: ; preds = %25 %41 = call i32 (...) @abort() #2 unreachable 42: ; preds = %25 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %6, !llvm.loop !6 46: ; preds = %6 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdy0u__1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %48 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %42 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 store i32 %10, ptr %14, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %9 %23 = call i32 (...) @abort() #2 unreachable 24: ; preds = %9 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 4 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 %38 = icmp ne i32 %35, %37 br i1 %38, label %39, label %41 39: ; preds = %24 %40 = call i32 (...) @abort() #2 unreachable 41: ; preds = %24 br label %42 42: ; preds = %41 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %2 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb2jh4x4k.c' source_filename = "/tmp/tmpb2jh4x4k.c" target datalayout = "e-m:e-p270: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/tmpb2jh4x4k.c" target datalayout = "e-m:e-p270: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/tmpvairp8ed.c' source_filename = "/tmp/tmpvairp8ed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvairp8ed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkqro4kdo.c' source_filename = "/tmp/tmpkqro4kdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"/sys/class/power_supply/BAT0/energy_full\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"fopen error: po_power_fp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @get_dem_status() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 %4 = alloca ptr, align 8 store ptr null, ptr %1, align 8 store ptr @.str, ptr %2, align 8 store ptr null, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str.1) store ptr %6, ptr %1, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.2) br label %10 10: ; preds = %8, %0 %11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %12 = load ptr, ptr %1, align 8 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 10, ptr noundef %12) %14 = load ptr, ptr %1, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i64 @strtol(ptr noundef %16, ptr noundef %17, i32 noundef 10) %19 = sitofp i64 %18 to float ret float %19 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkqro4kdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"/sys/class/power_supply/BAT0/energy_full\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"fopen error: po_power_fp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @get_dem_status() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [10 x i8], align 1 %4 = alloca ptr, align 8 store ptr null, ptr %1, align 8 store ptr @.str, ptr %2, align 8 store ptr null, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str.1) store ptr %6, ptr %1, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.2) br label %10 10: ; preds = %8, %0 %11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %12 = load ptr, ptr %1, align 8 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 10, ptr noundef %12) %14 = load ptr, ptr %1, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i64 @strtol(ptr noundef %16, ptr noundef %17, i32 noundef 10) %19 = sitofp i64 %18 to float ret float %19 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_99d22v.c' source_filename = "/tmp/tmpk_99d22v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SIGINT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(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 @psignal(i32 noundef %3, ptr noundef @.str) ret void } declare i32 @psignal(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/tmpk_99d22v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SIGINT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(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 @psignal(i32 noundef %3, ptr noundef @.str) ret void } declare i32 @psignal(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/tmpu98q95r8.c' source_filename = "/tmp/tmpu98q95r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"couldn't getcwd: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @path_getcwd() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr null, ptr %2, align 8 %4 = load i64, ptr @PATH_MAX, align 8 store i64 %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = call ptr @xxrealloc(ptr noundef %5, i64 noundef %6) store ptr %7, ptr %2, align 8 br label %8 8: ; preds = %27, %0 %9 = load ptr, ptr %2, align 8 %10 = load i64, ptr %3, align 8 %11 = call ptr @getcwd(ptr noundef %9, i64 noundef %10) %12 = icmp eq ptr %11, null br i1 %12, label %13, label %28 13: ; preds = %8 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @ERANGE, align 8 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i64, ptr %3, align 8 %19 = mul i64 %18, 2 store i64 %19, ptr %3, align 8 %20 = load ptr, ptr %2, align 8 %21 = load i64, ptr %3, align 8 %22 = call ptr @xxrealloc(ptr noundef %20, i64 noundef %21) store ptr %22, ptr %2, align 8 br label %27 23: ; preds = %13 %24 = load i64, ptr @errno, align 8 %25 = call i32 @strerror(i64 noundef %24) %26 = call i32 @cctools_fatal(ptr noundef @.str, i32 noundef %25) store ptr null, ptr %1, align 8 br label %30 27: ; preds = %17 br label %8, !llvm.loop !6 28: ; preds = %8 %29 = load ptr, ptr %2, align 8 store ptr %29, ptr %1, align 8 br label %30 30: ; preds = %28, %23 %31 = load ptr, ptr %1, align 8 ret ptr %31 } declare ptr @xxrealloc(ptr noundef, i64 noundef) #1 declare ptr @getcwd(ptr noundef, i64 noundef) #1 declare i32 @cctools_fatal(ptr noundef, i32 noundef) #1 declare i32 @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu98q95r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"couldn't getcwd: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @path_getcwd() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr null, ptr %2, align 8 %4 = load i64, ptr @PATH_MAX, align 8 store i64 %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = call ptr @xxrealloc(ptr noundef %5, i64 noundef %6) store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = load i64, ptr %3, align 8 %10 = call ptr @getcwd(ptr noundef %8, i64 noundef %9) %11 = icmp eq ptr %10, null br i1 %11, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %26 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @ERANGE, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i64, ptr %3, align 8 %18 = mul i64 %17, 2 store i64 %18, ptr %3, align 8 %19 = load ptr, ptr %2, align 8 %20 = load i64, ptr %3, align 8 %21 = call ptr @xxrealloc(ptr noundef %19, i64 noundef %20) store ptr %21, ptr %2, align 8 br label %26 22: ; preds = %12 %23 = load i64, ptr @errno, align 8 %24 = call i32 @strerror(i64 noundef %23) %25 = call i32 @cctools_fatal(ptr noundef @.str, i32 noundef %24) store ptr null, ptr %1, align 8 br label %33 26: ; preds = %16 %27 = load ptr, ptr %2, align 8 %28 = load i64, ptr %3, align 8 %29 = call ptr @getcwd(ptr noundef %27, i64 noundef %28) %30 = icmp eq ptr %29, null br i1 %30, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 %32 = load ptr, ptr %2, align 8 store ptr %32, ptr %1, align 8 br label %33 33: ; preds = %31, %22 %34 = load ptr, ptr %1, align 8 ret ptr %34 } declare ptr @xxrealloc(ptr noundef, i64 noundef) #1 declare ptr @getcwd(ptr noundef, i64 noundef) #1 declare i32 @cctools_fatal(ptr noundef, i32 noundef) #1 declare i32 @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg0vvhhgk.c' source_filename = "/tmp/tmpg0vvhhgk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"panic: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @panic(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0vvhhgk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"panic: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @panic(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu_z8a5z3.c' source_filename = "/tmp/tmpu_z8a5z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ulaz.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"izlaz.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"greska1\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"greska2\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"obe otvoreno uspjesno...\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"%c%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.4) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = load ptr, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %23 18: ; preds = %15 %19 = call i32 @printf(ptr noundef @.str.5) %20 = load ptr, ptr %2, align 8 %21 = call i32 @close(ptr noundef %20) %22 = call i32 @exit(i32 noundef 2) #3 unreachable 23: ; preds = %15 %24 = call i32 @printf(ptr noundef @.str.6) store i32 0, ptr %5, align 4 br label %25 25: ; preds = %32, %23 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 1000 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %30 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %28 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %25, !llvm.loop !6 35: ; preds = %25 store i32 0, ptr %5, align 4 br label %36 36: ; preds = %43, %35 %37 = load ptr, ptr %2, align 8 %38 = call signext i8 @getc(ptr noundef %37) store i8 %38, ptr %6, align 1 %39 = sext i8 %38 to i32 %40 = load i8, ptr @EOF, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %39, %41 br i1 %42, label %43, label %49 43: ; preds = %36 %44 = load i8, ptr %6, align 1 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %47 store i8 %44, ptr %48, align 1 br label %36, !llvm.loop !8 49: ; preds = %36 %50 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %51 = call ptr @neka_funkcija(ptr noundef %50) store ptr %51, ptr %7, align 8 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %63, %49 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %53, 26 br i1 %54, label %55, label %66 55: ; preds = %52 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 65 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i32, ptr %59, i32 1 store ptr %60, ptr %7, align 8 %61 = load i32, ptr %59, align 4 %62 = call i32 @fprintf(ptr noundef %56, ptr noundef @.str.7, i32 noundef %58, i32 noundef %61) br label %63 63: ; preds = %55 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 br label %52, !llvm.loop !9 66: ; preds = %52 br label %67 67: ; preds = %66 br label %68 68: ; preds = %67 %69 = load ptr, ptr %2, align 8 %70 = call i32 @close(ptr noundef %69) %71 = load ptr, ptr %3, align 8 %72 = call i32 @close(ptr noundef %71) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare ptr @neka_funkcija(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpu_z8a5z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ulaz.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"izlaz.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"greska1\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"greska2\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"obe otvoreno uspjesno...\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"%c%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.4) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = load ptr, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %23 18: ; preds = %15 %19 = call i32 @printf(ptr noundef @.str.5) %20 = load ptr, ptr %2, align 8 %21 = call i32 @close(ptr noundef %20) %22 = call i32 @exit(i32 noundef 2) #3 unreachable 23: ; preds = %15 %24 = call i32 @printf(ptr noundef @.str.6) store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 1000 br i1 %26, label %.lr.ph, label %36 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %31 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %29 store i8 0, ptr %30, align 1 br label %31 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 1000 br i1 %35, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %23 store i32 0, ptr %5, align 4 %37 = load ptr, ptr %2, align 8 %38 = call signext i8 @getc(ptr noundef %37) store i8 %38, ptr %6, align 1 %39 = sext i8 %38 to i32 %40 = load i8, ptr @EOF, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %39, %41 br i1 %42, label %.lr.ph2, label %55 .lr.ph2: ; preds = %36 br label %43 43: ; preds = %.lr.ph2, %43 %44 = load i8, ptr %6, align 1 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %47 store i8 %44, ptr %48, align 1 %49 = load ptr, ptr %2, align 8 %50 = call signext i8 @getc(ptr noundef %49) store i8 %50, ptr %6, align 1 %51 = sext i8 %50 to i32 %52 = load i8, ptr @EOF, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %51, %53 br i1 %54, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %55 55: ; preds = %._crit_edge3, %36 %56 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %57 = call ptr @neka_funkcija(ptr noundef %56) store ptr %57, ptr %7, align 8 store i32 0, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp slt i32 %58, 26 br i1 %59, label %.lr.ph5, label %73 .lr.ph5: ; preds = %55 br label %60 60: ; preds = %.lr.ph5, %68 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 65 %64 = load ptr, ptr %7, align 8 %65 = getelementptr inbounds i32, ptr %64, i32 1 store ptr %65, ptr %7, align 8 %66 = load i32, ptr %64, align 4 %67 = call i32 @fprintf(ptr noundef %61, ptr noundef @.str.7, i32 noundef %63, i32 noundef %66) br label %68 68: ; preds = %60 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 %71 = load i32, ptr %5, align 4 %72 = icmp slt i32 %71, 26 br i1 %72, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %68 br label %73 73: ; preds = %._crit_edge6, %55 br label %74 74: ; preds = %73 br label %75 75: ; preds = %74 %76 = load ptr, ptr %2, align 8 %77 = call i32 @close(ptr noundef %76) %78 = load ptr, ptr %3, align 8 %79 = call i32 @close(ptr noundef %78) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare ptr @neka_funkcija(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp4zfo6vrj.c' source_filename = "/tmp/tmp4zfo6vrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @create_socket(ptr noundef @.str, i32 noundef 80) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @close(i32 noundef %3) ret i32 0 } declare i32 @create_socket(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/tmp4zfo6vrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @create_socket(ptr noundef @.str, i32 noundef 80) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @close(i32 noundef %3) ret i32 0 } declare i32 @create_socket(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/tmp435r2stb.c' source_filename = "/tmp/tmp435r2stb.c" target datalayout = "e-m:e-p270: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/tmp435r2stb.c" target datalayout = "e-m:e-p270: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/tmp0_ovqaud.c' source_filename = "/tmp/tmp0_ovqaud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca [1000 x [1000 x i32]], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 78, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 4000000, i1 false) store i32 500, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %244, %0 %15 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) %16 = load i64, ptr @EOF, align 8 %17 = icmp ne i64 %15, %16 br i1 %17, label %18, label %246 18: ; preds = %14 %19 = load i8, ptr %2, align 1 %20 = sext i8 %19 to i32 switch i32 %20, label %49 [ i32 78, label %21 i32 69, label %28 i32 83, label %35 i32 87, label %42 ] 21: ; preds = %18 %22 = load i8, ptr %5, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 82 %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 69, i32 87 %27 = trunc i32 %26 to i8 store i8 %27, ptr %2, align 1 br label %49 28: ; preds = %18 %29 = load i8, ptr %5, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 82 %32 = zext i1 %31 to i64 %33 = select i1 %31, i32 83, i32 78 %34 = trunc i32 %33 to i8 store i8 %34, ptr %2, align 1 br label %49 35: ; preds = %18 %36 = load i8, ptr %5, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 82 %39 = zext i1 %38 to i64 %40 = select i1 %38, i32 87, i32 69 %41 = trunc i32 %40 to i8 store i8 %41, ptr %2, align 1 br label %49 42: ; preds = %18 %43 = load i8, ptr %5, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 82 %46 = zext i1 %45 to i64 %47 = select i1 %45, i32 78, i32 83 %48 = trunc i32 %47 to i8 store i8 %48, ptr %2, align 1 br label %49 49: ; preds = %18, %42, %35, %28, %21 %50 = load i8, ptr %2, align 1 %51 = sext i8 %50 to i32 switch i32 %51, label %244 [ i32 78, label %52 i32 69, label %100 i32 83, label %148 i32 87, label %196 ] 52: ; preds = %49 %53 = load i32, ptr %4, align 4 store i32 %53, ptr %10, align 4 br label %54 54: ; preds = %93, %52 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %56, %57 %59 = icmp slt i32 %55, %58 br i1 %59, label %60, label %96 60: ; preds = %54 %61 = load i32, ptr %9, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %82, label %63 63: ; preds = %60 %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %64, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %67 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1000 x i32], ptr %68, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %82 76: ; preds = %63 %77 = load i32, ptr %3, align 4 %78 = call i32 @abs(i32 noundef %77) #4 %79 = load i32, ptr %10, align 4 %80 = call i32 @abs(i32 noundef %79) #4 %81 = add nsw i32 %78, %80 store i32 %81, ptr %9, align 4 br label %82 82: ; preds = %76, %63, %60 %83 = load i32, ptr %3, align 4 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %83, %84 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %86 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %8, align 4 %90 = add nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [1000 x i32], ptr %87, i64 0, i64 %91 store i32 1, ptr %92, align 4 br label %93 93: ; preds = %82 %94 = load i32, ptr %10, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %10, align 4 br label %54, !llvm.loop !6 96: ; preds = %54 %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %4, align 4 %99 = add nsw i32 %98, %97 store i32 %99, ptr %4, align 4 br label %244 100: ; preds = %49 %101 = load i32, ptr %3, align 4 store i32 %101, ptr %11, align 4 br label %102 102: ; preds = %141, %100 %103 = load i32, ptr %11, align 4 %104 = load i32, ptr %3, align 4 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %104, %105 %107 = icmp slt i32 %103, %106 br i1 %107, label %108, label %144 108: ; preds = %102 %109 = load i32, ptr %9, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %130, label %111 111: ; preds = %108 %112 = load i32, ptr %11, align 4 %113 = load i32, ptr %8, align 4 %114 = add nsw i32 %112, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %115 %117 = load i32, ptr %4, align 4 %118 = load i32, ptr %8, align 4 %119 = add nsw i32 %117, %118 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [1000 x i32], ptr %116, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %130 124: ; preds = %111 %125 = load i32, ptr %11, align 4 %126 = call i32 @abs(i32 noundef %125) #4 %127 = load i32, ptr %4, align 4 %128 = call i32 @abs(i32 noundef %127) #4 %129 = add nsw i32 %126, %128 store i32 %129, ptr %9, align 4 br label %130 130: ; preds = %124, %111, %108 %131 = load i32, ptr %11, align 4 %132 = load i32, ptr %8, align 4 %133 = add nsw i32 %131, %132 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %134 %136 = load i32, ptr %4, align 4 %137 = load i32, ptr %8, align 4 %138 = add nsw i32 %136, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [1000 x i32], ptr %135, i64 0, i64 %139 store i32 1, ptr %140, align 4 br label %141 141: ; preds = %130 %142 = load i32, ptr %11, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %11, align 4 br label %102, !llvm.loop !8 144: ; preds = %102 %145 = load i32, ptr %6, align 4 %146 = load i32, ptr %3, align 4 %147 = add nsw i32 %146, %145 store i32 %147, ptr %3, align 4 br label %244 148: ; preds = %49 %149 = load i32, ptr %4, align 4 store i32 %149, ptr %12, align 4 br label %150 150: ; preds = %189, %148 %151 = load i32, ptr %12, align 4 %152 = load i32, ptr %4, align 4 %153 = load i32, ptr %6, align 4 %154 = sub nsw i32 %152, %153 %155 = icmp sgt i32 %151, %154 br i1 %155, label %156, label %192 156: ; preds = %150 %157 = load i32, ptr %9, align 4 %158 = icmp ne i32 %157, 0 br i1 %158, label %178, label %159 159: ; preds = %156 %160 = load i32, ptr %3, align 4 %161 = load i32, ptr %8, align 4 %162 = add nsw i32 %160, %161 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %163 %165 = load i32, ptr %12, align 4 %166 = load i32, ptr %8, align 4 %167 = add nsw i32 %165, %166 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [1000 x i32], ptr %164, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp ne i32 %170, 0 br i1 %171, label %172, label %178 172: ; preds = %159 %173 = load i32, ptr %3, align 4 %174 = call i32 @abs(i32 noundef %173) #4 %175 = load i32, ptr %12, align 4 %176 = call i32 @abs(i32 noundef %175) #4 %177 = add nsw i32 %174, %176 store i32 %177, ptr %9, align 4 br label %178 178: ; preds = %172, %159, %156 %179 = load i32, ptr %3, align 4 %180 = load i32, ptr %8, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %182 %184 = load i32, ptr %12, align 4 %185 = load i32, ptr %8, align 4 %186 = add nsw i32 %184, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [1000 x i32], ptr %183, i64 0, i64 %187 store i32 1, ptr %188, align 4 br label %189 189: ; preds = %178 %190 = load i32, ptr %12, align 4 %191 = add nsw i32 %190, -1 store i32 %191, ptr %12, align 4 br label %150, !llvm.loop !9 192: ; preds = %150 %193 = load i32, ptr %6, align 4 %194 = load i32, ptr %4, align 4 %195 = sub nsw i32 %194, %193 store i32 %195, ptr %4, align 4 br label %244 196: ; preds = %49 %197 = load i32, ptr %3, align 4 store i32 %197, ptr %13, align 4 br label %198 198: ; preds = %237, %196 %199 = load i32, ptr %13, align 4 %200 = load i32, ptr %3, align 4 %201 = load i32, ptr %6, align 4 %202 = sub nsw i32 %200, %201 %203 = icmp sgt i32 %199, %202 br i1 %203, label %204, label %240 204: ; preds = %198 %205 = load i32, ptr %9, align 4 %206 = icmp ne i32 %205, 0 br i1 %206, label %226, label %207 207: ; preds = %204 %208 = load i32, ptr %13, align 4 %209 = load i32, ptr %8, align 4 %210 = add nsw i32 %208, %209 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %211 %213 = load i32, ptr %4, align 4 %214 = load i32, ptr %8, align 4 %215 = add nsw i32 %213, %214 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [1000 x i32], ptr %212, i64 0, i64 %216 %218 = load i32, ptr %217, align 4 %219 = icmp ne i32 %218, 0 br i1 %219, label %220, label %226 220: ; preds = %207 %221 = load i32, ptr %13, align 4 %222 = call i32 @abs(i32 noundef %221) #4 %223 = load i32, ptr %4, align 4 %224 = call i32 @abs(i32 noundef %223) #4 %225 = add nsw i32 %222, %224 store i32 %225, ptr %9, align 4 br label %226 226: ; preds = %220, %207, %204 %227 = load i32, ptr %13, align 4 %228 = load i32, ptr %8, align 4 %229 = add nsw i32 %227, %228 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %230 %232 = load i32, ptr %4, align 4 %233 = load i32, ptr %8, align 4 %234 = add nsw i32 %232, %233 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds [1000 x i32], ptr %231, i64 0, i64 %235 store i32 1, ptr %236, align 4 br label %237 237: ; preds = %226 %238 = load i32, ptr %13, align 4 %239 = add nsw i32 %238, -1 store i32 %239, ptr %13, align 4 br label %198, !llvm.loop !10 240: ; preds = %198 %241 = load i32, ptr %6, align 4 %242 = load i32, ptr %3, align 4 %243 = sub nsw i32 %242, %241 store i32 %243, ptr %3, align 4 br label %244 244: ; preds = %49, %240, %192, %144, %96 %245 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1) br label %14, !llvm.loop !11 246: ; preds = %14 %247 = load i32, ptr %3, align 4 %248 = call i32 @abs(i32 noundef %247) #4 %249 = load i32, ptr %4, align 4 %250 = call i32 @abs(i32 noundef %249) #4 %251 = add nsw i32 %248, %250 %252 = call i32 @printf(ptr noundef @.str.2, i32 noundef %251) %253 = load i32, ptr %9, align 4 %254 = call i32 @printf(ptr noundef @.str.2, i32 noundef %253) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @scanf(ptr noundef, ...) #2 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #3 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0_ovqaud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca [1000 x [1000 x i32]], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 78, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 4000000, i1 false) store i32 500, ptr %8, align 4 store i32 0, ptr %9, align 4 %14 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) %15 = load i64, ptr @EOF, align 8 %16 = icmp ne i64 %14, %15 br i1 %16, label %.lr.ph11, label %264 .lr.ph11: ; preds = %0 br label %17 17: ; preds = %.lr.ph11, %259 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %48 [ i32 78, label %20 i32 69, label %27 i32 83, label %34 i32 87, label %41 ] 20: ; preds = %17 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 82 %24 = zext i1 %23 to i64 %25 = select i1 %23, i32 69, i32 87 %26 = trunc i32 %25 to i8 store i8 %26, ptr %2, align 1 br label %48 27: ; preds = %17 %28 = load i8, ptr %5, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 82 %31 = zext i1 %30 to i64 %32 = select i1 %30, i32 83, i32 78 %33 = trunc i32 %32 to i8 store i8 %33, ptr %2, align 1 br label %48 34: ; preds = %17 %35 = load i8, ptr %5, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 82 %38 = zext i1 %37 to i64 %39 = select i1 %37, i32 87, i32 69 %40 = trunc i32 %39 to i8 store i8 %40, ptr %2, align 1 br label %48 41: ; preds = %17 %42 = load i8, ptr %5, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 82 %45 = zext i1 %44 to i64 %46 = select i1 %44, i32 78, i32 83 %47 = trunc i32 %46 to i8 store i8 %47, ptr %2, align 1 br label %48 48: ; preds = %41, %34, %27, %20, %17 %49 = load i8, ptr %2, align 1 %50 = sext i8 %49 to i32 switch i32 %50, label %259 [ i32 78, label %51 i32 69, label %103 i32 83, label %155 i32 87, label %207 ] 51: ; preds = %48 %52 = load i32, ptr %4, align 4 store i32 %52, ptr %10, align 4 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %54, %55 %57 = icmp slt i32 %53, %56 br i1 %57, label %.lr.ph8, label %99 .lr.ph8: ; preds = %51 br label %58 58: ; preds = %.lr.ph8, %91 %59 = load i32, ptr %9, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %80, label %61 61: ; preds = %58 %62 = load i32, ptr %3, align 4 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %65 %67 = load i32, ptr %10, align 4 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [1000 x i32], ptr %66, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %80 74: ; preds = %61 %75 = load i32, ptr %3, align 4 %76 = call i32 @abs(i32 noundef %75) #4 %77 = load i32, ptr %10, align 4 %78 = call i32 @abs(i32 noundef %77) #4 %79 = add nsw i32 %76, %78 store i32 %79, ptr %9, align 4 br label %80 80: ; preds = %74, %61, %58 %81 = load i32, ptr %3, align 4 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %84 %86 = load i32, ptr %10, align 4 %87 = load i32, ptr %8, align 4 %88 = add nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [1000 x i32], ptr %85, i64 0, i64 %89 store i32 1, ptr %90, align 4 br label %91 91: ; preds = %80 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %4, align 4 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %95, %96 %98 = icmp slt i32 %94, %97 br i1 %98, label %58, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %91 br label %99 99: ; preds = %._crit_edge9, %51 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, %100 store i32 %102, ptr %4, align 4 br label %259 103: ; preds = %48 %104 = load i32, ptr %3, align 4 store i32 %104, ptr %11, align 4 %105 = load i32, ptr %11, align 4 %106 = load i32, ptr %3, align 4 %107 = load i32, ptr %6, align 4 %108 = add nsw i32 %106, %107 %109 = icmp slt i32 %105, %108 br i1 %109, label %.lr.ph5, label %151 .lr.ph5: ; preds = %103 br label %110 110: ; preds = %.lr.ph5, %143 %111 = load i32, ptr %9, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %132, label %113 113: ; preds = %110 %114 = load i32, ptr %11, align 4 %115 = load i32, ptr %8, align 4 %116 = add nsw i32 %114, %115 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %117 %119 = load i32, ptr %4, align 4 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %119, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [1000 x i32], ptr %118, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 %125 = icmp ne i32 %124, 0 br i1 %125, label %126, label %132 126: ; preds = %113 %127 = load i32, ptr %11, align 4 %128 = call i32 @abs(i32 noundef %127) #4 %129 = load i32, ptr %4, align 4 %130 = call i32 @abs(i32 noundef %129) #4 %131 = add nsw i32 %128, %130 store i32 %131, ptr %9, align 4 br label %132 132: ; preds = %126, %113, %110 %133 = load i32, ptr %11, align 4 %134 = load i32, ptr %8, align 4 %135 = add nsw i32 %133, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %136 %138 = load i32, ptr %4, align 4 %139 = load i32, ptr %8, align 4 %140 = add nsw i32 %138, %139 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [1000 x i32], ptr %137, i64 0, i64 %141 store i32 1, ptr %142, align 4 br label %143 143: ; preds = %132 %144 = load i32, ptr %11, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %11, align 4 %146 = load i32, ptr %11, align 4 %147 = load i32, ptr %3, align 4 %148 = load i32, ptr %6, align 4 %149 = add nsw i32 %147, %148 %150 = icmp slt i32 %146, %149 br i1 %150, label %110, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %143 br label %151 151: ; preds = %._crit_edge6, %103 %152 = load i32, ptr %6, align 4 %153 = load i32, ptr %3, align 4 %154 = add nsw i32 %153, %152 store i32 %154, ptr %3, align 4 br label %259 155: ; preds = %48 %156 = load i32, ptr %4, align 4 store i32 %156, ptr %12, align 4 %157 = load i32, ptr %12, align 4 %158 = load i32, ptr %4, align 4 %159 = load i32, ptr %6, align 4 %160 = sub nsw i32 %158, %159 %161 = icmp sgt i32 %157, %160 br i1 %161, label %.lr.ph2, label %203 .lr.ph2: ; preds = %155 br label %162 162: ; preds = %.lr.ph2, %195 %163 = load i32, ptr %9, align 4 %164 = icmp ne i32 %163, 0 br i1 %164, label %184, label %165 165: ; preds = %162 %166 = load i32, ptr %3, align 4 %167 = load i32, ptr %8, align 4 %168 = add nsw i32 %166, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %169 %171 = load i32, ptr %12, align 4 %172 = load i32, ptr %8, align 4 %173 = add nsw i32 %171, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [1000 x i32], ptr %170, i64 0, i64 %174 %176 = load i32, ptr %175, align 4 %177 = icmp ne i32 %176, 0 br i1 %177, label %178, label %184 178: ; preds = %165 %179 = load i32, ptr %3, align 4 %180 = call i32 @abs(i32 noundef %179) #4 %181 = load i32, ptr %12, align 4 %182 = call i32 @abs(i32 noundef %181) #4 %183 = add nsw i32 %180, %182 store i32 %183, ptr %9, align 4 br label %184 184: ; preds = %178, %165, %162 %185 = load i32, ptr %3, align 4 %186 = load i32, ptr %8, align 4 %187 = add nsw i32 %185, %186 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %188 %190 = load i32, ptr %12, align 4 %191 = load i32, ptr %8, align 4 %192 = add nsw i32 %190, %191 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds [1000 x i32], ptr %189, i64 0, i64 %193 store i32 1, ptr %194, align 4 br label %195 195: ; preds = %184 %196 = load i32, ptr %12, align 4 %197 = add nsw i32 %196, -1 store i32 %197, ptr %12, align 4 %198 = load i32, ptr %12, align 4 %199 = load i32, ptr %4, align 4 %200 = load i32, ptr %6, align 4 %201 = sub nsw i32 %199, %200 %202 = icmp sgt i32 %198, %201 br i1 %202, label %162, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %195 br label %203 203: ; preds = %._crit_edge3, %155 %204 = load i32, ptr %6, align 4 %205 = load i32, ptr %4, align 4 %206 = sub nsw i32 %205, %204 store i32 %206, ptr %4, align 4 br label %259 207: ; preds = %48 %208 = load i32, ptr %3, align 4 store i32 %208, ptr %13, align 4 %209 = load i32, ptr %13, align 4 %210 = load i32, ptr %3, align 4 %211 = load i32, ptr %6, align 4 %212 = sub nsw i32 %210, %211 %213 = icmp sgt i32 %209, %212 br i1 %213, label %.lr.ph, label %255 .lr.ph: ; preds = %207 br label %214 214: ; preds = %.lr.ph, %247 %215 = load i32, ptr %9, align 4 %216 = icmp ne i32 %215, 0 br i1 %216, label %236, label %217 217: ; preds = %214 %218 = load i32, ptr %13, align 4 %219 = load i32, ptr %8, align 4 %220 = add nsw i32 %218, %219 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %221 %223 = load i32, ptr %4, align 4 %224 = load i32, ptr %8, align 4 %225 = add nsw i32 %223, %224 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds [1000 x i32], ptr %222, i64 0, i64 %226 %228 = load i32, ptr %227, align 4 %229 = icmp ne i32 %228, 0 br i1 %229, label %230, label %236 230: ; preds = %217 %231 = load i32, ptr %13, align 4 %232 = call i32 @abs(i32 noundef %231) #4 %233 = load i32, ptr %4, align 4 %234 = call i32 @abs(i32 noundef %233) #4 %235 = add nsw i32 %232, %234 store i32 %235, ptr %9, align 4 br label %236 236: ; preds = %230, %217, %214 %237 = load i32, ptr %13, align 4 %238 = load i32, ptr %8, align 4 %239 = add nsw i32 %237, %238 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds [1000 x [1000 x i32]], ptr %7, i64 0, i64 %240 %242 = load i32, ptr %4, align 4 %243 = load i32, ptr %8, align 4 %244 = add nsw i32 %242, %243 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds [1000 x i32], ptr %241, i64 0, i64 %245 store i32 1, ptr %246, align 4 br label %247 247: ; preds = %236 %248 = load i32, ptr %13, align 4 %249 = add nsw i32 %248, -1 store i32 %249, ptr %13, align 4 %250 = load i32, ptr %13, align 4 %251 = load i32, ptr %3, align 4 %252 = load i32, ptr %6, align 4 %253 = sub nsw i32 %251, %252 %254 = icmp sgt i32 %250, %253 br i1 %254, label %214, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %247 br label %255 255: ; preds = %._crit_edge, %207 %256 = load i32, ptr %6, align 4 %257 = load i32, ptr %3, align 4 %258 = sub nsw i32 %257, %256 store i32 %258, ptr %3, align 4 br label %259 259: ; preds = %255, %203, %151, %99, %48 %260 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1) %261 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) %262 = load i64, ptr @EOF, align 8 %263 = icmp ne i64 %261, %262 br i1 %263, label %17, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %259 br label %264 264: ; preds = %._crit_edge12, %0 %265 = load i32, ptr %3, align 4 %266 = call i32 @abs(i32 noundef %265) #4 %267 = load i32, ptr %4, align 4 %268 = call i32 @abs(i32 noundef %267) #4 %269 = add nsw i32 %266, %268 %270 = call i32 @printf(ptr noundef @.str.2, i32 noundef %269) %271 = load i32, ptr %9, align 4 %272 = call i32 @printf(ptr noundef @.str.2, i32 noundef %271) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @scanf(ptr noundef, ...) #2 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #3 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpqfgnvn2r.c' source_filename = "/tmp/tmpqfgnvn2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev_utf8(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strrev(ptr noundef %5) br label %7 7: ; preds = %17, %1 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br label %15 15: ; preds = %10, %7 %16 = phi i1 [ false, %7 ], [ %14, %10 ] br i1 %16, label %17, label %20 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %7, !llvm.loop !6 20: ; preds = %15 br label %21 21: ; preds = %161, %20 %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 -1 store ptr %24, ptr %3, align 8 %25 = icmp ult ptr %22, %24 br i1 %25, label %26, label %162 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = and i32 %29, 240 %31 = ashr i32 %30, 4 switch i32 %31, label %161 [ i32 15, label %32 i32 14, label %95 i32 12, label %128 i32 13, label %128 ] 32: ; preds = %26 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 -3 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = xor i32 %40, %36 %42 = trunc i32 %41 to i8 store i8 %42, ptr %38, align 1 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 0 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 -3 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = xor i32 %50, %46 %52 = trunc i32 %51 to i8 store i8 %52, ptr %48, align 1 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 -3 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = xor i32 %60, %56 %62 = trunc i32 %61 to i8 store i8 %62, ptr %58, align 1 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 -2 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 -1 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = xor i32 %70, %66 %72 = trunc i32 %71 to i8 store i8 %72, ptr %68, align 1 %73 = load ptr, ptr %3, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 -1 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 -2 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = xor i32 %80, %76 %82 = trunc i32 %81 to i8 store i8 %82, ptr %78, align 1 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 -2 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = load ptr, ptr %3, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 -1 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = xor i32 %90, %86 %92 = trunc i32 %91 to i8 store i8 %92, ptr %88, align 1 %93 = load ptr, ptr %3, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 -3 store ptr %94, ptr %3, align 8 br label %161 95: ; preds = %26 %96 = load ptr, ptr %3, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 -2 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = load ptr, ptr %3, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 0 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = xor i32 %103, %99 %105 = trunc i32 %104 to i8 store i8 %105, ptr %101, align 1 %106 = load ptr, ptr %3, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 0 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = load ptr, ptr %3, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 -2 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = xor i32 %113, %109 %115 = trunc i32 %114 to i8 store i8 %115, ptr %111, align 1 %116 = load ptr, ptr %3, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 -2 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = load ptr, ptr %3, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 0 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = xor i32 %123, %119 %125 = trunc i32 %124 to i8 store i8 %125, ptr %121, align 1 %126 = load ptr, ptr %3, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 -2 store ptr %127, ptr %3, align 8 br label %161 128: ; preds = %26, %26 %129 = load ptr, ptr %3, align 8 %130 = getelementptr inbounds i8, ptr %129, i64 -1 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = load ptr, ptr %3, align 8 %134 = getelementptr inbounds i8, ptr %133, i64 0 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = xor i32 %136, %132 %138 = trunc i32 %137 to i8 store i8 %138, ptr %134, align 1 %139 = load ptr, ptr %3, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 0 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = load ptr, ptr %3, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 -1 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = xor i32 %146, %142 %148 = trunc i32 %147 to i8 store i8 %148, ptr %144, align 1 %149 = load ptr, ptr %3, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 -1 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = load ptr, ptr %3, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 0 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = xor i32 %156, %152 %158 = trunc i32 %157 to i8 store i8 %158, ptr %154, align 1 %159 = load ptr, ptr %3, align 8 %160 = getelementptr inbounds i8, ptr %159, i32 -1 store ptr %160, ptr %3, align 8 br label %161 161: ; preds = %26, %128, %95, %32 br label %21, !llvm.loop !8 162: ; preds = %21 ret void } declare i32 @strrev(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqfgnvn2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev_utf8(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strrev(ptr noundef %5) br label %7 7: ; preds = %17, %1 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br label %15 15: ; preds = %10, %7 %16 = phi i1 [ false, %7 ], [ %14, %10 ] br i1 %16, label %17, label %20 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %7, !llvm.loop !6 20: ; preds = %15 %21 = load ptr, ptr %2, align 8 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 -1 store ptr %23, ptr %3, align 8 %24 = icmp ult ptr %21, %23 br i1 %24, label %.lr.ph, label %165 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %160 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = and i32 %28, 240 %30 = ashr i32 %29, 4 switch i32 %30, label %160 [ i32 15, label %31 i32 14, label %94 i32 12, label %127 i32 13, label %127 ] 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 -3 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = xor i32 %39, %35 %41 = trunc i32 %40 to i8 store i8 %41, ptr %37, align 1 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 -3 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = xor i32 %49, %45 %51 = trunc i32 %50 to i8 store i8 %51, ptr %47, align 1 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 -3 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = xor i32 %59, %55 %61 = trunc i32 %60 to i8 store i8 %61, ptr %57, align 1 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 -2 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 -1 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = xor i32 %69, %65 %71 = trunc i32 %70 to i8 store i8 %71, ptr %67, align 1 %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 -1 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 -2 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = xor i32 %79, %75 %81 = trunc i32 %80 to i8 store i8 %81, ptr %77, align 1 %82 = load ptr, ptr %3, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 -2 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = load ptr, ptr %3, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 -1 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = xor i32 %89, %85 %91 = trunc i32 %90 to i8 store i8 %91, ptr %87, align 1 %92 = load ptr, ptr %3, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 -3 store ptr %93, ptr %3, align 8 br label %160 94: ; preds = %25 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 -2 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = load ptr, ptr %3, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 0 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = xor i32 %102, %98 %104 = trunc i32 %103 to i8 store i8 %104, ptr %100, align 1 %105 = load ptr, ptr %3, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 0 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = load ptr, ptr %3, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 -2 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = xor i32 %112, %108 %114 = trunc i32 %113 to i8 store i8 %114, ptr %110, align 1 %115 = load ptr, ptr %3, align 8 %116 = getelementptr inbounds i8, ptr %115, i64 -2 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = load ptr, ptr %3, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 0 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = xor i32 %122, %118 %124 = trunc i32 %123 to i8 store i8 %124, ptr %120, align 1 %125 = load ptr, ptr %3, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 -2 store ptr %126, ptr %3, align 8 br label %160 127: ; preds = %25, %25 %128 = load ptr, ptr %3, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 -1 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = load ptr, ptr %3, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 0 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = xor i32 %135, %131 %137 = trunc i32 %136 to i8 store i8 %137, ptr %133, align 1 %138 = load ptr, ptr %3, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 0 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = load ptr, ptr %3, align 8 %143 = getelementptr inbounds i8, ptr %142, i64 -1 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = xor i32 %145, %141 %147 = trunc i32 %146 to i8 store i8 %147, ptr %143, align 1 %148 = load ptr, ptr %3, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 -1 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = load ptr, ptr %3, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 0 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = xor i32 %155, %151 %157 = trunc i32 %156 to i8 store i8 %157, ptr %153, align 1 %158 = load ptr, ptr %3, align 8 %159 = getelementptr inbounds i8, ptr %158, i32 -1 store ptr %159, ptr %3, align 8 br label %160 160: ; preds = %127, %94, %31, %25 %161 = load ptr, ptr %2, align 8 %162 = load ptr, ptr %3, align 8 %163 = getelementptr inbounds i8, ptr %162, i32 -1 store ptr %163, ptr %3, align 8 %164 = icmp ult ptr %161, %163 br i1 %164, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %160 br label %165 165: ; preds = %._crit_edge, %20 ret void } declare i32 @strrev(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbrag95dc.c' source_filename = "/tmp/tmpbrag95dc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vamos buscar um registro de pesquisa.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buscarRegistroPesquisa() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @system(ptr noundef @.str.1) ret void } declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbrag95dc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vamos buscar um registro de pesquisa.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buscarRegistroPesquisa() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @system(ptr noundef @.str.1) ret void } declare i32 @printf(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"}
; ModuleID = '/tmp/tmpz5skd5d3.c' source_filename = "/tmp/tmpz5skd5d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Message from client: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"wall %s\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"ACK for Client\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dostuff(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [256 x i8], align 16 %5 = alloca [256 x i8], align 16 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @bzero(ptr noundef %6, i32 noundef 256) %8 = load i32, ptr %2, align 4 %9 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 255) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @error(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @system(ptr noundef %21) %23 = load i32, ptr %2, align 4 %24 = call i32 @write(i32 noundef %23, ptr noundef @.str.3, i32 noundef 15) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %15 %28 = call i32 @error(ptr noundef @.str.4) br label %29 29: ; preds = %27, %15 ret void } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5skd5d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Message from client: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"wall %s\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"ACK for Client\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dostuff(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [256 x i8], align 16 %5 = alloca [256 x i8], align 16 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @bzero(ptr noundef %6, i32 noundef 256) %8 = load i32, ptr %2, align 4 %9 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 255) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @error(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @system(ptr noundef %21) %23 = load i32, ptr %2, align 4 %24 = call i32 @write(i32 noundef %23, ptr noundef @.str.3, i32 noundef 15) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %15 %28 = call i32 @error(ptr noundef @.str.4) br label %29 29: ; preds = %27, %15 ret void } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_xrmpc4r.c' source_filename = "/tmp/tmp_xrmpc4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 150, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %3, align 8 %11 = alloca i32, i64 %9, align 16 store i64 %9, ptr %4, align 8 %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = alloca i32, i64 %13, align 16 store i64 %13, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %26, %0 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %11, i64 %21 store i32 0, ptr %22, align 4 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %14, i64 %24 store i32 0, ptr %25, align 4 br label %26 26: ; preds = %19 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 store i32 2, ptr %6, align 4 br label %30 30: ; preds = %62, %29 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %65 34: ; preds = %30 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %11, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %46 40: ; preds = %34 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 2 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %11, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %40, %34 %47 = load i32, ptr %6, align 4 %48 = mul nsw i32 2, %47 store i32 %48, ptr %7, align 4 br label %49 49: ; preds = %57, %46 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %61 53: ; preds = %49 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %11, i64 %55 store i32 -1, ptr %56, align 4 br label %57 57: ; preds = %53 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %7, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 br label %62 62: ; preds = %61 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 br label %30, !llvm.loop !9 65: ; preds = %30 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %66 66: ; preds = %86, %65 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %2, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %70, label %89 70: ; preds = %66 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %11, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp sgt i32 %74, 0 br i1 %75, label %76, label %85 76: ; preds = %70 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %11, i64 %78 %80 = load i32, ptr %79, align 4 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %7, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i32, ptr %14, i64 %83 store i32 %80, ptr %84, align 4 br label %85 85: ; preds = %76, %70 br label %86 86: ; preds = %85 %87 = load i32, ptr %6, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %6, align 4 br label %66, !llvm.loop !10 89: ; preds = %66 store i32 0, ptr %6, align 4 br label %90 90: ; preds = %107, %89 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr %2, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %94, label %110 94: ; preds = %90 %95 = load i32, ptr %6, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %14, i64 %96 %98 = load i32, ptr %97, align 4 %99 = icmp eq i32 %98, 0 br i1 %99, label %100, label %101 100: ; preds = %94 br label %110 101: ; preds = %94 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %14, i64 %103 %105 = load i32, ptr %104, align 4 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %105) br label %107 107: ; preds = %101 %108 = load i32, ptr %6, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %6, align 4 br label %90, !llvm.loop !11 110: ; preds = %100, %90 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 %112 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %112) %113 = load i32, ptr %1, align 4 ret i32 %113 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr 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"} !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/tmp_xrmpc4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 150, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %3, align 8 %11 = alloca i32, i64 %9, align 16 store i64 %9, ptr %4, align 8 %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = alloca i32, i64 %13, align 16 store i64 %13, ptr %5, align 8 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %11, i64 %20 store i32 0, ptr %21, align 4 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %14, i64 %23 store i32 0, ptr %24, align 4 br label %25 25: ; preds = %18 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 store i32 2, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph5, label %71 .lr.ph5: ; preds = %31 br label %35 35: ; preds = %.lr.ph5, %65 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %11, i64 %37 %39 = load i32, ptr %38, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %35 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = sub nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %11, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %41, %35 %48 = load i32, ptr %6, align 4 %49 = mul nsw i32 2, %48 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph2, label %64 .lr.ph2: ; preds = %47 br label %53 53: ; preds = %.lr.ph2, %57 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %11, i64 %55 store i32 -1, ptr %56, align 4 br label %57 57: ; preds = %53 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %64 64: ; preds = %._crit_edge3, %47 br label %65 65: ; preds = %64 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %35, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %65 br label %71 71: ; preds = %._crit_edge6, %31 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %.lr.ph8, label %97 .lr.ph8: ; preds = %71 br label %75 75: ; preds = %.lr.ph8, %91 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %11, i64 %77 %79 = load i32, ptr %78, align 4 %80 = icmp sgt i32 %79, 0 br i1 %80, label %81, label %90 81: ; preds = %75 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %11, i64 %83 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 %88 = sext i32 %86 to i64 %89 = getelementptr inbounds i32, ptr %14, i64 %88 store i32 %85, ptr %89, align 4 br label %90 90: ; preds = %81, %75 br label %91 91: ; preds = %90 %92 = load i32, ptr %6, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = load i32, ptr %2, align 4 %96 = icmp sle i32 %94, %95 br i1 %96, label %75, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %91 br label %97 97: ; preds = %._crit_edge9, %71 store i32 0, ptr %6, align 4 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %.lr.ph11, label %.loopexit .lr.ph11: ; preds = %97 br label %101 101: ; preds = %.lr.ph11, %114 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %14, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %101 br label %120 108: ; preds = %101 %109 = load i32, ptr %6, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %14, i64 %110 %112 = load i32, ptr %111, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %112) br label %114 114: ; preds = %108 %115 = load i32, ptr %6, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %6, align 4 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %2, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %101, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %114 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %97 br label %120 120: ; preds = %.loopexit, %107 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 %122 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %122) %123 = load i32, ptr %1, align 4 ret i32 %123 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr 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"} !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/tmpzqayfzmp.c' source_filename = "/tmp/tmpzqayfzmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzqayfzmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0gwyb2d5.c' source_filename = "/tmp/tmp0gwyb2d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"I don't get built. It makes me saaaaaad. :(\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gwyb2d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"I don't get built. It makes me saaaaaad. :(\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuk3y2qzq.c' source_filename = "/tmp/tmpuk3y2qzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MCL_CURRENT = dso_local global i32 0, align 4 @MCL_FUTURE = dso_local global i32 0, align 4 @M_TRIM_THRESHOLD = dso_local global i32 0, align 4 @M_MMAP_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @MCL_CURRENT, align 4 %9 = load i32, ptr @MCL_FUTURE, align 4 %10 = or i32 %8, %9 %11 = call i32 @mlockall(i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @M_TRIM_THRESHOLD, align 4 %15 = call i32 @mallopt(i32 noundef %14, i64 noundef -1) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr @M_MMAP_MAX, align 4 %18 = call i32 @mallopt(i32 noundef %17, i64 noundef 0) %19 = call ptr @malloc(i32 noundef 104857600) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %16 %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %16 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %33, %24 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %26, 104857600 br i1 %27, label %28, label %36 28: ; preds = %25 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 4096 store i32 %35, ptr %7, align 4 br label %25, !llvm.loop !6 36: ; preds = %25 %37 = load ptr, ptr %6, align 8 %38 = call i32 @free(ptr noundef %37) br label %39 39: ; preds = %36, %39 br label %39 } declare i32 @mlockall(i32 noundef) #1 declare i32 @mallopt(i32 noundef, i64 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuk3y2qzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MCL_CURRENT = dso_local global i32 0, align 4 @MCL_FUTURE = dso_local global i32 0, align 4 @M_TRIM_THRESHOLD = dso_local global i32 0, align 4 @M_MMAP_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @MCL_CURRENT, align 4 %9 = load i32, ptr @MCL_FUTURE, align 4 %10 = or i32 %8, %9 %11 = call i32 @mlockall(i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @M_TRIM_THRESHOLD, align 4 %15 = call i32 @mallopt(i32 noundef %14, i64 noundef -1) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr @M_MMAP_MAX, align 4 %18 = call i32 @mallopt(i32 noundef %17, i64 noundef 0) %19 = call ptr @malloc(i32 noundef 104857600) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %16 %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %16 store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 104857600 br i1 %26, label %.lr.ph, label %37 .lr.ph: ; preds = %24 br label %27 27: ; preds = %.lr.ph, %32 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %27 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 4096 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %35, 104857600 br i1 %36, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %24 %38 = load ptr, ptr %6, align 8 %39 = call i32 @free(ptr noundef %38) br label %40 40: ; preds = %40, %37 br label %40 } declare i32 @mlockall(i32 noundef) #1 declare i32 @mallopt(i32 noundef, i64 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp1pku6ld.c' source_filename = "/tmp/tmpp1pku6ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"the char can be found at index: \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 i64 @find_first(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %7 7: ; preds = %26, %2 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %29 10: ; preds = %7 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %10 %20 = load ptr, ptr %4, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = load i32, ptr %6, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23) store i64 1, ptr %3, align 8 br label %30 25: ; preds = %10 br label %26 26: ; preds = %25 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %7, !llvm.loop !6 29: ; preds = %7 store i64 -1, ptr %3, align 8 br label %30 30: ; preds = %29, %19 %31 = load i64, ptr %3, align 8 ret i64 %31 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1pku6ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"the char can be found at index: \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 i64 @find_first(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %25 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %9 %19 = load ptr, ptr %4, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22) store i64 1, ptr %3, align 8 br label %31 24: ; preds = %9 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %2 store i64 -1, ptr %3, align 8 br label %31 31: ; preds = %30, %18 %32 = load i64, ptr %3, align 8 ret i64 %32 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9jr9_0lt.c' source_filename = "/tmp/tmp9jr9_0lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%lld %lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"No 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"No %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %9 9: ; preds = %46, %0 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %13, label %47 13: ; preds = %9 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %15 = load i64, ptr %5, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i64, ptr %4, align 8 %19 = icmp ne i64 %18, 1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 22: ; preds = %17 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %24 24: ; preds = %22, %20 br label %46 25: ; preds = %13 %26 = load i64, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = call i64 @gcd(i64 noundef %26, i64 noundef %27) store i64 %28, ptr %6, align 8 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %6, align 8 %31 = sdiv i64 %29, %30 store i64 %31, ptr %7, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %4, align 8 %34 = mul nsw i64 %32, %33 %35 = load i64, ptr %5, align 8 %36 = sdiv i64 %34, %35 store i64 %36, ptr %3, align 8 %37 = load i64, ptr %3, align 8 %38 = load i64, ptr %4, align 8 %39 = icmp slt i64 %37, %38 br i1 %39, label %40, label %43 40: ; preds = %25 %41 = load i64, ptr %3, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %41) br label %45 43: ; preds = %25 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %45 45: ; preds = %43, %40 br label %46 46: ; preds = %45, %24 br label %9, !llvm.loop !6 47: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @gcd(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jr9_0lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%lld %lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"No 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"No %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %2, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %.lr.ph, label %49 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %45 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %14 = load i64, ptr %5, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load i64, ptr %4, align 8 %18 = icmp ne i64 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 21: ; preds = %16 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21, %19 br label %45 24: ; preds = %12 %25 = load i64, ptr %4, align 8 %26 = load i64, ptr %5, align 8 %27 = call i64 @gcd(i64 noundef %25, i64 noundef %26) store i64 %27, ptr %6, align 8 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = sdiv i64 %28, %29 store i64 %30, ptr %7, align 8 %31 = load i64, ptr %7, align 8 %32 = load i64, ptr %4, align 8 %33 = mul nsw i64 %31, %32 %34 = load i64, ptr %5, align 8 %35 = sdiv i64 %33, %34 store i64 %35, ptr %3, align 8 %36 = load i64, ptr %3, align 8 %37 = load i64, ptr %4, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %24 %40 = load i64, ptr %3, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %40) br label %44 42: ; preds = %24 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %44 44: ; preds = %42, %39 br label %45 45: ; preds = %44, %23 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %2, align 4 %48 = icmp ne i32 %46, 0 br i1 %48, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %49 49: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @gcd(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv2np4q77.c' source_filename = "/tmp/tmpv2np4q77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error! Something unexpected happened!\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Fix the source code!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unexplained_error() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv2np4q77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error! Something unexpected happened!\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Fix the source code!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unexplained_error() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp254sdm4y.c' source_filename = "/tmp/tmp254sdm4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"mov\09%eax,%ebx\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"pop\09%eax\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"xor\09%edx,%edx\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"div\09%ebx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @divide() #0 { %1 = call i32 @match(i8 noundef signext 47) %2 = call i32 (...) @factor() %3 = call i32 @emitln(ptr noundef @.str) %4 = call i32 @emitln(ptr noundef @.str.1) %5 = call i32 @emitln(ptr noundef @.str.2) %6 = call i32 @emitln(ptr noundef @.str.3) ret void } declare i32 @match(i8 noundef signext) #1 declare i32 @factor(...) #1 declare i32 @emitln(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp254sdm4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"mov\09%eax,%ebx\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"pop\09%eax\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"xor\09%edx,%edx\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"div\09%ebx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @divide() #0 { %1 = call i32 @match(i8 noundef signext 47) %2 = call i32 (...) @factor() %3 = call i32 @emitln(ptr noundef @.str) %4 = call i32 @emitln(ptr noundef @.str.1) %5 = call i32 @emitln(ptr noundef @.str.2) %6 = call i32 @emitln(ptr noundef @.str.3) ret void } declare i32 @match(i8 noundef signext) #1 declare i32 @factor(...) #1 declare i32 @emitln(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpilegdxo0.c' source_filename = "/tmp/tmpilegdxo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsPutUChar(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = call i32 @bsW(i32 noundef 8, i32 noundef %4) ret void } declare i32 @bsW(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/tmpilegdxo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsPutUChar(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = call i32 @bsW(i32 noundef 8, i32 noundef %4) ret void } declare i32 @bsW(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/tmpwilhhzc8.c' source_filename = "/tmp/tmpwilhhzc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @round_hex_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = call i32 @get_digit(i8 noundef signext %12) %14 = icmp sgt i32 %13, 7 br i1 %14, label %15, label %40 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i32 @get_digit(i8 noundef signext %22) %24 = icmp eq i32 %23, 15 br i1 %24, label %25, label %26 25: ; preds = %15 br label %39 26: ; preds = %15 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i32 @get_digit(i8 noundef signext %31) %33 = add nsw i32 %32, 1 %34 = call signext i8 @set_digit(i32 noundef %33) %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 br label %39 39: ; preds = %26, %25 br label %40 40: ; preds = %39, %2 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 0, ptr %45, align 1 ret void } declare i32 @get_digit(i8 noundef signext) #1 declare signext i8 @set_digit(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/tmpwilhhzc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @round_hex_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = call i32 @get_digit(i8 noundef signext %12) %14 = icmp sgt i32 %13, 7 br i1 %14, label %15, label %40 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i32 @get_digit(i8 noundef signext %22) %24 = icmp eq i32 %23, 15 br i1 %24, label %25, label %26 25: ; preds = %15 br label %39 26: ; preds = %15 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i32 @get_digit(i8 noundef signext %31) %33 = add nsw i32 %32, 1 %34 = call signext i8 @set_digit(i32 noundef %33) %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 br label %39 39: ; preds = %26, %25 br label %40 40: ; preds = %39, %2 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 0, ptr %45, align 1 ret void } declare i32 @get_digit(i8 noundef signext) #1 declare signext i8 @set_digit(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/tmpszba6_m7.c' source_filename = "/tmp/tmpszba6_m7.c" target datalayout = "e-m:e-p270: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/tmpszba6_m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_4vj7d5t.c' source_filename = "/tmp/tmp_4vj7d5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DATA RECEIVED: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 2048) %6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @nw_readline(ptr noundef %6, i32 noundef 2048, i32 noundef -1, ptr noundef null) %8 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret ptr null } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @nw_readline(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_4vj7d5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DATA RECEIVED: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 2048) %6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @nw_readline(ptr noundef %6, i32 noundef 2048, i32 noundef -1, ptr noundef null) %8 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret ptr null } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @nw_readline(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6kq8sr3k.c' source_filename = "/tmp/tmp6kq8sr3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pg_finfo_errorcallbackfunc1() #0 { %1 = call ptr (...) @GppcFinfoV1() ret ptr %1 } declare ptr @GppcFinfoV1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kq8sr3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pg_finfo_errorcallbackfunc1() #0 { %1 = call ptr (...) @GppcFinfoV1() ret ptr %1 } declare ptr @GppcFinfoV1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_2nfe_q.c' source_filename = "/tmp/tmp3_2nfe_q.c" target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @RUSAGE_SELF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"Execution time for %d Reed-Solomon blocks using general decoder: %.2f sec\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"decoder speed: %g bits/s\0A\00", align 1 @.str.2 = private unnamed_addr constant [73 x i8] c"Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f sec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [255 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca %struct.rusage, align 4 %6 = alloca %struct.rusage, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %8, align 4 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %16, %0 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 223 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 %14 store i8 1, ptr %15, align 1 br label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = call ptr @init_rs_char(i32 noundef 8, i32 noundef 391, i32 noundef 112, i32 noundef 11, i32 noundef 32, i32 noundef 0) store ptr %20, ptr %4, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 223 %24 = call i32 @encode_rs_char(ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load i32, ptr @RUSAGE_SELF, align 4 %26 = call i32 @getrusage(i32 noundef %25, ptr noundef %5) store i32 0, ptr %3, align 4 br label %27 27: ; preds = %35, %19 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @decode_rs_char(ptr noundef %32, ptr noundef %33, ptr noundef null, i32 noundef 0) br label %35 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %27, !llvm.loop !8 38: ; preds = %27 %39 = load i32, ptr @RUSAGE_SELF, align 4 %40 = call i32 @getrusage(i32 noundef %39, ptr noundef %6) %41 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = sub nsw i32 %43, %46 %48 = sitofp i32 %47 to double %49 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i32 0, i32 1 %51 = load i32, ptr %50, align 4 %52 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %53 = getelementptr inbounds %struct.TYPE_2__, ptr %52, i32 0, i32 1 %54 = load i32, ptr %53, align 4 %55 = sub nsw i32 %51, %54 %56 = sitofp i32 %55 to double %57 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %56, double %48) store double %57, ptr %7, align 8 %58 = load i32, ptr %8, align 4 %59 = load double, ptr %7, align 8 %60 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %58, double noundef %59) %61 = load i32, ptr %8, align 4 %62 = mul nsw i32 %61, 223 %63 = mul nsw i32 %62, 8 %64 = sitofp i32 %63 to double %65 = load double, ptr %7, align 8 %66 = fdiv double %64, %65 %67 = fptosi double %66 to i32 %68 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %67) %69 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %70 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 223 %71 = call i32 @encode_rs_8(ptr noundef %69, ptr noundef %70, i32 noundef 0) %72 = load i32, ptr @RUSAGE_SELF, align 4 %73 = call i32 @getrusage(i32 noundef %72, ptr noundef %5) store i32 0, ptr %3, align 4 br label %74 74: ; preds = %81, %38 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %8, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %84 78: ; preds = %74 %79 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %80 = call i32 @decode_rs_8(ptr noundef %79, ptr noundef null, i32 noundef 0, i32 noundef 0) br label %81 81: ; preds = %78 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 br label %74, !llvm.loop !9 84: ; preds = %74 %85 = load i32, ptr @RUSAGE_SELF, align 4 %86 = call i32 @getrusage(i32 noundef %85, ptr noundef %6) %87 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %88 = getelementptr inbounds %struct.TYPE_2__, ptr %87, i32 0, i32 0 %89 = load i32, ptr %88, align 4 %90 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %91 = getelementptr inbounds %struct.TYPE_2__, ptr %90, i32 0, i32 0 %92 = load i32, ptr %91, align 4 %93 = sub nsw i32 %89, %92 %94 = sitofp i32 %93 to double %95 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %96 = getelementptr inbounds %struct.TYPE_2__, ptr %95, i32 0, i32 1 %97 = load i32, ptr %96, align 4 %98 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %99 = getelementptr inbounds %struct.TYPE_2__, ptr %98, i32 0, i32 1 %100 = load i32, ptr %99, align 4 %101 = sub nsw i32 %97, %100 %102 = sitofp i32 %101 to double %103 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %102, double %94) store double %103, ptr %7, align 8 %104 = load i32, ptr %8, align 4 %105 = load double, ptr %7, align 8 %106 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %104, double noundef %105) %107 = load i32, ptr %8, align 4 %108 = mul nsw i32 %107, 223 %109 = mul nsw i32 %108, 8 %110 = sitofp i32 %109 to double %111 = load double, ptr %7, align 8 %112 = fdiv double %110, %111 %113 = fptosi double %112 to i32 %114 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %113) %115 = call i32 @exit(i32 noundef 0) #4 unreachable } declare ptr @init_rs_char(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @encode_rs_char(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @getrusage(i32 noundef, ptr noundef) #1 declare i32 @decode_rs_char(ptr noundef, 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 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @encode_rs_8(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @decode_rs_8(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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) } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_2nfe_q.c" target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @RUSAGE_SELF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"Execution time for %d Reed-Solomon blocks using general decoder: %.2f sec\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"decoder speed: %g bits/s\0A\00", align 1 @.str.2 = private unnamed_addr constant [73 x i8] c"Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f sec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [255 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca %struct.rusage, align 4 %6 = alloca %struct.rusage, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %8, align 4 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 223 br i1 %10, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %15 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 %13 store i8 1, ptr %14, align 1 br label %15 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 223 br i1 %19, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 %21 = call ptr @init_rs_char(i32 noundef 8, i32 noundef 391, i32 noundef 112, i32 noundef 11, i32 noundef 32, i32 noundef 0) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %24 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 223 %25 = call i32 @encode_rs_char(ptr noundef %22, ptr noundef %23, ptr noundef %24) %26 = load i32, ptr @RUSAGE_SELF, align 4 %27 = call i32 @getrusage(i32 noundef %26, ptr noundef %5) store i32 0, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %41 .lr.ph2: ; preds = %20 br label %31 31: ; preds = %.lr.ph2, %35 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @decode_rs_char(ptr noundef %32, ptr noundef %33, ptr noundef null, i32 noundef 0) br label %35 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %20 %42 = load i32, ptr @RUSAGE_SELF, align 4 %43 = call i32 @getrusage(i32 noundef %42, ptr noundef %6) %44 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 4 %50 = sub nsw i32 %46, %49 %51 = sitofp i32 %50 to double %52 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %53 = getelementptr inbounds %struct.TYPE_2__, ptr %52, i32 0, i32 1 %54 = load i32, ptr %53, align 4 %55 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %56 = getelementptr inbounds %struct.TYPE_2__, ptr %55, i32 0, i32 1 %57 = load i32, ptr %56, align 4 %58 = sub nsw i32 %54, %57 %59 = sitofp i32 %58 to double %60 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %59, double %51) store double %60, ptr %7, align 8 %61 = load i32, ptr %8, align 4 %62 = load double, ptr %7, align 8 %63 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %61, double noundef %62) %64 = load i32, ptr %8, align 4 %65 = mul nsw i32 %64, 223 %66 = mul nsw i32 %65, 8 %67 = sitofp i32 %66 to double %68 = load double, ptr %7, align 8 %69 = fdiv double %67, %68 %70 = fptosi double %69 to i32 %71 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %70) %72 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %73 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 223 %74 = call i32 @encode_rs_8(ptr noundef %72, ptr noundef %73, i32 noundef 0) %75 = load i32, ptr @RUSAGE_SELF, align 4 %76 = call i32 @getrusage(i32 noundef %75, ptr noundef %5) store i32 0, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %.lr.ph5, label %89 .lr.ph5: ; preds = %41 br label %80 80: ; preds = %.lr.ph5, %83 %81 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %82 = call i32 @decode_rs_8(ptr noundef %81, ptr noundef null, i32 noundef 0, i32 noundef 0) br label %83 83: ; preds = %80 %84 = load i32, ptr %3, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %3, align 4 %86 = load i32, ptr %3, align 4 %87 = load i32, ptr %8, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %80, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %83 br label %89 89: ; preds = %._crit_edge6, %41 %90 = load i32, ptr @RUSAGE_SELF, align 4 %91 = call i32 @getrusage(i32 noundef %90, ptr noundef %6) %92 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %93 = getelementptr inbounds %struct.TYPE_2__, ptr %92, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %96 = getelementptr inbounds %struct.TYPE_2__, ptr %95, i32 0, i32 0 %97 = load i32, ptr %96, align 4 %98 = sub nsw i32 %94, %97 %99 = sitofp i32 %98 to double %100 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 0 %101 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i32 0, i32 1 %102 = load i32, ptr %101, align 4 %103 = getelementptr inbounds %struct.rusage, ptr %5, i32 0, i32 0 %104 = getelementptr inbounds %struct.TYPE_2__, ptr %103, i32 0, i32 1 %105 = load i32, ptr %104, align 4 %106 = sub nsw i32 %102, %105 %107 = sitofp i32 %106 to double %108 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %107, double %99) store double %108, ptr %7, align 8 %109 = load i32, ptr %8, align 4 %110 = load double, ptr %7, align 8 %111 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %109, double noundef %110) %112 = load i32, ptr %8, align 4 %113 = mul nsw i32 %112, 223 %114 = mul nsw i32 %113, 8 %115 = sitofp i32 %114 to double %116 = load double, ptr %7, align 8 %117 = fdiv double %115, %116 %118 = fptosi double %117 to i32 %119 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %118) %120 = call i32 @exit(i32 noundef 0) #4 unreachable } declare ptr @init_rs_char(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @encode_rs_char(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @getrusage(i32 noundef, ptr noundef) #1 declare i32 @decode_rs_char(ptr noundef, 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 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @encode_rs_8(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @decode_rs_8(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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) } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpppe2d92u.c' source_filename = "/tmp/tmpppe2d92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Multiplying\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Power\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"^2\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Squaring\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"^3\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"Cubing\0A\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c"Absolute value\0A\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Square root\0A\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"exp\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"Exponential\0A\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"ln\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Natural Log\0A\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"log\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"Log\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @calculate(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 %9 = call ptr @createDynArr(i32 noundef 20) store ptr %9, ptr %8, align 8 store i32 1, ptr %5, align 4 br label %10 10: ; preds = %107, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %110 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %14 %24 = load ptr, ptr %8, align 8 %25 = call i32 @add(ptr noundef %24) br label %106 26: ; preds = %14 %27 = load ptr, ptr %7, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.1) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load ptr, ptr %8, align 8 %32 = call i32 @subtract(ptr noundef %31) br label %105 33: ; preds = %26 %34 = load ptr, ptr %7, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.2) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = load ptr, ptr %8, align 8 %39 = call i32 @divide(ptr noundef %38) br label %104 40: ; preds = %33 %41 = load ptr, ptr %7, align 8 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.3) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @printf(ptr noundef @.str.4) br label %103 46: ; preds = %40 %47 = load ptr, ptr %7, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.5) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = call i32 @printf(ptr noundef @.str.6) br label %102 52: ; preds = %46 %53 = load ptr, ptr %7, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.7) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = call i32 @printf(ptr noundef @.str.8) br label %101 58: ; preds = %52 %59 = load ptr, ptr %7, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.9) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = call i32 @printf(ptr noundef @.str.10) br label %100 64: ; preds = %58 %65 = load ptr, ptr %7, align 8 %66 = call i64 @strcmp(ptr noundef %65, ptr noundef @.str.11) %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = call i32 @printf(ptr noundef @.str.12) br label %99 70: ; preds = %64 %71 = load ptr, ptr %7, align 8 %72 = call i64 @strcmp(ptr noundef %71, ptr noundef @.str.13) %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = call i32 @printf(ptr noundef @.str.14) br label %98 76: ; preds = %70 %77 = load ptr, ptr %7, align 8 %78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.15) %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = call i32 @printf(ptr noundef @.str.16) br label %97 82: ; preds = %76 %83 = load ptr, ptr %7, align 8 %84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.17) %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %82 %87 = call i32 @printf(ptr noundef @.str.18) br label %96 88: ; preds = %82 %89 = load ptr, ptr %7, align 8 %90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.19) %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %94 92: ; preds = %88 %93 = call i32 @printf(ptr noundef @.str.20) br label %95 94: ; preds = %88 br label %95 95: ; preds = %94, %92 br label %96 96: ; preds = %95, %86 br label %97 97: ; preds = %96, %80 br label %98 98: ; preds = %97, %74 br label %99 99: ; preds = %98, %68 br label %100 100: ; preds = %99, %62 br label %101 101: ; preds = %100, %56 br label %102 102: ; preds = %101, %50 br label %103 103: ; preds = %102, %44 br label %104 104: ; preds = %103, %37 br label %105 105: ; preds = %104, %30 br label %106 106: ; preds = %105, %23 br label %107 107: ; preds = %106 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %5, align 4 br label %10, !llvm.loop !6 110: ; preds = %10 %111 = load double, ptr %6, align 8 ret double %111 } declare ptr @createDynArr(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @add(ptr noundef) #1 declare i32 @subtract(ptr noundef) #1 declare i32 @divide(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpppe2d92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Multiplying\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Power\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"^2\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Squaring\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"^3\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"Cubing\0A\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c"Absolute value\0A\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Square root\0A\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"exp\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"Exponential\0A\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"ln\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Natural Log\0A\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"log\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"Log\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @calculate(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 %9 = call ptr @createDynArr(i32 noundef 20) store ptr %9, ptr %8, align 8 store i32 1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %112 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %106 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %13 %23 = load ptr, ptr %8, align 8 %24 = call i32 @add(ptr noundef %23) br label %105 25: ; preds = %13 %26 = load ptr, ptr %7, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.1) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %8, align 8 %31 = call i32 @subtract(ptr noundef %30) br label %104 32: ; preds = %25 %33 = load ptr, ptr %7, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.2) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load ptr, ptr %8, align 8 %38 = call i32 @divide(ptr noundef %37) br label %103 39: ; preds = %32 %40 = load ptr, ptr %7, align 8 %41 = call i64 @strcmp(ptr noundef %40, ptr noundef @.str.3) %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call i32 @printf(ptr noundef @.str.4) br label %102 45: ; preds = %39 %46 = load ptr, ptr %7, align 8 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.5) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = call i32 @printf(ptr noundef @.str.6) br label %101 51: ; preds = %45 %52 = load ptr, ptr %7, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.7) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 @printf(ptr noundef @.str.8) br label %100 57: ; preds = %51 %58 = load ptr, ptr %7, align 8 %59 = call i64 @strcmp(ptr noundef %58, ptr noundef @.str.9) %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %57 %62 = call i32 @printf(ptr noundef @.str.10) br label %99 63: ; preds = %57 %64 = load ptr, ptr %7, align 8 %65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.11) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = call i32 @printf(ptr noundef @.str.12) br label %98 69: ; preds = %63 %70 = load ptr, ptr %7, align 8 %71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.13) %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 @printf(ptr noundef @.str.14) br label %97 75: ; preds = %69 %76 = load ptr, ptr %7, align 8 %77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.15) %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %75 %80 = call i32 @printf(ptr noundef @.str.16) br label %96 81: ; preds = %75 %82 = load ptr, ptr %7, align 8 %83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.17) %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %87 85: ; preds = %81 %86 = call i32 @printf(ptr noundef @.str.18) br label %95 87: ; preds = %81 %88 = load ptr, ptr %7, align 8 %89 = call i64 @strcmp(ptr noundef %88, ptr noundef @.str.19) %90 = icmp eq i64 %89, 0 br i1 %90, label %91, label %93 91: ; preds = %87 %92 = call i32 @printf(ptr noundef @.str.20) br label %94 93: ; preds = %87 br label %94 94: ; preds = %93, %91 br label %95 95: ; preds = %94, %85 br label %96 96: ; preds = %95, %79 br label %97 97: ; preds = %96, %73 br label %98 98: ; preds = %97, %67 br label %99 99: ; preds = %98, %61 br label %100 100: ; preds = %99, %55 br label %101 101: ; preds = %100, %49 br label %102 102: ; preds = %101, %43 br label %103 103: ; preds = %102, %36 br label %104 104: ; preds = %103, %29 br label %105 105: ; preds = %104, %22 br label %106 106: ; preds = %105 %107 = load i32, ptr %5, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %5, align 4 %109 = load i32, ptr %5, align 4 %110 = load i32, ptr %3, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %106 br label %112 112: ; preds = %._crit_edge, %2 %113 = load double, ptr %6, align 8 ret double %113 } declare ptr @createDynArr(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @add(ptr noundef) #1 declare i32 @subtract(ptr noundef) #1 declare i32 @divide(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"}
; ModuleID = '/tmp/tmpvavqedy0.c' source_filename = "/tmp/tmpvavqedy0.c" target datalayout = "e-m:e-p270: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/tmpvavqedy0.c" target datalayout = "e-m:e-p270: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/tmpwq2gwms8.c' source_filename = "/tmp/tmpwq2gwms8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fgets_nonl(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = call i32 @fgets(ptr noundef %9, i32 noundef %10, ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %24 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 10) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %15 store ptr null, ptr %4, align 8 br label %24 21: ; preds = %15 %22 = load ptr, ptr %8, align 8 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %4, align 8 br label %24 24: ; preds = %21, %20, %14 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwq2gwms8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fgets_nonl(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = call i32 @fgets(ptr noundef %9, i32 noundef %10, ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %24 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 10) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %15 store ptr null, ptr %4, align 8 br label %24 21: ; preds = %15 %22 = load ptr, ptr %8, align 8 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %4, align 8 br label %24 24: ; preds = %21, %20, %14 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjx2xbs7_.c' source_filename = "/tmp/tmpjx2xbs7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_adjust_seed_4(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = shl i32 %4, 4 %6 = xor i32 %3, %5 %7 = load i32, ptr %2, align 4 %8 = shl i32 %7, 8 %9 = xor i32 %6, %8 %10 = load i32, ptr %2, align 4 %11 = shl i32 %10, 12 %12 = xor i32 %9, %11 %13 = load i32, ptr %2, align 4 %14 = shl i32 %13, 16 %15 = xor i32 %12, %14 %16 = load i32, ptr %2, align 4 %17 = shl i32 %16, 20 %18 = xor i32 %15, %17 %19 = load i32, ptr %2, align 4 %20 = shl i32 %19, 24 %21 = xor i32 %18, %20 %22 = load i32, ptr %2, align 4 %23 = shl i32 %22, 28 %24 = xor i32 %21, %23 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjx2xbs7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_adjust_seed_4(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = shl i32 %4, 4 %6 = xor i32 %3, %5 %7 = load i32, ptr %2, align 4 %8 = shl i32 %7, 8 %9 = xor i32 %6, %8 %10 = load i32, ptr %2, align 4 %11 = shl i32 %10, 12 %12 = xor i32 %9, %11 %13 = load i32, ptr %2, align 4 %14 = shl i32 %13, 16 %15 = xor i32 %12, %14 %16 = load i32, ptr %2, align 4 %17 = shl i32 %16, 20 %18 = xor i32 %15, %17 %19 = load i32, ptr %2, align 4 %20 = shl i32 %19, 24 %21 = xor i32 %18, %20 %22 = load i32, ptr %2, align 4 %23 = shl i32 %22, 28 %24 = xor i32 %21, %23 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7nu5dzl3.c' source_filename = "/tmp/tmp7nu5dzl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Unwind_DeleteException() #0 { %1 = call i32 (...) @_unsupported() ret void } declare i32 @_unsupported(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7nu5dzl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Unwind_DeleteException() #0 { %1 = call i32 (...) @_unsupported() ret void } declare i32 @_unsupported(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjhtrh6og.c' source_filename = "/tmp/tmpjhtrh6og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 2, ptr %5, align 4 br label %7 7: ; preds = %18, %1 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = srem i32 %12, %13 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %11 store i32 1, ptr %4, align 4 br label %17 17: ; preds = %16, %11 br label %18 18: ; preds = %17 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %21 store i32 1, ptr %2, align 4 br label %26 25: ; preds = %21 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 3 br i1 %28, label %29, label %30 29: ; preds = %26 store i32 -1, ptr %2, align 4 br label %30 30: ; preds = %29, %26 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhtrh6og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @is_prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 2, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %17 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = srem i32 %11, %12 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %10 store i32 1, ptr %4, align 4 br label %16 16: ; preds = %15, %10 br label %17 17: ; preds = %16 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 1, ptr %2, align 4 br label %28 27: ; preds = %23 store i32 0, ptr %2, align 4 br label %28 28: ; preds = %27, %26 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 3 br i1 %30, label %31, label %32 31: ; preds = %28 store i32 -1, ptr %2, align 4 br label %32 32: ; preds = %31, %28 %33 = load i32, ptr %2, align 4 ret i32 %33 } 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"}