llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpbvqfl2yn.c' source_filename = "/tmp/tmpbvqfl2yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"[thread] >i currently equals %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_fcn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @sleep(i32 noundef 1) br label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 ret ptr null } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvqfl2yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"[thread] >i currently equals %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_fcn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %10 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 @sleep(i32 noundef 1) br label %10 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 5 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %1 ret ptr null } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmeaqqcob.c' source_filename = "/tmp/tmpmeaqqcob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = sdiv i32 %16, 2 %18 = add nsw i32 %13, %17 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %9, align 8 store i32 0, ptr %10, align 4 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %11, align 4 %29 = load i32, ptr %7, align 4 store i32 %29, ptr %12, align 4 br label %30 30: ; preds = %66, %3 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load i32, ptr %12, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br label %38 38: ; preds = %34, %30 %39 = phi i1 [ false, %30 ], [ %37, %34 ] br i1 %39, label %40, label %73 40: ; preds = %38 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %12, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %45, %50 br i1 %51, label %52, label %59 52: ; preds = %40 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i32, ptr %53, i64 %56 %58 = load i32, ptr %57, align 4 br label %66 59: ; preds = %40 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 %65 = load i32, ptr %64, align 4 br label %66 66: ; preds = %59, %52 %67 = phi i32 [ %58, %52 ], [ %65, %59 ] %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds i32, ptr %68, i64 %71 store i32 %67, ptr %72, align 4 br label %30, !llvm.loop !6 73: ; preds = %38 br label %74 74: ; preds = %78, %73 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %90 78: ; preds = %74 %79 = load ptr, ptr %4, align 8 %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %11, align 4 %82 = sext i32 %80 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load ptr, ptr %9, align 8 %86 = load i32, ptr %10, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %10, align 4 %88 = sext i32 %86 to i64 %89 = getelementptr inbounds i32, ptr %85, i64 %88 store i32 %84, ptr %89, align 4 br label %74, !llvm.loop !8 90: ; preds = %74 br label %91 91: ; preds = %95, %90 %92 = load i32, ptr %12, align 4 %93 = load i32, ptr %6, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %107 95: ; preds = %91 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %9, align 8 %103 = load i32, ptr %10, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %10, align 4 %105 = sext i32 %103 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 store i32 %101, ptr %106, align 4 br label %91, !llvm.loop !9 107: ; preds = %91 %108 = load ptr, ptr %4, align 8 %109 = load i32, ptr %5, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load ptr, ptr %9, align 8 %113 = load i32, ptr %8, align 4 %114 = sext i32 %113 to i64 %115 = mul i64 %114, 4 %116 = trunc i64 %115 to i32 %117 = call i32 @memcpy(ptr noundef %111, ptr noundef %112, i32 noundef %116) %118 = load ptr, ptr %9, align 8 %119 = call i32 @free(ptr noundef %118) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmeaqqcob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = sdiv i32 %16, 2 %18 = add nsw i32 %13, %17 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %9, align 8 store i32 0, ptr %10, align 4 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %11, align 4 %29 = load i32, ptr %7, align 4 store i32 %29, ptr %12, align 4 br label %30 30: ; preds = %66, %3 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load i32, ptr %12, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br label %38 38: ; preds = %34, %30 %39 = phi i1 [ false, %30 ], [ %37, %34 ] br i1 %39, label %40, label %73 40: ; preds = %38 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %12, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %45, %50 br i1 %51, label %52, label %59 52: ; preds = %40 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i32, ptr %53, i64 %56 %58 = load i32, ptr %57, align 4 br label %66 59: ; preds = %40 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 %65 = load i32, ptr %64, align 4 br label %66 66: ; preds = %59, %52 %67 = phi i32 [ %58, %52 ], [ %65, %59 ] %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds i32, ptr %68, i64 %71 store i32 %67, ptr %72, align 4 br label %30, !llvm.loop !6 73: ; preds = %38 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %.lr.ph, label %92 .lr.ph: ; preds = %73 br label %77 77: ; preds = %.lr.ph, %77 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %11, align 4 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 %84 = load ptr, ptr %9, align 8 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 %87 = sext i32 %85 to i64 %88 = getelementptr inbounds i32, ptr %84, i64 %87 store i32 %83, ptr %88, align 4 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %77, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %77 br label %92 92: ; preds = %._crit_edge, %73 %93 = load i32, ptr %12, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph2, label %111 .lr.ph2: ; preds = %92 br label %96 96: ; preds = %.lr.ph2, %96 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %12, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %12, align 4 %100 = sext i32 %98 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %10, align 4 %106 = sext i32 %104 to i64 %107 = getelementptr inbounds i32, ptr %103, i64 %106 store i32 %102, ptr %107, align 4 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %6, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %96, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %96 br label %111 111: ; preds = %._crit_edge3, %92 %112 = load ptr, ptr %4, align 8 %113 = load i32, ptr %5, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 %116 = load ptr, ptr %9, align 8 %117 = load i32, ptr %8, align 4 %118 = sext i32 %117 to i64 %119 = mul i64 %118, 4 %120 = trunc i64 %119 to i32 %121 = call i32 @memcpy(ptr noundef %115, ptr noundef %116, i32 noundef %120) %122 = load ptr, ptr %9, align 8 %123 = call i32 @free(ptr noundef %122) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz0h4puly.c' source_filename = "/tmp/tmpz0h4puly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz0h4puly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_hbsh3nw.c' source_filename = "/tmp/tmp_hbsh3nw.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Pa Proxy: unimplemented function '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pap_report_undefined(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hbsh3nw.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Pa Proxy: unimplemented function '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pap_report_undefined(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphk14xc0j.c' source_filename = "/tmp/tmphk14xc0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @forceLC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %15, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = call signext i8 @tolower(i8 noundef signext %12) %14 = load ptr, ptr %3, align 8 store i8 %13, ptr %14, align 1 br label %15 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare signext i8 @tolower(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/tmphk14xc0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @forceLC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %14 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = call signext i8 @tolower(i8 noundef signext %11) %13 = load ptr, ptr %3, align 8 store i8 %12, ptr %13, align 1 br label %14 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %21 21: ; preds = %._crit_edge, %1 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare signext i8 @tolower(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/tmpyitx4nww.c' source_filename = "/tmp/tmpyitx4nww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xdata.bin\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Error! bitNums[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readbits() #0 { %1 = alloca ptr, align 8 %2 = alloca [512 x i32], align 16 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %1, align 8 %5 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0 %6 = load ptr, ptr %1, align 8 %7 = call i32 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 512, ptr noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @fclose(ptr noundef %8) store i32 0, ptr %3, align 4 br label %10 10: ; preds = %32, %0 %11 = load i32, ptr %3, align 4 %12 = icmp ult i32 %11, 512 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = mul i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = sub i32 %20, %21 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %31 24: ; preds = %13 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %29) br label %35 31: ; preds = %13 br label %32 32: ; preds = %31 %33 = load i32, ptr %3, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %3, align 4 br label %10, !llvm.loop !6 35: ; preds = %24, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyitx4nww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xdata.bin\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Error! bitNums[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readbits() #0 { %1 = alloca ptr, align 8 %2 = alloca [512 x i32], align 16 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %1, align 8 %5 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 0 %6 = load ptr, ptr %1, align 8 %7 = call i32 @fread(ptr noundef %5, i32 noundef 4, i32 noundef 512, ptr noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @fclose(ptr noundef %8) store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ult i32 %10, 512 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %31 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = mul i32 %17, %18 %20 = load i32, ptr %3, align 4 %21 = sub i32 %19, %20 %22 = icmp ne i32 %16, %21 br i1 %22, label %23, label %30 23: ; preds = %12 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds [512 x i32], ptr %2, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %28) br label %36 30: ; preds = %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp ult i32 %34, 512 br i1 %35, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %36 36: ; preds = %.loopexit, %23 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqwg1sdf0.c' source_filename = "/tmp/tmpqwg1sdf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Thread %d Finalizada na CPU %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @runner(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 = %8, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 1000 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %4, align 4 br label %5, !llvm.loop !6 11: ; preds = %5 %12 = load ptr, ptr %3, align 8 %13 = ptrtoint ptr %12 to i64 %14 = trunc i64 %13 to i32 %15 = call i32 (...) @sched_getcpu() %16 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = call i32 @pthread_exit(ptr noundef null) %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sched_getcpu(...) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqwg1sdf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Thread %d Finalizada na CPU %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @runner(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 = icmp slt i32 %5, 1000 br i1 %6, label %.lr.ph, label %12 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 1000 br i1 %11, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %1 %13 = load ptr, ptr %3, align 8 %14 = ptrtoint ptr %13 to i64 %15 = trunc i64 %14 to i32 %16 = call i32 (...) @sched_getcpu() %17 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16) %18 = call i32 @pthread_exit(ptr noundef null) %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sched_getcpu(...) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbzr5dssv.c' source_filename = "/tmp/tmpbzr5dssv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_muspi_merol(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %7, align 4 %8 = call ptr @calloc(i32 noundef 1, i32 noundef 1) store ptr %8, ptr %3, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %40, %1 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %13, label %43 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 0, %14 %16 = zext i1 %15 to i32 %17 = call ptr @generate_paragraph(i32 noundef %16) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = add i32 %22, %21 store i32 %23, ptr %7, align 4 %24 = add i32 %23, 1 %25 = call ptr @realloc(ptr noundef %20, i32 noundef %24) store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = sub i32 %27, %28 %30 = zext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %26, i64 %30 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = zext i32 %33 to i64 %35 = udiv i64 %34, 1 %36 = trunc i64 %35 to i32 %37 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @free(ptr noundef %38) br label %40 40: ; preds = %13 %41 = load i32, ptr %5, align 4 %42 = add i32 %41, 1 store i32 %42, ptr %5, align 4 br label %9, !llvm.loop !6 43: ; preds = %9 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %7, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %3, align 8 ret ptr %48 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @generate_paragraph(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbzr5dssv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_muspi_merol(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %7, align 4 %8 = call ptr @calloc(i32 noundef 1, i32 noundef 1) store ptr %8, ptr %3, align 8 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %.lr.ph, label %45 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %39 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 0, %13 %15 = zext i1 %14 to i32 %16 = call ptr @generate_paragraph(i32 noundef %15) store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %6, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add i32 %21, %20 store i32 %22, ptr %7, align 4 %23 = add i32 %22, 1 %24 = call ptr @realloc(ptr noundef %19, i32 noundef %23) store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = sub i32 %26, %27 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %25, i64 %29 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = zext i32 %32 to i64 %34 = udiv i64 %33, 1 %35 = trunc i64 %34 to i32 %36 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef %35) %37 = load ptr, ptr %4, align 8 %38 = call i32 @free(ptr noundef %37) br label %39 39: ; preds = %12 %40 = load i32, ptr %5, align 4 %41 = add i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp ult i32 %42, %43 br i1 %44, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %1 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %7, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 0, ptr %49, align 1 %50 = load ptr, ptr %3, align 8 ret ptr %50 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @generate_paragraph(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpn_vpx8to.c' source_filename = "/tmp/tmpn_vpx8to.c" target datalayout = "e-m:e-p270: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.CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel.source_string = private unnamed_addr constant [330 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22MTGP11213_global.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( MTGP11213, T );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( MTGP11213, T );\0A#endif\00", align 16 @CL_SUCCESS = dso_local global i32 0, align 4 @CL_CONTEXT_DEVICES = dso_local global i32 0, align 4 @CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8 @CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4 @CL_BUILD_SUCCESS = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [40 x i8] c"MTGP11213_ziggurat_normal_floatT_kernel\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca [330 x i8], align 16 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca ptr, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store i64 %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel.source_string, i64 330, i1 false) %26 = load ptr, ptr %15, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %7 store ptr %17, ptr %15, align 8 br label %29 29: ; preds = %28, %7 %30 = getelementptr inbounds [330 x i8], ptr %16, i64 0, i64 0 store ptr %30, ptr %18, align 8 %31 = load i32, ptr %9, align 4 %32 = load ptr, ptr %15, align 8 %33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32) store i32 %33, ptr %19, align 4 %34 = load ptr, ptr %15, align 8 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr @CL_SUCCESS, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %29 store ptr null, ptr %8, align 8 br label %138 39: ; preds = %29 %40 = load ptr, ptr %11, align 8 store ptr %40, ptr %21, align 8 %41 = load ptr, ptr %11, align 8 %42 = icmp eq ptr %41, null %43 = zext i1 %42 to i32 store i32 %43, ptr %20, align 4 br i1 %42, label %44, label %81 44: ; preds = %39 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4 %47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22) %48 = load ptr, ptr %15, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %15, align 8 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr @CL_SUCCESS, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %44 store ptr null, ptr %8, align 8 br label %138 54: ; preds = %44 %55 = load i64, ptr %10, align 8 %56 = icmp eq i64 %55, 0 br i1 %56, label %62, label %57 57: ; preds = %54 %58 = load i64, ptr %10, align 8 %59 = load i64, ptr %22, align 8 %60 = udiv i64 %59, 4 %61 = icmp ugt i64 %58, %60 br i1 %61, label %62, label %65 62: ; preds = %57, %54 %63 = load i64, ptr %22, align 8 %64 = udiv i64 %63, 4 store i64 %64, ptr %10, align 8 br label %65 65: ; preds = %62, %57 %66 = load i64, ptr %22, align 8 %67 = call i64 @malloc(i64 noundef %66) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %21, align 8 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4 %71 = load i64, ptr %22, align 8 %72 = load ptr, ptr %21, align 8 %73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null) %74 = load ptr, ptr %15, align 8 store i32 %73, ptr %74, align 4 %75 = load ptr, ptr %15, align 8 %76 = load i32, ptr %75, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %80 79: ; preds = %65 store ptr null, ptr %8, align 8 br label %138 80: ; preds = %65 br label %81 81: ; preds = %80, %39 %82 = load i32, ptr %19, align 4 %83 = load i64, ptr %10, align 8 %84 = load ptr, ptr %21, align 8 %85 = load ptr, ptr %12, align 8 %86 = load ptr, ptr %13, align 8 %87 = load ptr, ptr %14, align 8 %88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87) %89 = load ptr, ptr %15, align 8 store i32 %88, ptr %89, align 4 %90 = load ptr, ptr %15, align 8 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr @CL_SUCCESS, align 4 %93 = icmp ne i32 %91, %92 br i1 %93, label %94, label %95 94: ; preds = %81 store ptr null, ptr %8, align 8 br label %138 95: ; preds = %81 %96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8 store i64 %96, ptr %23, align 8 store i32 0, ptr %24, align 4 br label %97 97: ; preds = %122, %95 %98 = load i32, ptr %24, align 4 %99 = sext i32 %98 to i64 %100 = load i64, ptr %10, align 8 %101 = icmp ult i64 %99, %100 br i1 %101, label %102, label %125 102: ; preds = %97 br label %103 103: ; preds = %107, %102 %104 = load i64, ptr %23, align 8 %105 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8 %106 = icmp eq i64 %104, %105 br i1 %106, label %107, label %116 107: ; preds = %103 %108 = load i32, ptr %19, align 4 %109 = load ptr, ptr %21, align 8 %110 = load i32, ptr %24, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4 %115 = call i32 @clGetProgramBuildInfo(i32 noundef %108, i32 noundef %113, i32 noundef %114, i32 noundef 8, ptr noundef %23, ptr noundef null) br label %103, !llvm.loop !6 116: ; preds = %103 %117 = load i64, ptr %23, align 8 %118 = load i64, ptr @CL_BUILD_SUCCESS, align 8 %119 = icmp ne i64 %117, %118 br i1 %119, label %120, label %121 120: ; preds = %116 store ptr null, ptr %8, align 8 br label %138 121: ; preds = %116 br label %122 122: ; preds = %121 %123 = load i32, ptr %24, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %24, align 4 br label %97, !llvm.loop !8 125: ; preds = %97 %126 = load i32, ptr %19, align 4 %127 = load ptr, ptr %15, align 8 %128 = call ptr @clCreateKernel(i32 noundef %126, ptr noundef @.str, ptr noundef %127) store ptr %128, ptr %25, align 8 %129 = load i32, ptr %19, align 4 %130 = call i32 @clReleaseProgram(i32 noundef %129) %131 = load i32, ptr %20, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %136 133: ; preds = %125 %134 = load ptr, ptr %21, align 8 %135 = call i32 @free(ptr noundef %134) br label %136 136: ; preds = %133, %125 %137 = load ptr, ptr %25, align 8 store ptr %137, ptr %8, align 8 br label %138 138: ; preds = %136, %120, %94, %79, %53, %38 %139 = load ptr, ptr %8, align 8 ret ptr %139 } ; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @clReleaseProgram(i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_vpx8to.c" target datalayout = "e-m:e-p270: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.CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel.source_string = private unnamed_addr constant [330 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22MTGP11213_global.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( MTGP11213, T );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( MTGP11213, T );\0A#endif\00", align 16 @CL_SUCCESS = dso_local global i32 0, align 4 @CL_CONTEXT_DEVICES = dso_local global i32 0, align 4 @CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8 @CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4 @CL_BUILD_SUCCESS = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [40 x i8] c"MTGP11213_ziggurat_normal_floatT_kernel\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca [330 x i8], align 16 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca ptr, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store i64 %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_MTGP11213_global_ziggurat_normal_floatT_create_kernel.source_string, i64 330, i1 false) %26 = load ptr, ptr %15, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %7 store ptr %17, ptr %15, align 8 br label %29 29: ; preds = %28, %7 %30 = getelementptr inbounds [330 x i8], ptr %16, i64 0, i64 0 store ptr %30, ptr %18, align 8 %31 = load i32, ptr %9, align 4 %32 = load ptr, ptr %15, align 8 %33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32) store i32 %33, ptr %19, align 4 %34 = load ptr, ptr %15, align 8 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr @CL_SUCCESS, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %29 store ptr null, ptr %8, align 8 br label %143 39: ; preds = %29 %40 = load ptr, ptr %11, align 8 store ptr %40, ptr %21, align 8 %41 = load ptr, ptr %11, align 8 %42 = icmp eq ptr %41, null %43 = zext i1 %42 to i32 store i32 %43, ptr %20, align 4 br i1 %42, label %44, label %81 44: ; preds = %39 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4 %47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22) %48 = load ptr, ptr %15, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %15, align 8 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr @CL_SUCCESS, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %44 store ptr null, ptr %8, align 8 br label %143 54: ; preds = %44 %55 = load i64, ptr %10, align 8 %56 = icmp eq i64 %55, 0 br i1 %56, label %62, label %57 57: ; preds = %54 %58 = load i64, ptr %10, align 8 %59 = load i64, ptr %22, align 8 %60 = udiv i64 %59, 4 %61 = icmp ugt i64 %58, %60 br i1 %61, label %62, label %65 62: ; preds = %57, %54 %63 = load i64, ptr %22, align 8 %64 = udiv i64 %63, 4 store i64 %64, ptr %10, align 8 br label %65 65: ; preds = %62, %57 %66 = load i64, ptr %22, align 8 %67 = call i64 @malloc(i64 noundef %66) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %21, align 8 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4 %71 = load i64, ptr %22, align 8 %72 = load ptr, ptr %21, align 8 %73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null) %74 = load ptr, ptr %15, align 8 store i32 %73, ptr %74, align 4 %75 = load ptr, ptr %15, align 8 %76 = load i32, ptr %75, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %80 79: ; preds = %65 store ptr null, ptr %8, align 8 br label %143 80: ; preds = %65 br label %81 81: ; preds = %80, %39 %82 = load i32, ptr %19, align 4 %83 = load i64, ptr %10, align 8 %84 = load ptr, ptr %21, align 8 %85 = load ptr, ptr %12, align 8 %86 = load ptr, ptr %13, align 8 %87 = load ptr, ptr %14, align 8 %88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87) %89 = load ptr, ptr %15, align 8 store i32 %88, ptr %89, align 4 %90 = load ptr, ptr %15, align 8 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr @CL_SUCCESS, align 4 %93 = icmp ne i32 %91, %92 br i1 %93, label %94, label %95 94: ; preds = %81 store ptr null, ptr %8, align 8 br label %143 95: ; preds = %81 %96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8 store i64 %96, ptr %23, align 8 store i32 0, ptr %24, align 4 %97 = load i32, ptr %24, align 4 %98 = sext i32 %97 to i64 %99 = load i64, ptr %10, align 8 %100 = icmp ult i64 %98, %99 br i1 %100, label %.lr.ph2, label %130 .lr.ph2: ; preds = %95 br label %101 101: ; preds = %.lr.ph2, %123 %102 = load i64, ptr %23, align 8 %103 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8 %104 = icmp eq i64 %102, %103 br i1 %104, label %.lr.ph, label %117 .lr.ph: ; preds = %101 br label %105 105: ; preds = %.lr.ph, %105 %106 = load i32, ptr %19, align 4 %107 = load ptr, ptr %21, align 8 %108 = load i32, ptr %24, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4 %113 = call i32 @clGetProgramBuildInfo(i32 noundef %106, i32 noundef %111, i32 noundef %112, i32 noundef 8, ptr noundef %23, ptr noundef null) %114 = load i64, ptr %23, align 8 %115 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8 %116 = icmp eq i64 %114, %115 br i1 %116, label %105, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %105 br label %117 117: ; preds = %._crit_edge, %101 %118 = load i64, ptr %23, align 8 %119 = load i64, ptr @CL_BUILD_SUCCESS, align 8 %120 = icmp ne i64 %118, %119 br i1 %120, label %121, label %122 121: ; preds = %117 store ptr null, ptr %8, align 8 br label %143 122: ; preds = %117 br label %123 123: ; preds = %122 %124 = load i32, ptr %24, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %24, align 4 %126 = load i32, ptr %24, align 4 %127 = sext i32 %126 to i64 %128 = load i64, ptr %10, align 8 %129 = icmp ult i64 %127, %128 br i1 %129, label %101, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %123 br label %130 130: ; preds = %._crit_edge3, %95 %131 = load i32, ptr %19, align 4 %132 = load ptr, ptr %15, align 8 %133 = call ptr @clCreateKernel(i32 noundef %131, ptr noundef @.str, ptr noundef %132) store ptr %133, ptr %25, align 8 %134 = load i32, ptr %19, align 4 %135 = call i32 @clReleaseProgram(i32 noundef %134) %136 = load i32, ptr %20, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %141 138: ; preds = %130 %139 = load ptr, ptr %21, align 8 %140 = call i32 @free(ptr noundef %139) br label %141 141: ; preds = %138, %130 %142 = load ptr, ptr %25, align 8 store ptr %142, ptr %8, align 8 br label %143 143: ; preds = %141, %121, %94, %79, %53, %38 %144 = load ptr, ptr %8, align 8 ret ptr %144 } ; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @clReleaseProgram(i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfv1joex_.c' source_filename = "/tmp/tmpfv1joex_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Informe a temperatura em Fahrenheit: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"A temperatura em Celsius \C3\A9 %.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 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 %3) %6 = load double, ptr %3, align 8 %7 = fsub double %6, 3.200000e+01 %8 = fdiv double %7, 1.800000e+04 store double %8, ptr %2, align 8 %9 = load double, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfv1joex_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Informe a temperatura em Fahrenheit: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"A temperatura em Celsius \C3\A9 %.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 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 %3) %6 = load double, ptr %3, align 8 %7 = fsub double %6, 3.200000e+01 %8 = fdiv double %7, 1.800000e+04 store double %8, ptr %2, align 8 %9 = load double, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_5fgvtr.c' source_filename = "/tmp/tmpb_5fgvtr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".%d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @randomized_hire_assistant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %9, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %10, align 8 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %35, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %38 19: ; preds = %15 %20 = call i32 (...) @rand() %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %4, align 4 %25 = mul nsw i32 %23, %24 %26 = srem i32 %20, %25 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %14, i64 %28 store i32 %26, ptr %29, align 4 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %14, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) br label %35 35: ; preds = %19 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %15, !llvm.loop !6 38: ; preds = %15 store i32 1, ptr %6, align 4 br label %39 39: ; preds = %103, %38 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %106 43: ; preds = %39 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %14, i64 %45 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %6, align 4 %49 = sub nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %66, %43 %51 = load i32, ptr %5, align 4 %52 = icmp sge i32 %51, 0 br i1 %52, label %53, label %64 53: ; preds = %50 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %14, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %14, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp sgt i32 %57, %62 br label %64 64: ; preds = %53, %50 %65 = phi i1 [ false, %50 ], [ %63, %53 ] br i1 %65, label %66, label %102 66: ; preds = %64 %67 = load i32, ptr %5, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %14, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %14, i64 %73 store i32 %70, ptr %74, align 4 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %5, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %14, i64 %77 store i32 %75, ptr %78, align 4 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 store i32 %83, ptr %8, align 4 %84 = load ptr, ptr %3, align 8 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %84, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %3, align 8 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 store i32 %89, ptr %93, align 4 %94 = load i32, ptr %8, align 4 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %5, align 4 %97 = add nsw i32 %96, 1 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %95, i64 %98 store i32 %94, ptr %99, align 4 %100 = load i32, ptr %5, align 4 %101 = add nsw i32 %100, -1 store i32 %101, ptr %5, align 4 br label %50, !llvm.loop !8 102: ; preds = %64 br label %103 103: ; preds = %102 %104 = load i32, ptr %6, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %6, align 4 br label %39, !llvm.loop !9 106: ; preds = %39 %107 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %107) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_5fgvtr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".%d.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @randomized_hire_assistant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %9, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %10, align 8 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %34 %19 = call i32 (...) @rand() %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = srem i32 %19, %24 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %14, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %14, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) br label %34 34: ; preds = %18 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %2 store i32 1, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %110 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %104 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %14, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = sub nsw i32 %49, 1 store i32 %50, ptr %5, align 4 br label %51 51: ; preds = %67, %44 %52 = load i32, ptr %5, align 4 %53 = icmp sge i32 %52, 0 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %14, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %14, i64 %61 %63 = load i32, ptr %62, align 4 %64 = icmp sgt i32 %58, %63 br label %65 65: ; preds = %54, %51 %66 = phi i1 [ false, %51 ], [ %64, %54 ] br i1 %66, label %67, label %103 67: ; preds = %65 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %14, i64 %69 %71 = load i32, ptr %70, align 4 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %14, i64 %74 store i32 %71, ptr %75, align 4 %76 = load i32, ptr %7, align 4 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %14, i64 %78 store i32 %76, ptr %79, align 4 %80 = load ptr, ptr %3, align 8 %81 = load i32, ptr %5, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 store i32 %84, ptr %8, align 4 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %85, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load ptr, ptr %3, align 8 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 store i32 %90, ptr %94, align 4 %95 = load i32, ptr %8, align 4 %96 = load ptr, ptr %3, align 8 %97 = load i32, ptr %5, align 4 %98 = add nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 store i32 %95, ptr %100, align 4 %101 = load i32, ptr %5, align 4 %102 = add nsw i32 %101, -1 store i32 %102, ptr %5, align 4 br label %51, !llvm.loop !8 103: ; preds = %65 br label %104 104: ; preds = %103 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %6, align 4 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %44, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %104 br label %110 110: ; preds = %._crit_edge3, %40 %111 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %111) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxcnyxy4b.c' source_filename = "/tmp/tmpxcnyxy4b.c" target datalayout = "e-m:e-p270: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/tmpxcnyxy4b.c" target datalayout = "e-m:e-p270: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/tmpcqlp8d7a.c' source_filename = "/tmp/tmpcqlp8d7a.c" target datalayout = "e-m:e-p270: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/tmpcqlp8d7a.c" target datalayout = "e-m:e-p270: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/tmpx8ejznqu.c' source_filename = "/tmp/tmpx8ejznqu.c" target datalayout = "e-m:e-p270: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/tmpx8ejznqu.c" target datalayout = "e-m:e-p270: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/tmphu8ekp_d.c' source_filename = "/tmp/tmphu8ekp_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mem_swap(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = mul i32 %13, %14 store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %5, align 8 %17 = ptrtoint ptr %16 to i32 %18 = and i32 %17, 3 %19 = icmp ne i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = ptrtoint ptr %21 to i32 %23 = and i32 %22, 3 %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %20 %26 = load i32, ptr %9, align 4 %27 = and i32 %26, 3 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %51 29: ; preds = %25, %20, %4 %30 = load ptr, ptr %5, align 8 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %6, align 8 store ptr %31, ptr %12, align 8 br label %32 32: ; preds = %43, %29 %33 = load i32, ptr %9, align 4 %34 = icmp ugt i32 %33, 0 br i1 %34, label %35, label %50 35: ; preds = %32 %36 = load ptr, ptr %11, align 8 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %10, align 1 %38 = load ptr, ptr %12, align 8 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %11, align 8 store i8 %39, ptr %40, align 1 %41 = load i8, ptr %10, align 1 %42 = load ptr, ptr %12, align 8 store i8 %41, ptr %42, align 1 br label %43 43: ; preds = %35 %44 = load i32, ptr %9, align 4 %45 = add i32 %44, -1 store i32 %45, ptr %9, align 4 %46 = load ptr, ptr %11, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %11, align 8 %48 = load ptr, ptr %12, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %12, align 8 br label %32, !llvm.loop !6 50: ; preds = %32 br label %57 51: ; preds = %25 %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %9, align 4 %55 = udiv i32 %54, 4 %56 = call i32 @mem_swap32(ptr noundef %52, ptr noundef %53, i32 noundef %55) br label %57 57: ; preds = %51, %50 ret void } declare i32 @mem_swap32(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphu8ekp_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mem_swap(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = mul i32 %13, %14 store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %5, align 8 %17 = ptrtoint ptr %16 to i32 %18 = and i32 %17, 3 %19 = icmp ne i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = ptrtoint ptr %21 to i32 %23 = and i32 %22, 3 %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %20 %26 = load i32, ptr %9, align 4 %27 = and i32 %26, 3 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %52 29: ; preds = %25, %20, %4 %30 = load ptr, ptr %5, align 8 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %6, align 8 store ptr %31, ptr %12, align 8 %32 = load i32, ptr %9, align 4 %33 = icmp ugt i32 %32, 0 br i1 %33, label %.lr.ph, label %51 .lr.ph: ; preds = %29 br label %34 34: ; preds = %.lr.ph, %42 %35 = load ptr, ptr %11, align 8 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %10, align 1 %37 = load ptr, ptr %12, align 8 %38 = load i8, ptr %37, align 1 %39 = load ptr, ptr %11, align 8 store i8 %38, ptr %39, align 1 %40 = load i8, ptr %10, align 1 %41 = load ptr, ptr %12, align 8 store i8 %40, ptr %41, align 1 br label %42 42: ; preds = %34 %43 = load i32, ptr %9, align 4 %44 = add i32 %43, -1 store i32 %44, ptr %9, align 4 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %11, align 8 %47 = load ptr, ptr %12, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %12, align 8 %49 = load i32, ptr %9, align 4 %50 = icmp ugt i32 %49, 0 br i1 %50, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %51 51: ; preds = %._crit_edge, %29 br label %58 52: ; preds = %25 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %9, align 4 %56 = udiv i32 %55, 4 %57 = call i32 @mem_swap32(ptr noundef %53, ptr noundef %54, i32 noundef %56) br label %58 58: ; preds = %52, %51 ret void } declare i32 @mem_swap32(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsj8ph6ru.c' source_filename = "/tmp/tmpsj8ph6ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @max_prime_factor(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %4, align 8 %5 = load i64, ptr %2, align 8 %6 = srem i64 %5, 2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i64 2, ptr %4, align 8 br label %9 9: ; preds = %8, %1 store i64 3, ptr %3, align 8 br label %10 10: ; preds = %28, %9 %11 = load i64, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = mul nsw i64 %11, %12 %14 = load i64, ptr %2, align 8 %15 = icmp slt i64 %13, %14 br i1 %15, label %16, label %31 16: ; preds = %10 %17 = load i64, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = srem i64 %17, %18 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %16 %22 = load i64, ptr %3, align 8 %23 = call i64 @is_prime(i64 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i64, ptr %3, align 8 store i64 %26, ptr %4, align 8 br label %27 27: ; preds = %25, %21, %16 br label %28 28: ; preds = %27 %29 = load i64, ptr %3, align 8 %30 = add nsw i64 %29, 2 store i64 %30, ptr %3, align 8 br label %10, !llvm.loop !6 31: ; preds = %10 %32 = load i64, ptr %4, align 8 ret i64 %32 } declare i64 @is_prime(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/tmpsj8ph6ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @max_prime_factor(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %4, align 8 %5 = load i64, ptr %2, align 8 %6 = srem i64 %5, 2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i64 2, ptr %4, align 8 br label %9 9: ; preds = %8, %1 store i64 3, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = load i64, ptr %3, align 8 %12 = mul nsw i64 %10, %11 %13 = load i64, ptr %2, align 8 %14 = icmp slt i64 %12, %13 br i1 %14, label %.lr.ph, label %35 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %27 %16 = load i64, ptr %2, align 8 %17 = load i64, ptr %3, align 8 %18 = srem i64 %16, %17 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %15 %21 = load i64, ptr %3, align 8 %22 = call i64 @is_prime(i64 noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = load i64, ptr %3, align 8 store i64 %25, ptr %4, align 8 br label %26 26: ; preds = %24, %20, %15 br label %27 27: ; preds = %26 %28 = load i64, ptr %3, align 8 %29 = add nsw i64 %28, 2 store i64 %29, ptr %3, align 8 %30 = load i64, ptr %3, align 8 %31 = load i64, ptr %3, align 8 %32 = mul nsw i64 %30, %31 %33 = load i64, ptr %2, align 8 %34 = icmp slt i64 %32, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %9 %36 = load i64, ptr %4, align 8 ret i64 %36 } declare i64 @is_prime(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/tmpru93blfy.c' source_filename = "/tmp/tmpru93blfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"AEIOU\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gerigoncioCrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %115, %1 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %7, 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 ne i32 0, %17 br i1 %18, label %19, label %118 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %27 store i8 %24, ptr %28, align 1 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %66, %19 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 0, %35 br i1 %36, label %37, label %69 37: ; preds = %29 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %43, %49 br i1 %50, label %51, label %65 51: ; preds = %37 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %54 store i8 112, ptr %55, align 1 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %4, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %63 store i8 %60, ptr %64, align 1 store i32 1, ptr %8, align 4 br label %69 65: ; preds = %37 br label %66 66: ; preds = %65 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 br label %29, !llvm.loop !6 69: ; preds = %51, %29 %70 = load i32, ptr %8, align 4 %71 = icmp eq i32 1, %70 br i1 %71, label %72, label %73 72: ; preds = %69 br label %115 73: ; preds = %69 store i32 0, ptr %10, align 4 br label %74 74: ; preds = %111, %73 %75 = load ptr, ptr %6, align 8 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp ne i32 0, %80 br i1 %81, label %82, label %114 82: ; preds = %74 %83 = load ptr, ptr %6, align 8 %84 = load i32, ptr %10, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = load ptr, ptr %2, align 8 %90 = load i32, ptr %7, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %88, %94 br i1 %95, label %96, label %110 96: ; preds = %82 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %99 store i8 80, ptr %100, align 1 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %10, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 %105 = load i8, ptr %104, align 1 %106 = load i32, ptr %4, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %4, align 4 %108 = sext i32 %106 to i64 %109 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %108 store i8 %105, ptr %109, align 1 br label %110 110: ; preds = %96, %82 br label %111 111: ; preds = %110 %112 = load i32, ptr %10, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %10, align 4 br label %74, !llvm.loop !8 114: ; preds = %74 br label %115 115: ; preds = %114, %72 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %11, !llvm.loop !9 118: ; preds = %11 %119 = load i32, ptr %4, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %120 store i8 0, ptr %121, align 1 %122 = load ptr, ptr %2, align 8 %123 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %124 = call i32 @strcpy(ptr noundef %122, ptr noundef %123) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpru93blfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"AEIOU\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gerigoncioCrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %7, 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 ne i32 0, %16 br i1 %17, label %.lr.ph3, label %136 .lr.ph3: ; preds = %1 br label %18 18: ; preds = %.lr.ph3, %126 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %26 store i8 %23, ptr %27, align 1 store i32 0, ptr %9, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 0, %33 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %35 35: ; preds = %.lr.ph, %64 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %41, %47 br i1 %48, label %49, label %63 49: ; preds = %35 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %52 store i8 112, ptr %53, align 1 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %61 store i8 %58, ptr %62, align 1 store i32 1, ptr %8, align 4 br label %74 63: ; preds = %35 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 0, %72 br i1 %73, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %64 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %74 74: ; preds = %.loopexit, %49 %75 = load i32, ptr %8, align 4 %76 = icmp eq i32 1, %75 br i1 %76, label %77, label %78 77: ; preds = %74 br label %126 78: ; preds = %74 store i32 0, ptr %10, align 4 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 0, %84 br i1 %85, label %.lr.ph1, label %125 .lr.ph1: ; preds = %78 br label %86 86: ; preds = %.lr.ph1, %115 %87 = load ptr, ptr %6, align 8 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = load ptr, ptr %2, align 8 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %92, %98 br i1 %99, label %100, label %114 100: ; preds = %86 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %4, align 4 %103 = sext i32 %101 to i64 %104 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %103 store i8 80, ptr %104, align 1 %105 = load ptr, ptr %6, align 8 %106 = load i32, ptr %10, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 %109 = load i8, ptr %108, align 1 %110 = load i32, ptr %4, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %4, align 4 %112 = sext i32 %110 to i64 %113 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %112 store i8 %109, ptr %113, align 1 br label %114 114: ; preds = %100, %86 br label %115 115: ; preds = %114 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %10, align 4 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %10, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp ne i32 0, %123 br i1 %124, label %86, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %115 br label %125 125: ; preds = %._crit_edge, %78 br label %126 126: ; preds = %125, %77 %127 = load i32, ptr %7, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %7, align 4 store i32 0, ptr %8, align 4 %129 = load ptr, ptr %2, align 8 %130 = load i32, ptr %7, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp ne i32 0, %134 br i1 %135, label %18, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %126 br label %136 136: ; preds = %._crit_edge4, %1 %137 = load i32, ptr %4, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %138 store i8 0, ptr %139, align 1 %140 = load ptr, ptr %2, align 8 %141 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %142 = call i32 @strcpy(ptr noundef %140, ptr noundef %141) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp18n3785b.c' source_filename = "/tmp/tmp18n3785b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"address=%p offset=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @asn1_add_error(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @ERR_asprintf_error_data(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @ERR_asprintf_error_data(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/tmp18n3785b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"address=%p offset=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @asn1_add_error(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @ERR_asprintf_error_data(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @ERR_asprintf_error_data(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/tmp6quuqffg.c' source_filename = "/tmp/tmp6quuqffg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__lxstat(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @statx(ptr noundef %11, ptr noundef %12, i32 noundef 4, i32 noundef 1) ret i32 %13 } declare i32 @assert(i32 noundef) #1 declare i32 @statx(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6quuqffg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__lxstat(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @statx(ptr noundef %11, ptr noundef %12, i32 noundef 4, i32 noundef 1) ret i32 %13 } declare i32 @assert(i32 noundef) #1 declare i32 @statx(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppnzu3cie.c' source_filename = "/tmp/tmppnzu3cie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeMinHeap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppnzu3cie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeMinHeap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps6ruj104.c' source_filename = "/tmp/tmps6ruj104.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s [num_frames] [framerate]\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c" where num_frames can be a number or 'forever'\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c" where where framerate is a floating point number, e.g. 30\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_usage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = 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/tmps6ruj104.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s [num_frames] [framerate]\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c" where num_frames can be a number or 'forever'\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c" where where framerate is a floating point number, e.g. 30\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_usage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = 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/tmp3p580m6r.c' source_filename = "/tmp/tmp3p580m6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_hmac_meta(ptr noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 64) %10 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %11 = getelementptr inbounds i8, ptr %10, i64 18 %12 = load i16, ptr %5, align 2 %13 = call i32 @wbe16(ptr noundef %11, i16 noundef signext %12) %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fs_hmac_generic(ptr noundef %14, i32 noundef 262144, ptr noundef %15, i32 noundef 64, ptr noundef %16) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @wbe16(ptr noundef, i16 noundef signext) #1 declare i32 @fs_hmac_generic(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3p580m6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_hmac_meta(ptr noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 64) %10 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %11 = getelementptr inbounds i8, ptr %10, i64 18 %12 = load i16, ptr %5, align 2 %13 = call i32 @wbe16(ptr noundef %11, i16 noundef signext %12) %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fs_hmac_generic(ptr noundef %14, i32 noundef 262144, ptr noundef %15, i32 noundef 64, ptr noundef %16) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @wbe16(ptr noundef, i16 noundef signext) #1 declare i32 @fs_hmac_generic(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfnozbaer.c' source_filename = "/tmp/tmpfnozbaer.c" target datalayout = "e-m:e-p270: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"%d pixels\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @from_565_rle() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = alloca [2 x i16], align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i32, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %55, %0 %10 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 0 %11 = call i64 @read(i32 noundef 0, ptr noundef %10, i32 noundef 4) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %56 13: ; preds = %9 %14 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 0 %15 = load i16, ptr %14, align 2 store i16 %15, ptr %2, align 2 %16 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 1 %17 = load i16, ptr %16, align 2 store i16 %17, ptr %4, align 2 %18 = load i16, ptr %2, align 2 %19 = zext i16 %18 to i32 %20 = load i32, ptr %8, align 4 %21 = add i32 %20, %19 store i32 %21, ptr %8, align 4 %22 = load i16, ptr %4, align 2 %23 = zext i16 %22 to i32 %24 = ashr i32 %23, 11 %25 = and i32 %24, 31 %26 = mul nsw i32 %25, 255 %27 = sdiv i32 %26, 31 %28 = trunc i32 %27 to i16 store i16 %28, ptr %5, align 2 %29 = load i16, ptr %4, align 2 %30 = zext i16 %29 to i32 %31 = ashr i32 %30, 5 %32 = and i32 %31, 63 %33 = mul nsw i32 %32, 255 %34 = sdiv i32 %33, 63 %35 = trunc i32 %34 to i16 store i16 %35, ptr %6, align 2 %36 = load i16, ptr %4, align 2 %37 = zext i16 %36 to i32 %38 = and i32 %37, 31 %39 = mul nsw i32 %38, 255 %40 = sdiv i32 %39, 31 %41 = trunc i32 %40 to i16 store i16 %41, ptr %7, align 2 store i16 0, ptr %1, align 2 br label %42 42: ; preds = %52, %13 %43 = load i16, ptr %1, align 2 %44 = zext i16 %43 to i32 %45 = load i16, ptr %2, align 2 %46 = zext i16 %45 to i32 %47 = icmp slt i32 %44, %46 br i1 %47, label %48, label %55 48: ; preds = %42 %49 = call i32 @write(i32 noundef 1, ptr noundef %5, i32 noundef 1) %50 = call i32 @write(i32 noundef 1, ptr noundef %6, i32 noundef 1) %51 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) br label %52 52: ; preds = %48 %53 = load i16, ptr %1, align 2 %54 = add i16 %53, 1 store i16 %54, ptr %1, align 2 br label %42, !llvm.loop !6 55: ; preds = %42 br label %9, !llvm.loop !8 56: ; preds = %9 %57 = load i32, ptr @stderr, align 4 %58 = load i32, ptr %8, align 4 %59 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str, i32 noundef %58) ret void } declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfnozbaer.c" target datalayout = "e-m:e-p270: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"%d pixels\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @from_565_rle() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = alloca [2 x i16], align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i32, align 4 store i32 0, ptr %8, align 4 %9 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 0 %10 = call i64 @read(i32 noundef 0, ptr noundef %9, i32 noundef 4) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph2, label %61 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %58 %13 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 0 %14 = load i16, ptr %13, align 2 store i16 %14, ptr %2, align 2 %15 = getelementptr inbounds [2 x i16], ptr %3, i64 0, i64 1 %16 = load i16, ptr %15, align 2 store i16 %16, ptr %4, align 2 %17 = load i16, ptr %2, align 2 %18 = zext i16 %17 to i32 %19 = load i32, ptr %8, align 4 %20 = add i32 %19, %18 store i32 %20, ptr %8, align 4 %21 = load i16, ptr %4, align 2 %22 = zext i16 %21 to i32 %23 = ashr i32 %22, 11 %24 = and i32 %23, 31 %25 = mul nsw i32 %24, 255 %26 = sdiv i32 %25, 31 %27 = trunc i32 %26 to i16 store i16 %27, ptr %5, align 2 %28 = load i16, ptr %4, align 2 %29 = zext i16 %28 to i32 %30 = ashr i32 %29, 5 %31 = and i32 %30, 63 %32 = mul nsw i32 %31, 255 %33 = sdiv i32 %32, 63 %34 = trunc i32 %33 to i16 store i16 %34, ptr %6, align 2 %35 = load i16, ptr %4, align 2 %36 = zext i16 %35 to i32 %37 = and i32 %36, 31 %38 = mul nsw i32 %37, 255 %39 = sdiv i32 %38, 31 %40 = trunc i32 %39 to i16 store i16 %40, ptr %7, align 2 store i16 0, ptr %1, align 2 %41 = load i16, ptr %1, align 2 %42 = zext i16 %41 to i32 %43 = load i16, ptr %2, align 2 %44 = zext i16 %43 to i32 %45 = icmp slt i32 %42, %44 br i1 %45, label %.lr.ph, label %58 .lr.ph: ; preds = %12 br label %46 46: ; preds = %.lr.ph, %50 %47 = call i32 @write(i32 noundef 1, ptr noundef %5, i32 noundef 1) %48 = call i32 @write(i32 noundef 1, ptr noundef %6, i32 noundef 1) %49 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) br label %50 50: ; preds = %46 %51 = load i16, ptr %1, align 2 %52 = add i16 %51, 1 store i16 %52, ptr %1, align 2 %53 = load i16, ptr %1, align 2 %54 = zext i16 %53 to i32 %55 = load i16, ptr %2, align 2 %56 = zext i16 %55 to i32 %57 = icmp slt i32 %54, %56 br i1 %57, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %58 58: ; preds = %._crit_edge, %12 %59 = call i64 @read(i32 noundef 0, ptr noundef %9, i32 noundef 4) %60 = icmp ne i64 %59, 0 br i1 %60, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %61 61: ; preds = %._crit_edge3, %0 %62 = load i32, ptr @stderr, align 4 %63 = load i32, ptr %8, align 4 %64 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str, i32 noundef %63) ret void } declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpaknb6oas.c' source_filename = "/tmp/tmpaknb6oas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_array(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %26, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 200 br i1 %7, label %8, label %29 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %22, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 200 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = call i32 (...) @rand() %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %13, ptr %21, align 4 br label %22 22: ; preds = %12 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 br label %26 26: ; preds = %25 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %5, !llvm.loop !8 29: ; preds = %5 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaknb6oas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_array(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 200 br i1 %6, label %.lr.ph2, label %31 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %26 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 200 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %20 %11 = call i32 (...) @rand() %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %11, ptr %19, align 4 br label %20 20: ; preds = %10 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 200 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %7 br label %26 26: ; preds = %25 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 200 br i1 %30, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %31 31: ; preds = %._crit_edge3, %1 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp97bk6rii.c' source_filename = "/tmp/tmp97bk6rii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"malloc of %u bytes failed:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = call i32 @eprintf(ptr noundef @.str, i64 noundef %9) br label %11 11: ; preds = %8, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @eprintf(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97bk6rii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"malloc of %u bytes failed:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = call i32 @eprintf(ptr noundef @.str, i64 noundef %9) br label %11 11: ; preds = %8, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @eprintf(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb8te4cbu.c' source_filename = "/tmp/tmpb8te4cbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumtoby(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = sdiv i32 %12, 2 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8te4cbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumtoby(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = sdiv i32 %12, 2 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6umy19wh.c' source_filename = "/tmp/tmp6umy19wh.c" target datalayout = "e-m:e-p270: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/tmp6umy19wh.c" target datalayout = "e-m:e-p270: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_iktordq.c' source_filename = "/tmp/tmp_iktordq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmpChar(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcmp(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %8, %2 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @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/tmp_iktordq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmpChar(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcmp(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %8, %2 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @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/tmp0ueryu0_.c' source_filename = "/tmp/tmp0ueryu0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cop_lcd_test() #0 { br label %1 1: ; preds = %11, %0 %2 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %3 = and i32 %2, 1 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %15 5: ; preds = %1 br label %6 6: ; preds = %10, %5 %7 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %8 = and i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %6 br label %6, !llvm.loop !6 11: ; preds = %6 %12 = call i32 (...) @video_display_buffer_() %13 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %14 = and i32 %13, -3 store volatile i32 %14, ptr inttoptr (i64 1073827872 to ptr), align 4 br label %1, !llvm.loop !8 15: ; preds = %1 ret void } declare i32 @video_display_buffer_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0ueryu0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cop_lcd_test() #0 { %1 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %2 = and i32 %1, 1 %3 = icmp ne i32 %2, 0 br i1 %3, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %9 br label %5 5: ; preds = %5, %4 %6 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %7 = and i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label %5, label %9, !llvm.loop !6 9: ; preds = %5 %10 = call i32 (...) @video_display_buffer_() %11 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %12 = and i32 %11, -3 store volatile i32 %12, ptr inttoptr (i64 1073827872 to ptr), align 4 %13 = load volatile i32, ptr inttoptr (i64 1073827872 to ptr), align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %4, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %0 ret void } declare i32 @video_display_buffer_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpoe72iabj.c' source_filename = "/tmp/tmpoe72iabj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SUM: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 store i32 5, ptr %3, align 4 br label %4 4: ; preds = %20, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 1000 br i1 %6, label %7, label %23 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = srem i32 %8, 3 %10 = icmp eq i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 5 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11, %7 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %15, %11 br label %20 20: ; preds = %19 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %4, !llvm.loop !6 23: ; preds = %4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoe72iabj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SUM: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 store i32 5, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1000 br i1 %5, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %19 %7 = load i32, ptr %3, align 4 %8 = srem i32 %7, 3 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = srem i32 %11, 5 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10, %6 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %14, %10 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 1000 br i1 %23, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %2, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmxpcvdki.c' source_filename = "/tmp/tmpmxpcvdki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_os_strcmp_last(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %4 store i32 0, ptr %5, align 4 br label %25 14: ; preds = %4 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = sub i64 %17, %18 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = call i64 @strcasecmp(ptr noundef %15, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 1, ptr %5, align 4 br label %25 24: ; preds = %14 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %24, %23, %13 %26 = load i32, ptr %5, align 4 ret i32 %26 } declare i64 @strcasecmp(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/tmpmxpcvdki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_os_strcmp_last(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %4 store i32 0, ptr %5, align 4 br label %25 14: ; preds = %4 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = sub i64 %17, %18 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = call i64 @strcasecmp(ptr noundef %15, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 1, ptr %5, align 4 br label %25 24: ; preds = %14 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %24, %23, %13 %26 = load i32, ptr %5, align 4 ret i32 %26 } declare i64 @strcasecmp(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/tmpttn1hyzt.c' source_filename = "/tmp/tmpttn1hyzt.c" target datalayout = "e-m:e-p270: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/tmpttn1hyzt.c" target datalayout = "e-m:e-p270: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/tmpdeo6l6gv.c' source_filename = "/tmp/tmpdeo6l6gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0D\0A*** file: \00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.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 @read_filename() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load i32, ptr @_POSIX_PATH_MAX, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %2, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %3, align 8 %10 = load i32, ptr @STDOUT_FILENO, align 4 %11 = call i32 @fd_printf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @STDIN_FILENO, align 4 %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = trunc i64 %7 to i32 %15 = call i32 @fd_readline(i32 noundef %12, i32 noundef %13, ptr noundef %9, i32 noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr @STDOUT_FILENO, align 4 %17 = call i32 @fd_printf(i32 noundef %16, ptr noundef @.str.1) %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %0 store ptr null, ptr %1, align 8 store i32 1, ptr %5, align 4 br label %23 21: ; preds = %0 %22 = call ptr @strdup(ptr noundef %9) store ptr %22, ptr %1, align 8 store i32 1, ptr %5, align 4 br label %23 23: ; preds = %21, %20 %24 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %24) %25 = load ptr, ptr %1, align 8 ret ptr %25 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fd_printf(i32 noundef, ptr noundef) #2 declare i32 @fd_readline(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare ptr @strdup(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdeo6l6gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0D\0A*** file: \00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.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 @read_filename() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load i32, ptr @_POSIX_PATH_MAX, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %2, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %3, align 8 %10 = load i32, ptr @STDOUT_FILENO, align 4 %11 = call i32 @fd_printf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @STDIN_FILENO, align 4 %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = trunc i64 %7 to i32 %15 = call i32 @fd_readline(i32 noundef %12, i32 noundef %13, ptr noundef %9, i32 noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr @STDOUT_FILENO, align 4 %17 = call i32 @fd_printf(i32 noundef %16, ptr noundef @.str.1) %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %0 store ptr null, ptr %1, align 8 store i32 1, ptr %5, align 4 br label %23 21: ; preds = %0 %22 = call ptr @strdup(ptr noundef %9) store ptr %22, ptr %1, align 8 store i32 1, ptr %5, align 4 br label %23 23: ; preds = %21, %20 %24 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %24) %25 = load ptr, ptr %1, align 8 ret ptr %25 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fd_printf(i32 noundef, ptr noundef) #2 declare i32 @fd_readline(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare ptr @strdup(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"}
; ModuleID = '/tmp/tmp9b6qzf8h.c' source_filename = "/tmp/tmp9b6qzf8h.c" target datalayout = "e-m:e-p270: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/tmp9b6qzf8h.c" target datalayout = "e-m:e-p270: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_sqoci_d.c' source_filename = "/tmp/tmp_sqoci_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %46, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %49 9: ; preds = %5 store i32 0, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %27 12: ; preds = %9 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %3, align 4 br label %14 14: ; preds = %23, %12 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 2, %16 %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %26 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 br label %46 27: ; preds = %9 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %45 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = mul nsw i32 2, %31 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %41, %30 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %37, label %44 37: ; preds = %33 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %37 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 br label %33, !llvm.loop !8 44: ; preds = %33 br label %45 45: ; preds = %44, %27 br label %46 46: ; preds = %45, %26 %47 = load i32, ptr %4, align 4 %48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47) br label %5, !llvm.loop !9 49: ; preds = %5 %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_sqoci_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i64, ptr @EOF, align 8 %7 = icmp ne i64 %5, %6 br i1 %7, label %.lr.ph5, label %56 .lr.ph5: ; preds = %0 br label %8 8: ; preds = %.lr.ph5, %50 store i32 0, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = load i32, ptr %2, align 4 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 2, %14 %16 = icmp sle i32 %13, %15 br i1 %16, label %.lr.ph2, label %28 .lr.ph2: ; preds = %11 br label %17 17: ; preds = %.lr.ph2, %21 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %4, align 4 br label %21 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = mul nsw i32 2, %25 %27 = icmp sle i32 %24, %26 br i1 %27, label %17, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %21 br label %28 28: ; preds = %._crit_edge3, %11 br label %50 29: ; preds = %8 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %49 32: ; preds = %29 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 2, %33 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %.lr.ph, label %48 .lr.ph: ; preds = %32 br label %38 38: ; preds = %.lr.ph, %42 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %38, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %32 br label %49 49: ; preds = %48, %29 br label %50 50: ; preds = %49, %28 %51 = load i32, ptr %4, align 4 %52 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51) %53 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %54 = load i64, ptr @EOF, align 8 %55 = icmp ne i64 %53, %54 br i1 %55, label %8, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %56 56: ; preds = %._crit_edge6, %0 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpc63gp2fd.c' source_filename = "/tmp/tmpc63gp2fd.c" target datalayout = "e-m:e-p270: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/tmpc63gp2fd.c" target datalayout = "e-m:e-p270: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/tmp73tuh79s.c' source_filename = "/tmp/tmp73tuh79s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %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 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %21, %0 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %11, i64 %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %27 27: ; preds = %36, %24 %28 = load i32, ptr %6, align 4 %29 = icmp sgt i32 %28, -1 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %11, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %6, align 4 br label %27, !llvm.loop !8 39: ; preds = %27 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 %41 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp73tuh79s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %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 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %20 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %11, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %2, align 4 %28 = sub nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sgt i32 %29, -1 br i1 %30, label %.lr.ph2, label %42 .lr.ph2: ; preds = %26 br label %31 31: ; preds = %.lr.ph2, %37 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %11, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp sgt i32 %40, -1 br i1 %41, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %26 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 %44 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %44) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz3uns1sm.c' source_filename = "/tmp/tmpz3uns1sm.c" target datalayout = "e-m:e-p270: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/tmpz3uns1sm.c" target datalayout = "e-m:e-p270: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/tmpxnx84gik.c' source_filename = "/tmp/tmpxnx84gik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store i32 0, ptr %1, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %13 13: ; preds = %116, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %119 17: ; preds = %13 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %19 = load i32, ptr %4, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %5, align 8 %22 = alloca i32, i64 %20, align 16 store i64 %20, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %32, %17 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %35 27: ; preds = %23 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %22, i64 %29 %31 = call i32 @scanf(ptr noundef @.str, ptr noundef %30) br label %32 32: ; preds = %27 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %23, !llvm.loop !6 35: ; preds = %23 store i32 0, ptr %9, align 4 br label %36 36: ; preds = %78, %35 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %81 40: ; preds = %36 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %43 43: ; preds = %74, %40 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %77 47: ; preds = %43 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %22, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %22, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp sgt i32 %51, %55 br i1 %56, label %57, label %73 57: ; preds = %47 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %22, i64 %59 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %7, align 4 %62 = load i32, ptr %10, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %22, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %22, i64 %67 store i32 %65, ptr %68, align 4 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %22, i64 %71 store i32 %69, ptr %72, align 4 br label %73 73: ; preds = %57, %47 br label %74 74: ; preds = %73 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 br label %43, !llvm.loop !8 77: ; preds = %43 br label %78 78: ; preds = %77 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 br label %36, !llvm.loop !9 81: ; preds = %36 %82 = load i32, ptr %4, align 4 %83 = srem i32 %82, 2 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %94 85: ; preds = %81 %86 = load i32, ptr %4, align 4 %87 = sdiv i32 %86, 2 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %22, i64 %88 %90 = load i32, ptr %89, align 4 %91 = sitofp i32 %90 to float %92 = call double @floor(float noundef %91) %93 = fptrunc double %92 to float store float %93, ptr %11, align 4 br label %111 94: ; preds = %81 %95 = load i32, ptr %4, align 4 %96 = sdiv i32 %95, 2 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %22, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load i32, ptr %4, align 4 %101 = sub nsw i32 %100, 1 %102 = sdiv i32 %101, 2 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %22, i64 %103 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %99, %105 %107 = sdiv i32 %106, 2 %108 = sitofp i32 %107 to float %109 = call double @floor(float noundef %108) %110 = fptrunc double %109 to float store float %110, ptr %11, align 4 br label %111 111: ; preds = %94, %85 %112 = load float, ptr %11, align 4 %113 = call double @floor(float noundef %112) %114 = call i32 @printf(ptr noundef @.str.1, double noundef %113) %115 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %115) br label %116 116: ; preds = %111 %117 = load i32, ptr %3, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %3, align 4 br label %13, !llvm.loop !10 119: ; preds = %13 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare double @floor(float noundef) #1 declare i32 @printf(ptr noundef, double 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/tmpxnx84gik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store i32 0, ptr %1, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph8, label %127 .lr.ph8: ; preds = %0 br label %16 16: ; preds = %.lr.ph8, %121 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %18 = load i32, ptr %4, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %5, align 8 %21 = alloca i32, i64 %19, align 16 store i64 %19, ptr %6, align 8 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %36 .lr.ph: ; preds = %16 br label %25 25: ; preds = %.lr.ph, %30 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %21, i64 %27 %29 = call i32 @scanf(ptr noundef @.str, ptr noundef %28) br label %30 30: ; preds = %25 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %16 store i32 0, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph5, label %86 .lr.ph5: ; preds = %36 br label %40 40: ; preds = %.lr.ph5, %80 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph2, label %79 .lr.ph2: ; preds = %40 br label %46 46: ; preds = %.lr.ph2, %73 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %21, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %21, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp sgt i32 %50, %54 br i1 %55, label %56, label %72 56: ; preds = %46 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %21, i64 %58 %60 = load i32, ptr %59, align 4 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %21, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %21, i64 %66 store i32 %64, ptr %67, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %21, i64 %70 store i32 %68, ptr %71, align 4 br label %72 72: ; preds = %56, %46 br label %73 73: ; preds = %72 %74 = load i32, ptr %10, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %10, align 4 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %40 br label %80 80: ; preds = %79 %81 = load i32, ptr %9, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %9, align 4 %83 = load i32, ptr %9, align 4 %84 = load i32, ptr %4, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %40, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %86 86: ; preds = %._crit_edge6, %36 %87 = load i32, ptr %4, align 4 %88 = srem i32 %87, 2 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %99 90: ; preds = %86 %91 = load i32, ptr %4, align 4 %92 = sdiv i32 %91, 2 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %21, i64 %93 %95 = load i32, ptr %94, align 4 %96 = sitofp i32 %95 to float %97 = call double @floor(float noundef %96) %98 = fptrunc double %97 to float store float %98, ptr %11, align 4 br label %116 99: ; preds = %86 %100 = load i32, ptr %4, align 4 %101 = sdiv i32 %100, 2 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %21, i64 %102 %104 = load i32, ptr %103, align 4 %105 = load i32, ptr %4, align 4 %106 = sub nsw i32 %105, 1 %107 = sdiv i32 %106, 2 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %21, i64 %108 %110 = load i32, ptr %109, align 4 %111 = add nsw i32 %104, %110 %112 = sdiv i32 %111, 2 %113 = sitofp i32 %112 to float %114 = call double @floor(float noundef %113) %115 = fptrunc double %114 to float store float %115, ptr %11, align 4 br label %116 116: ; preds = %99, %90 %117 = load float, ptr %11, align 4 %118 = call double @floor(float noundef %117) %119 = call i32 @printf(ptr noundef @.str.1, double noundef %118) %120 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %120) br label %121 121: ; preds = %116 %122 = load i32, ptr %3, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %3, align 4 %124 = load i32, ptr %3, align 4 %125 = load i32, ptr %2, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %16, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %121 br label %127 127: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare double @floor(float noundef) #1 declare i32 @printf(ptr noundef, double 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/tmpal8_7yct.c' source_filename = "/tmp/tmpal8_7yct.c" target datalayout = "e-m:e-p270: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/tmpal8_7yct.c" target datalayout = "e-m:e-p270: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/tmpr46joa8e.c' source_filename = "/tmp/tmpr46joa8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_uniform(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %11, align 8 %22 = call i32 @salpeter(i32 noundef %20, ptr noundef %21, double noundef 2.370000e+00, double noundef 2.000000e-01, i32 noundef 20) %23 = call i32 @time(ptr noundef null) %24 = call i32 @srand(i32 noundef %23) store i32 0, ptr %13, align 4 br label %25 25: ; preds = %103, %6 %26 = load i32, ptr %13, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %106 29: ; preds = %25 store double 0.000000e+00, ptr %14, align 8 store double 1.000000e+00, ptr %15, align 8 br label %30 30: ; preds = %36, %29 %31 = load double, ptr %15, align 8 %32 = load double, ptr %14, align 8 %33 = load double, ptr %14, align 8 %34 = fmul double %32, %33 %35 = fcmp ogt double %31, %34 br i1 %35, label %36, label %47 36: ; preds = %30 %37 = call i64 (...) @rand() %38 = sitofp i64 %37 to double %39 = load i64, ptr @RAND_MAX, align 8 %40 = sitofp i64 %39 to double %41 = fdiv double %38, %40 store double %41, ptr %14, align 8 %42 = call i64 (...) @rand() %43 = sitofp i64 %42 to double %44 = load i64, ptr @RAND_MAX, align 8 %45 = sitofp i64 %44 to double %46 = fdiv double %43, %45 store double %46, ptr %15, align 8 br label %30, !llvm.loop !6 47: ; preds = %30 %48 = call i64 (...) @rand() %49 = sitofp i64 %48 to double %50 = load i64, ptr @RAND_MAX, align 8 %51 = sitofp i64 %50 to double %52 = fdiv double %49, %51 store double %52, ptr %16, align 8 %53 = call i64 (...) @rand() %54 = sitofp i64 %53 to double %55 = load i64, ptr @RAND_MAX, align 8 %56 = sitofp i64 %55 to double %57 = fdiv double %54, %56 store double %57, ptr %17, align 8 %58 = load double, ptr %16, align 8 %59 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %58, double 1.000000e+00) %60 = fptosi double %59 to i32 %61 = call double @acos(i32 noundef %60) store double %61, ptr %19, align 8 %62 = load i32, ptr @M_PI, align 4 %63 = mul nsw i32 2, %62 %64 = sitofp i32 %63 to double %65 = load double, ptr %17, align 8 %66 = fmul double %64, %65 store double %66, ptr %18, align 8 %67 = load double, ptr %14, align 8 %68 = load double, ptr %12, align 8 %69 = fmul double %67, %68 %70 = load double, ptr %19, align 8 %71 = call double @sin(double noundef %70) #4 %72 = fmul double %69, %71 %73 = load double, ptr %18, align 8 %74 = call double @cos(double noundef %73) #4 %75 = fmul double %72, %74 %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %76, i64 %78 store double %75, ptr %79, align 8 %80 = load double, ptr %14, align 8 %81 = load double, ptr %12, align 8 %82 = fmul double %80, %81 %83 = load double, ptr %19, align 8 %84 = call double @sin(double noundef %83) #4 %85 = fmul double %82, %84 %86 = load double, ptr %18, align 8 %87 = call double @sin(double noundef %86) #4 %88 = fmul double %85, %87 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %13, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 store double %88, ptr %92, align 8 %93 = load double, ptr %14, align 8 %94 = load double, ptr %12, align 8 %95 = fmul double %93, %94 %96 = load double, ptr %19, align 8 %97 = call double @cos(double noundef %96) #4 %98 = fmul double %95, %97 %99 = load ptr, ptr %10, align 8 %100 = load i32, ptr %13, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %99, i64 %101 store double %98, ptr %102, align 8 br label %103 103: ; preds = %47 %104 = load i32, ptr %13, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %13, align 4 br label %25, !llvm.loop !8 106: ; preds = %25 ret void } declare i32 @salpeter(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @rand(...) #1 declare double @acos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @cos(double 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 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr46joa8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_uniform(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %11, align 8 %22 = call i32 @salpeter(i32 noundef %20, ptr noundef %21, double noundef 2.370000e+00, double noundef 2.000000e-01, i32 noundef 20) %23 = call i32 @time(ptr noundef null) %24 = call i32 @srand(i32 noundef %23) store i32 0, ptr %13, align 4 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph2, label %112 .lr.ph2: ; preds = %6 br label %28 28: ; preds = %.lr.ph2, %106 store double 0.000000e+00, ptr %14, align 8 store double 1.000000e+00, ptr %15, align 8 %29 = load double, ptr %15, align 8 %30 = load double, ptr %14, align 8 %31 = load double, ptr %14, align 8 %32 = fmul double %30, %31 %33 = fcmp ogt double %29, %32 br i1 %33, label %.lr.ph, label %50 .lr.ph: ; preds = %28 br label %34 34: ; preds = %.lr.ph, %34 %35 = call i64 (...) @rand() %36 = sitofp i64 %35 to double %37 = load i64, ptr @RAND_MAX, align 8 %38 = sitofp i64 %37 to double %39 = fdiv double %36, %38 store double %39, ptr %14, align 8 %40 = call i64 (...) @rand() %41 = sitofp i64 %40 to double %42 = load i64, ptr @RAND_MAX, align 8 %43 = sitofp i64 %42 to double %44 = fdiv double %41, %43 store double %44, ptr %15, align 8 %45 = load double, ptr %15, align 8 %46 = load double, ptr %14, align 8 %47 = load double, ptr %14, align 8 %48 = fmul double %46, %47 %49 = fcmp ogt double %45, %48 br i1 %49, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %50 50: ; preds = %._crit_edge, %28 %51 = call i64 (...) @rand() %52 = sitofp i64 %51 to double %53 = load i64, ptr @RAND_MAX, align 8 %54 = sitofp i64 %53 to double %55 = fdiv double %52, %54 store double %55, ptr %16, align 8 %56 = call i64 (...) @rand() %57 = sitofp i64 %56 to double %58 = load i64, ptr @RAND_MAX, align 8 %59 = sitofp i64 %58 to double %60 = fdiv double %57, %59 store double %60, ptr %17, align 8 %61 = load double, ptr %16, align 8 %62 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %61, double 1.000000e+00) %63 = fptosi double %62 to i32 %64 = call double @acos(i32 noundef %63) store double %64, ptr %19, align 8 %65 = load i32, ptr @M_PI, align 4 %66 = mul nsw i32 2, %65 %67 = sitofp i32 %66 to double %68 = load double, ptr %17, align 8 %69 = fmul double %67, %68 store double %69, ptr %18, align 8 %70 = load double, ptr %14, align 8 %71 = load double, ptr %12, align 8 %72 = fmul double %70, %71 %73 = load double, ptr %19, align 8 %74 = call double @sin(double noundef %73) #4 %75 = fmul double %72, %74 %76 = load double, ptr %18, align 8 %77 = call double @cos(double noundef %76) #4 %78 = fmul double %75, %77 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 store double %78, ptr %82, align 8 %83 = load double, ptr %14, align 8 %84 = load double, ptr %12, align 8 %85 = fmul double %83, %84 %86 = load double, ptr %19, align 8 %87 = call double @sin(double noundef %86) #4 %88 = fmul double %85, %87 %89 = load double, ptr %18, align 8 %90 = call double @sin(double noundef %89) #4 %91 = fmul double %88, %90 %92 = load ptr, ptr %9, align 8 %93 = load i32, ptr %13, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 store double %91, ptr %95, align 8 %96 = load double, ptr %14, align 8 %97 = load double, ptr %12, align 8 %98 = fmul double %96, %97 %99 = load double, ptr %19, align 8 %100 = call double @cos(double noundef %99) #4 %101 = fmul double %98, %100 %102 = load ptr, ptr %10, align 8 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 store double %101, ptr %105, align 8 br label %106 106: ; preds = %50 %107 = load i32, ptr %13, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %13, align 4 %109 = load i32, ptr %13, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %106 br label %112 112: ; preds = %._crit_edge3, %6 ret void } declare i32 @salpeter(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @rand(...) #1 declare double @acos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @cos(double 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 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp92z_350u.c' source_filename = "/tmp/tmp92z_350u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"xopen.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @errno = 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 store i32 0, ptr %1, align 4 %3 = load i32, ptr @O_RDONLY, align 4 %4 = call i32 @open(ptr noundef @.str, i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @errno, align 4 %9 = add nsw i32 1, %8 br label %11 10: ; preds = %0 br label %11 11: ; preds = %10, %7 %12 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %12 } declare i32 @open(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/tmp92z_350u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"xopen.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @errno = 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 store i32 0, ptr %1, align 4 %3 = load i32, ptr @O_RDONLY, align 4 %4 = call i32 @open(ptr noundef @.str, i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @errno, align 4 %9 = add nsw i32 1, %8 br label %11 10: ; preds = %0 br label %11 11: ; preds = %10, %7 %12 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %12 } declare i32 @open(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/tmpr0qycdka.c' source_filename = "/tmp/tmpr0qycdka.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"[INFO](%s:%d:) dpi_c.get_real(): received %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [216 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/amiq-consulting/amiq_blog/refs/heads/master/amiq_sv_dpi_c_how_to_map_systemverilog_data_types_to_c_using_dpi_c/src/dpi_c_ex.c\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"[INFO](%s:%d:) dpi_c.get_real(): return %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_real(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = load double, ptr %2, align 8 %6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 94, double noundef %5) %7 = load double, ptr %2, align 8 %8 = call double @transform_double(double noundef %7) store double %8, ptr %3, align 8 %9 = load i32, ptr @stderr, align 4 %10 = load double, ptr %3, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 96, double noundef %10) %12 = load double, ptr %3, align 8 ret double %12 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare double @transform_double(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0qycdka.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"[INFO](%s:%d:) dpi_c.get_real(): received %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [216 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/amiq-consulting/amiq_blog/refs/heads/master/amiq_sv_dpi_c_how_to_map_systemverilog_data_types_to_c_using_dpi_c/src/dpi_c_ex.c\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"[INFO](%s:%d:) dpi_c.get_real(): return %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_real(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = load double, ptr %2, align 8 %6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 94, double noundef %5) %7 = load double, ptr %2, align 8 %8 = call double @transform_double(double noundef %7) store double %8, ptr %3, align 8 %9 = load i32, ptr @stderr, align 4 %10 = load double, ptr %3, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 96, double noundef %10) %12 = load double, ptr %3, align 8 ret double %12 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare double @transform_double(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxdhom6dp.c' source_filename = "/tmp/tmpxdhom6dp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdhom6dp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_a0ker3.c' source_filename = "/tmp/tmp3_a0ker3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_copy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call i64 @allocate(i64 noundef %7) %9 = inttoptr i64 %8 to ptr %10 = load ptr, ptr %3, align 8 store ptr %9, ptr %10, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) ret void } declare i64 @allocate(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_a0ker3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_copy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call i64 @allocate(i64 noundef %7) %9 = inttoptr i64 %8 to ptr %10 = load ptr, ptr %3, align 8 store ptr %9, ptr %10, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) ret void } declare i64 @allocate(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6dcvq57d.c' source_filename = "/tmp/tmp6dcvq57d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_al_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr, ptr %3, align 8 %6 = call i32 @fn_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %11, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @fn_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6dcvq57d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_al_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr, ptr %3, align 8 %6 = call i32 @fn_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %11, %9 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @fn_sq_ch_70_ch_117_ch_110_ch_99_ch_116_ch_105_ch_111_ch_110_ch_97_ch_108_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ldwcv3n.c' source_filename = "/tmp/tmp1ldwcv3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stx_sendfile(i32 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i64 %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store i64 %6, ptr %15, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr null, %17 br i1 %18, label %19, label %27 19: ; preds = %7 %20 = load i32, ptr %10, align 4 %21 = load ptr, ptr %14, align 8 %22 = load i64, ptr %15, align 8 %23 = call i32 @send(i32 noundef %20, ptr noundef %21, i64 noundef %22, i32 noundef 0) store i32 %23, ptr %16, align 4 %24 = icmp eq i32 -1, %23 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 -1, ptr %8, align 4 br label %40 26: ; preds = %19 br label %27 27: ; preds = %26, %7 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %11, align 8 %31 = load i64, ptr %12, align 8 %32 = call i32 @sendfile(i32 noundef %28, i32 noundef %29, ptr noundef %30, i64 noundef %31) store i32 %32, ptr %16, align 4 %33 = load i32, ptr %16, align 4 %34 = icmp eq i32 -1, %33 br i1 %34, label %35, label %36 35: ; preds = %27 store i32 -1, ptr %8, align 4 br label %40 36: ; preds = %27 %37 = load i32, ptr %16, align 4 %38 = load ptr, ptr %13, align 8 store i32 %37, ptr %38, align 4 br label %39 39: ; preds = %36 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %39, %35, %25 %41 = load i32, ptr %8, align 4 ret i32 %41 } declare i32 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @sendfile(i32 noundef, i32 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/tmp1ldwcv3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stx_sendfile(i32 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i64 %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store i64 %6, ptr %15, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr null, %17 br i1 %18, label %19, label %27 19: ; preds = %7 %20 = load i32, ptr %10, align 4 %21 = load ptr, ptr %14, align 8 %22 = load i64, ptr %15, align 8 %23 = call i32 @send(i32 noundef %20, ptr noundef %21, i64 noundef %22, i32 noundef 0) store i32 %23, ptr %16, align 4 %24 = icmp eq i32 -1, %23 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 -1, ptr %8, align 4 br label %40 26: ; preds = %19 br label %27 27: ; preds = %26, %7 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %11, align 8 %31 = load i64, ptr %12, align 8 %32 = call i32 @sendfile(i32 noundef %28, i32 noundef %29, ptr noundef %30, i64 noundef %31) store i32 %32, ptr %16, align 4 %33 = load i32, ptr %16, align 4 %34 = icmp eq i32 -1, %33 br i1 %34, label %35, label %36 35: ; preds = %27 store i32 -1, ptr %8, align 4 br label %40 36: ; preds = %27 %37 = load i32, ptr %16, align 4 %38 = load ptr, ptr %13, align 8 store i32 %37, ptr %38, align 4 br label %39 39: ; preds = %36 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %39, %35, %25 %41 = load i32, ptr %8, align 4 ret i32 %41 } declare i32 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @sendfile(i32 noundef, i32 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/tmped3pwrm1.c' source_filename = "/tmp/tmped3pwrm1.c" target datalayout = "e-m:e-p270: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/tmped3pwrm1.c" target datalayout = "e-m:e-p270: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/tmprbi97e1q.c' source_filename = "/tmp/tmprbi97e1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"INVALID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_tpv_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 2147483647, %11 br i1 %12, label %13, label %21 13: ; preds = %4 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = sitofp i32 %15 to double %17 = load i32, ptr %8, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 %20 = call i32 (ptr, ...) @printf(ptr noundef %14, double noundef %19) br label %23 21: ; preds = %4 %22 = call i32 @puts(ptr noundef @.str.1) br label %23 23: ; preds = %21, %13 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprbi97e1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"INVALID\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_tpv_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 2147483647, %11 br i1 %12, label %13, label %21 13: ; preds = %4 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = sitofp i32 %15 to double %17 = load i32, ptr %8, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 %20 = call i32 (ptr, ...) @printf(ptr noundef %14, double noundef %19) br label %23 21: ; preds = %4 %22 = call i32 @puts(ptr noundef @.str.1) br label %23 23: ; preds = %21, %13 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnqwo2xjv.c' source_filename = "/tmp/tmpnqwo2xjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"realloc failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bind_safe_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = mul i64 %9, %10 %12 = call ptr @realloc(ptr noundef %8, i64 noundef %11) #3 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @bind_assert(i32 noundef %15, ptr noundef @.str) %17 = load ptr, ptr %7, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @bind_assert(i32 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpnqwo2xjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"realloc failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bind_safe_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = mul i64 %9, %10 %12 = call ptr @realloc(ptr noundef %8, i64 noundef %11) #3 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @bind_assert(i32 noundef %15, ptr noundef @.str) %17 = load ptr, ptr %7, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @bind_assert(i32 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpzdrbs1pc.c' source_filename = "/tmp/tmpzdrbs1pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET6 = 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/tmpzdrbs1pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET6 = 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/tmpx1cuiug_.c' source_filename = "/tmp/tmpx1cuiug_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = 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/tmpx1cuiug_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = 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/tmpq0ubq6lc.c' source_filename = "/tmp/tmpq0ubq6lc.c" target datalayout = "e-m:e-p270: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/tmpq0ubq6lc.c" target datalayout = "e-m:e-p270: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/tmporl3nnk0.c' source_filename = "/tmp/tmporl3nnk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlPeripheralDeepSleepEnable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65280 %5 = ashr i32 %4, 8 %6 = add nsw i32 1074784256, %5 %7 = and i32 %6, -268435456 %8 = or i32 %7, 33554432 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 65280 %11 = ashr i32 %10, 8 %12 = add nsw i32 1074784256, %11 %13 = and i32 %12, 1048575 %14 = shl i32 %13, 5 %15 = or i32 %8, %14 %16 = load i32, ptr %2, align 4 %17 = and i32 %16, 255 %18 = shl i32 %17, 2 %19 = or i32 %15, %18 %20 = zext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr store volatile i32 1, ptr %21, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmporl3nnk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlPeripheralDeepSleepEnable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65280 %5 = ashr i32 %4, 8 %6 = add nsw i32 1074784256, %5 %7 = and i32 %6, -268435456 %8 = or i32 %7, 33554432 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 65280 %11 = ashr i32 %10, 8 %12 = add nsw i32 1074784256, %11 %13 = and i32 %12, 1048575 %14 = shl i32 %13, 5 %15 = or i32 %8, %14 %16 = load i32, ptr %2, align 4 %17 = and i32 %16, 255 %18 = shl i32 %17, 2 %19 = or i32 %15, %18 %20 = zext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr store volatile i32 1, ptr %21, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsajrcyl6.c' source_filename = "/tmp/tmpsajrcyl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"push\09de\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"l_mult\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"pop\09de\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quikmult(i32 noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %5 = load i32, ptr %3, align 4 switch i32 %5, label %34 [ i32 16, label %6 i32 8, label %8 i32 4, label %10 i32 2, label %12 i32 12, label %14 i32 6, label %16 i32 9, label %18 i32 3, label %20 i32 15, label %22 i32 5, label %24 i32 10, label %26 i32 14, label %29 i32 7, label %31 ] 6: ; preds = %2 %7 = call i32 (...) @doublereg() br label %8 8: ; preds = %2, %6 %9 = call i32 (...) @doublereg() br label %10 10: ; preds = %2, %8 %11 = call i32 (...) @doublereg() br label %12 12: ; preds = %2, %10 %13 = call i32 (...) @doublereg() br label %48 14: ; preds = %2 %15 = call i32 (...) @doublereg() br label %16 16: ; preds = %2, %14 %17 = call i32 (...) @sixreg() br label %48 18: ; preds = %2 %19 = call i32 (...) @threereg() br label %20 20: ; preds = %2, %18 %21 = call i32 (...) @threereg() br label %48 22: ; preds = %2 %23 = call i32 (...) @threereg() br label %24 24: ; preds = %2, %22 %25 = call i32 (...) @fivereg() br label %48 26: ; preds = %2 %27 = call i32 (...) @fivereg() %28 = call i32 (...) @doublereg() br label %48 29: ; preds = %2 %30 = call i32 (...) @doublereg() br label %31 31: ; preds = %2, %29 %32 = call i32 (...) @sixreg() %33 = call i32 (...) @addbc() br label %48 34: ; preds = %2 %35 = load i8, ptr %4, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34 %38 = call i32 @ol(ptr noundef @.str) br label %39 39: ; preds = %37, %34 %40 = load i32, ptr %3, align 4 %41 = call i32 @const2(i32 noundef %40) %42 = call i32 @callrts(ptr noundef @.str.1) %43 = load i8, ptr %4, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %39 %46 = call i32 @ol(ptr noundef @.str.2) br label %47 47: ; preds = %45, %39 br label %48 48: ; preds = %47, %31, %26, %24, %20, %16, %12 ret void } declare i32 @doublereg(...) #1 declare i32 @sixreg(...) #1 declare i32 @threereg(...) #1 declare i32 @fivereg(...) #1 declare i32 @addbc(...) #1 declare i32 @ol(ptr noundef) #1 declare i32 @const2(i32 noundef) #1 declare i32 @callrts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsajrcyl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"push\09de\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"l_mult\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"pop\09de\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quikmult(i32 noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %5 = load i32, ptr %3, align 4 switch i32 %5, label %34 [ i32 16, label %6 i32 8, label %8 i32 4, label %10 i32 2, label %12 i32 12, label %14 i32 6, label %16 i32 9, label %18 i32 3, label %20 i32 15, label %22 i32 5, label %24 i32 10, label %26 i32 14, label %29 i32 7, label %31 ] 6: ; preds = %2 %7 = call i32 (...) @doublereg() br label %8 8: ; preds = %6, %2 %9 = call i32 (...) @doublereg() br label %10 10: ; preds = %8, %2 %11 = call i32 (...) @doublereg() br label %12 12: ; preds = %10, %2 %13 = call i32 (...) @doublereg() br label %48 14: ; preds = %2 %15 = call i32 (...) @doublereg() br label %16 16: ; preds = %14, %2 %17 = call i32 (...) @sixreg() br label %48 18: ; preds = %2 %19 = call i32 (...) @threereg() br label %20 20: ; preds = %18, %2 %21 = call i32 (...) @threereg() br label %48 22: ; preds = %2 %23 = call i32 (...) @threereg() br label %24 24: ; preds = %22, %2 %25 = call i32 (...) @fivereg() br label %48 26: ; preds = %2 %27 = call i32 (...) @fivereg() %28 = call i32 (...) @doublereg() br label %48 29: ; preds = %2 %30 = call i32 (...) @doublereg() br label %31 31: ; preds = %29, %2 %32 = call i32 (...) @sixreg() %33 = call i32 (...) @addbc() br label %48 34: ; preds = %2 %35 = load i8, ptr %4, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34 %38 = call i32 @ol(ptr noundef @.str) br label %39 39: ; preds = %37, %34 %40 = load i32, ptr %3, align 4 %41 = call i32 @const2(i32 noundef %40) %42 = call i32 @callrts(ptr noundef @.str.1) %43 = load i8, ptr %4, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %39 %46 = call i32 @ol(ptr noundef @.str.2) br label %47 47: ; preds = %45, %39 br label %48 48: ; preds = %47, %31, %26, %24, %20, %16, %12 ret void } declare i32 @doublereg(...) #1 declare i32 @sixreg(...) #1 declare i32 @threereg(...) #1 declare i32 @fivereg(...) #1 declare i32 @addbc(...) #1 declare i32 @ol(ptr noundef) #1 declare i32 @const2(i32 noundef) #1 declare i32 @callrts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzcgydoj.c' source_filename = "/tmp/tmplzcgydoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Choose an action\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"0: Exit\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"1: Add\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"2: Del\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"3: Display\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" %d%*c\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"Bye!\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"PID and Priority?\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c" %d %d%*c\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"PID: %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Invalid Input!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %34, %0 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @puts(ptr noundef @.str.1) %8 = call i32 @puts(ptr noundef @.str.2) %9 = call i32 @puts(ptr noundef @.str.3) %10 = call i32 @puts(ptr noundef @.str.4) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2) %12 = load i32, ptr %2, align 4 switch i32 %12, label %30 [ i32 0, label %13 i32 1, label %15 i32 2, label %21 i32 3, label %28 ] 13: ; preds = %5 %14 = call i32 @puts(ptr noundef @.str.6) br label %32 15: ; preds = %5 %16 = call i32 @puts(ptr noundef @.str.7) %17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %3, ptr noundef %4) %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = call i32 @add(i32 noundef %18, i32 noundef %19) br label %32 21: ; preds = %5 %22 = call i32 (...) @del() store i32 %22, ptr %4, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %25) br label %27 27: ; preds = %24, %21 br label %32 28: ; preds = %5 %29 = call i32 (...) @display() br label %32 30: ; preds = %5 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %32 32: ; preds = %30, %28, %27, %15, %13 %33 = call i32 @putchar(i8 noundef signext 10) br label %34 34: ; preds = %32 %35 = load i32, ptr %2, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %5, label %37, !llvm.loop !6 37: ; preds = %34 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @add(i32 noundef, i32 noundef) #1 declare i32 @del(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @display(...) #1 declare i32 @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/tmplzcgydoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Choose an action\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"0: Exit\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"1: Add\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"2: Del\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"3: Display\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" %d%*c\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"Bye!\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"PID and Priority?\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c" %d %d%*c\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"PID: %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Invalid Input!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %34, %0 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @puts(ptr noundef @.str.1) %8 = call i32 @puts(ptr noundef @.str.2) %9 = call i32 @puts(ptr noundef @.str.3) %10 = call i32 @puts(ptr noundef @.str.4) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2) %12 = load i32, ptr %2, align 4 switch i32 %12, label %30 [ i32 0, label %13 i32 1, label %15 i32 2, label %21 i32 3, label %28 ] 13: ; preds = %5 %14 = call i32 @puts(ptr noundef @.str.6) br label %32 15: ; preds = %5 %16 = call i32 @puts(ptr noundef @.str.7) %17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %3, ptr noundef %4) %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = call i32 @add(i32 noundef %18, i32 noundef %19) br label %32 21: ; preds = %5 %22 = call i32 (...) @del() store i32 %22, ptr %4, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %25) br label %27 27: ; preds = %24, %21 br label %32 28: ; preds = %5 %29 = call i32 (...) @display() br label %32 30: ; preds = %5 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %32 32: ; preds = %30, %28, %27, %15, %13 %33 = call i32 @putchar(i8 noundef signext 10) br label %34 34: ; preds = %32 %35 = load i32, ptr %2, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %5, label %37, !llvm.loop !6 37: ; preds = %34 ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @add(i32 noundef, i32 noundef) #1 declare i32 @del(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @display(...) #1 declare i32 @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/tmp5l1bvh7v.c' source_filename = "/tmp/tmp5l1bvh7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [254 x i8] c"\0A\0Ausage: %s [-x xtnum] <list of FITS files>\0Ausage: %s [-x xtnum] -\0A\0AThe former version expects file names.\0AThe latter expects data coming in from stdin.\0A\0A-x xtnum specifies the extension header to print\0A-x 0 specifies main header + all extensions\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr 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/tmp5l1bvh7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [254 x i8] c"\0A\0Ausage: %s [-x xtnum] <list of FITS files>\0Ausage: %s [-x xtnum] -\0A\0AThe former version expects file names.\0AThe latter expects data coming in from stdin.\0A\0A-x xtnum specifies the extension header to print\0A-x 0 specifies main header + all extensions\0A\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr 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/tmprg70cys_.c' source_filename = "/tmp/tmprg70cys_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"\0Ausage: rm (/path/to/FILE)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprg70cys_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"\0Ausage: rm (/path/to/FILE)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0k76vias.c' source_filename = "/tmp/tmp0k76vias.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\0A +-+ Bang ! +-+ \0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"\0A Shut your fucking face, uncle fucka! \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 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @__print_sw_title(ptr noundef %11) store i32 -1, ptr %3, align 4 br label %28 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @__lets_play(ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @__create_tag(ptr noundef %22) %24 = call i32 @printf(ptr noundef @.str) br label %27 25: ; preds = %13 %26 = call i32 @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25, %19 store i32 0, ptr %3, align 4 br label %28 28: ; preds = %27, %8 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @__print_sw_title(ptr noundef) #1 declare i64 @__lets_play(ptr noundef) #1 declare i32 @__create_tag(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0k76vias.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\0A +-+ Bang ! +-+ \0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"\0A Shut your fucking face, uncle fucka! \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 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @__print_sw_title(ptr noundef %11) store i32 -1, ptr %3, align 4 br label %28 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @__lets_play(ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @__create_tag(ptr noundef %22) %24 = call i32 @printf(ptr noundef @.str) br label %27 25: ; preds = %13 %26 = call i32 @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25, %19 store i32 0, ptr %3, align 4 br label %28 28: ; preds = %27, %8 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @__print_sw_title(ptr noundef) #1 declare i64 @__lets_play(ptr noundef) #1 declare i32 @__create_tag(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"}
; ModuleID = '/tmp/tmpou6dtykn.c' source_filename = "/tmp/tmpou6dtykn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In the clock\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clock() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpou6dtykn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In the clock\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clock() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jllnsbg.c' source_filename = "/tmp/tmp6jllnsbg.c" target datalayout = "e-m:e-p270: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/tmp6jllnsbg.c" target datalayout = "e-m:e-p270: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/tmpiowbqog2.c' source_filename = "/tmp/tmpiowbqog2.c" target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [8 x float] [float 0xBF407F6280000000, float 0xC043180DC0000000, float 0x400744DDC0000000, float 0x404FE14BE0000000, float 0xC013178500000000, float 0x3F873DDFC0000000, float 0xBF96EEECC0000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_x(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 float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [8 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, 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 7, ptr %7, align 4 store float 0x3FEE0CE0C0000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %30 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %30, align 16 %31 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %31, align 4 %32 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float 0xC032010620000000, ptr %32, align 8 %33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032018940000000, ptr %33, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %34 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %34, align 16 %35 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %35, align 4 %36 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 0x403200C4A0000000, ptr %36, align 8 %37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4032004180000000, ptr %37, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 32, i1 false) store i32 0, ptr %13, align 4 %38 = load i32, ptr %13, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %76 40: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 br label %41 41: ; preds = %72, %40 %42 = load i32, ptr %14, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %75 45: ; preds = %41 %46 = load i32, ptr %14, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %47 %49 = load float, ptr %48, align 4 %50 = load i32, ptr %14, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %51 %53 = load float, ptr %52, align 4 %54 = fcmp oeq float %49, %53 br i1 %54, label %55, label %56 55: ; preds = %45 br label %72 56: ; preds = %45 %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58 %60 = load float, ptr %59, align 4 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = fsub float %60, %64 %66 = fpext float %65 to double %67 = fdiv double 2.000000e+00, %66 %68 = fptrunc double %67 to float %69 = load i32, ptr %14, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %70 store float %68, ptr %71, align 4 br label %72 72: ; preds = %56, %55 %73 = load i32, ptr %14, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %14, align 4 br label %41, !llvm.loop !6 75: ; preds = %41 br label %76 76: ; preds = %75, %3 %77 = load ptr, ptr %4, align 8 %78 = getelementptr inbounds float, ptr %77, i64 0 %79 = load float, ptr %78, align 4 %80 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %81 = load float, ptr %80, align 16 %82 = fsub float %79, %81 %83 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %84 = load float, ptr %83, align 16 %85 = fmul float %82, %84 %86 = fpext float %85 to double %87 = fadd double 1.000000e+00, %86 %88 = fptrunc double %87 to float store float %88, ptr %15, align 4 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds float, ptr %89, i64 0 %91 = load float, ptr %90, align 4 %92 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %93 = load float, ptr %92, align 16 %94 = fmul float %91, %93 store float %94, ptr %16, align 4 %95 = load ptr, ptr %4, align 8 %96 = getelementptr inbounds float, ptr %95, i64 1 %97 = load float, ptr %96, align 4 %98 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %99 = load float, ptr %98, align 4 %100 = fsub float %97, %99 %101 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %102 = load float, ptr %101, align 4 %103 = fmul float %100, %102 %104 = fpext float %103 to double %105 = fadd double 1.000000e+00, %104 %106 = fptrunc double %105 to float store float %106, ptr %17, align 4 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds float, ptr %107, i64 1 %109 = load float, ptr %108, align 4 %110 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %111 = load float, ptr %110, align 4 %112 = fmul float %109, %111 store float %112, ptr %18, align 4 %113 = load ptr, ptr %4, align 8 %114 = getelementptr inbounds float, ptr %113, i64 2 %115 = load float, ptr %114, align 4 %116 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %117 = load float, ptr %116, align 8 %118 = fsub float %115, %117 %119 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %120 = load float, ptr %119, align 8 %121 = fmul float %118, %120 %122 = fpext float %121 to double %123 = fadd double 1.000000e+00, %122 %124 = fptrunc double %123 to float store float %124, ptr %19, align 4 %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds float, ptr %125, i64 2 %127 = load float, ptr %126, align 4 %128 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %129 = load float, ptr %128, align 8 %130 = fmul float %127, %129 store float %130, ptr %20, align 4 %131 = load ptr, ptr %4, align 8 %132 = getelementptr inbounds float, ptr %131, i64 3 %133 = load float, ptr %132, align 4 %134 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %135 = load float, ptr %134, align 4 %136 = fsub float %133, %135 %137 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %138 = load float, ptr %137, align 4 %139 = fmul float %136, %138 %140 = fpext float %139 to double %141 = fadd double 1.000000e+00, %140 %142 = fptrunc double %141 to float store float %142, ptr %21, align 4 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds float, ptr %143, i64 3 %145 = load float, ptr %144, align 4 %146 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %147 = load float, ptr %146, align 4 %148 = fmul float %145, %147 store float %148, ptr %22, align 4 %149 = load float, ptr %15, align 4 store float %149, ptr %23, align 4 %150 = load float, ptr %17, align 4 store float %150, ptr %24, align 4 %151 = load float, ptr %19, align 4 store float %151, ptr %25, align 4 %152 = load float, ptr %21, align 4 store float %152, ptr %26, align 4 %153 = load float, ptr %8, align 4 %154 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 0 %155 = load float, ptr %154, align 16 %156 = fadd float %153, %155 %157 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 1 %158 = load float, ptr %157, align 4 %159 = load float, ptr %23, align 4 %160 = call float @llvm.fmuladd.f32(float %158, float %159, float %156) %161 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 2 %162 = load float, ptr %161, align 8 %163 = load float, ptr %24, align 4 %164 = call float @llvm.fmuladd.f32(float %162, float %163, float %160) %165 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 3 %166 = load float, ptr %165, align 4 %167 = load float, ptr %25, align 4 %168 = call float @llvm.fmuladd.f32(float %166, float %167, float %164) %169 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 4 %170 = load float, ptr %169, align 16 %171 = load float, ptr %26, align 4 %172 = call float @llvm.fmuladd.f32(float %170, float %171, float %168) %173 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %174 = load float, ptr %173, align 4 %175 = load float, ptr %23, align 4 %176 = fmul float %174, %175 %177 = load float, ptr %24, align 4 %178 = call float @llvm.fmuladd.f32(float %176, float %177, float %172) %179 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %180 = load float, ptr %179, align 8 %181 = load float, ptr %25, align 4 %182 = fmul float %180, %181 %183 = load float, ptr %26, align 4 %184 = call float @llvm.fmuladd.f32(float %182, float %183, float %178) store float %184, ptr %27, align 4 %185 = load float, ptr %16, align 4 %186 = fadd float 0.000000e+00, %185 %187 = load float, ptr %18, align 4 %188 = fadd float %186, %187 %189 = load float, ptr %20, align 4 %190 = fadd float %188, %189 %191 = load float, ptr %22, align 4 %192 = fadd float %190, %191 store float %192, ptr %28, align 4 %193 = load float, ptr %28, align 4 %194 = fcmp oeq float %193, 0.000000e+00 br i1 %194, label %195, label %196 195: ; preds = %76 br label %246 196: ; preds = %76 %197 = load float, ptr %16, align 4 %198 = load float, ptr %16, align 4 %199 = fmul float %197, %198 %200 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 1 %201 = load float, ptr %200, align 4 %202 = fadd float 0.000000e+00, %201 %203 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %204 = load float, ptr %203, align 4 %205 = load float, ptr %24, align 4 %206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202) %207 = call float @pow(float noundef %206, i32 noundef 2) %208 = load float, ptr %18, align 4 %209 = load float, ptr %18, align 4 %210 = fmul float %208, %209 %211 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 2 %212 = load float, ptr %211, align 8 %213 = fadd float 0.000000e+00, %212 %214 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %215 = load float, ptr %214, align 4 %216 = load float, ptr %23, align 4 %217 = call float @llvm.fmuladd.f32(float %215, float %216, float %213) %218 = call float @pow(float noundef %217, i32 noundef 2) %219 = fmul float %210, %218 %220 = call float @llvm.fmuladd.f32(float %199, float %207, float %219) %221 = load float, ptr %20, align 4 %222 = load float, ptr %20, align 4 %223 = fmul float %221, %222 %224 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 3 %225 = load float, ptr %224, align 4 %226 = fadd float 0.000000e+00, %225 %227 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %228 = load float, ptr %227, align 8 %229 = load float, ptr %26, align 4 %230 = call float @llvm.fmuladd.f32(float %228, float %229, float %226) %231 = call float @pow(float noundef %230, i32 noundef 2) %232 = call float @llvm.fmuladd.f32(float %223, float %231, float %220) %233 = load float, ptr %22, align 4 %234 = load float, ptr %22, align 4 %235 = fmul float %233, %234 %236 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 4 %237 = load float, ptr %236, align 16 %238 = fadd float 0.000000e+00, %237 %239 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %240 = load float, ptr %239, align 8 %241 = load float, ptr %25, align 4 %242 = call float @llvm.fmuladd.f32(float %240, float %241, float %238) %243 = call float @pow(float noundef %242, i32 noundef 2) %244 = call float @llvm.fmuladd.f32(float %235, float %243, float %232) %245 = call float @sqrt(float noundef %244) br label %246 246: ; preds = %196, %195 %247 = phi float [ 0.000000e+00, %195 ], [ %245, %196 ] store float %247, ptr %29, align 4 %248 = load float, ptr %29, align 4 %249 = load ptr, ptr %5, align 8 %250 = getelementptr inbounds float, ptr %249, i64 0 store float %248, ptr %250, align 4 %251 = load float, ptr %27, align 4 ret float %251 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpiowbqog2.c" target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [8 x float] [float 0xBF407F6280000000, float 0xC043180DC0000000, float 0x400744DDC0000000, float 0x404FE14BE0000000, float 0xC013178500000000, float 0x3F873DDFC0000000, float 0xBF96EEECC0000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_x(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 float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [8 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, 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 7, ptr %7, align 4 store float 0x3FEE0CE0C0000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %30 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %30, align 16 %31 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %31, align 4 %32 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float 0xC032010620000000, ptr %32, align 8 %33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032018940000000, ptr %33, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %34 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %34, align 16 %35 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %35, align 4 %36 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 0x403200C4A0000000, ptr %36, align 8 %37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4032004180000000, ptr %37, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 32, i1 false) store i32 0, ptr %13, align 4 %38 = load i32, ptr %13, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %78 40: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %77 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %71 %45 = load i32, ptr %14, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %46 %48 = load float, ptr %47, align 4 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = fcmp oeq float %48, %52 br i1 %53, label %54, label %55 54: ; preds = %44 br label %71 55: ; preds = %44 %56 = load i32, ptr %14, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %57 %59 = load float, ptr %58, align 4 %60 = load i32, ptr %14, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %61 %63 = load float, ptr %62, align 4 %64 = fsub float %59, %63 %65 = fpext float %64 to double %66 = fdiv double 2.000000e+00, %65 %67 = fptrunc double %66 to float %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %69 store float %67, ptr %70, align 4 br label %71 71: ; preds = %55, %54 %72 = load i32, ptr %14, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %14, align 4 %74 = load i32, ptr %14, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %40 br label %78 78: ; preds = %77, %3 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds float, ptr %79, i64 0 %81 = load float, ptr %80, align 4 %82 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %83 = load float, ptr %82, align 16 %84 = fsub float %81, %83 %85 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %86 = load float, ptr %85, align 16 %87 = fmul float %84, %86 %88 = fpext float %87 to double %89 = fadd double 1.000000e+00, %88 %90 = fptrunc double %89 to float store float %90, ptr %15, align 4 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds float, ptr %91, i64 0 %93 = load float, ptr %92, align 4 %94 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %95 = load float, ptr %94, align 16 %96 = fmul float %93, %95 store float %96, ptr %16, align 4 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds float, ptr %97, i64 1 %99 = load float, ptr %98, align 4 %100 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %101 = load float, ptr %100, align 4 %102 = fsub float %99, %101 %103 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %104 = load float, ptr %103, align 4 %105 = fmul float %102, %104 %106 = fpext float %105 to double %107 = fadd double 1.000000e+00, %106 %108 = fptrunc double %107 to float store float %108, ptr %17, align 4 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds float, ptr %109, i64 1 %111 = load float, ptr %110, align 4 %112 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %113 = load float, ptr %112, align 4 %114 = fmul float %111, %113 store float %114, ptr %18, align 4 %115 = load ptr, ptr %4, align 8 %116 = getelementptr inbounds float, ptr %115, i64 2 %117 = load float, ptr %116, align 4 %118 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %119 = load float, ptr %118, align 8 %120 = fsub float %117, %119 %121 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %122 = load float, ptr %121, align 8 %123 = fmul float %120, %122 %124 = fpext float %123 to double %125 = fadd double 1.000000e+00, %124 %126 = fptrunc double %125 to float store float %126, ptr %19, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds float, ptr %127, i64 2 %129 = load float, ptr %128, align 4 %130 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %131 = load float, ptr %130, align 8 %132 = fmul float %129, %131 store float %132, ptr %20, align 4 %133 = load ptr, ptr %4, align 8 %134 = getelementptr inbounds float, ptr %133, i64 3 %135 = load float, ptr %134, align 4 %136 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %137 = load float, ptr %136, align 4 %138 = fsub float %135, %137 %139 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %140 = load float, ptr %139, align 4 %141 = fmul float %138, %140 %142 = fpext float %141 to double %143 = fadd double 1.000000e+00, %142 %144 = fptrunc double %143 to float store float %144, ptr %21, align 4 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds float, ptr %145, i64 3 %147 = load float, ptr %146, align 4 %148 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %149 = load float, ptr %148, align 4 %150 = fmul float %147, %149 store float %150, ptr %22, align 4 %151 = load float, ptr %15, align 4 store float %151, ptr %23, align 4 %152 = load float, ptr %17, align 4 store float %152, ptr %24, align 4 %153 = load float, ptr %19, align 4 store float %153, ptr %25, align 4 %154 = load float, ptr %21, align 4 store float %154, ptr %26, align 4 %155 = load float, ptr %8, align 4 %156 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 0 %157 = load float, ptr %156, align 16 %158 = fadd float %155, %157 %159 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 1 %160 = load float, ptr %159, align 4 %161 = load float, ptr %23, align 4 %162 = call float @llvm.fmuladd.f32(float %160, float %161, float %158) %163 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 2 %164 = load float, ptr %163, align 8 %165 = load float, ptr %24, align 4 %166 = call float @llvm.fmuladd.f32(float %164, float %165, float %162) %167 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 3 %168 = load float, ptr %167, align 4 %169 = load float, ptr %25, align 4 %170 = call float @llvm.fmuladd.f32(float %168, float %169, float %166) %171 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 4 %172 = load float, ptr %171, align 16 %173 = load float, ptr %26, align 4 %174 = call float @llvm.fmuladd.f32(float %172, float %173, float %170) %175 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %176 = load float, ptr %175, align 4 %177 = load float, ptr %23, align 4 %178 = fmul float %176, %177 %179 = load float, ptr %24, align 4 %180 = call float @llvm.fmuladd.f32(float %178, float %179, float %174) %181 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %182 = load float, ptr %181, align 8 %183 = load float, ptr %25, align 4 %184 = fmul float %182, %183 %185 = load float, ptr %26, align 4 %186 = call float @llvm.fmuladd.f32(float %184, float %185, float %180) store float %186, ptr %27, align 4 %187 = load float, ptr %16, align 4 %188 = fadd float 0.000000e+00, %187 %189 = load float, ptr %18, align 4 %190 = fadd float %188, %189 %191 = load float, ptr %20, align 4 %192 = fadd float %190, %191 %193 = load float, ptr %22, align 4 %194 = fadd float %192, %193 store float %194, ptr %28, align 4 %195 = load float, ptr %28, align 4 %196 = fcmp oeq float %195, 0.000000e+00 br i1 %196, label %197, label %198 197: ; preds = %78 br label %248 198: ; preds = %78 %199 = load float, ptr %16, align 4 %200 = load float, ptr %16, align 4 %201 = fmul float %199, %200 %202 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 1 %203 = load float, ptr %202, align 4 %204 = fadd float 0.000000e+00, %203 %205 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %206 = load float, ptr %205, align 4 %207 = load float, ptr %24, align 4 %208 = call float @llvm.fmuladd.f32(float %206, float %207, float %204) %209 = call float @pow(float noundef %208, i32 noundef 2) %210 = load float, ptr %18, align 4 %211 = load float, ptr %18, align 4 %212 = fmul float %210, %211 %213 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 2 %214 = load float, ptr %213, align 8 %215 = fadd float 0.000000e+00, %214 %216 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 5 %217 = load float, ptr %216, align 4 %218 = load float, ptr %23, align 4 %219 = call float @llvm.fmuladd.f32(float %217, float %218, float %215) %220 = call float @pow(float noundef %219, i32 noundef 2) %221 = fmul float %212, %220 %222 = call float @llvm.fmuladd.f32(float %201, float %209, float %221) %223 = load float, ptr %20, align 4 %224 = load float, ptr %20, align 4 %225 = fmul float %223, %224 %226 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 3 %227 = load float, ptr %226, align 4 %228 = fadd float 0.000000e+00, %227 %229 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %230 = load float, ptr %229, align 8 %231 = load float, ptr %26, align 4 %232 = call float @llvm.fmuladd.f32(float %230, float %231, float %228) %233 = call float @pow(float noundef %232, i32 noundef 2) %234 = call float @llvm.fmuladd.f32(float %225, float %233, float %222) %235 = load float, ptr %22, align 4 %236 = load float, ptr %22, align 4 %237 = fmul float %235, %236 %238 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 4 %239 = load float, ptr %238, align 16 %240 = fadd float 0.000000e+00, %239 %241 = getelementptr inbounds [8 x float], ptr %12, i64 0, i64 6 %242 = load float, ptr %241, align 8 %243 = load float, ptr %25, align 4 %244 = call float @llvm.fmuladd.f32(float %242, float %243, float %240) %245 = call float @pow(float noundef %244, i32 noundef 2) %246 = call float @llvm.fmuladd.f32(float %237, float %245, float %234) %247 = call float @sqrt(float noundef %246) br label %248 248: ; preds = %198, %197 %249 = phi float [ 0.000000e+00, %197 ], [ %247, %198 ] store float %249, ptr %29, align 4 %250 = load float, ptr %29, align 4 %251 = load ptr, ptr %5, align 8 %252 = getelementptr inbounds float, ptr %251, i64 0 store float %250, ptr %252, align 4 %253 = load float, ptr %27, align 4 ret float %253 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpa__j15x5.c' source_filename = "/tmp/tmpa__j15x5.c" target datalayout = "e-m:e-p270: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 [61 x i8] c"pixel_split_bayer_planes_8u: dst[%d] is not 16-byte aligned\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"pixel_split_bayer_planes_8u: src is not 16-byte aligned\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pixel_split_bayer_planes_8u(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 0, ptr %15, align 4 br label %37 37: ; preds = %59, %6 %38 = load i32, ptr %15, align 4 %39 = icmp slt i32 %38, 4 br i1 %39, label %40, label %62 40: ; preds = %37 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %15, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = ptrtoint ptr %45 to i64 %47 = and i64 %46, 15 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %40 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = and i64 %51, 15 %53 = icmp eq i64 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %49, %40 %55 = load i32, ptr @stderr, align 4 %56 = load i32, ptr %15, align 4 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str, i32 noundef %56) store i32 -1, ptr %7, align 4 br label %353 58: ; preds = %49 br label %59 59: ; preds = %58 %60 = load i32, ptr %15, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %15, align 4 br label %37, !llvm.loop !6 62: ; preds = %37 %63 = load ptr, ptr %10, align 8 %64 = ptrtoint ptr %63 to i64 %65 = and i64 %64, 15 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %62 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = and i64 %69, 15 %71 = icmp eq i64 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %67, %62 %73 = load i32, ptr @stderr, align 4 %74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %353 75: ; preds = %67 %76 = load i32, ptr %11, align 4 %77 = sext i32 %76 to i64 %78 = and i64 %77, 31 %79 = icmp eq i64 %78, 0 br i1 %79, label %83, label %80 80: ; preds = %75 %81 = load i32, ptr %12, align 4 %82 = sub nsw i32 %81, 8 store i32 %82, ptr %12, align 4 br label %83 83: ; preds = %80, %75 %84 = call i32 @_mm_set1_epi16(i32 noundef 255) store i32 %84, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %85 85: ; preds = %226, %83 %86 = load i32, ptr %15, align 4 %87 = load i32, ptr %13, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %229 89: ; preds = %85 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds ptr, ptr %90, i64 0 %92 = load ptr, ptr %91, align 8 %93 = load i32, ptr %15, align 4 %94 = load i32, ptr %9, align 4 %95 = mul nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %92, i64 %96 store ptr %97, ptr %17, align 8 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 1 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr %15, align 4 %102 = load i32, ptr %9, align 4 %103 = mul nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %100, i64 %104 store ptr %105, ptr %18, align 8 %106 = load ptr, ptr %8, align 8 %107 = getelementptr inbounds ptr, ptr %106, i64 2 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %15, align 4 %110 = load i32, ptr %9, align 4 %111 = mul nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %108, i64 %112 store ptr %113, ptr %19, align 8 %114 = load ptr, ptr %8, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 3 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %9, align 4 %119 = mul nsw i32 %117, %118 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %116, i64 %120 store ptr %121, ptr %20, align 8 %122 = load ptr, ptr %10, align 8 %123 = load i32, ptr %15, align 4 %124 = mul nsw i32 2, %123 %125 = load i32, ptr %11, align 4 %126 = mul nsw i32 %124, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %122, i64 %127 store ptr %128, ptr %21, align 8 store i32 0, ptr %16, align 4 br label %129 129: ; preds = %222, %89 %130 = load i32, ptr %16, align 4 %131 = load i32, ptr %12, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %133, label %225 133: ; preds = %129 %134 = load ptr, ptr %21, align 8 %135 = load i32, ptr %16, align 4 %136 = mul nsw i32 2, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %134, i64 %137 %139 = call i32 @_mm_load_si128(ptr noundef %138) store i32 %139, ptr %22, align 4 %140 = load ptr, ptr %21, align 8 %141 = load i32, ptr %16, align 4 %142 = mul nsw i32 2, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %140, i64 %143 %145 = getelementptr inbounds i32, ptr %144, i64 16 %146 = call i32 @_mm_load_si128(ptr noundef %145) store i32 %146, ptr %23, align 4 %147 = load i32, ptr %22, align 4 %148 = load i32, ptr %14, align 4 %149 = call i32 @_mm_and_si128(i32 noundef %147, i32 noundef %148) store i32 %149, ptr %24, align 4 %150 = load i32, ptr %23, align 4 %151 = load i32, ptr %14, align 4 %152 = call i32 @_mm_and_si128(i32 noundef %150, i32 noundef %151) store i32 %152, ptr %25, align 4 %153 = load i32, ptr %24, align 4 %154 = load i32, ptr %25, align 4 %155 = call i32 @_mm_packus_epi16(i32 noundef %153, i32 noundef %154) store i32 %155, ptr %26, align 4 %156 = load ptr, ptr %17, align 8 %157 = load i32, ptr %16, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i32, ptr %156, i64 %158 %160 = load i32, ptr %26, align 4 %161 = call i32 @_mm_store_si128(ptr noundef %159, i32 noundef %160) %162 = load i32, ptr %22, align 4 %163 = call i32 @_mm_srli_epi16(i32 noundef %162, i32 noundef 8) store i32 %163, ptr %24, align 4 %164 = load i32, ptr %23, align 4 %165 = call i32 @_mm_srli_epi16(i32 noundef %164, i32 noundef 8) store i32 %165, ptr %25, align 4 %166 = load i32, ptr %24, align 4 %167 = load i32, ptr %25, align 4 %168 = call i32 @_mm_packus_epi16(i32 noundef %166, i32 noundef %167) store i32 %168, ptr %26, align 4 %169 = load ptr, ptr %18, align 8 %170 = load i32, ptr %16, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %169, i64 %171 %173 = load i32, ptr %26, align 4 %174 = call i32 @_mm_store_si128(ptr noundef %172, i32 noundef %173) %175 = load ptr, ptr %21, align 8 %176 = load i32, ptr %11, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 %179 = load i32, ptr %16, align 4 %180 = mul nsw i32 2, %179 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i32, ptr %178, i64 %181 %183 = call i32 @_mm_load_si128(ptr noundef %182) store i32 %183, ptr %22, align 4 %184 = load ptr, ptr %21, align 8 %185 = load i32, ptr %11, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i32, ptr %184, i64 %186 %188 = load i32, ptr %16, align 4 %189 = mul nsw i32 2, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i32, ptr %187, i64 %190 %192 = getelementptr inbounds i32, ptr %191, i64 16 %193 = call i32 @_mm_load_si128(ptr noundef %192) store i32 %193, ptr %23, align 4 %194 = load i32, ptr %22, align 4 %195 = load i32, ptr %14, align 4 %196 = call i32 @_mm_and_si128(i32 noundef %194, i32 noundef %195) store i32 %196, ptr %24, align 4 %197 = load i32, ptr %23, align 4 %198 = load i32, ptr %14, align 4 %199 = call i32 @_mm_and_si128(i32 noundef %197, i32 noundef %198) store i32 %199, ptr %25, align 4 %200 = load i32, ptr %24, align 4 %201 = load i32, ptr %25, align 4 %202 = call i32 @_mm_packus_epi16(i32 noundef %200, i32 noundef %201) store i32 %202, ptr %26, align 4 %203 = load ptr, ptr %19, align 8 %204 = load i32, ptr %16, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %203, i64 %205 %207 = load i32, ptr %26, align 4 %208 = call i32 @_mm_store_si128(ptr noundef %206, i32 noundef %207) %209 = load i32, ptr %22, align 4 %210 = call i32 @_mm_srli_epi16(i32 noundef %209, i32 noundef 8) store i32 %210, ptr %24, align 4 %211 = load i32, ptr %23, align 4 %212 = call i32 @_mm_srli_epi16(i32 noundef %211, i32 noundef 8) store i32 %212, ptr %25, align 4 %213 = load i32, ptr %24, align 4 %214 = load i32, ptr %25, align 4 %215 = call i32 @_mm_packus_epi16(i32 noundef %213, i32 noundef %214) store i32 %215, ptr %26, align 4 %216 = load ptr, ptr %20, align 8 %217 = load i32, ptr %16, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i32, ptr %216, i64 %218 %220 = load i32, ptr %26, align 4 %221 = call i32 @_mm_store_si128(ptr noundef %219, i32 noundef %220) br label %222 222: ; preds = %133 %223 = load i32, ptr %16, align 4 %224 = add nsw i32 %223, 16 store i32 %224, ptr %16, align 4 br label %129, !llvm.loop !8 225: ; preds = %129 br label %226 226: ; preds = %225 %227 = load i32, ptr %15, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %15, align 4 br label %85, !llvm.loop !9 229: ; preds = %85 %230 = load i32, ptr %11, align 4 %231 = sext i32 %230 to i64 %232 = and i64 %231, 31 %233 = icmp eq i64 %232, 0 br i1 %233, label %234, label %235 234: ; preds = %229 store i32 0, ptr %7, align 4 br label %353 235: ; preds = %229 %236 = load ptr, ptr %10, align 8 %237 = load i32, ptr %12, align 4 %238 = mul nsw i32 2, %237 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %236, i64 %239 store ptr %240, ptr %27, align 8 %241 = load ptr, ptr %10, align 8 %242 = load i32, ptr %12, align 4 %243 = mul nsw i32 2, %242 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i32, ptr %241, i64 %244 %246 = load i32, ptr %11, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds i32, ptr %245, i64 %247 store ptr %248, ptr %28, align 8 %249 = load ptr, ptr %8, align 8 %250 = getelementptr inbounds ptr, ptr %249, i64 0 %251 = load ptr, ptr %250, align 8 %252 = load i32, ptr %12, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds i32, ptr %251, i64 %253 store ptr %254, ptr %29, align 8 %255 = load ptr, ptr %8, align 8 %256 = getelementptr inbounds ptr, ptr %255, i64 1 %257 = load ptr, ptr %256, align 8 %258 = load i32, ptr %12, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds i32, ptr %257, i64 %259 store ptr %260, ptr %30, align 8 %261 = load ptr, ptr %8, align 8 %262 = getelementptr inbounds ptr, ptr %261, i64 2 %263 = load ptr, ptr %262, align 8 %264 = load i32, ptr %12, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds i32, ptr %263, i64 %265 store ptr %266, ptr %31, align 8 %267 = load ptr, ptr %8, align 8 %268 = getelementptr inbounds ptr, ptr %267, i64 3 %269 = load ptr, ptr %268, align 8 %270 = load i32, ptr %12, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i32, ptr %269, i64 %271 store ptr %272, ptr %32, align 8 %273 = call i32 @_mm_set1_epi16(i32 noundef 0) store i32 %273, ptr %33, align 4 store i32 0, ptr %15, align 4 br label %274 274: ; preds = %349, %235 %275 = load i32, ptr %15, align 4 %276 = load i32, ptr %13, align 4 %277 = icmp slt i32 %275, %276 br i1 %277, label %278, label %352 278: ; preds = %274 %279 = load ptr, ptr %27, align 8 %280 = load i32, ptr %15, align 4 %281 = mul nsw i32 2, %280 %282 = load i32, ptr %11, align 4 %283 = mul nsw i32 %281, %282 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i32, ptr %279, i64 %284 %286 = call i32 @_mm_load_si128(ptr noundef %285) store i32 %286, ptr %34, align 4 %287 = load i32, ptr %34, align 4 %288 = load i32, ptr %14, align 4 %289 = call i32 @_mm_and_si128(i32 noundef %287, i32 noundef %288) store i32 %289, ptr %35, align 4 %290 = load i32, ptr %35, align 4 %291 = load i32, ptr %33, align 4 %292 = call i32 @_mm_packus_epi16(i32 noundef %290, i32 noundef %291) store i32 %292, ptr %36, align 4 %293 = load ptr, ptr %29, align 8 %294 = load i32, ptr %15, align 4 %295 = load i32, ptr %9, align 4 %296 = mul nsw i32 %294, %295 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i32, ptr %293, i64 %297 %299 = load i32, ptr %36, align 4 %300 = call i32 @_mm_store_si128(ptr noundef %298, i32 noundef %299) %301 = load i32, ptr %34, align 4 %302 = call i32 @_mm_srli_epi16(i32 noundef %301, i32 noundef 8) store i32 %302, ptr %35, align 4 %303 = load i32, ptr %35, align 4 %304 = load i32, ptr %33, align 4 %305 = call i32 @_mm_packus_epi16(i32 noundef %303, i32 noundef %304) store i32 %305, ptr %36, align 4 %306 = load ptr, ptr %30, align 8 %307 = load i32, ptr %15, align 4 %308 = load i32, ptr %9, align 4 %309 = mul nsw i32 %307, %308 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds i32, ptr %306, i64 %310 %312 = load i32, ptr %36, align 4 %313 = call i32 @_mm_store_si128(ptr noundef %311, i32 noundef %312) %314 = load ptr, ptr %28, align 8 %315 = load i32, ptr %15, align 4 %316 = mul nsw i32 2, %315 %317 = load i32, ptr %11, align 4 %318 = mul nsw i32 %316, %317 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds i32, ptr %314, i64 %319 %321 = call i32 @_mm_load_si128(ptr noundef %320) store i32 %321, ptr %34, align 4 %322 = load i32, ptr %34, align 4 %323 = load i32, ptr %14, align 4 %324 = call i32 @_mm_and_si128(i32 noundef %322, i32 noundef %323) store i32 %324, ptr %35, align 4 %325 = load i32, ptr %35, align 4 %326 = load i32, ptr %33, align 4 %327 = call i32 @_mm_packus_epi16(i32 noundef %325, i32 noundef %326) store i32 %327, ptr %36, align 4 %328 = load ptr, ptr %31, align 8 %329 = load i32, ptr %15, align 4 %330 = load i32, ptr %9, align 4 %331 = mul nsw i32 %329, %330 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds i32, ptr %328, i64 %332 %334 = load i32, ptr %36, align 4 %335 = call i32 @_mm_store_si128(ptr noundef %333, i32 noundef %334) %336 = load i32, ptr %34, align 4 %337 = call i32 @_mm_srli_epi16(i32 noundef %336, i32 noundef 8) store i32 %337, ptr %35, align 4 %338 = load i32, ptr %35, align 4 %339 = load i32, ptr %33, align 4 %340 = call i32 @_mm_packus_epi16(i32 noundef %338, i32 noundef %339) store i32 %340, ptr %36, align 4 %341 = load ptr, ptr %32, align 8 %342 = load i32, ptr %15, align 4 %343 = load i32, ptr %9, align 4 %344 = mul nsw i32 %342, %343 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds i32, ptr %341, i64 %345 %347 = load i32, ptr %36, align 4 %348 = call i32 @_mm_store_si128(ptr noundef %346, i32 noundef %347) br label %349 349: ; preds = %278 %350 = load i32, ptr %15, align 4 %351 = add nsw i32 %350, 1 store i32 %351, ptr %15, align 4 br label %274, !llvm.loop !10 352: ; preds = %274 store i32 0, ptr %7, align 4 br label %353 353: ; preds = %352, %234, %72, %54 %354 = load i32, ptr %7, align 4 ret i32 %354 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @_mm_set1_epi16(i32 noundef) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_and_si128(i32 noundef, i32 noundef) #1 declare i32 @_mm_packus_epi16(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_si128(ptr noundef, i32 noundef) #1 declare i32 @_mm_srli_epi16(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa__j15x5.c" target datalayout = "e-m:e-p270: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 [61 x i8] c"pixel_split_bayer_planes_8u: dst[%d] is not 16-byte aligned\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"pixel_split_bayer_planes_8u: src is not 16-byte aligned\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pixel_split_bayer_planes_8u(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 0, ptr %15, align 4 %37 = load i32, ptr %15, align 4 %38 = icmp slt i32 %37, 4 br i1 %38, label %.lr.ph, label %63 .lr.ph: ; preds = %6 br label %39 39: ; preds = %.lr.ph, %58 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %15, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = ptrtoint ptr %44 to i64 %46 = and i64 %45, 15 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %53 48: ; preds = %39 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = and i64 %50, 15 %52 = icmp eq i64 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %48, %39 %54 = load i32, ptr @stderr, align 4 %55 = load i32, ptr %15, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str, i32 noundef %55) store i32 -1, ptr %7, align 4 br label %360 57: ; preds = %48 br label %58 58: ; preds = %57 %59 = load i32, ptr %15, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %15, align 4 %61 = load i32, ptr %15, align 4 %62 = icmp slt i32 %61, 4 br i1 %62, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %63 63: ; preds = %._crit_edge, %6 %64 = load ptr, ptr %10, align 8 %65 = ptrtoint ptr %64 to i64 %66 = and i64 %65, 15 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %73 68: ; preds = %63 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = and i64 %70, 15 %72 = icmp eq i64 %71, 0 br i1 %72, label %76, label %73 73: ; preds = %68, %63 %74 = load i32, ptr @stderr, align 4 %75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %360 76: ; preds = %68 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = and i64 %78, 31 %80 = icmp eq i64 %79, 0 br i1 %80, label %84, label %81 81: ; preds = %76 %82 = load i32, ptr %12, align 4 %83 = sub nsw i32 %82, 8 store i32 %83, ptr %12, align 4 br label %84 84: ; preds = %81, %76 %85 = call i32 @_mm_set1_epi16(i32 noundef 255) store i32 %85, ptr %14, align 4 store i32 0, ptr %15, align 4 %86 = load i32, ptr %15, align 4 %87 = load i32, ptr %13, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph5, label %234 .lr.ph5: ; preds = %84 br label %89 89: ; preds = %.lr.ph5, %228 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds ptr, ptr %90, i64 0 %92 = load ptr, ptr %91, align 8 %93 = load i32, ptr %15, align 4 %94 = load i32, ptr %9, align 4 %95 = mul nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %92, i64 %96 store ptr %97, ptr %17, align 8 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds ptr, ptr %98, i64 1 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr %15, align 4 %102 = load i32, ptr %9, align 4 %103 = mul nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %100, i64 %104 store ptr %105, ptr %18, align 8 %106 = load ptr, ptr %8, align 8 %107 = getelementptr inbounds ptr, ptr %106, i64 2 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %15, align 4 %110 = load i32, ptr %9, align 4 %111 = mul nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %108, i64 %112 store ptr %113, ptr %19, align 8 %114 = load ptr, ptr %8, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 3 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %9, align 4 %119 = mul nsw i32 %117, %118 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %116, i64 %120 store ptr %121, ptr %20, align 8 %122 = load ptr, ptr %10, align 8 %123 = load i32, ptr %15, align 4 %124 = mul nsw i32 2, %123 %125 = load i32, ptr %11, align 4 %126 = mul nsw i32 %124, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %122, i64 %127 store ptr %128, ptr %21, align 8 store i32 0, ptr %16, align 4 %129 = load i32, ptr %16, align 4 %130 = load i32, ptr %12, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph2, label %227 .lr.ph2: ; preds = %89 br label %132 132: ; preds = %.lr.ph2, %221 %133 = load ptr, ptr %21, align 8 %134 = load i32, ptr %16, align 4 %135 = mul nsw i32 2, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i32, ptr %133, i64 %136 %138 = call i32 @_mm_load_si128(ptr noundef %137) store i32 %138, ptr %22, align 4 %139 = load ptr, ptr %21, align 8 %140 = load i32, ptr %16, align 4 %141 = mul nsw i32 2, %140 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %139, i64 %142 %144 = getelementptr inbounds i32, ptr %143, i64 16 %145 = call i32 @_mm_load_si128(ptr noundef %144) store i32 %145, ptr %23, align 4 %146 = load i32, ptr %22, align 4 %147 = load i32, ptr %14, align 4 %148 = call i32 @_mm_and_si128(i32 noundef %146, i32 noundef %147) store i32 %148, ptr %24, align 4 %149 = load i32, ptr %23, align 4 %150 = load i32, ptr %14, align 4 %151 = call i32 @_mm_and_si128(i32 noundef %149, i32 noundef %150) store i32 %151, ptr %25, align 4 %152 = load i32, ptr %24, align 4 %153 = load i32, ptr %25, align 4 %154 = call i32 @_mm_packus_epi16(i32 noundef %152, i32 noundef %153) store i32 %154, ptr %26, align 4 %155 = load ptr, ptr %17, align 8 %156 = load i32, ptr %16, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i32, ptr %155, i64 %157 %159 = load i32, ptr %26, align 4 %160 = call i32 @_mm_store_si128(ptr noundef %158, i32 noundef %159) %161 = load i32, ptr %22, align 4 %162 = call i32 @_mm_srli_epi16(i32 noundef %161, i32 noundef 8) store i32 %162, ptr %24, align 4 %163 = load i32, ptr %23, align 4 %164 = call i32 @_mm_srli_epi16(i32 noundef %163, i32 noundef 8) store i32 %164, ptr %25, align 4 %165 = load i32, ptr %24, align 4 %166 = load i32, ptr %25, align 4 %167 = call i32 @_mm_packus_epi16(i32 noundef %165, i32 noundef %166) store i32 %167, ptr %26, align 4 %168 = load ptr, ptr %18, align 8 %169 = load i32, ptr %16, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %168, i64 %170 %172 = load i32, ptr %26, align 4 %173 = call i32 @_mm_store_si128(ptr noundef %171, i32 noundef %172) %174 = load ptr, ptr %21, align 8 %175 = load i32, ptr %11, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i32, ptr %174, i64 %176 %178 = load i32, ptr %16, align 4 %179 = mul nsw i32 2, %178 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i32, ptr %177, i64 %180 %182 = call i32 @_mm_load_si128(ptr noundef %181) store i32 %182, ptr %22, align 4 %183 = load ptr, ptr %21, align 8 %184 = load i32, ptr %11, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %16, align 4 %188 = mul nsw i32 2, %187 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %186, i64 %189 %191 = getelementptr inbounds i32, ptr %190, i64 16 %192 = call i32 @_mm_load_si128(ptr noundef %191) store i32 %192, ptr %23, align 4 %193 = load i32, ptr %22, align 4 %194 = load i32, ptr %14, align 4 %195 = call i32 @_mm_and_si128(i32 noundef %193, i32 noundef %194) store i32 %195, ptr %24, align 4 %196 = load i32, ptr %23, align 4 %197 = load i32, ptr %14, align 4 %198 = call i32 @_mm_and_si128(i32 noundef %196, i32 noundef %197) store i32 %198, ptr %25, align 4 %199 = load i32, ptr %24, align 4 %200 = load i32, ptr %25, align 4 %201 = call i32 @_mm_packus_epi16(i32 noundef %199, i32 noundef %200) store i32 %201, ptr %26, align 4 %202 = load ptr, ptr %19, align 8 %203 = load i32, ptr %16, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i32, ptr %202, i64 %204 %206 = load i32, ptr %26, align 4 %207 = call i32 @_mm_store_si128(ptr noundef %205, i32 noundef %206) %208 = load i32, ptr %22, align 4 %209 = call i32 @_mm_srli_epi16(i32 noundef %208, i32 noundef 8) store i32 %209, ptr %24, align 4 %210 = load i32, ptr %23, align 4 %211 = call i32 @_mm_srli_epi16(i32 noundef %210, i32 noundef 8) store i32 %211, ptr %25, align 4 %212 = load i32, ptr %24, align 4 %213 = load i32, ptr %25, align 4 %214 = call i32 @_mm_packus_epi16(i32 noundef %212, i32 noundef %213) store i32 %214, ptr %26, align 4 %215 = load ptr, ptr %20, align 8 %216 = load i32, ptr %16, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i32, ptr %215, i64 %217 %219 = load i32, ptr %26, align 4 %220 = call i32 @_mm_store_si128(ptr noundef %218, i32 noundef %219) br label %221 221: ; preds = %132 %222 = load i32, ptr %16, align 4 %223 = add nsw i32 %222, 16 store i32 %223, ptr %16, align 4 %224 = load i32, ptr %16, align 4 %225 = load i32, ptr %12, align 4 %226 = icmp slt i32 %224, %225 br i1 %226, label %132, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %221 br label %227 227: ; preds = %._crit_edge3, %89 br label %228 228: ; preds = %227 %229 = load i32, ptr %15, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %15, align 4 %231 = load i32, ptr %15, align 4 %232 = load i32, ptr %13, align 4 %233 = icmp slt i32 %231, %232 br i1 %233, label %89, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %228 br label %234 234: ; preds = %._crit_edge6, %84 %235 = load i32, ptr %11, align 4 %236 = sext i32 %235 to i64 %237 = and i64 %236, 31 %238 = icmp eq i64 %237, 0 br i1 %238, label %239, label %240 239: ; preds = %234 store i32 0, ptr %7, align 4 br label %360 240: ; preds = %234 %241 = load ptr, ptr %10, align 8 %242 = load i32, ptr %12, align 4 %243 = mul nsw i32 2, %242 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i32, ptr %241, i64 %244 store ptr %245, ptr %27, align 8 %246 = load ptr, ptr %10, align 8 %247 = load i32, ptr %12, align 4 %248 = mul nsw i32 2, %247 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds i32, ptr %246, i64 %249 %251 = load i32, ptr %11, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds i32, ptr %250, i64 %252 store ptr %253, ptr %28, align 8 %254 = load ptr, ptr %8, align 8 %255 = getelementptr inbounds ptr, ptr %254, i64 0 %256 = load ptr, ptr %255, align 8 %257 = load i32, ptr %12, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds i32, ptr %256, i64 %258 store ptr %259, ptr %29, align 8 %260 = load ptr, ptr %8, align 8 %261 = getelementptr inbounds ptr, ptr %260, i64 1 %262 = load ptr, ptr %261, align 8 %263 = load i32, ptr %12, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i32, ptr %262, i64 %264 store ptr %265, ptr %30, align 8 %266 = load ptr, ptr %8, align 8 %267 = getelementptr inbounds ptr, ptr %266, i64 2 %268 = load ptr, ptr %267, align 8 %269 = load i32, ptr %12, align 4 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds i32, ptr %268, i64 %270 store ptr %271, ptr %31, align 8 %272 = load ptr, ptr %8, align 8 %273 = getelementptr inbounds ptr, ptr %272, i64 3 %274 = load ptr, ptr %273, align 8 %275 = load i32, ptr %12, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds i32, ptr %274, i64 %276 store ptr %277, ptr %32, align 8 %278 = call i32 @_mm_set1_epi16(i32 noundef 0) store i32 %278, ptr %33, align 4 store i32 0, ptr %15, align 4 %279 = load i32, ptr %15, align 4 %280 = load i32, ptr %13, align 4 %281 = icmp slt i32 %279, %280 br i1 %281, label %.lr.ph8, label %359 .lr.ph8: ; preds = %240 br label %282 282: ; preds = %.lr.ph8, %353 %283 = load ptr, ptr %27, align 8 %284 = load i32, ptr %15, align 4 %285 = mul nsw i32 2, %284 %286 = load i32, ptr %11, align 4 %287 = mul nsw i32 %285, %286 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds i32, ptr %283, i64 %288 %290 = call i32 @_mm_load_si128(ptr noundef %289) store i32 %290, ptr %34, align 4 %291 = load i32, ptr %34, align 4 %292 = load i32, ptr %14, align 4 %293 = call i32 @_mm_and_si128(i32 noundef %291, i32 noundef %292) store i32 %293, ptr %35, align 4 %294 = load i32, ptr %35, align 4 %295 = load i32, ptr %33, align 4 %296 = call i32 @_mm_packus_epi16(i32 noundef %294, i32 noundef %295) store i32 %296, ptr %36, align 4 %297 = load ptr, ptr %29, align 8 %298 = load i32, ptr %15, align 4 %299 = load i32, ptr %9, align 4 %300 = mul nsw i32 %298, %299 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds i32, ptr %297, i64 %301 %303 = load i32, ptr %36, align 4 %304 = call i32 @_mm_store_si128(ptr noundef %302, i32 noundef %303) %305 = load i32, ptr %34, align 4 %306 = call i32 @_mm_srli_epi16(i32 noundef %305, i32 noundef 8) store i32 %306, ptr %35, align 4 %307 = load i32, ptr %35, align 4 %308 = load i32, ptr %33, align 4 %309 = call i32 @_mm_packus_epi16(i32 noundef %307, i32 noundef %308) store i32 %309, ptr %36, align 4 %310 = load ptr, ptr %30, align 8 %311 = load i32, ptr %15, align 4 %312 = load i32, ptr %9, align 4 %313 = mul nsw i32 %311, %312 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds i32, ptr %310, i64 %314 %316 = load i32, ptr %36, align 4 %317 = call i32 @_mm_store_si128(ptr noundef %315, i32 noundef %316) %318 = load ptr, ptr %28, align 8 %319 = load i32, ptr %15, align 4 %320 = mul nsw i32 2, %319 %321 = load i32, ptr %11, align 4 %322 = mul nsw i32 %320, %321 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds i32, ptr %318, i64 %323 %325 = call i32 @_mm_load_si128(ptr noundef %324) store i32 %325, ptr %34, align 4 %326 = load i32, ptr %34, align 4 %327 = load i32, ptr %14, align 4 %328 = call i32 @_mm_and_si128(i32 noundef %326, i32 noundef %327) store i32 %328, ptr %35, align 4 %329 = load i32, ptr %35, align 4 %330 = load i32, ptr %33, align 4 %331 = call i32 @_mm_packus_epi16(i32 noundef %329, i32 noundef %330) store i32 %331, ptr %36, align 4 %332 = load ptr, ptr %31, align 8 %333 = load i32, ptr %15, align 4 %334 = load i32, ptr %9, align 4 %335 = mul nsw i32 %333, %334 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds i32, ptr %332, i64 %336 %338 = load i32, ptr %36, align 4 %339 = call i32 @_mm_store_si128(ptr noundef %337, i32 noundef %338) %340 = load i32, ptr %34, align 4 %341 = call i32 @_mm_srli_epi16(i32 noundef %340, i32 noundef 8) store i32 %341, ptr %35, align 4 %342 = load i32, ptr %35, align 4 %343 = load i32, ptr %33, align 4 %344 = call i32 @_mm_packus_epi16(i32 noundef %342, i32 noundef %343) store i32 %344, ptr %36, align 4 %345 = load ptr, ptr %32, align 8 %346 = load i32, ptr %15, align 4 %347 = load i32, ptr %9, align 4 %348 = mul nsw i32 %346, %347 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds i32, ptr %345, i64 %349 %351 = load i32, ptr %36, align 4 %352 = call i32 @_mm_store_si128(ptr noundef %350, i32 noundef %351) br label %353 353: ; preds = %282 %354 = load i32, ptr %15, align 4 %355 = add nsw i32 %354, 1 store i32 %355, ptr %15, align 4 %356 = load i32, ptr %15, align 4 %357 = load i32, ptr %13, align 4 %358 = icmp slt i32 %356, %357 br i1 %358, label %282, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %353 br label %359 359: ; preds = %._crit_edge9, %240 store i32 0, ptr %7, align 4 br label %360 360: ; preds = %359, %239, %73, %53 %361 = load i32, ptr %7, align 4 ret i32 %361 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @_mm_set1_epi16(i32 noundef) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_and_si128(i32 noundef, i32 noundef) #1 declare i32 @_mm_packus_epi16(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_si128(ptr noundef, i32 noundef) #1 declare i32 @_mm_srli_epi16(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}
; ModuleID = '/tmp/tmp27xssh1x.c' source_filename = "/tmp/tmp27xssh1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"ZARCH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_architecture() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27xssh1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"ZARCH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_architecture() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoqzit8t1.c' source_filename = "/tmp/tmpoqzit8t1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"triangle [-prq__a__uAcDjevngBPNEIOXzo_YS__iFlsCQVh] input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c" -p Triangulates a Planar Straight Line Graph (.poly file).\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c" -r Refines a previously generated mesh.\0A\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c" -q Quality mesh generation. A minimum angle may be specified.\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c" -a Applies a maximum triangle area constraint.\0A\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c" -u Applies a user-defined triangle constraint.\0A\00", align 1 @.str.6 = private unnamed_addr constant [70 x i8] c" -A Applies attributes to identify triangles in certain regions.\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c" -c Encloses the convex hull with segments.\0A\00", align 1 @.str.8 = private unnamed_addr constant [65 x i8] c" -D Conforming Delaunay: all triangles are truly Delaunay.\0A\00", align 1 @.str.9 = private unnamed_addr constant [58 x i8] c" -j Jettison unused vertices from output .node file.\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c" -e Generates an edge list.\0A\00", align 1 @.str.11 = private unnamed_addr constant [38 x i8] c" -v Generates a Voronoi diagram.\0A\00", align 1 @.str.12 = private unnamed_addr constant [49 x i8] c" -n Generates a list of triangle neighbors.\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c" -g Generates an .off file for Geomview.\0A\00", align 1 @.str.14 = private unnamed_addr constant [52 x i8] c" -B Suppresses output of boundary information.\0A\00", align 1 @.str.15 = private unnamed_addr constant [42 x i8] c" -P Suppresses output of .poly file.\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c" -N Suppresses output of .node file.\0A\00", align 1 @.str.17 = private unnamed_addr constant [41 x i8] c" -E Suppresses output of .ele file.\0A\00", align 1 @.str.18 = private unnamed_addr constant [44 x i8] c" -I Suppresses mesh iteration numbers.\0A\00", align 1 @.str.19 = private unnamed_addr constant [38 x i8] c" -O Ignores holes in .poly file.\0A\00", align 1 @.str.20 = private unnamed_addr constant [45 x i8] c" -X Suppresses use of exact arithmetic.\0A\00", align 1 @.str.21 = private unnamed_addr constant [65 x i8] c" -z Numbers all items starting from zero (rather than one).\0A\00", align 1 @.str.22 = private unnamed_addr constant [56 x i8] c" -o2 Generates second-order subparametric elements.\0A\00", align 1 @.str.23 = private unnamed_addr constant [48 x i8] c" -Y Suppresses boundary segment splitting.\0A\00", align 1 @.str.24 = private unnamed_addr constant [59 x i8] c" -S Specifies maximum number of added Steiner points.\0A\00", align 1 @.str.25 = private unnamed_addr constant [66 x i8] c" -i Uses incremental method, rather than divide-and-conquer.\0A\00", align 1 @.str.26 = private unnamed_addr constant [66 x i8] c" -F Uses Fortune's sweepline algorithm, rather than d-and-c.\0A\00", align 1 @.str.27 = private unnamed_addr constant [64 x i8] c" -l Uses vertical cuts only, rather than alternating cuts.\0A\00", align 1 @.str.28 = private unnamed_addr constant [71 x i8] c" -s Force segments into mesh by splitting (instead of using CDT).\0A\00", align 1 @.str.29 = private unnamed_addr constant [42 x i8] c" -C Check consistency of final mesh.\0A\00", align 1 @.str.30 = private unnamed_addr constant [51 x i8] c" -Q Quiet: No terminal output except errors.\0A\00", align 1 @.str.31 = private unnamed_addr constant [59 x i8] c" -V Verbose: Detailed information on what I'm doing.\0A\00", align 1 @.str.32 = private unnamed_addr constant [52 x i8] c" -h Help: Detailed instructions for Triangle.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syntax() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.14) %16 = call i32 @printf(ptr noundef @.str.15) %17 = call i32 @printf(ptr noundef @.str.16) %18 = call i32 @printf(ptr noundef @.str.17) %19 = call i32 @printf(ptr noundef @.str.18) %20 = call i32 @printf(ptr noundef @.str.19) %21 = call i32 @printf(ptr noundef @.str.20) %22 = call i32 @printf(ptr noundef @.str.21) %23 = call i32 @printf(ptr noundef @.str.22) %24 = call i32 @printf(ptr noundef @.str.23) %25 = call i32 @printf(ptr noundef @.str.24) %26 = call i32 @printf(ptr noundef @.str.25) %27 = call i32 @printf(ptr noundef @.str.26) %28 = call i32 @printf(ptr noundef @.str.27) %29 = call i32 @printf(ptr noundef @.str.28) %30 = call i32 @printf(ptr noundef @.str.29) %31 = call i32 @printf(ptr noundef @.str.30) %32 = call i32 @printf(ptr noundef @.str.31) %33 = call i32 @printf(ptr noundef @.str.32) %34 = call i32 @triexit(i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @triexit(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/tmpoqzit8t1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"triangle [-prq__a__uAcDjevngBPNEIOXzo_YS__iFlsCQVh] input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c" -p Triangulates a Planar Straight Line Graph (.poly file).\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c" -r Refines a previously generated mesh.\0A\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c" -q Quality mesh generation. A minimum angle may be specified.\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c" -a Applies a maximum triangle area constraint.\0A\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c" -u Applies a user-defined triangle constraint.\0A\00", align 1 @.str.6 = private unnamed_addr constant [70 x i8] c" -A Applies attributes to identify triangles in certain regions.\0A\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c" -c Encloses the convex hull with segments.\0A\00", align 1 @.str.8 = private unnamed_addr constant [65 x i8] c" -D Conforming Delaunay: all triangles are truly Delaunay.\0A\00", align 1 @.str.9 = private unnamed_addr constant [58 x i8] c" -j Jettison unused vertices from output .node file.\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c" -e Generates an edge list.\0A\00", align 1 @.str.11 = private unnamed_addr constant [38 x i8] c" -v Generates a Voronoi diagram.\0A\00", align 1 @.str.12 = private unnamed_addr constant [49 x i8] c" -n Generates a list of triangle neighbors.\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c" -g Generates an .off file for Geomview.\0A\00", align 1 @.str.14 = private unnamed_addr constant [52 x i8] c" -B Suppresses output of boundary information.\0A\00", align 1 @.str.15 = private unnamed_addr constant [42 x i8] c" -P Suppresses output of .poly file.\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c" -N Suppresses output of .node file.\0A\00", align 1 @.str.17 = private unnamed_addr constant [41 x i8] c" -E Suppresses output of .ele file.\0A\00", align 1 @.str.18 = private unnamed_addr constant [44 x i8] c" -I Suppresses mesh iteration numbers.\0A\00", align 1 @.str.19 = private unnamed_addr constant [38 x i8] c" -O Ignores holes in .poly file.\0A\00", align 1 @.str.20 = private unnamed_addr constant [45 x i8] c" -X Suppresses use of exact arithmetic.\0A\00", align 1 @.str.21 = private unnamed_addr constant [65 x i8] c" -z Numbers all items starting from zero (rather than one).\0A\00", align 1 @.str.22 = private unnamed_addr constant [56 x i8] c" -o2 Generates second-order subparametric elements.\0A\00", align 1 @.str.23 = private unnamed_addr constant [48 x i8] c" -Y Suppresses boundary segment splitting.\0A\00", align 1 @.str.24 = private unnamed_addr constant [59 x i8] c" -S Specifies maximum number of added Steiner points.\0A\00", align 1 @.str.25 = private unnamed_addr constant [66 x i8] c" -i Uses incremental method, rather than divide-and-conquer.\0A\00", align 1 @.str.26 = private unnamed_addr constant [66 x i8] c" -F Uses Fortune's sweepline algorithm, rather than d-and-c.\0A\00", align 1 @.str.27 = private unnamed_addr constant [64 x i8] c" -l Uses vertical cuts only, rather than alternating cuts.\0A\00", align 1 @.str.28 = private unnamed_addr constant [71 x i8] c" -s Force segments into mesh by splitting (instead of using CDT).\0A\00", align 1 @.str.29 = private unnamed_addr constant [42 x i8] c" -C Check consistency of final mesh.\0A\00", align 1 @.str.30 = private unnamed_addr constant [51 x i8] c" -Q Quiet: No terminal output except errors.\0A\00", align 1 @.str.31 = private unnamed_addr constant [59 x i8] c" -V Verbose: Detailed information on what I'm doing.\0A\00", align 1 @.str.32 = private unnamed_addr constant [52 x i8] c" -h Help: Detailed instructions for Triangle.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syntax() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.14) %16 = call i32 @printf(ptr noundef @.str.15) %17 = call i32 @printf(ptr noundef @.str.16) %18 = call i32 @printf(ptr noundef @.str.17) %19 = call i32 @printf(ptr noundef @.str.18) %20 = call i32 @printf(ptr noundef @.str.19) %21 = call i32 @printf(ptr noundef @.str.20) %22 = call i32 @printf(ptr noundef @.str.21) %23 = call i32 @printf(ptr noundef @.str.22) %24 = call i32 @printf(ptr noundef @.str.23) %25 = call i32 @printf(ptr noundef @.str.24) %26 = call i32 @printf(ptr noundef @.str.25) %27 = call i32 @printf(ptr noundef @.str.26) %28 = call i32 @printf(ptr noundef @.str.27) %29 = call i32 @printf(ptr noundef @.str.28) %30 = call i32 @printf(ptr noundef @.str.29) %31 = call i32 @printf(ptr noundef @.str.30) %32 = call i32 @printf(ptr noundef @.str.31) %33 = call i32 @printf(ptr noundef @.str.32) %34 = call i32 @triexit(i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @triexit(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/tmpwcuetsqa.c' source_filename = "/tmp/tmpwcuetsqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @E2BIG = dso_local global i32 0, align 4 @EACCES = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 @EBUSY = dso_local global i32 0, align 4 @ECHILD = dso_local global i32 0, align 4 @EEXIST = dso_local global i32 0, align 4 @EFAULT = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @EIO = dso_local global i32 0, align 4 @EISDIR = dso_local global i32 0, align 4 @ENODEV = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @ENOEXEC = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 @ENOTDIR = dso_local global i32 0, align 4 @ENOTSUP = dso_local global i32 0, align 4 @ENOTTY = dso_local global i32 0, align 4 @ENXIO = dso_local global i32 0, align 4 @EPERM = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 @EROFS = dso_local global i32 0, align 4 @ETIMEDOUT = dso_local global i32 0, align 4 @EXDEV = 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/tmpwcuetsqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @E2BIG = dso_local global i32 0, align 4 @EACCES = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 @EBUSY = dso_local global i32 0, align 4 @ECHILD = dso_local global i32 0, align 4 @EEXIST = dso_local global i32 0, align 4 @EFAULT = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @EIO = dso_local global i32 0, align 4 @EISDIR = dso_local global i32 0, align 4 @ENODEV = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @ENOEXEC = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 @ENOTDIR = dso_local global i32 0, align 4 @ENOTSUP = dso_local global i32 0, align 4 @ENOTTY = dso_local global i32 0, align 4 @ENXIO = dso_local global i32 0, align 4 @EPERM = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 @EROFS = dso_local global i32 0, align 4 @ETIMEDOUT = dso_local global i32 0, align 4 @EXDEV = 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/tmpswu3c_zu.c' source_filename = "/tmp/tmpswu3c_zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 8 %14 = sext i32 %13 to i64 %15 = load i64, ptr %7, align 8 %16 = or i64 %15, %14 store i64 %16, ptr %7, align 8 %17 = load i32, ptr %5, align 4 %18 = shl i32 %17, 16 %19 = sext i32 %18 to i64 %20 = load i64, ptr %7, align 8 %21 = or i64 %20, %19 store i64 %21, ptr %7, align 8 %22 = load i32, ptr %5, align 4 %23 = shl i32 %22, 24 %24 = sext i32 %23 to i64 %25 = load i64, ptr %7, align 8 %26 = or i64 %25, %24 store i64 %26, ptr %7, align 8 %27 = load i32, ptr %5, align 4 %28 = shl i32 %27, 32 %29 = sext i32 %28 to i64 %30 = load i64, ptr %7, align 8 %31 = or i64 %30, %29 store i64 %31, ptr %7, align 8 %32 = load i32, ptr %5, align 4 %33 = shl i32 %32, 40 %34 = sext i32 %33 to i64 %35 = load i64, ptr %7, align 8 %36 = or i64 %35, %34 store i64 %36, ptr %7, align 8 %37 = load i32, ptr %5, align 4 %38 = shl i32 %37, 48 %39 = sext i32 %38 to i64 %40 = load i64, ptr %7, align 8 %41 = or i64 %40, %39 store i64 %41, ptr %7, align 8 %42 = load i32, ptr %5, align 4 %43 = shl i32 %42, 56 %44 = sext i32 %43 to i64 %45 = load i64, ptr %7, align 8 %46 = or i64 %45, %44 store i64 %46, ptr %7, align 8 br label %47 47: ; preds = %3 %48 = load ptr, ptr %4, align 8 store ptr %48, ptr %8, align 8 br label %49 49: ; preds = %56, %47 %50 = load i64, ptr %6, align 8 %51 = icmp uge i64 %50, 8 br i1 %51, label %52, label %59 52: ; preds = %49 %53 = load i64, ptr %7, align 8 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds i64, ptr %54, i32 1 store ptr %55, ptr %8, align 8 store i64 %53, ptr %54, align 8 br label %56 56: ; preds = %52 %57 = load i64, ptr %6, align 8 %58 = sub i64 %57, 8 store i64 %58, ptr %6, align 8 br label %49, !llvm.loop !6 59: ; preds = %49 %60 = load ptr, ptr %8, align 8 store ptr %60, ptr %9, align 8 br label %61 61: ; preds = %65, %59 %62 = load i64, ptr %6, align 8 %63 = add i64 %62, -1 store i64 %63, ptr %6, align 8 %64 = icmp ne i64 %62, 0 br i1 %64, label %65, label %70 65: ; preds = %61 %66 = load i32, ptr %5, align 4 %67 = trunc i32 %66 to i8 %68 = load ptr, ptr %9, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %9, align 8 store i8 %67, ptr %68, align 1 br label %61, !llvm.loop !8 70: ; preds = %61 br label %71 71: ; preds = %70 %72 = load ptr, ptr %4, align 8 ret ptr %72 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpswu3c_zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %7, align 8 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 8 %14 = sext i32 %13 to i64 %15 = load i64, ptr %7, align 8 %16 = or i64 %15, %14 store i64 %16, ptr %7, align 8 %17 = load i32, ptr %5, align 4 %18 = shl i32 %17, 16 %19 = sext i32 %18 to i64 %20 = load i64, ptr %7, align 8 %21 = or i64 %20, %19 store i64 %21, ptr %7, align 8 %22 = load i32, ptr %5, align 4 %23 = shl i32 %22, 24 %24 = sext i32 %23 to i64 %25 = load i64, ptr %7, align 8 %26 = or i64 %25, %24 store i64 %26, ptr %7, align 8 %27 = load i32, ptr %5, align 4 %28 = shl i32 %27, 32 %29 = sext i32 %28 to i64 %30 = load i64, ptr %7, align 8 %31 = or i64 %30, %29 store i64 %31, ptr %7, align 8 %32 = load i32, ptr %5, align 4 %33 = shl i32 %32, 40 %34 = sext i32 %33 to i64 %35 = load i64, ptr %7, align 8 %36 = or i64 %35, %34 store i64 %36, ptr %7, align 8 %37 = load i32, ptr %5, align 4 %38 = shl i32 %37, 48 %39 = sext i32 %38 to i64 %40 = load i64, ptr %7, align 8 %41 = or i64 %40, %39 store i64 %41, ptr %7, align 8 %42 = load i32, ptr %5, align 4 %43 = shl i32 %42, 56 %44 = sext i32 %43 to i64 %45 = load i64, ptr %7, align 8 %46 = or i64 %45, %44 store i64 %46, ptr %7, align 8 br label %47 47: ; preds = %3 %48 = load ptr, ptr %4, align 8 store ptr %48, ptr %8, align 8 %49 = load i64, ptr %6, align 8 %50 = icmp uge i64 %49, 8 br i1 %50, label %.lr.ph, label %60 .lr.ph: ; preds = %47 br label %51 51: ; preds = %.lr.ph, %55 %52 = load i64, ptr %7, align 8 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds i64, ptr %53, i32 1 store ptr %54, ptr %8, align 8 store i64 %52, ptr %53, align 8 br label %55 55: ; preds = %51 %56 = load i64, ptr %6, align 8 %57 = sub i64 %56, 8 store i64 %57, ptr %6, align 8 %58 = load i64, ptr %6, align 8 %59 = icmp uge i64 %58, 8 br i1 %59, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %60 60: ; preds = %._crit_edge, %47 %61 = load ptr, ptr %8, align 8 store ptr %61, ptr %9, align 8 %62 = load i64, ptr %6, align 8 %63 = add i64 %62, -1 store i64 %63, ptr %6, align 8 %64 = icmp ne i64 %62, 0 br i1 %64, label %.lr.ph2, label %73 .lr.ph2: ; preds = %60 br label %65 65: ; preds = %.lr.ph2, %65 %66 = load i32, ptr %5, align 4 %67 = trunc i32 %66 to i8 %68 = load ptr, ptr %9, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %9, align 8 store i8 %67, ptr %68, align 1 %70 = load i64, ptr %6, align 8 %71 = add i64 %70, -1 store i64 %71, ptr %6, align 8 %72 = icmp ne i64 %70, 0 br i1 %72, label %65, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %73 73: ; preds = %._crit_edge3, %60 br label %74 74: ; preds = %73 %75 = load ptr, ptr %4, align 8 ret ptr %75 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3_o6i9di.c' source_filename = "/tmp/tmp3_o6i9di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"urn:schemas-upnp-org:service:DeviceProtection:1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CPGetService_DeviceProtection(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @CPGetService(ptr noundef %3, ptr noundef @.str, i32 noundef 47) ret ptr %4 } declare ptr @CPGetService(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/tmp3_o6i9di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"urn:schemas-upnp-org:service:DeviceProtection:1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CPGetService_DeviceProtection(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @CPGetService(ptr noundef %3, ptr noundef @.str, i32 noundef 47) ret ptr %4 } declare ptr @CPGetService(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/tmpfr5mf3g_.c' source_filename = "/tmp/tmpfr5mf3g_.c" target datalayout = "e-m:e-p270: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/tmpfr5mf3g_.c" target datalayout = "e-m:e-p270: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/tmpk43sk6ur.c' source_filename = "/tmp/tmpk43sk6ur.c" target datalayout = "e-m:e-p270: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/tmpk43sk6ur.c" target datalayout = "e-m:e-p270: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/tmpseg1rbf2.c' source_filename = "/tmp/tmpseg1rbf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i32 } @.str = private unnamed_addr constant [37 x i8] c"\0A1.Plot the Graph\0A2.MergeSort\0A3.Exit\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\0AEnter your choice\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"MergePlot.dat\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%d\09%lf\0A\00", align 1 @.str.6 = private unnamed_addr constant [84 x i8] c"\0AData File generated and stored in file < MergePlot.dat >.\0A Use a plotting utility\0A\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"\0AEnter the number of elements to sort\0A\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"\0AUnsorted Array\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0ASorted Array\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.timeval, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca [500000 x i32], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %16 16: ; preds = %83, %2 %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %15) %20 = load i32, ptr %15, align 4 switch i32 %20, label %83 [ i32 1, label %21 i32 2, label %63 i32 3, label %81 ] 21: ; preds = %16 %22 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %22, ptr %6, align 8 store i32 100, ptr %14, align 4 br label %23 23: ; preds = %56, %21 %24 = load i32, ptr %14, align 4 %25 = icmp slt i32 %24, 100000 br i1 %25, label %26, label %59 26: ; preds = %23 %27 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %28 = load i32, ptr %14, align 4 %29 = call i32 @fnGenRandInput(ptr noundef %27, i32 noundef %28) %30 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %31 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %32 = load i32, ptr %31, align 8 %33 = sitofp i32 %32 to double %34 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %35 = load double, ptr %34, align 8 %36 = fdiv double %35, 1.000000e+06 %37 = fadd double %33, %36 store double %37, ptr %8, align 8 %38 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %39 = load i32, ptr %14, align 4 %40 = sub nsw i32 %39, 1 %41 = call i32 @fnMergeSort(ptr noundef %38, i32 noundef 0, i32 noundef %40) %42 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %43 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %44 = load i32, ptr %43, align 8 %45 = sitofp i32 %44 to double %46 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %47 = load double, ptr %46, align 8 %48 = fdiv double %47, 1.000000e+06 %49 = fadd double %45, %48 store double %49, ptr %9, align 8 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %14, align 4 %52 = load double, ptr %9, align 8 %53 = load double, ptr %8, align 8 %54 = fsub double %52, %53 %55 = call i32 @fprintf(ptr noundef %50, ptr noundef @.str.5, i32 noundef %51, double noundef %54) br label %56 56: ; preds = %26 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %57, 100 store i32 %58, ptr %14, align 4 br label %23, !llvm.loop !6 59: ; preds = %23 %60 = load ptr, ptr %6, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = call i32 @printf(ptr noundef @.str.6) br label %83 63: ; preds = %16 %64 = call i32 @printf(ptr noundef @.str.7) %65 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %11) %66 = call i32 @printf(ptr noundef @.str.8) %67 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %68 = load i32, ptr %11, align 4 %69 = call i32 @fnGenRandInput(ptr noundef %67, i32 noundef %68) %70 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %71 = load i32, ptr %11, align 4 %72 = call i32 @fnDispArray(ptr noundef %70, i32 noundef %71) %73 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %74 = load i32, ptr %11, align 4 %75 = sub nsw i32 %74, 1 %76 = call i32 @fnMergeSort(ptr noundef %73, i32 noundef 0, i32 noundef %75) %77 = call i32 @printf(ptr noundef @.str.9) %78 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %79 = load i32, ptr %11, align 4 %80 = call i32 @fnDispArray(ptr noundef %78, i32 noundef %79) br label %83 81: ; preds = %16 %82 = call i32 @exit(i32 noundef 0) #3 unreachable 83: ; preds = %16, %63, %59 br label %16 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fnGenRandInput(ptr noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fnMergeSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fnDispArray(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpseg1rbf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i32 } @.str = private unnamed_addr constant [37 x i8] c"\0A1.Plot the Graph\0A2.MergeSort\0A3.Exit\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\0AEnter your choice\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"MergePlot.dat\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%d\09%lf\0A\00", align 1 @.str.6 = private unnamed_addr constant [84 x i8] c"\0AData File generated and stored in file < MergePlot.dat >.\0A Use a plotting utility\0A\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"\0AEnter the number of elements to sort\0A\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"\0AUnsorted Array\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0ASorted Array\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.timeval, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca [500000 x i32], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %16 16: ; preds = %84, %2 %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %15) %20 = load i32, ptr %15, align 4 switch i32 %20, label %84 [ i32 1, label %21 i32 2, label %64 i32 3, label %82 ] 21: ; preds = %16 %22 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %22, ptr %6, align 8 store i32 100, ptr %14, align 4 %23 = load i32, ptr %14, align 4 %24 = icmp slt i32 %23, 100000 br i1 %24, label %.lr.ph, label %60 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %55 %26 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %27 = load i32, ptr %14, align 4 %28 = call i32 @fnGenRandInput(ptr noundef %26, i32 noundef %27) %29 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %30 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %31 = load i32, ptr %30, align 8 %32 = sitofp i32 %31 to double %33 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %34 = load double, ptr %33, align 8 %35 = fdiv double %34, 1.000000e+06 %36 = fadd double %32, %35 store double %36, ptr %8, align 8 %37 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %38 = load i32, ptr %14, align 4 %39 = sub nsw i32 %38, 1 %40 = call i32 @fnMergeSort(ptr noundef %37, i32 noundef 0, i32 noundef %39) %41 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %42 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %43 = load i32, ptr %42, align 8 %44 = sitofp i32 %43 to double %45 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %46 = load double, ptr %45, align 8 %47 = fdiv double %46, 1.000000e+06 %48 = fadd double %44, %47 store double %48, ptr %9, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %14, align 4 %51 = load double, ptr %9, align 8 %52 = load double, ptr %8, align 8 %53 = fsub double %51, %52 %54 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.5, i32 noundef %50, double noundef %53) br label %55 55: ; preds = %25 %56 = load i32, ptr %14, align 4 %57 = add nsw i32 %56, 100 store i32 %57, ptr %14, align 4 %58 = load i32, ptr %14, align 4 %59 = icmp slt i32 %58, 100000 br i1 %59, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %60 60: ; preds = %._crit_edge, %21 %61 = load ptr, ptr %6, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = call i32 @printf(ptr noundef @.str.6) br label %84 64: ; preds = %16 %65 = call i32 @printf(ptr noundef @.str.7) %66 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %11) %67 = call i32 @printf(ptr noundef @.str.8) %68 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %69 = load i32, ptr %11, align 4 %70 = call i32 @fnGenRandInput(ptr noundef %68, i32 noundef %69) %71 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %72 = load i32, ptr %11, align 4 %73 = call i32 @fnDispArray(ptr noundef %71, i32 noundef %72) %74 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %75 = load i32, ptr %11, align 4 %76 = sub nsw i32 %75, 1 %77 = call i32 @fnMergeSort(ptr noundef %74, i32 noundef 0, i32 noundef %76) %78 = call i32 @printf(ptr noundef @.str.9) %79 = getelementptr inbounds [500000 x i32], ptr %10, i64 0, i64 0 %80 = load i32, ptr %11, align 4 %81 = call i32 @fnDispArray(ptr noundef %79, i32 noundef %80) br label %84 82: ; preds = %16 %83 = call i32 @exit(i32 noundef 0) #3 unreachable 84: ; preds = %64, %60, %16 br label %16 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fnGenRandInput(ptr noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fnMergeSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, double noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fnDispArray(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy75dd89z.c' source_filename = "/tmp/tmpy75dd89z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_partition_start_sector_number(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %36 13: ; preds = %2 %14 = load i64, ptr %7, align 8 %15 = and i64 %14, 255 %16 = trunc i64 %15 to i8 %17 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 store i8 %16, ptr %17, align 1 %18 = load i64, ptr %7, align 8 %19 = and i64 %18, 65280 %20 = lshr i64 %19, 8 %21 = trunc i64 %20 to i8 %22 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1 store i8 %21, ptr %22, align 1 %23 = load i64, ptr %7, align 8 %24 = and i64 %23, 16711680 %25 = lshr i64 %24, 16 %26 = trunc i64 %25 to i8 %27 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2 store i8 %26, ptr %27, align 1 %28 = load i64, ptr %7, align 8 %29 = and i64 %28, 4278190080 %30 = lshr i64 %29, 24 %31 = trunc i64 %30 to i8 %32 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3 store i8 %31, ptr %32, align 1 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %35 = call i32 @write_data(ptr noundef %33, i32 noundef 28, ptr noundef %34, i32 noundef 4) store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %13, %12 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy75dd89z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_partition_start_sector_number(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %36 13: ; preds = %2 %14 = load i64, ptr %7, align 8 %15 = and i64 %14, 255 %16 = trunc i64 %15 to i8 %17 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 store i8 %16, ptr %17, align 1 %18 = load i64, ptr %7, align 8 %19 = and i64 %18, 65280 %20 = lshr i64 %19, 8 %21 = trunc i64 %20 to i8 %22 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1 store i8 %21, ptr %22, align 1 %23 = load i64, ptr %7, align 8 %24 = and i64 %23, 16711680 %25 = lshr i64 %24, 16 %26 = trunc i64 %25 to i8 %27 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2 store i8 %26, ptr %27, align 1 %28 = load i64, ptr %7, align 8 %29 = and i64 %28, 4278190080 %30 = lshr i64 %29, 24 %31 = trunc i64 %30 to i8 %32 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3 store i8 %31, ptr %32, align 1 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %35 = call i32 @write_data(ptr noundef %33, i32 noundef 28, ptr noundef %34, i32 noundef 4) store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %13, %12 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8lqo_wfo.c' source_filename = "/tmp/tmp8lqo_wfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"i value %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cbfunc_show_elems(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %7, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret void } 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/tmp8lqo_wfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"i value %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cbfunc_show_elems(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %7, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret void } 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/tmpjlhxlfro.c' source_filename = "/tmp/tmpjlhxlfro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateSolarTermsByFm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 @CalculateJulianDay(i32 noundef 1900, i32 noundef 1, i32 noundef 1, i32 noundef 0, i32 noundef 0, double noundef 0.000000e+00) %9 = sub nsw i32 %8, 1 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1900 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = sitofp i32 %13 to double %15 = call double @llvm.fmuladd.f64(double 0x4076D3E00D1B7176, double %14, double 6.200000e+00) %16 = load i32, ptr %4, align 4 %17 = sitofp i32 %16 to double %18 = call double @llvm.fmuladd.f64(double 1.522000e+01, double %17, double %15) %19 = load i32, ptr %4, align 4 %20 = sitofp i32 %19 to double %21 = fmul double 2.620000e-01, %20 %22 = call double @sin(double noundef %21) #4 %23 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %22, double %18) store double %23, ptr %7, align 8 %24 = load double, ptr %5, align 8 %25 = load double, ptr %7, align 8 %26 = fadd double %24, %25 ret double %26 } declare i32 @CalculateJulianDay(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sin(double 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 = { 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 #4 = { 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/tmpjlhxlfro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateSolarTermsByFm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 @CalculateJulianDay(i32 noundef 1900, i32 noundef 1, i32 noundef 1, i32 noundef 0, i32 noundef 0, double noundef 0.000000e+00) %9 = sub nsw i32 %8, 1 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1900 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = sitofp i32 %13 to double %15 = call double @llvm.fmuladd.f64(double 0x4076D3E00D1B7176, double %14, double 6.200000e+00) %16 = load i32, ptr %4, align 4 %17 = sitofp i32 %16 to double %18 = call double @llvm.fmuladd.f64(double 1.522000e+01, double %17, double %15) %19 = load i32, ptr %4, align 4 %20 = sitofp i32 %19 to double %21 = fmul double 2.620000e-01, %20 %22 = call double @sin(double noundef %21) #4 %23 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %22, double %18) store double %23, ptr %7, align 8 %24 = load double, ptr %5, align 8 %25 = load double, ptr %7, align 8 %26 = fadd double %24, %25 ret double %26 } declare i32 @CalculateJulianDay(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sin(double 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 = { 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 #4 = { 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/tmpu402pcbb.c' source_filename = "/tmp/tmpu402pcbb.c" target datalayout = "e-m:e-p270: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/tmpu402pcbb.c" target datalayout = "e-m:e-p270: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/tmpv5afwpmk.c' source_filename = "/tmp/tmpv5afwpmk.c" target datalayout = "e-m:e-p270: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/tmpv5afwpmk.c" target datalayout = "e-m:e-p270: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/tmpukj5v1oi.c' source_filename = "/tmp/tmpukj5v1oi.c" target datalayout = "e-m:e-p270: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"Please specify exactly one file.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @usage(i32 noundef %11, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %25 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @extract_content(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %15 %22 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %22, ptr %3, align 4 br label %25 23: ; preds = %15 %24 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %23, %21, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @usage(i32 noundef, ptr noundef) #1 declare i32 @extract_content(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpukj5v1oi.c" target datalayout = "e-m:e-p270: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"Please specify exactly one file.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @usage(i32 noundef %11, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %25 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @extract_content(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %15 %22 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %22, ptr %3, align 4 br label %25 23: ; preds = %15 %24 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %23, %21, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @usage(i32 noundef, ptr noundef) #1 declare i32 @extract_content(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgldlut5j.c' source_filename = "/tmp/tmpgldlut5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %3, align 4 br label %9 8: ; preds = %0 br label %9 9: ; preds = %8, %6 %10 = phi i32 [ %7, %6 ], [ 0, %8 ] %11 = icmp ugt i32 %10, 1 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load i32, ptr %3, align 4 br label %18 17: ; preds = %12 br label %18 18: ; preds = %17, %15 %19 = phi i32 [ %16, %15 ], [ 0, %17 ] br label %21 20: ; preds = %9 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ 1, %20 ] store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 (...) @abort() #2 unreachable 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = load i32, ptr %3, align 4 br label %33 32: ; preds = %27 br label %33 33: ; preds = %32, %30 %34 = phi i32 [ %31, %30 ], [ 0, %32 ] %35 = load i32, ptr %3, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %37, label %45 37: ; preds = %33 %38 = load i32, ptr %3, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = load i32, ptr %3, align 4 br label %43 42: ; preds = %37 br label %43 43: ; preds = %42, %40 %44 = phi i32 [ %41, %40 ], [ 0, %42 ] br label %47 45: ; preds = %33 %46 = load i32, ptr %3, align 4 br label %47 47: ; preds = %45, %43 %48 = phi i32 [ %44, %43 ], [ %46, %45 ] store i32 %48, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 (...) @abort() #2 unreachable 53: ; preds = %47 ret i32 0 } ; 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgldlut5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %3, align 4 br label %9 8: ; preds = %0 br label %9 9: ; preds = %8, %6 %10 = phi i32 [ %7, %6 ], [ 0, %8 ] %11 = icmp ugt i32 %10, 1 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load i32, ptr %3, align 4 br label %18 17: ; preds = %12 br label %18 18: ; preds = %17, %15 %19 = phi i32 [ %16, %15 ], [ 0, %17 ] br label %21 20: ; preds = %9 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ 1, %20 ] store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 (...) @abort() #2 unreachable 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = load i32, ptr %3, align 4 br label %33 32: ; preds = %27 br label %33 33: ; preds = %32, %30 %34 = phi i32 [ %31, %30 ], [ 0, %32 ] %35 = load i32, ptr %3, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %37, label %45 37: ; preds = %33 %38 = load i32, ptr %3, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = load i32, ptr %3, align 4 br label %43 42: ; preds = %37 br label %43 43: ; preds = %42, %40 %44 = phi i32 [ %41, %40 ], [ 0, %42 ] br label %47 45: ; preds = %33 %46 = load i32, ptr %3, align 4 br label %47 47: ; preds = %45, %43 %48 = phi i32 [ %44, %43 ], [ %46, %45 ] store i32 %48, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 (...) @abort() #2 unreachable 53: ; preds = %47 ret i32 0 } ; 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"}
; ModuleID = '/tmp/tmpzk49wjg1.c' source_filename = "/tmp/tmpzk49wjg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmpzk49wjg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmpugm_kyjq.c' source_filename = "/tmp/tmpugm_kyjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genrand_real2() #0 { %1 = call double (...) @genrand_int32() %2 = fmul double %1, 0x3DF0000000000000 ret double %2 } declare double @genrand_int32(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugm_kyjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genrand_real2() #0 { %1 = call double (...) @genrand_int32() %2 = fmul double %1, 0x3DF0000000000000 ret double %2 } declare double @genrand_int32(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0qb3_0i8.c' source_filename = "/tmp/tmp0qb3_0i8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_fchdir(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 @fchdir(i32 noundef %3) ret i32 %4 } declare i32 @fchdir(i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0qb3_0i8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_fchdir(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 @fchdir(i32 noundef %3) ret i32 %4 } declare i32 @fchdir(i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphi6lmgnq.c' source_filename = "/tmp/tmphi6lmgnq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSANOW = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphi6lmgnq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSANOW = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0j6rstx6.c' source_filename = "/tmp/tmp0j6rstx6.c" target datalayout = "e-m:e-p270: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"ERROR: block code look-up failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @decode_blockcode(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = ashr i32 %11, 1 store i32 %12, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %13 13: ; preds = %29, %3 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 4 br i1 %15, label %16, label %32 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = srem i32 %17, %18 %20 = load i32, ptr %9, align 4 %21 = sub nsw i32 %19, %20 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 store i32 %21, ptr %25, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = sdiv i32 %27, %26 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %16 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %13, !llvm.loop !6 32: ; preds = %13 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 1, ptr %4, align 4 br label %39 36: ; preds = %32 %37 = load i32, ptr @stderr, align 4 %38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str) store i32 0, ptr %4, align 4 br label %39 39: ; preds = %36, %35 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0j6rstx6.c" target datalayout = "e-m:e-p270: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"ERROR: block code look-up failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @decode_blockcode(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = ashr i32 %11, 1 store i32 %12, ptr %9, align 4 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %28 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = srem i32 %16, %17 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %18, %19 %21 = load ptr, ptr %7, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 store i32 %20, ptr %24, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = sdiv i32 %26, %25 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %15 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %31, 4 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %3 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 1, ptr %4, align 4 br label %40 37: ; preds = %33 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str) store i32 0, ptr %4, align 4 br label %40 40: ; preds = %37, %36 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoffe7dux.c' source_filename = "/tmp/tmpoffe7dux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"------> DEBUT tache D\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"======> Dans tache D %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tacheD() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) br label %4 4: ; preds = %0, %20 store i64 0, ptr %2, align 8 br label %5 5: ; preds = %9, %4 %6 = load i64, ptr %2, align 8 %7 = icmp slt i64 %6, 120000 br i1 %7, label %8, label %12 8: ; preds = %5 br label %9 9: ; preds = %8 %10 = load i64, ptr %2, align 8 %11 = add nsw i64 %10, 1 store i64 %11, ptr %2, align 8 br label %5, !llvm.loop !6 12: ; preds = %5 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %1, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) %16 = load i32, ptr %1, align 4 %17 = icmp eq i32 %16, 50 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 (...) @noyau_exit() br label %20 20: ; preds = %18, %12 br label %4 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @noyau_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpoffe7dux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"------> DEBUT tache D\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"======> Dans tache D %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tacheD() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) br label %4 4: ; preds = %21, %0 store i64 0, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp slt i64 %5, 120000 br i1 %6, label %.lr.ph, label %13 .lr.ph: ; preds = %4 br label %7 7: ; preds = %.lr.ph, %8 br label %8 8: ; preds = %7 %9 = load i64, ptr %2, align 8 %10 = add nsw i64 %9, 1 store i64 %10, ptr %2, align 8 %11 = load i64, ptr %2, align 8 %12 = icmp slt i64 %11, 120000 br i1 %12, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %4 %14 = load i32, ptr %1, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %1, align 4 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %17 = load i32, ptr %1, align 4 %18 = icmp eq i32 %17, 50 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call i32 (...) @noyau_exit() br label %21 21: ; preds = %19, %13 br label %4 } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @noyau_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpn1mxvppe.c' source_filename = "/tmp/tmpn1mxvppe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_buffer(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn1mxvppe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_buffer(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpze2huqb0.c' source_filename = "/tmp/tmpze2huqb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t_usec(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i32 @time_get(ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = sitofp i32 %10 to double %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %12, %13 %15 = sitofp i32 %14 to double %16 = call double @llvm.fmuladd.f64(double 1.000000e+06, double %11, double %15) %17 = fptosi double %16 to i32 ret i32 %17 } declare i32 @time_get(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpze2huqb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t_usec(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i32 @time_get(ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = sitofp i32 %10 to double %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %12, %13 %15 = sitofp i32 %14 to double %16 = call double @llvm.fmuladd.f64(double 1.000000e+06, double %11, double %15) %17 = fptosi double %16 to i32 ret i32 %17 } declare i32 @time_get(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8k82_d0d.c' source_filename = "/tmp/tmp8k82_d0d.c" target datalayout = "e-m:e-p270: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/tmp8k82_d0d.c" target datalayout = "e-m:e-p270: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/tmpzl4hp01d.c' source_filename = "/tmp/tmpzl4hp01d.c" target datalayout = "e-m:e-p270: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/tmpzl4hp01d.c" target datalayout = "e-m:e-p270: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/tmpra9wgsi_.c' source_filename = "/tmp/tmpra9wgsi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkstemps(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 = load i32, ptr %4, align 4 %8 = call i64 @_gettemp(ptr noundef %6, ptr noundef %5, i32 noundef 0, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %5, align 4 br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ -1, %12 ] ret i32 %14 } declare i64 @_gettemp(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpra9wgsi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkstemps(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 = load i32, ptr %4, align 4 %8 = call i64 @_gettemp(ptr noundef %6, ptr noundef %5, i32 noundef 0, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %5, align 4 br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ -1, %12 ] ret i32 %14 } declare i64 @_gettemp(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnx3sbx33.c' source_filename = "/tmp/tmpnx3sbx33.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"world !\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Hello \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i64 (...) @fork() store i64 %7, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %2 br label %11 11: ; preds = %14, %10 %12 = call i32 (...) @getppid() %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 br label %11, !llvm.loop !6 15: ; preds = %11 %16 = load i32, ptr @STDOUT_FILENO, align 4 %17 = call i32 @strlen(ptr noundef @.str) %18 = call i32 @write(i32 noundef %16, ptr noundef @.str, i32 noundef %17) br label %23 19: ; preds = %2 %20 = load i32, ptr @STDOUT_FILENO, align 4 %21 = call i32 @strlen(ptr noundef @.str.1) %22 = call i32 @write(i32 noundef %20, ptr noundef @.str.1, i32 noundef %21) br label %23 23: ; preds = %19, %15 ret i32 0 } declare i64 @fork(...) #1 declare i32 @getppid(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnx3sbx33.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"world !\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Hello \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i64 (...) @fork() store i64 %7, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %2 br label %11 11: ; preds = %11, %10 %12 = call i32 (...) @getppid() %13 = icmp ne i32 %12, 1 br i1 %13, label %11, label %14, !llvm.loop !6 14: ; preds = %11 %15 = load i32, ptr @STDOUT_FILENO, align 4 %16 = call i32 @strlen(ptr noundef @.str) %17 = call i32 @write(i32 noundef %15, ptr noundef @.str, i32 noundef %16) br label %22 18: ; preds = %2 %19 = load i32, ptr @STDOUT_FILENO, align 4 %20 = call i32 @strlen(ptr noundef @.str.1) %21 = call i32 @write(i32 noundef %19, ptr noundef @.str.1, i32 noundef %20) br label %22 22: ; preds = %18, %14 ret i32 0 } declare i64 @fork(...) #1 declare i32 @getppid(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqszbh_00.c' source_filename = "/tmp/tmpqszbh_00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_get_force(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @g5_get_forceMC(i32 noundef 0, i32 noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @g5_get_forceMC(i32 noundef, 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/tmpqszbh_00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_get_force(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @g5_get_forceMC(i32 noundef 0, i32 noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @g5_get_forceMC(i32 noundef, 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/tmpbdlj4efz.c' source_filename = "/tmp/tmpbdlj4efz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drandom() #0 { %1 = call i32 (...) @random() %2 = and i32 %1, 32767 %3 = sitofp i32 %2 to double %4 = fdiv double %3, 3.276800e+04 ret double %4 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbdlj4efz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drandom() #0 { %1 = call i32 (...) @random() %2 = and i32 %1, 32767 %3 = sitofp i32 %2 to double %4 = fdiv double %3, 3.276800e+04 ret double %4 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptxgdsh0l.c' source_filename = "/tmp/tmptxgdsh0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @sqrt(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @sqrt(i32 noundef %7) %9 = sub i32 %6, %8 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %30 12: ; preds = %1 store i32 2, ptr %4, align 4 br label %13 13: ; preds = %26, %12 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @sqrt(i32 noundef %15) %17 = call i32 @ceil(i32 noundef %16) %18 = icmp ult i32 %14, %17 br i1 %18, label %19, label %29 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = urem i32 %20, %21 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 store i32 0, ptr %2, align 4 br label %30 25: ; preds = %19 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add i32 %27, 1 store i32 %28, ptr %4, align 4 br label %13, !llvm.loop !6 29: ; preds = %13 store i32 1, ptr %2, align 4 br label %30 30: ; preds = %29, %24, %11 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare i32 @sqrt(i32 noundef) #1 declare i32 @ceil(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/tmptxgdsh0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @sqrt(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @sqrt(i32 noundef %7) %9 = sub i32 %6, %8 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %34 12: ; preds = %1 store i32 2, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 @sqrt(i32 noundef %14) %16 = call i32 @ceil(i32 noundef %15) %17 = icmp ult i32 %13, %16 br i1 %17, label %.lr.ph, label %33 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = urem i32 %19, %20 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %34 24: ; preds = %18 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @sqrt(i32 noundef %29) %31 = call i32 @ceil(i32 noundef %30) %32 = icmp ult i32 %28, %31 br i1 %32, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %33 33: ; preds = %._crit_edge, %12 store i32 1, ptr %2, align 4 br label %34 34: ; preds = %33, %23, %11 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @sqrt(i32 noundef) #1 declare i32 @ceil(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/tmpaf6ib4rt.c' source_filename = "/tmp/tmpaf6ib4rt.c" target datalayout = "e-m:e-p270: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/tmpaf6ib4rt.c" target datalayout = "e-m:e-p270: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/tmpcgz6wlbf.c' source_filename = "/tmp/tmpcgz6wlbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"12\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @ho_strlen(ptr noundef %16) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = call i32 @ho_strcmp(ptr noundef @.str.1, ptr noundef @.str.2) %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) %25 = call i32 @ho_strcmp(ptr noundef @.str.1, ptr noundef @.str.1) %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = call i32 @ho_strcmp(ptr noundef @.str.2, ptr noundef @.str.1) %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ho_strlen(ptr noundef) #1 declare i32 @ho_strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcgz6wlbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"12\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = call i32 @ho_strlen(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 @ho_strcmp(ptr noundef @.str.1, ptr noundef @.str.2) %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = call i32 @ho_strcmp(ptr noundef @.str.1, ptr noundef @.str.1) %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) %29 = call i32 @ho_strcmp(ptr noundef @.str.2, ptr noundef @.str.1) %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ho_strlen(ptr noundef) #1 declare i32 @ho_strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxq0ifpoz.c' source_filename = "/tmp/tmpxq0ifpoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMIntDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 1074778128 to ptr), align 4 %4 = and i32 %3, -5 store volatile i32 %4, ptr inttoptr (i64 1074778128 to ptr), align 4 %5 = load volatile i32, ptr inttoptr (i64 1074458688 to ptr), align 4 %6 = and i32 %5, -2 store volatile i32 %6, ptr inttoptr (i64 1074458688 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxq0ifpoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMIntDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 1074778128 to ptr), align 4 %4 = and i32 %3, -5 store volatile i32 %4, ptr inttoptr (i64 1074778128 to ptr), align 4 %5 = load volatile i32, ptr inttoptr (i64 1074458688 to ptr), align 4 %6 = and i32 %5, -2 store volatile i32 %6, ptr inttoptr (i64 1074458688 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfok2vg9w.c' source_filename = "/tmp/tmpfok2vg9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_close_wrapper(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 @close(i32 noundef %3) ret i32 %4 } 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/tmpfok2vg9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_close_wrapper(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 @close(i32 noundef %3) ret i32 %4 } 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/tmprq90l2sy.c' source_filename = "/tmp/tmprq90l2sy.c" target datalayout = "e-m:e-p270: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/tmprq90l2sy.c" target datalayout = "e-m:e-p270: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/tmpij7cu51l.c' source_filename = "/tmp/tmpij7cu51l.c" target datalayout = "e-m:e-p270: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/tmpij7cu51l.c" target datalayout = "e-m:e-p270: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/tmplwy8gm2g.c' source_filename = "/tmp/tmplwy8gm2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 81, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @print_int(i32 noundef %2) %4 = call i32 @print_string(ptr noundef @.str) ret void } declare i32 @print_int(i32 noundef) #1 declare i32 @print_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwy8gm2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 81, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @print_int(i32 noundef %2) %4 = call i32 @print_string(ptr noundef @.str) ret void } declare i32 @print_int(i32 noundef) #1 declare i32 @print_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}